]> git.saurik.com Git - wxWidgets.git/blob - configure
Ensure that an event loop exists in ShowViewOrWindowWithEffect().
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
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 HILDON2_CFLAGS
713 HILDON2_LIBS
714 PYTHON
715 COND_PYTHON
716 CAIRO_CFLAGS
717 CAIRO_LIBS
718 GST_CFLAGS
719 GST_LIBS
720 ALL_WX_LIBS
721 BUILT_WX_LIBS
722 STD_BASE_LIBS
723 STD_GUI_LIBS
724 wxUSE_ZLIB
725 wxUSE_REGEX
726 wxUSE_EXPAT
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_MEDIA
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 EXTRALIBS_STC
746 WITH_PLUGIN_SDL
747 EXTRALIBS_GTKPRINT
748 EXTRALIBS_GNOMEPRINT
749 EXTRALIBS_GNOMEVFS
750 EXTRALIBS_HILDON
751 UNICODE
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 DYLIB_RPATH_INSTALL
757 DYLIB_RPATH_POSTLINK
758 SAMPLES_RPATH_FLAG
759 HEADER_PAD_OPTION
760 HOST_SUFFIX
761 CPPUNIT_CFLAGS
762 CPPUNIT_LIBS
763 RANLIB
764 INSTALL_PROGRAM
765 INSTALL_SCRIPT
766 INSTALL_DATA
767 LN_S
768 SET_MAKE
769 MAKE_SET
770 AROPTIONS
771 STRIP
772 NM
773 INSTALL_DIR
774 LDFLAGS_GUI
775 IF_GNU_MAKE
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 WINDRES
809 REZ
810 SETFILE
811 OBJCXXFLAGS
812 GCC_PCH
813 ICC_PCH
814 ICC_PCH_CREATE_SWITCH
815 ICC_PCH_USE_SWITCH
816 BK_MAKE_PCH
817 COND_BUILD_DEBUG
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
835 COND_DEBUG_FLAG_0
836 COND_DEBUG_FLAG_1
837 COND_DEBUG_INFO_0
838 COND_DEBUG_INFO_1
839 COND_DEPS_TRACKING_0
840 COND_DEPS_TRACKING_1
841 COND_GCC_PCH_1
842 COND_ICC_PCH_1
843 COND_MONOLITHIC_0
844 COND_MONOLITHIC_0_SHARED_0
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
855 COND_MONOLITHIC_0_SHARED_1
856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
866 COND_MONOLITHIC_0_USE_AUI_1
867 COND_MONOLITHIC_0_USE_GUI_1
868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_HTML_1
870 COND_MONOLITHIC_0_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_PROPGRID_1
872 COND_MONOLITHIC_0_USE_QA_1
873 COND_MONOLITHIC_0_USE_RIBBON_1
874 COND_MONOLITHIC_0_USE_RICHTEXT_1
875 COND_MONOLITHIC_0_USE_STC_1
876 COND_MONOLITHIC_0_USE_XRC_1
877 COND_MONOLITHIC_1
878 COND_MONOLITHIC_1_SHARED_0
879 COND_MONOLITHIC_1_SHARED_1
880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_1
885 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
893 COND_PLATFORM_MACOS_1
894 COND_PLATFORM_MAC_0
895 COND_PLATFORM_MAC_1
896 COND_PLATFORM_MSDOS_0
897 COND_PLATFORM_MSDOS_1
898 COND_PLATFORM_OS2_1
899 COND_PLATFORM_UNIX_0
900 COND_PLATFORM_UNIX_1
901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
903 COND_PLATFORM_UNIX_1_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
905 COND_PLATFORM_WIN32_0
906 COND_PLATFORM_WIN32_1
907 COND_SHARED_0
908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
915 COND_SHARED_0_USE_STC_1
916 COND_SHARED_0_wxUSE_EXPAT_builtin
917 COND_SHARED_0_wxUSE_REGEX_builtin
918 COND_SHARED_0_wxUSE_ZLIB_builtin
919 COND_SHARED_1
920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
921 COND_TOOLKIT_
922 COND_TOOLKIT_COCOA
923 COND_TOOLKIT_COCOA_USE_GUI_1
924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_DFB
926 COND_TOOLKIT_DFB_USE_GUI_1
927 COND_TOOLKIT_GTK
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_USE_GUI_1
935 COND_TOOLKIT_MAC
936 COND_TOOLKIT_MGL
937 COND_TOOLKIT_MGL_USE_GUI_1
938 COND_TOOLKIT_MOTIF
939 COND_TOOLKIT_MOTIF_USE_GUI_1
940 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_MSW
942 COND_TOOLKIT_MSW_USE_GUI_1
943 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW_WXUNIV_0
945 COND_TOOLKIT_OSX_CARBON
946 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
947 COND_TOOLKIT_OSX_COCOA
948 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
949 COND_TOOLKIT_OSX_IPHONE
950 COND_TOOLKIT_PM
951 COND_TOOLKIT_PM_USE_GUI_1
952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE
954 COND_TOOLKIT_WINCE_USE_GUI_1
955 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE_WXUNIV_0
957 COND_TOOLKIT_X11
958 COND_TOOLKIT_X11_USE_GUI_1
959 COND_UNICODE_1
960 COND_USE_EXCEPTIONS_0
961 COND_USE_EXCEPTIONS_1
962 COND_USE_GUI_0
963 COND_USE_GUI_1
964 COND_USE_GUI_1_USE_OPENGL_1
965 COND_USE_GUI_1_WXUNIV_0
966 COND_USE_GUI_1_WXUNIV_1
967 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
968 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
969 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
970 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
971 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
972 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
973 COND_USE_OPENGL_1
974 COND_USE_PCH_1
975 COND_USE_PLUGINS_0
976 COND_USE_RTTI_0
977 COND_USE_RTTI_1
978 COND_USE_SOSYMLINKS_1
979 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
980 COND_USE_SOVERLINUX_1
981 COND_USE_SOVERSION_0
982 COND_USE_SOVERSOLARIS_1
983 COND_USE_STC_1
984 COND_USE_THREADS_0
985 COND_USE_THREADS_1
986 COND_USE_XRC_1
987 COND_WINDOWS_IMPLIB_1
988 COND_WITH_PLUGIN_SDL_1
989 COND_WXUNIV_0
990 COND_WXUNIV_1
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 COND_wxUSE_EXPAT_builtin
998 COND_wxUSE_LIBJPEG_builtin
999 COND_wxUSE_LIBPNG_builtin
1000 COND_wxUSE_LIBTIFF_builtin
1001 COND_wxUSE_REGEX_builtin
1002 COND_wxUSE_ZLIB_builtin
1003 DEREZ
1004 SHARED
1005 WX_LIBRARY_BASENAME_NOGUI
1006 WX_LIBRARY_BASENAME_GUI
1007 USE_GUI
1008 AFMINSTALL
1009 WIN32INSTALL
1010 TOOLKIT
1011 TOOLKIT_DIR
1012 TOOLCHAIN_NAME
1013 TOOLCHAIN_FULLNAME
1014 cross_compiling
1015 WIDGET_SET
1016 WX_RELEASE
1017 WX_VERSION
1018 WX_SUBVERSION
1019 WX_CHARTYPE
1020 WXCONFIG_CPPFLAGS
1021 WXCONFIG_CFLAGS
1022 WXCONFIG_CXXFLAGS
1023 WXCONFIG_LIBS
1024 WXCONFIG_RPATH
1025 WXCONFIG_LDFLAGS_GUI
1026 WXCONFIG_RESFLAGS
1027 GUIDIST
1028 DISTDIR
1029 SAMPLES_SUBDIRS
1030 LDFLAGS_GL
1031 OPENGL_LIBS
1032 DMALLOC_LIBS
1033 WX_VERSION_TAG
1034 RESCOMP
1035 RESFLAGS
1036 RESPROGRAMOBJ
1037 WX_RESOURCES_MACOSX_ASCII
1038 WX_RESOURCES_MACOSX_DATA
1039 LIBWXMACRES
1040 POSTLINK_COMMAND
1041 MACSETFILE
1042 GCC
1043 DLLTOOL
1044 CPPUNIT_CONFIG
1045 LIBOBJS
1046 LTLIBOBJS'
1047 ac_subst_files=''
1048 ac_precious_vars='build_alias
1049 host_alias
1050 target_alias
1051 CC
1052 CFLAGS
1053 LDFLAGS
1054 LIBS
1055 CPPFLAGS
1056 CPP
1057 CXX
1058 CXXFLAGS
1059 CCC
1060 PKG_CONFIG
1061 DIRECTFB_CFLAGS
1062 DIRECTFB_LIBS
1063 XMKMF
1064 PANGOX_CFLAGS
1065 PANGOX_LIBS
1066 PANGOFT2_CFLAGS
1067 PANGOFT2_LIBS
1068 PANGOXFT_CFLAGS
1069 PANGOXFT_LIBS
1070 GTKPRINT_CFLAGS
1071 GTKPRINT_LIBS
1072 LIBGNOMEPRINTUI_CFLAGS
1073 LIBGNOMEPRINTUI_LIBS
1074 GNOMEVFS_CFLAGS
1075 GNOMEVFS_LIBS
1076 HILDON_CFLAGS
1077 HILDON_LIBS
1078 HILDON2_CFLAGS
1079 HILDON2_LIBS
1080 CAIRO_CFLAGS
1081 CAIRO_LIBS
1082 GST_CFLAGS
1083 GST_LIBS'
1084 ac_subdirs_all='src/tiff
1085 src/expat'
1086
1087 # Initialize some variables set by options.
1088 ac_init_help=
1089 ac_init_version=false
1090 # The variables have the same names as the options, with
1091 # dashes changed to underlines.
1092 cache_file=/dev/null
1093 exec_prefix=NONE
1094 no_create=
1095 no_recursion=
1096 prefix=NONE
1097 program_prefix=NONE
1098 program_suffix=NONE
1099 program_transform_name=s,x,x,
1100 silent=
1101 site=
1102 srcdir=
1103 verbose=
1104 x_includes=NONE
1105 x_libraries=NONE
1106
1107 # Installation directory options.
1108 # These are left unexpanded so users can "make install exec_prefix=/foo"
1109 # and all the variables that are supposed to be based on exec_prefix
1110 # by default will actually change.
1111 # Use braces instead of parens because sh, perl, etc. also accept them.
1112 # (The list follows the same order as the GNU Coding Standards.)
1113 bindir='${exec_prefix}/bin'
1114 sbindir='${exec_prefix}/sbin'
1115 libexecdir='${exec_prefix}/libexec'
1116 datarootdir='${prefix}/share'
1117 datadir='${datarootdir}'
1118 sysconfdir='${prefix}/etc'
1119 sharedstatedir='${prefix}/com'
1120 localstatedir='${prefix}/var'
1121 includedir='${prefix}/include'
1122 oldincludedir='/usr/include'
1123 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1124 infodir='${datarootdir}/info'
1125 htmldir='${docdir}'
1126 dvidir='${docdir}'
1127 pdfdir='${docdir}'
1128 psdir='${docdir}'
1129 libdir='${exec_prefix}/lib'
1130 localedir='${datarootdir}/locale'
1131 mandir='${datarootdir}/man'
1132
1133 ac_prev=
1134 ac_dashdash=
1135 for ac_option
1136 do
1137 # If the previous option needs an argument, assign it.
1138 if test -n "$ac_prev"; then
1139 eval $ac_prev=\$ac_option
1140 ac_prev=
1141 continue
1142 fi
1143
1144 case $ac_option in
1145 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1146 *) ac_optarg=yes ;;
1147 esac
1148
1149 # Accept the important Cygnus configure options, so we can diagnose typos.
1150
1151 case $ac_dashdash$ac_option in
1152 --)
1153 ac_dashdash=yes ;;
1154
1155 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1156 ac_prev=bindir ;;
1157 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1158 bindir=$ac_optarg ;;
1159
1160 -build | --build | --buil | --bui | --bu)
1161 ac_prev=build_alias ;;
1162 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1163 build_alias=$ac_optarg ;;
1164
1165 -cache-file | --cache-file | --cache-fil | --cache-fi \
1166 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1167 ac_prev=cache_file ;;
1168 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1169 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1170 cache_file=$ac_optarg ;;
1171
1172 --config-cache | -C)
1173 cache_file=config.cache ;;
1174
1175 -datadir | --datadir | --datadi | --datad)
1176 ac_prev=datadir ;;
1177 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1178 datadir=$ac_optarg ;;
1179
1180 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1181 | --dataroo | --dataro | --datar)
1182 ac_prev=datarootdir ;;
1183 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1184 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1185 datarootdir=$ac_optarg ;;
1186
1187 -disable-* | --disable-*)
1188 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1192 { (exit 1); exit 1; }; }
1193 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1194 eval enable_$ac_feature=no ;;
1195
1196 -docdir | --docdir | --docdi | --doc | --do)
1197 ac_prev=docdir ;;
1198 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1199 docdir=$ac_optarg ;;
1200
1201 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1202 ac_prev=dvidir ;;
1203 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1204 dvidir=$ac_optarg ;;
1205
1206 -enable-* | --enable-*)
1207 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1210 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1211 { (exit 1); exit 1; }; }
1212 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1213 eval enable_$ac_feature=\$ac_optarg ;;
1214
1215 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1216 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1217 | --exec | --exe | --ex)
1218 ac_prev=exec_prefix ;;
1219 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1220 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1221 | --exec=* | --exe=* | --ex=*)
1222 exec_prefix=$ac_optarg ;;
1223
1224 -gas | --gas | --ga | --g)
1225 # Obsolete; use --with-gas.
1226 with_gas=yes ;;
1227
1228 -help | --help | --hel | --he | -h)
1229 ac_init_help=long ;;
1230 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1231 ac_init_help=recursive ;;
1232 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1233 ac_init_help=short ;;
1234
1235 -host | --host | --hos | --ho)
1236 ac_prev=host_alias ;;
1237 -host=* | --host=* | --hos=* | --ho=*)
1238 host_alias=$ac_optarg ;;
1239
1240 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1241 ac_prev=htmldir ;;
1242 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1243 | --ht=*)
1244 htmldir=$ac_optarg ;;
1245
1246 -includedir | --includedir | --includedi | --included | --include \
1247 | --includ | --inclu | --incl | --inc)
1248 ac_prev=includedir ;;
1249 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1250 | --includ=* | --inclu=* | --incl=* | --inc=*)
1251 includedir=$ac_optarg ;;
1252
1253 -infodir | --infodir | --infodi | --infod | --info | --inf)
1254 ac_prev=infodir ;;
1255 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1256 infodir=$ac_optarg ;;
1257
1258 -libdir | --libdir | --libdi | --libd)
1259 ac_prev=libdir ;;
1260 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1261 libdir=$ac_optarg ;;
1262
1263 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1264 | --libexe | --libex | --libe)
1265 ac_prev=libexecdir ;;
1266 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1267 | --libexe=* | --libex=* | --libe=*)
1268 libexecdir=$ac_optarg ;;
1269
1270 -localedir | --localedir | --localedi | --localed | --locale)
1271 ac_prev=localedir ;;
1272 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1273 localedir=$ac_optarg ;;
1274
1275 -localstatedir | --localstatedir | --localstatedi | --localstated \
1276 | --localstate | --localstat | --localsta | --localst | --locals)
1277 ac_prev=localstatedir ;;
1278 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1279 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1280 localstatedir=$ac_optarg ;;
1281
1282 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1283 ac_prev=mandir ;;
1284 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1285 mandir=$ac_optarg ;;
1286
1287 -nfp | --nfp | --nf)
1288 # Obsolete; use --without-fp.
1289 with_fp=no ;;
1290
1291 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1292 | --no-cr | --no-c | -n)
1293 no_create=yes ;;
1294
1295 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1296 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1297 no_recursion=yes ;;
1298
1299 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1300 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1301 | --oldin | --oldi | --old | --ol | --o)
1302 ac_prev=oldincludedir ;;
1303 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1304 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1305 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1306 oldincludedir=$ac_optarg ;;
1307
1308 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1309 ac_prev=prefix ;;
1310 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1311 prefix=$ac_optarg ;;
1312
1313 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1314 | --program-pre | --program-pr | --program-p)
1315 ac_prev=program_prefix ;;
1316 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1317 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1318 program_prefix=$ac_optarg ;;
1319
1320 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1321 | --program-suf | --program-su | --program-s)
1322 ac_prev=program_suffix ;;
1323 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1324 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1325 program_suffix=$ac_optarg ;;
1326
1327 -program-transform-name | --program-transform-name \
1328 | --program-transform-nam | --program-transform-na \
1329 | --program-transform-n | --program-transform- \
1330 | --program-transform | --program-transfor \
1331 | --program-transfo | --program-transf \
1332 | --program-trans | --program-tran \
1333 | --progr-tra | --program-tr | --program-t)
1334 ac_prev=program_transform_name ;;
1335 -program-transform-name=* | --program-transform-name=* \
1336 | --program-transform-nam=* | --program-transform-na=* \
1337 | --program-transform-n=* | --program-transform-=* \
1338 | --program-transform=* | --program-transfor=* \
1339 | --program-transfo=* | --program-transf=* \
1340 | --program-trans=* | --program-tran=* \
1341 | --progr-tra=* | --program-tr=* | --program-t=*)
1342 program_transform_name=$ac_optarg ;;
1343
1344 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1345 ac_prev=pdfdir ;;
1346 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1347 pdfdir=$ac_optarg ;;
1348
1349 -psdir | --psdir | --psdi | --psd | --ps)
1350 ac_prev=psdir ;;
1351 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1352 psdir=$ac_optarg ;;
1353
1354 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1355 | -silent | --silent | --silen | --sile | --sil)
1356 silent=yes ;;
1357
1358 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1359 ac_prev=sbindir ;;
1360 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1361 | --sbi=* | --sb=*)
1362 sbindir=$ac_optarg ;;
1363
1364 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1365 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1366 | --sharedst | --shareds | --shared | --share | --shar \
1367 | --sha | --sh)
1368 ac_prev=sharedstatedir ;;
1369 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1370 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1371 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1372 | --sha=* | --sh=*)
1373 sharedstatedir=$ac_optarg ;;
1374
1375 -site | --site | --sit)
1376 ac_prev=site ;;
1377 -site=* | --site=* | --sit=*)
1378 site=$ac_optarg ;;
1379
1380 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1381 ac_prev=srcdir ;;
1382 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1383 srcdir=$ac_optarg ;;
1384
1385 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1386 | --syscon | --sysco | --sysc | --sys | --sy)
1387 ac_prev=sysconfdir ;;
1388 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1389 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1390 sysconfdir=$ac_optarg ;;
1391
1392 -target | --target | --targe | --targ | --tar | --ta | --t)
1393 ac_prev=target_alias ;;
1394 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1395 target_alias=$ac_optarg ;;
1396
1397 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1398 verbose=yes ;;
1399
1400 -version | --version | --versio | --versi | --vers | -V)
1401 ac_init_version=: ;;
1402
1403 -with-* | --with-*)
1404 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1405 # Reject names that are not valid shell variable names.
1406 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1407 { echo "$as_me: error: invalid package name: $ac_package" >&2
1408 { (exit 1); exit 1; }; }
1409 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1410 eval with_$ac_package=\$ac_optarg ;;
1411
1412 -without-* | --without-*)
1413 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid package name: $ac_package" >&2
1417 { (exit 1); exit 1; }; }
1418 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1419 eval with_$ac_package=no ;;
1420
1421 --x)
1422 # Obsolete; use --with-x.
1423 with_x=yes ;;
1424
1425 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1426 | --x-incl | --x-inc | --x-in | --x-i)
1427 ac_prev=x_includes ;;
1428 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1429 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1430 x_includes=$ac_optarg ;;
1431
1432 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1433 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1434 ac_prev=x_libraries ;;
1435 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1436 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1437 x_libraries=$ac_optarg ;;
1438
1439 -*) { echo "$as_me: error: unrecognized option: $ac_option
1440 Try \`$0 --help' for more information." >&2
1441 { (exit 1); exit 1; }; }
1442 ;;
1443
1444 *=*)
1445 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1446 # Reject names that are not valid shell variable names.
1447 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1448 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1449 { (exit 1); exit 1; }; }
1450 eval $ac_envvar=\$ac_optarg
1451 export $ac_envvar ;;
1452
1453 *)
1454 # FIXME: should be removed in autoconf 3.0.
1455 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1456 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1457 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1458 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1459 ;;
1460
1461 esac
1462 done
1463
1464 if test -n "$ac_prev"; then
1465 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1466 { echo "$as_me: error: missing argument to $ac_option" >&2
1467 { (exit 1); exit 1; }; }
1468 fi
1469
1470 # Be sure to have absolute directory names.
1471 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1472 datadir sysconfdir sharedstatedir localstatedir includedir \
1473 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1474 libdir localedir mandir
1475 do
1476 eval ac_val=\$$ac_var
1477 case $ac_val in
1478 [\\/$]* | ?:[\\/]* ) continue;;
1479 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1480 esac
1481 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1482 { (exit 1); exit 1; }; }
1483 done
1484
1485 # There might be people who depend on the old broken behavior: `$host'
1486 # used to hold the argument of --host etc.
1487 # FIXME: To remove some day.
1488 build=$build_alias
1489 host=$host_alias
1490 target=$target_alias
1491
1492 # FIXME: To remove some day.
1493 if test "x$host_alias" != x; then
1494 if test "x$build_alias" = x; then
1495 cross_compiling=maybe
1496 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1497 If a cross compiler is detected then cross compile mode will be used." >&2
1498 elif test "x$build_alias" != "x$host_alias"; then
1499 cross_compiling=yes
1500 fi
1501 fi
1502
1503 ac_tool_prefix=
1504 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1505
1506 test "$silent" = yes && exec 6>/dev/null
1507
1508
1509 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1510 ac_ls_di=`ls -di .` &&
1511 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1512 { echo "$as_me: error: Working directory cannot be determined" >&2
1513 { (exit 1); exit 1; }; }
1514 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1515 { echo "$as_me: error: pwd does not report name of working directory" >&2
1516 { (exit 1); exit 1; }; }
1517
1518
1519 # Find the source files, if location was not specified.
1520 if test -z "$srcdir"; then
1521 ac_srcdir_defaulted=yes
1522 # Try the directory containing this script, then the parent directory.
1523 ac_confdir=`$as_dirname -- "$0" ||
1524 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1525 X"$0" : 'X\(//\)[^/]' \| \
1526 X"$0" : 'X\(//\)$' \| \
1527 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1528 echo X"$0" |
1529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1530 s//\1/
1531 q
1532 }
1533 /^X\(\/\/\)[^/].*/{
1534 s//\1/
1535 q
1536 }
1537 /^X\(\/\/\)$/{
1538 s//\1/
1539 q
1540 }
1541 /^X\(\/\).*/{
1542 s//\1/
1543 q
1544 }
1545 s/.*/./; q'`
1546 srcdir=$ac_confdir
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1548 srcdir=..
1549 fi
1550 else
1551 ac_srcdir_defaulted=no
1552 fi
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1554 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1555 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1556 { (exit 1); exit 1; }; }
1557 fi
1558 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1559 ac_abs_confdir=`(
1560 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1561 { (exit 1); exit 1; }; }
1562 pwd)`
1563 # When building in place, set srcdir=.
1564 if test "$ac_abs_confdir" = "$ac_pwd"; then
1565 srcdir=.
1566 fi
1567 # Remove unnecessary trailing slashes from srcdir.
1568 # Double slashes in file names in object file debugging info
1569 # mess up M-x gdb in Emacs.
1570 case $srcdir in
1571 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1572 esac
1573 for ac_var in $ac_precious_vars; do
1574 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1575 eval ac_env_${ac_var}_value=\$${ac_var}
1576 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1577 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1578 done
1579
1580 #
1581 # Report the --help message.
1582 #
1583 if test "$ac_init_help" = "long"; then
1584 # Omit some internal or obsolete options to make the list less imposing.
1585 # This message is too long to be a string in the A/UX 3.1 sh.
1586 cat <<_ACEOF
1587 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1588
1589 Usage: $0 [OPTION]... [VAR=VALUE]...
1590
1591 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1592 VAR=VALUE. See below for descriptions of some of the useful variables.
1593
1594 Defaults for the options are specified in brackets.
1595
1596 Configuration:
1597 -h, --help display this help and exit
1598 --help=short display options specific to this package
1599 --help=recursive display the short help of all the included packages
1600 -V, --version display version information and exit
1601 -q, --quiet, --silent do not print \`checking...' messages
1602 --cache-file=FILE cache test results in FILE [disabled]
1603 -C, --config-cache alias for \`--cache-file=config.cache'
1604 -n, --no-create do not create output files
1605 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1606
1607 Installation directories:
1608 --prefix=PREFIX install architecture-independent files in PREFIX
1609 [$ac_default_prefix]
1610 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1611 [PREFIX]
1612
1613 By default, \`make install' will install all the files in
1614 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1615 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1616 for instance \`--prefix=\$HOME'.
1617
1618 For better control, use the options below.
1619
1620 Fine tuning of the installation directories:
1621 --bindir=DIR user executables [EPREFIX/bin]
1622 --sbindir=DIR system admin executables [EPREFIX/sbin]
1623 --libexecdir=DIR program executables [EPREFIX/libexec]
1624 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1625 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1626 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1627 --libdir=DIR object code libraries [EPREFIX/lib]
1628 --includedir=DIR C header files [PREFIX/include]
1629 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1630 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1631 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1632 --infodir=DIR info documentation [DATAROOTDIR/info]
1633 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1634 --mandir=DIR man documentation [DATAROOTDIR/man]
1635 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1636 --htmldir=DIR html documentation [DOCDIR]
1637 --dvidir=DIR dvi documentation [DOCDIR]
1638 --pdfdir=DIR pdf documentation [DOCDIR]
1639 --psdir=DIR ps documentation [DOCDIR]
1640 _ACEOF
1641
1642 cat <<\_ACEOF
1643
1644 X features:
1645 --x-includes=DIR X include files are in DIR
1646 --x-libraries=DIR X library files are in DIR
1647
1648 System types:
1649 --build=BUILD configure for building on BUILD [guessed]
1650 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1651 _ACEOF
1652 fi
1653
1654 if test -n "$ac_init_help"; then
1655 case $ac_init_help in
1656 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1657 esac
1658 cat <<\_ACEOF
1659
1660 Optional Features:
1661 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1662 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1663 --disable-gui don't build GUI parts of the library
1664 --enable-monolithic build wxWidgets as single library
1665 --enable-plugins build parts of wxWidgets as loadable components
1666 --enable-official_build official build of wxWidgets (win32 DLL only)
1667 --enable-vendor=VENDOR vendor name (win32 DLL only)
1668 --disable-all-features disable all optional features to build minimal library
1669 --enable-universal use wxWidgets GUI controls instead of native ones
1670 --enable-nanox use NanoX
1671 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1672 --enable-gpe use GNOME PDA Environment features if possible
1673 --enable-debug build library for debugging
1674 --disable-debug_flag disable all debugging support
1675 --enable-debug_info generate debug information
1676 --enable-debug_gdb create code with extra GDB debugging information
1677 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1678 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1679 --disable-shared create static library instead of shared
1680 --enable-stl use STL for containers
1681 --enable-std_iostreams use standard C++ stream classes
1682 --enable-std_string use standard C++ string classes
1683 --disable-unicode compile without Unicode support
1684 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1685 --enable-utf8 use UTF-8 representation for strings (Unix only)
1686 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1687 --enable-extended_rtti use extended RTTI (XTI)
1688 --enable-omf use OMF object format
1689 --disable-optimise compile without optimisations
1690 --enable-profile create code with profiling information
1691 --enable-no_rtti create code without RTTI information
1692 --enable-no_exceptions create code without C++ exceptions handling
1693 --enable-permissive compile code disregarding strict ANSI
1694 --enable-no_deps create code without dependency information
1695 --disable-vararg_macros don't use vararg macros, even if they are supported
1696 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1697 --enable-compat26 enable wxWidgets 2.6 compatibility
1698 --disable-compat28 disable wxWidgets 2.8 compatibility
1699 --disable-rpath disable use of rpath for uninstalled builds
1700 --enable-objc_uniquifying enable Objective-C class name uniquifying
1701 --disable-visibility disable use of ELF symbols visibility even if supported
1702 --disable-tls disable use of compiler TLS support
1703 --enable-intl use internationalization system
1704 --enable-xlocale use x-locale support (requires wxLocale)
1705 --enable-config use wxConfig (and derived) classes
1706 --enable-protocols use wxProtocol and derived classes
1707 --enable-ftp use wxFTP (requires wxProtocol
1708 --enable-http use wxHTTP (requires wxProtocol
1709 --enable-fileproto use wxFileProto class (requires wxProtocol
1710 --enable-sockets use socket/network classes
1711 --enable-ipv6 enable IPv6 support in wxSocket
1712 --enable-ole use OLE classes (Win32 only)
1713 --enable-dataobj use data object classes
1714 --enable-ipc use interprocess communication (wxSocket etc.)
1715 --enable-baseevtloop use event loop in console programs too
1716 --enable-epollloop use wxEpollDispatcher class (Linux only)
1717 --enable-selectloop use wxSelectDispatcher class
1718 --enable-any use wxAny class
1719 --enable-apple_ieee use the Apple IEEE codec
1720 --enable-arcstream use wxArchive streams
1721 --enable-base64 use base64 encoding/decoding functions
1722 --enable-backtrace use wxStackWalker class for getting backtraces
1723 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1724 --enable-cmdline use wxCmdLineParser class
1725 --enable-datetime use wxDateTime class
1726 --enable-debugreport use wxDebugReport class
1727 --enable-dialupman use dialup network classes
1728 --enable-dynlib use wxLibrary class for DLL loading
1729 --enable-dynamicloader use (new) wxDynamicLibrary class
1730 --enable-exceptions build exception-safe library
1731 --enable-ffile use wxFFile class
1732 --enable-file use wxFile class
1733 --enable-filesystem use virtual file systems classes
1734 --enable-fontenum use wxFontEnumerator class
1735 --enable-fontmap use font encodings conversion classes
1736 --enable-fs_archive use virtual archive filesystems
1737 --enable-fs_inet use virtual HTTP/FTP filesystems
1738 --enable-fs_zip now replaced by fs_archive
1739 --enable-geometry use geometry class
1740 --enable-log use logging system
1741 --enable-longlong use wxLongLong class
1742 --enable-mimetype use wxMimeTypesManager
1743 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1744 --enable-snglinst use wxSingleInstanceChecker class
1745 --enable-sound use wxSound class
1746 --enable-stdpaths use wxStandardPaths class
1747 --enable-stopwatch use wxStopWatch class
1748 --enable-streams use wxStream etc classes
1749 --enable-sysoptions use wxSystemOptions
1750 --enable-tarstream use wxTar streams
1751 --enable-textbuf use wxTextBuffer class
1752 --enable-textfile use wxTextFile class
1753 --enable-timer use wxTimer class
1754 --enable-variant use wxVariant class
1755 --enable-zipstream use wxZip streams
1756 --enable-url use wxURL class
1757 --enable-protocol use wxProtocol class
1758 --enable-protocol-http HTTP support in wxProtocol
1759 --enable-protocol-ftp FTP support in wxProtocol
1760 --enable-protocol-file FILE support in wxProtocol
1761 --enable-threads use threads
1762 --enable-iniconf use wxIniConfig (Win32 only)
1763 --enable-regkey use wxRegKey class (Win32 only)
1764 --enable-docview use document view architecture
1765 --enable-help use help subsystem
1766 --enable-mshtmlhelp use MS HTML Help (win32)
1767 --enable-html use wxHTML sub-library
1768 --enable-htmlhelp use wxHTML-based help
1769 --enable-xrc use XRC resources sub-library
1770 --enable-aui use AUI docking library
1771 --enable-propgrid use wxPropertyGrid library
1772 --enable-ribbon use wxRibbon library
1773 --enable-stc use wxStyledTextCtrl library
1774 --enable-constraints use layout-constraints system
1775 --enable-loggui use standard GUI logger
1776 --enable-logwin use wxLogWindow
1777 --enable-logdialog use wxLogDialog
1778 --enable-mdi use multiple document interface architecture
1779 --enable-mdidoc use docview architecture with MDI
1780 --enable-mediactrl use wxMediaCtrl class
1781 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1782 --enable-webkit use wxWebKitCtrl (Mac)
1783 --enable-richtext use wxRichTextCtrl
1784 --enable-graphics_ctx use graphics context 2D drawing API
1785 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1786 --enable-printarch use printing architecture
1787 --enable-svg use wxSVGFileDC device context
1788 --enable-clipboard use wxClipboard class
1789 --enable-dnd use Drag'n'Drop classes
1790 --enable-metafile use win32 metafiles
1791 --disable-controls disable compilation of all standard controls
1792 --enable-accel use accelerators
1793 --enable-animatectrl use wxAnimationCtrl class
1794 --enable-bmpbutton use wxBitmapButton class
1795 --enable-bmpcombobox use wxBitmapComboBox class
1796 --enable-button use wxButton class
1797 --enable-calendar use wxCalendarCtrl class
1798 --enable-caret use wxCaret class
1799 --enable-checkbox use wxCheckBox class
1800 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1801 --enable-choice use wxChoice class
1802 --enable-choicebook use wxChoicebook class
1803 --enable-collpane use wxCollapsiblePane class
1804 --enable-colourpicker use wxColourPickerCtrl class
1805 --enable-combobox use wxComboBox class
1806 --enable-comboctrl use wxComboCtrl class
1807 --enable-dataviewctrl use wxDataViewCtrl class
1808 --enable-datepick use wxDatePickerCtrl class
1809 --enable-detect_sm use code to detect X11 session manager
1810 --enable-dirpicker use wxDirPickerCtrl class
1811 --enable-display use wxDisplay class
1812 --enable-editablebox use wxEditableListBox class
1813 --enable-filectrl use wxFileCtrl class
1814 --enable-filepicker use wxFilePickerCtrl class
1815 --enable-fontpicker use wxFontPickerCtrl class
1816 --enable-gauge use wxGauge class
1817 --enable-grid use wxGrid class
1818 --enable-headerctrl use wxHeaderCtrl class
1819 --enable-hyperlink use wxHyperlinkCtrl class
1820 --enable-imaglist use wxImageList class
1821 --enable-infobar use wxInfoBar class
1822 --enable-listbook use wxListbook class
1823 --enable-listbox use wxListBox class
1824 --enable-listctrl use wxListCtrl class
1825 --enable-notebook use wxNotebook class
1826 --enable-notifmsg use wxNotificationMessage class
1827 --enable-odcombobox use wxOwnerDrawnComboBox class
1828 --enable-popupwin use wxPopUpWindow class
1829 --enable-radiobox use wxRadioBox class
1830 --enable-radiobtn use wxRadioButton class
1831 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1832 --enable-sash use wxSashWindow class
1833 --enable-scrollbar use wxScrollBar class and scrollable windows
1834 --enable-searchctrl use wxSearchCtrl class
1835 --enable-slider use wxSlider class
1836 --enable-spinbtn use wxSpinButton class
1837 --enable-spinctrl use wxSpinCtrl class
1838 --enable-splitter use wxSplitterWindow class
1839 --enable-statbmp use wxStaticBitmap class
1840 --enable-statbox use wxStaticBox class
1841 --enable-statline use wxStaticLine class
1842 --enable-stattext use wxStaticText class
1843 --enable-statusbar use wxStatusBar class
1844 --enable-taskbaricon use wxTaskBarIcon class
1845 --enable-tbarnative use native wxToolBar class
1846 --enable-textctrl use wxTextCtrl class
1847 --enable-tipwindow use wxTipWindow class
1848 --enable-togglebtn use wxToggleButton class
1849 --enable-toolbar use wxToolBar class
1850 --enable-toolbook use wxToolbook class
1851 --enable-treebook use wxTreebook class
1852 --enable-treectrl use wxTreeCtrl class
1853 --enable-commondlg use all common dialogs
1854 --enable-aboutdlg use wxAboutBox
1855 --enable-choicedlg use wxChoiceDialog
1856 --enable-coldlg use wxColourDialog
1857 --enable-filedlg use wxFileDialog
1858 --enable-finddlg use wxFindReplaceDialog
1859 --enable-fontdlg use wxFontDialog
1860 --enable-dirdlg use wxDirDialog
1861 --enable-msgdlg use wxMessageDialog
1862 --enable-numberdlg use wxNumberEntryDialog
1863 --enable-splash use wxSplashScreen
1864 --enable-textdlg use wxTextDialog
1865 --enable-tipdlg use startup tips
1866 --enable-progressdlg use wxProgressDialog
1867 --enable-wizarddlg use wxWizard
1868 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1869 --enable-miniframe use wxMiniFrame class
1870 --enable-tooltips use wxToolTip class
1871 --enable-splines use spline drawing code
1872 --enable-mousewheel use mousewheel
1873 --enable-validators use wxValidator and derived classes
1874 --enable-busyinfo use wxBusyInfo
1875 --enable-joystick use wxJoystick
1876 --enable-metafiles use wxMetaFile (Win32 only)
1877 --enable-dragimage use wxDragImage
1878 --enable-accessibility enable accessibility support
1879 --enable-palette use wxPalette class
1880 --enable-image use wxImage class
1881 --enable-gif use gif images (GIF file format)
1882 --enable-pcx use pcx images (PCX file format)
1883 --enable-tga use tga images (TGA file format)
1884 --enable-iff use iff images (IFF file format)
1885 --enable-pnm use pnm images (PNM file format)
1886 --enable-xpm use xpm images (XPM file format)
1887 --enable-ico_cur use Windows ICO and CUR formats
1888 --enable-dccache cache temporary wxDC objects (Win32 only)
1889 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1890 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1891 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1892 --enable-wxdib use wxDIB class (Win32 only)
1893 --enable-autoidman use automatic ids management
1894 --disable-largefile omit support for large files
1895 --disable-gtktest do not try to compile and run a test GTK+ program
1896 --disable-gtktest Do not try to compile and run a test GTK program
1897 --disable-sdltest Do not try to compile and run a test SDL program
1898 --enable-omf use OMF object format (OS/2)
1899 --disable-dependency-tracking
1900 don't use dependency tracking even if the compiler
1901 can
1902 --disable-precomp-headers
1903 don't use precompiled headers even if compiler can
1904
1905 Optional Packages:
1906 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1907 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1908 --without-subdirs don't generate makefiles for samples/demos/...
1909 --with-flavour=NAME specify a name to identify this build
1910 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1911 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1912 --with-motif use Motif/Lesstif
1913 --with-osx_carbon use Mac OS X (Carbon)
1914 --with-osx_cocoa use Mac OS X (Cocoa)
1915 --with-mac use Mac OS X (Default)
1916 --with-cocoa use Cocoa
1917 --with-wine use Wine
1918 --with-msw use MS-Windows
1919 --with-pm use OS/2 Presentation Manager
1920 --with-mgl use SciTech MGL
1921 --with-directfb use DirectFB
1922 --with-microwin use MicroWindows
1923 --with-x11 use X11
1924 --with-libpng use libpng (PNG image format)
1925 --with-libjpeg use libjpeg (JPEG file format)
1926 --with-libtiff use libtiff (TIFF file format)
1927 --with-libxpm use libxpm (XPM file format)
1928 --with-libiconv use libiconv (character conversion)
1929 --with-libmspack use libmspack (CHM help files loading)
1930 --without-gtkprint don't use GTK printing support
1931 --without-gnomeprint don't use GNOME printing libraries
1932 --with-gnomevfs use GNOME VFS for associating MIME types
1933 --with-hildon use Hildon framework for Nokia 770/800/810
1934 --with-opengl use OpenGL (or Mesa)
1935 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1936 --with-sdl use SDL for audio on Unix
1937 --with-regex enable support for wxRegEx class
1938 --with-zlib use zlib for LZW compression
1939 --with-expat enable XML support using expat parser
1940 --with-macosx-sdk=PATH use an OS X SDK at PATH
1941 --with-macosx-version-min=VER build binaries which require at least this OS X version
1942 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1943 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1944 --with-x use the X Window System
1945 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1946 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1947 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1948 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1949 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1950
1951 Some influential environment variables:
1952 CC C compiler command
1953 CFLAGS C compiler flags
1954 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1955 nonstandard directory <lib dir>
1956 LIBS libraries to pass to the linker, e.g. -l<library>
1957 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1958 you have headers in a nonstandard directory <include dir>
1959 CPP C preprocessor
1960 CXX C++ compiler command
1961 CXXFLAGS C++ compiler flags
1962 PKG_CONFIG path to pkg-config utility
1963 DIRECTFB_CFLAGS
1964 C compiler flags for DIRECTFB, overriding pkg-config
1965 DIRECTFB_LIBS
1966 linker flags for DIRECTFB, overriding pkg-config
1967 XMKMF Path to xmkmf, Makefile generator for X Window System
1968 PANGOX_CFLAGS
1969 C compiler flags for PANGOX, overriding pkg-config
1970 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1971 PANGOFT2_CFLAGS
1972 C compiler flags for PANGOFT2, overriding pkg-config
1973 PANGOFT2_LIBS
1974 linker flags for PANGOFT2, overriding pkg-config
1975 PANGOXFT_CFLAGS
1976 C compiler flags for PANGOXFT, overriding pkg-config
1977 PANGOXFT_LIBS
1978 linker flags for PANGOXFT, overriding pkg-config
1979 GTKPRINT_CFLAGS
1980 C compiler flags for GTKPRINT, overriding pkg-config
1981 GTKPRINT_LIBS
1982 linker flags for GTKPRINT, overriding pkg-config
1983 LIBGNOMEPRINTUI_CFLAGS
1984 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1985 LIBGNOMEPRINTUI_LIBS
1986 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1987 GNOMEVFS_CFLAGS
1988 C compiler flags for GNOMEVFS, overriding pkg-config
1989 GNOMEVFS_LIBS
1990 linker flags for GNOMEVFS, overriding pkg-config
1991 HILDON_CFLAGS
1992 C compiler flags for HILDON, overriding pkg-config
1993 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1994 HILDON2_CFLAGS
1995 C compiler flags for HILDON2, overriding pkg-config
1996 HILDON2_LIBS
1997 linker flags for HILDON2, overriding pkg-config
1998 CAIRO_CFLAGS
1999 C compiler flags for CAIRO, overriding pkg-config
2000 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2001 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2002 GST_LIBS linker flags for GST, overriding pkg-config
2003
2004 Use these variables to override the choices made by `configure' or to help
2005 it to find libraries and programs with nonstandard names/locations.
2006
2007 Report bugs to <wx-dev@lists.wxwidgets.org>.
2008 _ACEOF
2009 ac_status=$?
2010 fi
2011
2012 if test "$ac_init_help" = "recursive"; then
2013 # If there are subdirs, report their specific --help.
2014 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2015 test -d "$ac_dir" || continue
2016 ac_builddir=.
2017
2018 case "$ac_dir" in
2019 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2020 *)
2021 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2022 # A ".." for each directory in $ac_dir_suffix.
2023 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2024 case $ac_top_builddir_sub in
2025 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2026 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2027 esac ;;
2028 esac
2029 ac_abs_top_builddir=$ac_pwd
2030 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2031 # for backward compatibility:
2032 ac_top_builddir=$ac_top_build_prefix
2033
2034 case $srcdir in
2035 .) # We are building in place.
2036 ac_srcdir=.
2037 ac_top_srcdir=$ac_top_builddir_sub
2038 ac_abs_top_srcdir=$ac_pwd ;;
2039 [\\/]* | ?:[\\/]* ) # Absolute name.
2040 ac_srcdir=$srcdir$ac_dir_suffix;
2041 ac_top_srcdir=$srcdir
2042 ac_abs_top_srcdir=$srcdir ;;
2043 *) # Relative name.
2044 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2045 ac_top_srcdir=$ac_top_build_prefix$srcdir
2046 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2047 esac
2048 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2049
2050 cd "$ac_dir" || { ac_status=$?; continue; }
2051 # Check for guested configure.
2052 if test -f "$ac_srcdir/configure.gnu"; then
2053 echo &&
2054 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2055 elif test -f "$ac_srcdir/configure"; then
2056 echo &&
2057 $SHELL "$ac_srcdir/configure" --help=recursive
2058 else
2059 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2060 fi || ac_status=$?
2061 cd "$ac_pwd" || { ac_status=$?; break; }
2062 done
2063 fi
2064
2065 test -n "$ac_init_help" && exit $ac_status
2066 if $ac_init_version; then
2067 cat <<\_ACEOF
2068 wxWidgets configure 2.9.1
2069 generated by GNU Autoconf 2.61
2070
2071 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2072 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2073 This configure script is free software; the Free Software Foundation
2074 gives unlimited permission to copy, distribute and modify it.
2075 _ACEOF
2076 exit
2077 fi
2078 cat >config.log <<_ACEOF
2079 This file contains any messages produced by compilers while
2080 running configure, to aid debugging if configure makes a mistake.
2081
2082 It was created by wxWidgets $as_me 2.9.1, which was
2083 generated by GNU Autoconf 2.61. Invocation command line was
2084
2085 $ $0 $@
2086
2087 _ACEOF
2088 exec 5>>config.log
2089 {
2090 cat <<_ASUNAME
2091 ## --------- ##
2092 ## Platform. ##
2093 ## --------- ##
2094
2095 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2096 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2097 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2098 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2099 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2100
2101 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2102 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2103
2104 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2105 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2106 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2107 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2108 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2109 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2110 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2111
2112 _ASUNAME
2113
2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 for as_dir in $PATH
2116 do
2117 IFS=$as_save_IFS
2118 test -z "$as_dir" && as_dir=.
2119 echo "PATH: $as_dir"
2120 done
2121 IFS=$as_save_IFS
2122
2123 } >&5
2124
2125 cat >&5 <<_ACEOF
2126
2127
2128 ## ----------- ##
2129 ## Core tests. ##
2130 ## ----------- ##
2131
2132 _ACEOF
2133
2134
2135 # Keep a trace of the command line.
2136 # Strip out --no-create and --no-recursion so they do not pile up.
2137 # Strip out --silent because we don't want to record it for future runs.
2138 # Also quote any args containing shell meta-characters.
2139 # Make two passes to allow for proper duplicate-argument suppression.
2140 ac_configure_args=
2141 ac_configure_args0=
2142 ac_configure_args1=
2143 ac_must_keep_next=false
2144 for ac_pass in 1 2
2145 do
2146 for ac_arg
2147 do
2148 case $ac_arg in
2149 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2150 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2151 | -silent | --silent | --silen | --sile | --sil)
2152 continue ;;
2153 *\'*)
2154 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2155 esac
2156 case $ac_pass in
2157 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2158 2)
2159 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2160 if test $ac_must_keep_next = true; then
2161 ac_must_keep_next=false # Got value, back to normal.
2162 else
2163 case $ac_arg in
2164 *=* | --config-cache | -C | -disable-* | --disable-* \
2165 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2166 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2167 | -with-* | --with-* | -without-* | --without-* | --x)
2168 case "$ac_configure_args0 " in
2169 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2170 esac
2171 ;;
2172 -* ) ac_must_keep_next=true ;;
2173 esac
2174 fi
2175 ac_configure_args="$ac_configure_args '$ac_arg'"
2176 ;;
2177 esac
2178 done
2179 done
2180 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2181 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2182
2183 # When interrupted or exit'd, cleanup temporary files, and complete
2184 # config.log. We remove comments because anyway the quotes in there
2185 # would cause problems or look ugly.
2186 # WARNING: Use '\'' to represent an apostrophe within the trap.
2187 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2188 trap 'exit_status=$?
2189 # Save into config.log some information that might help in debugging.
2190 {
2191 echo
2192
2193 cat <<\_ASBOX
2194 ## ---------------- ##
2195 ## Cache variables. ##
2196 ## ---------------- ##
2197 _ASBOX
2198 echo
2199 # The following way of writing the cache mishandles newlines in values,
2200 (
2201 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2202 eval ac_val=\$$ac_var
2203 case $ac_val in #(
2204 *${as_nl}*)
2205 case $ac_var in #(
2206 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2207 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2208 esac
2209 case $ac_var in #(
2210 _ | IFS | as_nl) ;; #(
2211 *) $as_unset $ac_var ;;
2212 esac ;;
2213 esac
2214 done
2215 (set) 2>&1 |
2216 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2217 *${as_nl}ac_space=\ *)
2218 sed -n \
2219 "s/'\''/'\''\\\\'\'''\''/g;
2220 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2221 ;; #(
2222 *)
2223 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2224 ;;
2225 esac |
2226 sort
2227 )
2228 echo
2229
2230 cat <<\_ASBOX
2231 ## ----------------- ##
2232 ## Output variables. ##
2233 ## ----------------- ##
2234 _ASBOX
2235 echo
2236 for ac_var in $ac_subst_vars
2237 do
2238 eval ac_val=\$$ac_var
2239 case $ac_val in
2240 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 esac
2242 echo "$ac_var='\''$ac_val'\''"
2243 done | sort
2244 echo
2245
2246 if test -n "$ac_subst_files"; then
2247 cat <<\_ASBOX
2248 ## ------------------- ##
2249 ## File substitutions. ##
2250 ## ------------------- ##
2251 _ASBOX
2252 echo
2253 for ac_var in $ac_subst_files
2254 do
2255 eval ac_val=\$$ac_var
2256 case $ac_val in
2257 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2258 esac
2259 echo "$ac_var='\''$ac_val'\''"
2260 done | sort
2261 echo
2262 fi
2263
2264 if test -s confdefs.h; then
2265 cat <<\_ASBOX
2266 ## ----------- ##
2267 ## confdefs.h. ##
2268 ## ----------- ##
2269 _ASBOX
2270 echo
2271 cat confdefs.h
2272 echo
2273 fi
2274 test "$ac_signal" != 0 &&
2275 echo "$as_me: caught signal $ac_signal"
2276 echo "$as_me: exit $exit_status"
2277 } >&5
2278 rm -f core *.core core.conftest.* &&
2279 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2280 exit $exit_status
2281 ' 0
2282 for ac_signal in 1 2 13 15; do
2283 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2284 done
2285 ac_signal=0
2286
2287 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2288 rm -f -r conftest* confdefs.h
2289
2290 # Predefined preprocessor variables.
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_NAME "$PACKAGE_NAME"
2294 _ACEOF
2295
2296
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2299 _ACEOF
2300
2301
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2304 _ACEOF
2305
2306
2307 cat >>confdefs.h <<_ACEOF
2308 #define PACKAGE_STRING "$PACKAGE_STRING"
2309 _ACEOF
2310
2311
2312 cat >>confdefs.h <<_ACEOF
2313 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2314 _ACEOF
2315
2316
2317 # Let the site file select an alternate cache file if it wants to.
2318 # Prefer explicitly selected file to automatically selected ones.
2319 if test -n "$CONFIG_SITE"; then
2320 set x "$CONFIG_SITE"
2321 elif test "x$prefix" != xNONE; then
2322 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2323 else
2324 set x "$ac_default_prefix/share/config.site" \
2325 "$ac_default_prefix/etc/config.site"
2326 fi
2327 shift
2328 for ac_site_file
2329 do
2330 if test -r "$ac_site_file"; then
2331 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2332 echo "$as_me: loading site script $ac_site_file" >&6;}
2333 sed 's/^/| /' "$ac_site_file" >&5
2334 . "$ac_site_file"
2335 fi
2336 done
2337
2338 if test -r "$cache_file"; then
2339 # Some versions of bash will fail to source /dev/null (special
2340 # files actually), so we avoid doing that.
2341 if test -f "$cache_file"; then
2342 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2343 echo "$as_me: loading cache $cache_file" >&6;}
2344 case $cache_file in
2345 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2346 *) . "./$cache_file";;
2347 esac
2348 fi
2349 else
2350 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2351 echo "$as_me: creating cache $cache_file" >&6;}
2352 >$cache_file
2353 fi
2354
2355 # Check that the precious variables saved in the cache have kept the same
2356 # value.
2357 ac_cache_corrupted=false
2358 for ac_var in $ac_precious_vars; do
2359 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2360 eval ac_new_set=\$ac_env_${ac_var}_set
2361 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2362 eval ac_new_val=\$ac_env_${ac_var}_value
2363 case $ac_old_set,$ac_new_set in
2364 set,)
2365 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2366 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2367 ac_cache_corrupted=: ;;
2368 ,set)
2369 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2370 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2371 ac_cache_corrupted=: ;;
2372 ,);;
2373 *)
2374 if test "x$ac_old_val" != "x$ac_new_val"; then
2375 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2376 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2377 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2378 echo "$as_me: former value: $ac_old_val" >&2;}
2379 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2380 echo "$as_me: current value: $ac_new_val" >&2;}
2381 ac_cache_corrupted=:
2382 fi;;
2383 esac
2384 # Pass precious variables to config.status.
2385 if test "$ac_new_set" = set; then
2386 case $ac_new_val in
2387 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2388 *) ac_arg=$ac_var=$ac_new_val ;;
2389 esac
2390 case " $ac_configure_args " in
2391 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2392 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2393 esac
2394 fi
2395 done
2396 if $ac_cache_corrupted; then
2397 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2398 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2400 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2401 { (exit 1); exit 1; }; }
2402 fi
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428 ac_ext=c
2429 ac_cpp='$CPP $CPPFLAGS'
2430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433
2434
2435
2436
2437
2438 ac_aux_dir=
2439 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2440 if test -f "$ac_dir/install-sh"; then
2441 ac_aux_dir=$ac_dir
2442 ac_install_sh="$ac_aux_dir/install-sh -c"
2443 break
2444 elif test -f "$ac_dir/install.sh"; then
2445 ac_aux_dir=$ac_dir
2446 ac_install_sh="$ac_aux_dir/install.sh -c"
2447 break
2448 elif test -f "$ac_dir/shtool"; then
2449 ac_aux_dir=$ac_dir
2450 ac_install_sh="$ac_aux_dir/shtool install -c"
2451 break
2452 fi
2453 done
2454 if test -z "$ac_aux_dir"; then
2455 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2456 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2457 { (exit 1); exit 1; }; }
2458 fi
2459
2460 # These three variables are undocumented and unsupported,
2461 # and are intended to be withdrawn in a future Autoconf release.
2462 # They can cause serious problems if a builder's source tree is in a directory
2463 # whose full name contains unusual characters.
2464 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2465 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2466 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2467
2468
2469 # Make sure we can run config.sub.
2470 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2471 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2472 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2473 { (exit 1); exit 1; }; }
2474
2475 { echo "$as_me:$LINENO: checking build system type" >&5
2476 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2477 if test "${ac_cv_build+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 else
2480 ac_build_alias=$build_alias
2481 test "x$ac_build_alias" = x &&
2482 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2483 test "x$ac_build_alias" = x &&
2484 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2485 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2486 { (exit 1); exit 1; }; }
2487 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2488 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2489 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2490 { (exit 1); exit 1; }; }
2491
2492 fi
2493 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2494 echo "${ECHO_T}$ac_cv_build" >&6; }
2495 case $ac_cv_build in
2496 *-*-*) ;;
2497 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2498 echo "$as_me: error: invalid value of canonical build" >&2;}
2499 { (exit 1); exit 1; }; };;
2500 esac
2501 build=$ac_cv_build
2502 ac_save_IFS=$IFS; IFS='-'
2503 set x $ac_cv_build
2504 shift
2505 build_cpu=$1
2506 build_vendor=$2
2507 shift; shift
2508 # Remember, the first character of IFS is used to create $*,
2509 # except with old shells:
2510 build_os=$*
2511 IFS=$ac_save_IFS
2512 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2513
2514
2515 { echo "$as_me:$LINENO: checking host system type" >&5
2516 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2517 if test "${ac_cv_host+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 else
2520 if test "x$host_alias" = x; then
2521 ac_cv_host=$ac_cv_build
2522 else
2523 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2524 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2525 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2526 { (exit 1); exit 1; }; }
2527 fi
2528
2529 fi
2530 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2531 echo "${ECHO_T}$ac_cv_host" >&6; }
2532 case $ac_cv_host in
2533 *-*-*) ;;
2534 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2535 echo "$as_me: error: invalid value of canonical host" >&2;}
2536 { (exit 1); exit 1; }; };;
2537 esac
2538 host=$ac_cv_host
2539 ac_save_IFS=$IFS; IFS='-'
2540 set x $ac_cv_host
2541 shift
2542 host_cpu=$1
2543 host_vendor=$2
2544 shift; shift
2545 # Remember, the first character of IFS is used to create $*,
2546 # except with old shells:
2547 host_os=$*
2548 IFS=$ac_save_IFS
2549 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2550
2551
2552
2553 if test "$cross_compiling" != "no"; then
2554 HOST_PREFIX="${host_alias}-"
2555 HOST_SUFFIX="-$host_alias"
2556 else
2557 HOST_PREFIX=
2558 HOST_SUFFIX=
2559 fi
2560
2561
2562 wx_major_version_number=2
2563 wx_minor_version_number=9
2564 wx_release_number=1
2565 wx_subrelease_number=0
2566
2567 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2568 WX_VERSION=$WX_RELEASE.$wx_release_number
2569 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2570
2571 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2572
2573
2574 wx_top_builddir="`pwd`"
2575
2576
2577
2578
2579 USE_UNIX=1
2580 USE_OS2=0
2581 USE_WIN32=0
2582 USE_DOS=0
2583 USE_BEOS=0
2584 USE_MAC=0
2585
2586 USE_AIX=
2587 USE_BSD= USE_DARWIN= USE_FREEBSD=
2588 USE_GNU= USE_HPUX=
2589 USE_LINUX=
2590 USE_NETBSD=
2591 USE_OPENBSD=
2592 USE_OSF= USE_SGI=
2593 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2594 USE_ULTRIX=
2595 USE_UNIXWARE=
2596
2597 USE_ALPHA=
2598
2599 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2600
2601 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2602
2603 DEFAULT_wxUSE_COCOA=0
2604 DEFAULT_wxUSE_GTK=0
2605 DEFAULT_wxUSE_OSX_CARBON=0
2606 DEFAULT_wxUSE_OSX_COCOA=0
2607 DEFAULT_wxUSE_MGL=0
2608 DEFAULT_wxUSE_MICROWIN=0
2609 DEFAULT_wxUSE_MOTIF=0
2610 DEFAULT_wxUSE_MSW=0
2611 DEFAULT_wxUSE_PM=0
2612 DEFAULT_wxUSE_X11=0
2613 DEFAULT_wxUSE_DFB=0
2614
2615 DEFAULT_DEFAULT_wxUSE_COCOA=0
2616 DEFAULT_DEFAULT_wxUSE_GTK=0
2617 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2618 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2619 DEFAULT_DEFAULT_wxUSE_MGL=0
2620 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2621 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2622 DEFAULT_DEFAULT_wxUSE_MSW=0
2623 DEFAULT_DEFAULT_wxUSE_PM=0
2624 DEFAULT_DEFAULT_wxUSE_X11=0
2625 DEFAULT_DEFAULT_wxUSE_DFB=0
2626
2627 PROGRAM_EXT=
2628 SAMPLES_RPATH_FLAG=
2629 DYLIB_RPATH_INSTALL=
2630 DYLIB_RPATH_POSTLINK=
2631
2632 DEFAULT_STD_FLAG=yes
2633
2634 case "${host}" in
2635 *-hp-hpux* )
2636 USE_HPUX=1
2637 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2638 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2639 cat >>confdefs.h <<\_ACEOF
2640 #define __HPUX__ 1
2641 _ACEOF
2642
2643
2644 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2645 ;;
2646 *-*-linux* )
2647 USE_LINUX=1
2648 cat >>confdefs.h <<\_ACEOF
2649 #define __LINUX__ 1
2650 _ACEOF
2651
2652 TMP=`uname -m`
2653 if test "x$TMP" = "xalpha"; then
2654 USE_ALPHA=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __ALPHA__ 1
2657 _ACEOF
2658
2659 fi
2660 DEFAULT_DEFAULT_wxUSE_GTK=1
2661 ;;
2662 *-*-gnu* | *-*-k*bsd*-gnu )
2663 USE_GNU=1
2664 TMP=`uname -m`
2665 if test "x$TMP" = "xalpha"; then
2666 USE_ALPHA=1
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __ALPHA__ 1
2669 _ACEOF
2670
2671 fi
2672 DEFAULT_DEFAULT_wxUSE_GTK=1
2673 ;;
2674 *-*-irix5* | *-*-irix6* )
2675 USE_SGI=1
2676 USE_SVR4=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SGI__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SVR4__ 1
2683 _ACEOF
2684
2685 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2686 ;;
2687 *-*-solaris2* )
2688 USE_SUN=1
2689 USE_SOLARIS=1
2690 USE_SVR4=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SUN__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SOLARIS__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __SVR4__ 1
2701 _ACEOF
2702
2703 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2704 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2705 ;;
2706 *-*-sunos4* )
2707 USE_SUN=1
2708 USE_SUNOS=1
2709 USE_BSD=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __SUN__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __SUNOS__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __BSD__ 1
2720 _ACEOF
2721
2722 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2723 ;;
2724 *-*-freebsd*)
2725 USE_BSD=1
2726 USE_FREEBSD=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __FREEBSD__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __BSD__ 1
2733 _ACEOF
2734
2735 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 ;;
2737 *-*-openbsd*|*-*-mirbsd*)
2738 USE_BSD=1
2739 USE_OPENBSD=1
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __OPENBSD__ 1
2742 _ACEOF
2743
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __BSD__ 1
2746 _ACEOF
2747
2748 DEFAULT_DEFAULT_wxUSE_GTK=1
2749 ;;
2750 *-*-netbsd*)
2751 USE_BSD=1
2752 USE_NETBSD=1
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __NETBSD__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __BSD__ 1
2759 _ACEOF
2760
2761 DEFAULT_DEFAULT_wxUSE_GTK=1
2762 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2763
2764 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2765 ;;
2766 *-*-osf* )
2767 USE_ALPHA=1
2768 USE_OSF=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __ALPHA__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __OSF__ 1
2775 _ACEOF
2776
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2778 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2779 ;;
2780 *-*-dgux5* )
2781 USE_ALPHA=1
2782 USE_SVR4=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __ALPHA__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __SVR4__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 ;;
2793 *-*-sysv5* )
2794 USE_SYSV=1
2795 USE_SVR4=1
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __SYSV__ 1
2798 _ACEOF
2799
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __SVR4__ 1
2802 _ACEOF
2803
2804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2805 ;;
2806 *-*-aix* )
2807 USE_AIX=1
2808 USE_SYSV=1
2809 USE_SVR4=1
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __AIX__ 1
2812 _ACEOF
2813
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __SYSV__ 1
2816 _ACEOF
2817
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __SVR4__ 1
2820 _ACEOF
2821
2822 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2823 ;;
2824
2825 *-*-*UnixWare*)
2826 USE_SYSV=1
2827 USE_SVR4=1
2828 USE_UNIXWARE=1
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __UNIXWARE__ 1
2831 _ACEOF
2832
2833 ;;
2834
2835 *-*-cygwin* | *-*-mingw32* )
2836 PROGRAM_EXT=".exe"
2837 DEFAULT_DEFAULT_wxUSE_MSW=1
2838 ;;
2839
2840 *-pc-msdosdjgpp )
2841 USE_UNIX=0
2842 USE_DOS=1
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __DOS__ 1
2845 _ACEOF
2846
2847 PROGRAM_EXT=".exe"
2848 DEFAULT_DEFAULT_wxUSE_MGL=1
2849 ;;
2850
2851 *-pc-os2_emx | *-pc-os2-emx )
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __EMX__ 1
2854 _ACEOF
2855
2856 USE_OS2=1
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __OS2__ 1
2859 _ACEOF
2860
2861 PROGRAM_EXT=".exe"
2862 DEFAULT_DEFAULT_wxUSE_PM=1
2863 CXX=gcc
2864 LDFLAGS="$LDFLAGS -Zcrtdll"
2865 ac_executable_extensions=".exe"
2866 export ac_executable_extensions
2867 ac_save_IFS="$IFS"
2868 IFS='\\'
2869 ac_TEMP_PATH=
2870 for ac_dir in $PATH; do
2871 IFS=$ac_save_IFS
2872 if test -z "$ac_TEMP_PATH"; then
2873 ac_TEMP_PATH="$ac_dir"
2874 else
2875 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2876 fi
2877 done
2878 export PATH="$ac_TEMP_PATH"
2879 unset ac_TEMP_PATH
2880 DEFAULT_STD_FLAG=no
2881 ;;
2882
2883 *-*-darwin* )
2884 USE_BSD=1
2885 USE_DARWIN=1
2886 cat >>confdefs.h <<\_ACEOF
2887 #define __BSD__ 1
2888 _ACEOF
2889
2890 cat >>confdefs.h <<\_ACEOF
2891 #define __DARWIN__ 1
2892 _ACEOF
2893
2894 cat >>confdefs.h <<\_ACEOF
2895 #define TARGET_CARBON 1
2896 _ACEOF
2897
2898 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2899 ;;
2900
2901 *-*-beos* )
2902 USE_BEOS=1
2903 cat >>confdefs.h <<\_ACEOF
2904 #define __BEOS__ 1
2905 _ACEOF
2906
2907 ;;
2908
2909 *)
2910 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2911 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2912 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2913 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2914
2915 DEFAULT_DEFAULT_wxUSE_X11=1
2916 DEFAULT_wxUSE_SHARED=no
2917 esac
2918
2919
2920
2921 DEFAULT_wxUSE_ALL_FEATURES=yes
2922
2923 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2924 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2925
2926 DEFAULT_wxUSE_DMALLOC=no
2927 DEFAULT_wxUSE_LIBGNOMEVFS=no
2928 DEFAULT_wxUSE_LIBHILDON=no
2929 DEFAULT_wxUSE_LIBHILDON2=no
2930 DEFAULT_wxUSE_LIBMSPACK=no
2931 DEFAULT_wxUSE_LIBSDL=no
2932
2933 DEFAULT_wxUSE_ACCESSIBILITY=no
2934 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2935 DEFAULT_wxUSE_IPV6=no
2936 DEFAULT_wxUSE_GSTREAMER8=no
2937
2938 DEFAULT_wxUSE_UNICODE_UTF8=auto
2939 DEFAULT_wxUSE_OPENGL=auto
2940 DEFAULT_wxUSE_MEDIACTRL=auto
2941 DEFAULT_wxUSE_COMPILER_TLS=auto
2942
2943 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2944
2945 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2946
2947 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2948
2949 DEFAULT_wxUSE_GTK2=yes
2950
2951 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2952
2953
2954
2955
2956
2957 enablestring=disable
2958 defaultval=
2959 if test -z "$defaultval"; then
2960 if test x"$enablestring" = xdisable; then
2961 defaultval=yes
2962 else
2963 defaultval=no
2964 fi
2965 fi
2966
2967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2968 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2969 # Check whether --enable-gui was given.
2970 if test "${enable_gui+set}" = set; then
2971 enableval=$enable_gui;
2972 if test "$enableval" = yes; then
2973 wx_cv_use_gui='wxUSE_GUI=yes'
2974 else
2975 wx_cv_use_gui='wxUSE_GUI=no'
2976 fi
2977
2978 else
2979
2980 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2981
2982 fi
2983
2984
2985 eval "$wx_cv_use_gui"
2986
2987 if test x"$enablestring" = xdisable; then
2988 if test $wxUSE_GUI = no; then
2989 result=yes
2990 else
2991 result=no
2992 fi
2993 else
2994 result=$wxUSE_GUI
2995 fi
2996
2997 { echo "$as_me:$LINENO: result: $result" >&5
2998 echo "${ECHO_T}$result" >&6; }
2999
3000
3001 enablestring=
3002 defaultval=
3003 if test -z "$defaultval"; then
3004 if test x"$enablestring" = xdisable; then
3005 defaultval=yes
3006 else
3007 defaultval=no
3008 fi
3009 fi
3010
3011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3012 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3013 # Check whether --enable-monolithic was given.
3014 if test "${enable_monolithic+set}" = set; then
3015 enableval=$enable_monolithic;
3016 if test "$enableval" = yes; then
3017 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3018 else
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3020 fi
3021
3022 else
3023
3024 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3025
3026 fi
3027
3028
3029 eval "$wx_cv_use_monolithic"
3030
3031 if test x"$enablestring" = xdisable; then
3032 if test $wxUSE_MONOLITHIC = no; then
3033 result=yes
3034 else
3035 result=no
3036 fi
3037 else
3038 result=$wxUSE_MONOLITHIC
3039 fi
3040
3041 { echo "$as_me:$LINENO: result: $result" >&5
3042 echo "${ECHO_T}$result" >&6; }
3043
3044
3045 enablestring=
3046 defaultval=
3047 if test -z "$defaultval"; then
3048 if test x"$enablestring" = xdisable; then
3049 defaultval=yes
3050 else
3051 defaultval=no
3052 fi
3053 fi
3054
3055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3056 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3057 # Check whether --enable-plugins was given.
3058 if test "${enable_plugins+set}" = set; then
3059 enableval=$enable_plugins;
3060 if test "$enableval" = yes; then
3061 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3062 else
3063 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3064 fi
3065
3066 else
3067
3068 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3069
3070 fi
3071
3072
3073 eval "$wx_cv_use_plugins"
3074
3075 if test x"$enablestring" = xdisable; then
3076 if test $wxUSE_PLUGINS = no; then
3077 result=yes
3078 else
3079 result=no
3080 fi
3081 else
3082 result=$wxUSE_PLUGINS
3083 fi
3084
3085 { echo "$as_me:$LINENO: result: $result" >&5
3086 echo "${ECHO_T}$result" >&6; }
3087
3088
3089 withstring=without
3090 defaultval=$wxUSE_ALL_FEATURES
3091 if test -z "$defaultval"; then
3092 if test x"$withstring" = xwithout; then
3093 defaultval=yes
3094 else
3095 defaultval=no
3096 fi
3097 fi
3098 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3099 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3100
3101 # Check whether --with-subdirs was given.
3102 if test "${with_subdirs+set}" = set; then
3103 withval=$with_subdirs;
3104 if test "$withval" = yes; then
3105 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3106 else
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3108 fi
3109
3110 else
3111
3112 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3113
3114 fi
3115
3116
3117 eval "$wx_cv_use_subdirs"
3118
3119 if test x"$withstring" = xwithout; then
3120 if test $wxWITH_SUBDIRS = yes; then
3121 result=no
3122 else
3123 result=yes
3124 fi
3125 else
3126 result=$wxWITH_SUBDIRS
3127 fi
3128
3129 { echo "$as_me:$LINENO: result: $result" >&5
3130 echo "${ECHO_T}$result" >&6; }
3131
3132
3133 # Check whether --with-flavour was given.
3134 if test "${with_flavour+set}" = set; then
3135 withval=$with_flavour; WX_FLAVOUR="$withval"
3136 fi
3137
3138
3139 enablestring=
3140 defaultval=
3141 if test -z "$defaultval"; then
3142 if test x"$enablestring" = xdisable; then
3143 defaultval=yes
3144 else
3145 defaultval=no
3146 fi
3147 fi
3148
3149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3150 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3151 # Check whether --enable-official_build was given.
3152 if test "${enable_official_build+set}" = set; then
3153 enableval=$enable_official_build;
3154 if test "$enableval" = yes; then
3155 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3156 else
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3158 fi
3159
3160 else
3161
3162 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3163
3164 fi
3165
3166
3167 eval "$wx_cv_use_official_build"
3168
3169 if test x"$enablestring" = xdisable; then
3170 if test $wxUSE_OFFICIAL_BUILD = no; then
3171 result=yes
3172 else
3173 result=no
3174 fi
3175 else
3176 result=$wxUSE_OFFICIAL_BUILD
3177 fi
3178
3179 { echo "$as_me:$LINENO: result: $result" >&5
3180 echo "${ECHO_T}$result" >&6; }
3181
3182 # Check whether --enable-vendor was given.
3183 if test "${enable_vendor+set}" = set; then
3184 enableval=$enable_vendor; VENDOR="$enableval"
3185 fi
3186
3187 if test "x$VENDOR" = "x"; then
3188 VENDOR="custom"
3189 fi
3190
3191
3192 enablestring=disable
3193 defaultval=
3194 if test -z "$defaultval"; then
3195 if test x"$enablestring" = xdisable; then
3196 defaultval=yes
3197 else
3198 defaultval=no
3199 fi
3200 fi
3201
3202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3203 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3204 # Check whether --enable-all-features was given.
3205 if test "${enable_all_features+set}" = set; then
3206 enableval=$enable_all_features;
3207 if test "$enableval" = yes; then
3208 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3209 else
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3211 fi
3212
3213 else
3214
3215 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3216
3217 fi
3218
3219
3220 eval "$wx_cv_use_all_features"
3221
3222 if test x"$enablestring" = xdisable; then
3223 if test $wxUSE_ALL_FEATURES = no; then
3224 result=yes
3225 else
3226 result=no
3227 fi
3228 else
3229 result=$wxUSE_ALL_FEATURES
3230 fi
3231
3232 { echo "$as_me:$LINENO: result: $result" >&5
3233 echo "${ECHO_T}$result" >&6; }
3234
3235
3236 if test "$wxUSE_ALL_FEATURES" = "no"; then
3237 DEFAULT_wxUSE_MEDIACTRL=no
3238 fi
3239
3240
3241 if test "$wxUSE_GUI" = "yes"; then
3242
3243
3244 enablestring=
3245 defaultval=
3246 if test -z "$defaultval"; then
3247 if test x"$enablestring" = xdisable; then
3248 defaultval=yes
3249 else
3250 defaultval=no
3251 fi
3252 fi
3253
3254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3255 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3256 # Check whether --enable-universal was given.
3257 if test "${enable_universal+set}" = set; then
3258 enableval=$enable_universal;
3259 if test "$enableval" = yes; then
3260 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3261 else
3262 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3263 fi
3264
3265 else
3266
3267 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3268
3269 fi
3270
3271
3272 eval "$wx_cv_use_universal"
3273
3274 if test x"$enablestring" = xdisable; then
3275 if test $wxUSE_UNIVERSAL = no; then
3276 result=yes
3277 else
3278 result=no
3279 fi
3280 else
3281 result=$wxUSE_UNIVERSAL
3282 fi
3283
3284 { echo "$as_me:$LINENO: result: $result" >&5
3285 echo "${ECHO_T}$result" >&6; }
3286
3287 if test "$wxUSE_UNIVERSAL" = "yes"; then
3288
3289 # Check whether --with-themes was given.
3290 if test "${with_themes+set}" = set; then
3291 withval=$with_themes; wxUNIV_THEMES="$withval"
3292 fi
3293
3294 fi
3295
3296
3297 # Check whether --with-gtk was given.
3298 if test "${with_gtk+set}" = set; then
3299 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3300 fi
3301
3302
3303 # Check whether --with-motif was given.
3304 if test "${with_motif+set}" = set; then
3305 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3306 fi
3307
3308
3309 # Check whether --with-osx_carbon was given.
3310 if test "${with_osx_carbon+set}" = set; then
3311 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3312 fi
3313
3314
3315 # Check whether --with-osx_cocoa was given.
3316 if test "${with_osx_cocoa+set}" = set; then
3317 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3318 fi
3319
3320
3321 # Check whether --with-mac was given.
3322 if test "${with_mac+set}" = set; then
3323 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3324 fi
3325
3326
3327 # Check whether --with-cocoa was given.
3328 if test "${with_cocoa+set}" = set; then
3329 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3330 fi
3331
3332
3333 # Check whether --with-wine was given.
3334 if test "${with_wine+set}" = set; then
3335 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3336 fi
3337
3338
3339 # Check whether --with-msw was given.
3340 if test "${with_msw+set}" = set; then
3341 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3342 fi
3343
3344
3345 # Check whether --with-pm was given.
3346 if test "${with_pm+set}" = set; then
3347 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3348 fi
3349
3350
3351 # Check whether --with-mgl was given.
3352 if test "${with_mgl+set}" = set; then
3353 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3354 fi
3355
3356
3357 # Check whether --with-directfb was given.
3358 if test "${with_directfb+set}" = set; then
3359 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3360 fi
3361
3362
3363 # Check whether --with-microwin was given.
3364 if test "${with_microwin+set}" = set; then
3365 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3366 fi
3367
3368
3369 # Check whether --with-x11 was given.
3370 if test "${with_x11+set}" = set; then
3371 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3372 fi
3373
3374
3375 enablestring=
3376 defaultval=
3377 if test -z "$defaultval"; then
3378 if test x"$enablestring" = xdisable; then
3379 defaultval=yes
3380 else
3381 defaultval=no
3382 fi
3383 fi
3384
3385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3387 # Check whether --enable-nanox was given.
3388 if test "${enable_nanox+set}" = set; then
3389 enableval=$enable_nanox;
3390 if test "$enableval" = yes; then
3391 wx_cv_use_nanox='wxUSE_NANOX=yes'
3392 else
3393 wx_cv_use_nanox='wxUSE_NANOX=no'
3394 fi
3395
3396 else
3397
3398 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3399
3400 fi
3401
3402
3403 eval "$wx_cv_use_nanox"
3404
3405 if test x"$enablestring" = xdisable; then
3406 if test $wxUSE_NANOX = no; then
3407 result=yes
3408 else
3409 result=no
3410 fi
3411 else
3412 result=$wxUSE_NANOX
3413 fi
3414
3415 { echo "$as_me:$LINENO: result: $result" >&5
3416 echo "${ECHO_T}$result" >&6; }
3417
3418
3419 # Check whether --enable-gtk2 was given.
3420 if test "${enable_gtk2+set}" = set; then
3421 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3422 fi
3423
3424
3425 enablestring=
3426 defaultval=
3427 if test -z "$defaultval"; then
3428 if test x"$enablestring" = xdisable; then
3429 defaultval=yes
3430 else
3431 defaultval=no
3432 fi
3433 fi
3434
3435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3436 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3437 # Check whether --enable-gpe was given.
3438 if test "${enable_gpe+set}" = set; then
3439 enableval=$enable_gpe;
3440 if test "$enableval" = yes; then
3441 wx_cv_use_gpe='wxUSE_GPE=yes'
3442 else
3443 wx_cv_use_gpe='wxUSE_GPE=no'
3444 fi
3445
3446 else
3447
3448 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3449
3450 fi
3451
3452
3453 eval "$wx_cv_use_gpe"
3454
3455 if test x"$enablestring" = xdisable; then
3456 if test $wxUSE_GPE = no; then
3457 result=yes
3458 else
3459 result=no
3460 fi
3461 else
3462 result=$wxUSE_GPE
3463 fi
3464
3465 { echo "$as_me:$LINENO: result: $result" >&5
3466 echo "${ECHO_T}$result" >&6; }
3467
3468
3469
3470 { echo "$as_me:$LINENO: checking for toolkit" >&5
3471 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3472
3473
3474
3475 # In Wine, we need to default to MSW, not GTK or MOTIF
3476 if test "$wxUSE_WINE" = "yes"; then
3477 DEFAULT_DEFAULT_wxUSE_GTK=0
3478 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3479 DEFAULT_DEFAULT_wxUSE_MSW=1
3480 wxUSE_SHARED=no
3481 CC=${CC:-winegcc}
3482 CXX=${CXX:-wineg++}
3483 fi
3484
3485
3486 if test "$wxUSE_GUI" = "yes"; then
3487
3488 if test "$USE_BEOS" = 1; then
3489 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3490 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3491 { (exit 1); exit 1; }; }
3492 fi
3493
3494 if test "$TOOLKIT_GIVEN" = 1; then
3495 for toolkit in $ALL_TOOLKITS; do
3496 var=wxUSE_$toolkit
3497 eval "value=\$${var}"
3498 if test "x$value" = "xno"; then
3499 eval "$var=0"
3500 elif test "x$value" != "x"; then
3501 eval "$var=1"
3502 fi
3503
3504 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3505 eval "wx${toolkit}_VERSION=$value"
3506 fi
3507 done
3508 else
3509 for toolkit in $ALL_TOOLKITS; do
3510 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3511 eval "wxUSE_$toolkit=\$${var}"
3512 done
3513 fi
3514
3515 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3516 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3517 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3518
3519 case "${host}" in
3520 *-pc-os2_emx | *-pc-os2-emx )
3521 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3522 esac
3523
3524 case "$NUM_TOOLKITS" in
3525 1)
3526 ;;
3527 0)
3528 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3529 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3530 { (exit 1); exit 1; }; }
3531 ;;
3532 *)
3533 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3534 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3535 { (exit 1); exit 1; }; }
3536 esac
3537
3538 # to be removed when --disable-gtk2 isn't needed
3539 if test "x$wxUSE_GTK2" = "xyes"; then
3540 wxGTK_VERSION=2
3541 elif test "x$wxUSE_GTK2" = "xno"; then
3542 wxGTK_VERSION=1
3543 fi
3544
3545 for toolkit in $ALL_TOOLKITS; do
3546 var=wxUSE_$toolkit
3547 eval "value=\$${var}"
3548 if test "$value" = 1; then
3549 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3550 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3551 echo "${ECHO_T}$toolkit_echo" >&6; }
3552 fi
3553 done
3554 else
3555 if test "x$host_alias" != "x"; then
3556 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3557 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3558 else
3559 { echo "$as_me:$LINENO: result: base only" >&5
3560 echo "${ECHO_T}base only" >&6; }
3561 fi
3562 fi
3563
3564 wxUSE_MAC=0
3565 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3566 wxUSE_MAC=1
3567 fi
3568
3569
3570
3571 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3572 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3573
3574 # Check whether --with-libpng was given.
3575 if test "${with_libpng+set}" = set; then
3576 withval=$with_libpng;
3577 if test "$withval" = yes; then
3578 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3579 elif test "$withval" = no; then
3580 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3581 elif test "$withval" = sys; then
3582 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3583 elif test "$withval" = builtin; then
3584 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3585 else
3586 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3587 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3588 { (exit 1); exit 1; }; }
3589 fi
3590
3591 else
3592
3593 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3594
3595 fi
3596
3597
3598 eval "$wx_cv_use_libpng"
3599
3600 if test "$wxUSE_LIBPNG" = yes; then
3601 { echo "$as_me:$LINENO: result: yes" >&5
3602 echo "${ECHO_T}yes" >&6; }
3603 elif test "$wxUSE_LIBPNG" = no; then
3604 { echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6; }
3606 elif test "$wxUSE_LIBPNG" = sys; then
3607 { echo "$as_me:$LINENO: result: system version" >&5
3608 echo "${ECHO_T}system version" >&6; }
3609 elif test "$wxUSE_LIBPNG" = builtin; then
3610 { echo "$as_me:$LINENO: result: builtin version" >&5
3611 echo "${ECHO_T}builtin version" >&6; }
3612 else
3613 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3614 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3615 { (exit 1); exit 1; }; }
3616 fi
3617
3618
3619 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3620 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3621
3622 # Check whether --with-libjpeg was given.
3623 if test "${with_libjpeg+set}" = set; then
3624 withval=$with_libjpeg;
3625 if test "$withval" = yes; then
3626 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3627 elif test "$withval" = no; then
3628 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3629 elif test "$withval" = sys; then
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3631 elif test "$withval" = builtin; then
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3633 else
3634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3635 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3636 { (exit 1); exit 1; }; }
3637 fi
3638
3639 else
3640
3641 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3642
3643 fi
3644
3645
3646 eval "$wx_cv_use_libjpeg"
3647
3648 if test "$wxUSE_LIBJPEG" = yes; then
3649 { echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6; }
3651 elif test "$wxUSE_LIBJPEG" = no; then
3652 { echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6; }
3654 elif test "$wxUSE_LIBJPEG" = sys; then
3655 { echo "$as_me:$LINENO: result: system version" >&5
3656 echo "${ECHO_T}system version" >&6; }
3657 elif test "$wxUSE_LIBJPEG" = builtin; then
3658 { echo "$as_me:$LINENO: result: builtin version" >&5
3659 echo "${ECHO_T}builtin version" >&6; }
3660 else
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3664 fi
3665
3666
3667 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3668 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3669
3670 # Check whether --with-libtiff was given.
3671 if test "${with_libtiff+set}" = set; then
3672 withval=$with_libtiff;
3673 if test "$withval" = yes; then
3674 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3675 elif test "$withval" = no; then
3676 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3677 elif test "$withval" = sys; then
3678 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3679 elif test "$withval" = builtin; then
3680 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3681 else
3682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3683 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3684 { (exit 1); exit 1; }; }
3685 fi
3686
3687 else
3688
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3690
3691 fi
3692
3693
3694 eval "$wx_cv_use_libtiff"
3695
3696 if test "$wxUSE_LIBTIFF" = yes; then
3697 { echo "$as_me:$LINENO: result: yes" >&5
3698 echo "${ECHO_T}yes" >&6; }
3699 elif test "$wxUSE_LIBTIFF" = no; then
3700 { echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6; }
3702 elif test "$wxUSE_LIBTIFF" = sys; then
3703 { echo "$as_me:$LINENO: result: system version" >&5
3704 echo "${ECHO_T}system version" >&6; }
3705 elif test "$wxUSE_LIBTIFF" = builtin; then
3706 { echo "$as_me:$LINENO: result: builtin version" >&5
3707 echo "${ECHO_T}builtin version" >&6; }
3708 else
3709 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3710 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3711 { (exit 1); exit 1; }; }
3712 fi
3713
3714
3715 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3716 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3717
3718 # Check whether --with-libxpm was given.
3719 if test "${with_libxpm+set}" = set; then
3720 withval=$with_libxpm;
3721 if test "$withval" = yes; then
3722 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3723 elif test "$withval" = no; then
3724 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3725 elif test "$withval" = sys; then
3726 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3727 elif test "$withval" = builtin; then
3728 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3729 else
3730 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3731 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3732 { (exit 1); exit 1; }; }
3733 fi
3734
3735 else
3736
3737 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3738
3739 fi
3740
3741
3742 eval "$wx_cv_use_libxpm"
3743
3744 if test "$wxUSE_LIBXPM" = yes; then
3745 { echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6; }
3747 elif test "$wxUSE_LIBXPM" = no; then
3748 { echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6; }
3750 elif test "$wxUSE_LIBXPM" = sys; then
3751 { echo "$as_me:$LINENO: result: system version" >&5
3752 echo "${ECHO_T}system version" >&6; }
3753 elif test "$wxUSE_LIBXPM" = builtin; then
3754 { echo "$as_me:$LINENO: result: builtin version" >&5
3755 echo "${ECHO_T}builtin version" >&6; }
3756 else
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3760 fi
3761
3762
3763 withstring=
3764 defaultval=$wxUSE_ALL_FEATURES
3765 if test -z "$defaultval"; then
3766 if test x"$withstring" = xwithout; then
3767 defaultval=yes
3768 else
3769 defaultval=no
3770 fi
3771 fi
3772 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3773 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3774
3775 # Check whether --with-libiconv was given.
3776 if test "${with_libiconv+set}" = set; then
3777 withval=$with_libiconv;
3778 if test "$withval" = yes; then
3779 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3780 else
3781 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3782 fi
3783
3784 else
3785
3786 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3787
3788 fi
3789
3790
3791 eval "$wx_cv_use_libiconv"
3792
3793 if test x"$withstring" = xwithout; then
3794 if test $wxUSE_LIBICONV = yes; then
3795 result=no
3796 else
3797 result=yes
3798 fi
3799 else
3800 result=$wxUSE_LIBICONV
3801 fi
3802
3803 { echo "$as_me:$LINENO: result: $result" >&5
3804 echo "${ECHO_T}$result" >&6; }
3805
3806
3807 withstring=
3808 defaultval=$wxUSE_ALL_FEATURES
3809 if test -z "$defaultval"; then
3810 if test x"$withstring" = xwithout; then
3811 defaultval=yes
3812 else
3813 defaultval=no
3814 fi
3815 fi
3816 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3817 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3818
3819 # Check whether --with-libmspack was given.
3820 if test "${with_libmspack+set}" = set; then
3821 withval=$with_libmspack;
3822 if test "$withval" = yes; then
3823 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3824 else
3825 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3826 fi
3827
3828 else
3829
3830 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3831
3832 fi
3833
3834
3835 eval "$wx_cv_use_libmspack"
3836
3837 if test x"$withstring" = xwithout; then
3838 if test $wxUSE_LIBMSPACK = yes; then
3839 result=no
3840 else
3841 result=yes
3842 fi
3843 else
3844 result=$wxUSE_LIBMSPACK
3845 fi
3846
3847 { echo "$as_me:$LINENO: result: $result" >&5
3848 echo "${ECHO_T}$result" >&6; }
3849
3850
3851 withstring=without
3852 defaultval=$wxUSE_ALL_FEATURES
3853 if test -z "$defaultval"; then
3854 if test x"$withstring" = xwithout; then
3855 defaultval=yes
3856 else
3857 defaultval=no
3858 fi
3859 fi
3860 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3861 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3862
3863 # Check whether --with-gtkprint was given.
3864 if test "${with_gtkprint+set}" = set; then
3865 withval=$with_gtkprint;
3866 if test "$withval" = yes; then
3867 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3868 else
3869 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3870 fi
3871
3872 else
3873
3874 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3875
3876 fi
3877
3878
3879 eval "$wx_cv_use_gtkprint"
3880
3881 if test x"$withstring" = xwithout; then
3882 if test $wxUSE_GTKPRINT = yes; then
3883 result=no
3884 else
3885 result=yes
3886 fi
3887 else
3888 result=$wxUSE_GTKPRINT
3889 fi
3890
3891 { echo "$as_me:$LINENO: result: $result" >&5
3892 echo "${ECHO_T}$result" >&6; }
3893
3894
3895 withstring=without
3896 defaultval=$wxUSE_ALL_FEATURES
3897 if test -z "$defaultval"; then
3898 if test x"$withstring" = xwithout; then
3899 defaultval=yes
3900 else
3901 defaultval=no
3902 fi
3903 fi
3904 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3905 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3906
3907 # Check whether --with-gnomeprint was given.
3908 if test "${with_gnomeprint+set}" = set; then
3909 withval=$with_gnomeprint;
3910 if test "$withval" = yes; then
3911 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3912 else
3913 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3914 fi
3915
3916 else
3917
3918 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3919
3920 fi
3921
3922
3923 eval "$wx_cv_use_gnomeprint"
3924
3925 if test x"$withstring" = xwithout; then
3926 if test $wxUSE_LIBGNOMEPRINT = yes; then
3927 result=no
3928 else
3929 result=yes
3930 fi
3931 else
3932 result=$wxUSE_LIBGNOMEPRINT
3933 fi
3934
3935 { echo "$as_me:$LINENO: result: $result" >&5
3936 echo "${ECHO_T}$result" >&6; }
3937
3938
3939 withstring=
3940 defaultval=$wxUSE_ALL_FEATURES
3941 if test -z "$defaultval"; then
3942 if test x"$withstring" = xwithout; then
3943 defaultval=yes
3944 else
3945 defaultval=no
3946 fi
3947 fi
3948 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3949 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3950
3951 # Check whether --with-gnomevfs was given.
3952 if test "${with_gnomevfs+set}" = set; then
3953 withval=$with_gnomevfs;
3954 if test "$withval" = yes; then
3955 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3956 else
3957 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3958 fi
3959
3960 else
3961
3962 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3963
3964 fi
3965
3966
3967 eval "$wx_cv_use_gnomevfs"
3968
3969 if test x"$withstring" = xwithout; then
3970 if test $wxUSE_LIBGNOMEVFS = yes; then
3971 result=no
3972 else
3973 result=yes
3974 fi
3975 else
3976 result=$wxUSE_LIBGNOMEVFS
3977 fi
3978
3979 { echo "$as_me:$LINENO: result: $result" >&5
3980 echo "${ECHO_T}$result" >&6; }
3981
3982
3983 withstring=
3984 defaultval=$wxUSE_ALL_FEATURES
3985 if test -z "$defaultval"; then
3986 if test x"$withstring" = xwithout; then
3987 defaultval=yes
3988 else
3989 defaultval=no
3990 fi
3991 fi
3992 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3993 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3994
3995 # Check whether --with-hildon was given.
3996 if test "${with_hildon+set}" = set; then
3997 withval=$with_hildon;
3998 if test "$withval" = yes; then
3999 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4000 else
4001 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4002 fi
4003
4004 else
4005
4006 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4007
4008 fi
4009
4010
4011 eval "$wx_cv_use_hildon"
4012
4013 if test x"$withstring" = xwithout; then
4014 if test $wxUSE_LIBHILDON = yes; then
4015 result=no
4016 else
4017 result=yes
4018 fi
4019 else
4020 result=$wxUSE_LIBHILDON
4021 fi
4022
4023 { echo "$as_me:$LINENO: result: $result" >&5
4024 echo "${ECHO_T}$result" >&6; }
4025
4026
4027 withstring=
4028 defaultval=$wxUSE_ALL_FEATURES
4029 if test -z "$defaultval"; then
4030 if test x"$withstring" = xwithout; then
4031 defaultval=yes
4032 else
4033 defaultval=no
4034 fi
4035 fi
4036 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4037 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4038
4039 # Check whether --with-opengl was given.
4040 if test "${with_opengl+set}" = set; then
4041 withval=$with_opengl;
4042 if test "$withval" = yes; then
4043 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4044 else
4045 wx_cv_use_opengl='wxUSE_OPENGL=no'
4046 fi
4047
4048 else
4049
4050 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4051
4052 fi
4053
4054
4055 eval "$wx_cv_use_opengl"
4056
4057 if test x"$withstring" = xwithout; then
4058 if test $wxUSE_OPENGL = yes; then
4059 result=no
4060 else
4061 result=yes
4062 fi
4063 else
4064 result=$wxUSE_OPENGL
4065 fi
4066
4067 { echo "$as_me:$LINENO: result: $result" >&5
4068 echo "${ECHO_T}$result" >&6; }
4069
4070
4071 fi
4072
4073
4074 withstring=
4075 defaultval=$wxUSE_ALL_FEATURES
4076 if test -z "$defaultval"; then
4077 if test x"$withstring" = xwithout; then
4078 defaultval=yes
4079 else
4080 defaultval=no
4081 fi
4082 fi
4083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4084 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4085
4086 # Check whether --with-dmalloc was given.
4087 if test "${with_dmalloc+set}" = set; then
4088 withval=$with_dmalloc;
4089 if test "$withval" = yes; then
4090 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4091 else
4092 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4093 fi
4094
4095 else
4096
4097 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4098
4099 fi
4100
4101
4102 eval "$wx_cv_use_dmalloc"
4103
4104 if test x"$withstring" = xwithout; then
4105 if test $wxUSE_DMALLOC = yes; then
4106 result=no
4107 else
4108 result=yes
4109 fi
4110 else
4111 result=$wxUSE_DMALLOC
4112 fi
4113
4114 { echo "$as_me:$LINENO: result: $result" >&5
4115 echo "${ECHO_T}$result" >&6; }
4116
4117
4118 withstring=
4119 defaultval=$wxUSE_ALL_FEATURES
4120 if test -z "$defaultval"; then
4121 if test x"$withstring" = xwithout; then
4122 defaultval=yes
4123 else
4124 defaultval=no
4125 fi
4126 fi
4127 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4128 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4129
4130 # Check whether --with-sdl was given.
4131 if test "${with_sdl+set}" = set; then
4132 withval=$with_sdl;
4133 if test "$withval" = yes; then
4134 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4135 else
4136 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4137 fi
4138
4139 else
4140
4141 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4142
4143 fi
4144
4145
4146 eval "$wx_cv_use_sdl"
4147
4148 if test x"$withstring" = xwithout; then
4149 if test $wxUSE_LIBSDL = yes; then
4150 result=no
4151 else
4152 result=yes
4153 fi
4154 else
4155 result=$wxUSE_LIBSDL
4156 fi
4157
4158 { echo "$as_me:$LINENO: result: $result" >&5
4159 echo "${ECHO_T}$result" >&6; }
4160
4161
4162 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4163 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4164
4165 # Check whether --with-regex was given.
4166 if test "${with_regex+set}" = set; then
4167 withval=$with_regex;
4168 if test "$withval" = yes; then
4169 wx_cv_use_regex='wxUSE_REGEX=yes'
4170 elif test "$withval" = no; then
4171 wx_cv_use_regex='wxUSE_REGEX=no'
4172 elif test "$withval" = sys; then
4173 wx_cv_use_regex='wxUSE_REGEX=sys'
4174 elif test "$withval" = builtin; then
4175 wx_cv_use_regex='wxUSE_REGEX=builtin'
4176 else
4177 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4178 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4179 { (exit 1); exit 1; }; }
4180 fi
4181
4182 else
4183
4184 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4185
4186 fi
4187
4188
4189 eval "$wx_cv_use_regex"
4190
4191 if test "$wxUSE_REGEX" = yes; then
4192 { echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6; }
4194 elif test "$wxUSE_REGEX" = no; then
4195 { echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6; }
4197 elif test "$wxUSE_REGEX" = sys; then
4198 { echo "$as_me:$LINENO: result: system version" >&5
4199 echo "${ECHO_T}system version" >&6; }
4200 elif test "$wxUSE_REGEX" = builtin; then
4201 { echo "$as_me:$LINENO: result: builtin version" >&5
4202 echo "${ECHO_T}builtin version" >&6; }
4203 else
4204 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4205 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4206 { (exit 1); exit 1; }; }
4207 fi
4208
4209
4210 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4211 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4212
4213 # Check whether --with-zlib was given.
4214 if test "${with_zlib+set}" = set; then
4215 withval=$with_zlib;
4216 if test "$withval" = yes; then
4217 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4218 elif test "$withval" = no; then
4219 wx_cv_use_zlib='wxUSE_ZLIB=no'
4220 elif test "$withval" = sys; then
4221 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4222 elif test "$withval" = builtin; then
4223 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4224 else
4225 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4226 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4227 { (exit 1); exit 1; }; }
4228 fi
4229
4230 else
4231
4232 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4233
4234 fi
4235
4236
4237 eval "$wx_cv_use_zlib"
4238
4239 if test "$wxUSE_ZLIB" = yes; then
4240 { echo "$as_me:$LINENO: result: yes" >&5
4241 echo "${ECHO_T}yes" >&6; }
4242 elif test "$wxUSE_ZLIB" = no; then
4243 { echo "$as_me:$LINENO: result: no" >&5
4244 echo "${ECHO_T}no" >&6; }
4245 elif test "$wxUSE_ZLIB" = sys; then
4246 { echo "$as_me:$LINENO: result: system version" >&5
4247 echo "${ECHO_T}system version" >&6; }
4248 elif test "$wxUSE_ZLIB" = builtin; then
4249 { echo "$as_me:$LINENO: result: builtin version" >&5
4250 echo "${ECHO_T}builtin version" >&6; }
4251 else
4252 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4253 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4254 { (exit 1); exit 1; }; }
4255 fi
4256
4257
4258 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4259 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4260
4261 # Check whether --with-expat was given.
4262 if test "${with_expat+set}" = set; then
4263 withval=$with_expat;
4264 if test "$withval" = yes; then
4265 wx_cv_use_expat='wxUSE_EXPAT=yes'
4266 elif test "$withval" = no; then
4267 wx_cv_use_expat='wxUSE_EXPAT=no'
4268 elif test "$withval" = sys; then
4269 wx_cv_use_expat='wxUSE_EXPAT=sys'
4270 elif test "$withval" = builtin; then
4271 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4272 else
4273 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4274 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4275 { (exit 1); exit 1; }; }
4276 fi
4277
4278 else
4279
4280 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4281
4282 fi
4283
4284
4285 eval "$wx_cv_use_expat"
4286
4287 if test "$wxUSE_EXPAT" = yes; then
4288 { echo "$as_me:$LINENO: result: yes" >&5
4289 echo "${ECHO_T}yes" >&6; }
4290 elif test "$wxUSE_EXPAT" = no; then
4291 { echo "$as_me:$LINENO: result: no" >&5
4292 echo "${ECHO_T}no" >&6; }
4293 elif test "$wxUSE_EXPAT" = sys; then
4294 { echo "$as_me:$LINENO: result: system version" >&5
4295 echo "${ECHO_T}system version" >&6; }
4296 elif test "$wxUSE_EXPAT" = builtin; then
4297 { echo "$as_me:$LINENO: result: builtin version" >&5
4298 echo "${ECHO_T}builtin version" >&6; }
4299 else
4300 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4301 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4302 { (exit 1); exit 1; }; }
4303 fi
4304
4305
4306 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4307 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4308
4309 # Check whether --with-macosx-sdk was given.
4310 if test "${with_macosx_sdk+set}" = set; then
4311 withval=$with_macosx_sdk;
4312 wxUSE_MACOSX_SDK=$withval
4313 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4314
4315 fi
4316
4317 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4318 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4319
4320 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4321 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4322
4323 # Check whether --with-macosx-version-min was given.
4324 if test "${with_macosx_version_min+set}" = set; then
4325 withval=$with_macosx_version_min;
4326 wxUSE_MACOSX_VERSION_MIN=$withval
4327 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4328
4329 fi
4330
4331 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4332 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4333
4334
4335 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4336 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4337 # Check whether --enable-debug was given.
4338 if test "${enable_debug+set}" = set; then
4339 enableval=$enable_debug;
4340 if test "$enableval" = yes; then
4341 wxUSE_DEBUG=yes
4342 elif test "$enableval" = no; then
4343 wxUSE_DEBUG=no
4344 elif test "$enableval" = max; then
4345 wxUSE_DEBUG=yes
4346 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4347 else
4348 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4349 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4350 { (exit 1); exit 1; }; }
4351 fi
4352
4353 else
4354 wxUSE_DEBUG=default
4355
4356 fi
4357
4358
4359 case "$wxUSE_DEBUG" in
4360 yes)
4361 DEFAULT_wxUSE_DEBUG_FLAG=yes
4362 DEFAULT_wxUSE_DEBUG_INFO=yes
4363
4364 DEFAULT_wxUSE_OPTIMISE=no
4365 ;;
4366
4367 no)
4368 DEFAULT_wxUSE_DEBUG_FLAG=no
4369 DEFAULT_wxUSE_DEBUG_INFO=no
4370 ;;
4371
4372 default)
4373 DEFAULT_wxUSE_DEBUG_FLAG=yes
4374 DEFAULT_wxUSE_DEBUG_INFO=no
4375 ;;
4376 esac
4377
4378
4379 enablestring=disable
4380 defaultval=
4381 if test -z "$defaultval"; then
4382 if test x"$enablestring" = xdisable; then
4383 defaultval=yes
4384 else
4385 defaultval=no
4386 fi
4387 fi
4388
4389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4391 # Check whether --enable-debug_flag was given.
4392 if test "${enable_debug_flag+set}" = set; then
4393 enableval=$enable_debug_flag;
4394 if test "$enableval" = yes; then
4395 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4396 else
4397 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4398 fi
4399
4400 else
4401
4402 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4403
4404 fi
4405
4406
4407 eval "$wx_cv_use_debug_flag"
4408
4409 if test x"$enablestring" = xdisable; then
4410 if test $wxUSE_DEBUG_FLAG = no; then
4411 result=yes
4412 else
4413 result=no
4414 fi
4415 else
4416 result=$wxUSE_DEBUG_FLAG
4417 fi
4418
4419 { echo "$as_me:$LINENO: result: $result" >&5
4420 echo "${ECHO_T}$result" >&6; }
4421
4422
4423 enablestring=
4424 defaultval=
4425 if test -z "$defaultval"; then
4426 if test x"$enablestring" = xdisable; then
4427 defaultval=yes
4428 else
4429 defaultval=no
4430 fi
4431 fi
4432
4433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4435 # Check whether --enable-debug_info was given.
4436 if test "${enable_debug_info+set}" = set; then
4437 enableval=$enable_debug_info;
4438 if test "$enableval" = yes; then
4439 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4440 else
4441 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4442 fi
4443
4444 else
4445
4446 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4447
4448 fi
4449
4450
4451 eval "$wx_cv_use_debug_info"
4452
4453 if test x"$enablestring" = xdisable; then
4454 if test $wxUSE_DEBUG_INFO = no; then
4455 result=yes
4456 else
4457 result=no
4458 fi
4459 else
4460 result=$wxUSE_DEBUG_INFO
4461 fi
4462
4463 { echo "$as_me:$LINENO: result: $result" >&5
4464 echo "${ECHO_T}$result" >&6; }
4465
4466
4467
4468
4469 enablestring=
4470 defaultval=
4471 if test -z "$defaultval"; then
4472 if test x"$enablestring" = xdisable; then
4473 defaultval=yes
4474 else
4475 defaultval=no
4476 fi
4477 fi
4478
4479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4481 # Check whether --enable-debug_gdb was given.
4482 if test "${enable_debug_gdb+set}" = set; then
4483 enableval=$enable_debug_gdb;
4484 if test "$enableval" = yes; then
4485 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4486 else
4487 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4488 fi
4489
4490 else
4491
4492 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4493
4494 fi
4495
4496
4497 eval "$wx_cv_use_debug_gdb"
4498
4499 if test x"$enablestring" = xdisable; then
4500 if test $wxUSE_DEBUG_GDB = no; then
4501 result=yes
4502 else
4503 result=no
4504 fi
4505 else
4506 result=$wxUSE_DEBUG_GDB
4507 fi
4508
4509 { echo "$as_me:$LINENO: result: $result" >&5
4510 echo "${ECHO_T}$result" >&6; }
4511
4512
4513 enablestring=
4514 defaultval=
4515 if test -z "$defaultval"; then
4516 if test x"$enablestring" = xdisable; then
4517 defaultval=yes
4518 else
4519 defaultval=no
4520 fi
4521 fi
4522
4523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4524 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4525 # Check whether --enable-debug_cntxt was given.
4526 if test "${enable_debug_cntxt+set}" = set; then
4527 enableval=$enable_debug_cntxt;
4528 if test "$enableval" = yes; then
4529 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4530 else
4531 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4532 fi
4533
4534 else
4535
4536 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4537
4538 fi
4539
4540
4541 eval "$wx_cv_use_debug_cntxt"
4542
4543 if test x"$enablestring" = xdisable; then
4544 if test $wxUSE_DEBUG_CONTEXT = no; then
4545 result=yes
4546 else
4547 result=no
4548 fi
4549 else
4550 result=$wxUSE_DEBUG_CONTEXT
4551 fi
4552
4553 { echo "$as_me:$LINENO: result: $result" >&5
4554 echo "${ECHO_T}$result" >&6; }
4555
4556
4557 enablestring=
4558 defaultval=
4559 if test -z "$defaultval"; then
4560 if test x"$enablestring" = xdisable; then
4561 defaultval=yes
4562 else
4563 defaultval=no
4564 fi
4565 fi
4566
4567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4568 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4569 # Check whether --enable-mem_tracing was given.
4570 if test "${enable_mem_tracing+set}" = set; then
4571 enableval=$enable_mem_tracing;
4572 if test "$enableval" = yes; then
4573 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4574 else
4575 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4576 fi
4577
4578 else
4579
4580 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4581
4582 fi
4583
4584
4585 eval "$wx_cv_use_mem_tracing"
4586
4587 if test x"$enablestring" = xdisable; then
4588 if test $wxUSE_MEM_TRACING = no; then
4589 result=yes
4590 else
4591 result=no
4592 fi
4593 else
4594 result=$wxUSE_MEM_TRACING
4595 fi
4596
4597 { echo "$as_me:$LINENO: result: $result" >&5
4598 echo "${ECHO_T}$result" >&6; }
4599
4600
4601
4602
4603 enablestring=disable
4604 defaultval=
4605 if test -z "$defaultval"; then
4606 if test x"$enablestring" = xdisable; then
4607 defaultval=yes
4608 else
4609 defaultval=no
4610 fi
4611 fi
4612
4613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4615 # Check whether --enable-shared was given.
4616 if test "${enable_shared+set}" = set; then
4617 enableval=$enable_shared;
4618 if test "$enableval" = yes; then
4619 wx_cv_use_shared='wxUSE_SHARED=yes'
4620 else
4621 wx_cv_use_shared='wxUSE_SHARED=no'
4622 fi
4623
4624 else
4625
4626 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4627
4628 fi
4629
4630
4631 eval "$wx_cv_use_shared"
4632
4633 if test x"$enablestring" = xdisable; then
4634 if test $wxUSE_SHARED = no; then
4635 result=yes
4636 else
4637 result=no
4638 fi
4639 else
4640 result=$wxUSE_SHARED
4641 fi
4642
4643 { echo "$as_me:$LINENO: result: $result" >&5
4644 echo "${ECHO_T}$result" >&6; }
4645
4646
4647 enablestring=
4648 defaultval=
4649 if test -z "$defaultval"; then
4650 if test x"$enablestring" = xdisable; then
4651 defaultval=yes
4652 else
4653 defaultval=no
4654 fi
4655 fi
4656
4657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4659 # Check whether --enable-stl was given.
4660 if test "${enable_stl+set}" = set; then
4661 enableval=$enable_stl;
4662 if test "$enableval" = yes; then
4663 wx_cv_use_stl='wxUSE_STL=yes'
4664 else
4665 wx_cv_use_stl='wxUSE_STL=no'
4666 fi
4667
4668 else
4669
4670 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4671
4672 fi
4673
4674
4675 eval "$wx_cv_use_stl"
4676
4677 if test x"$enablestring" = xdisable; then
4678 if test $wxUSE_STL = no; then
4679 result=yes
4680 else
4681 result=no
4682 fi
4683 else
4684 result=$wxUSE_STL
4685 fi
4686
4687 { echo "$as_me:$LINENO: result: $result" >&5
4688 echo "${ECHO_T}$result" >&6; }
4689
4690
4691 enablestring=
4692 defaultval=
4693 if test -z "$defaultval"; then
4694 if test x"$enablestring" = xdisable; then
4695 defaultval=yes
4696 else
4697 defaultval=no
4698 fi
4699 fi
4700
4701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4703 # Check whether --enable-std_iostreams was given.
4704 if test "${enable_std_iostreams+set}" = set; then
4705 enableval=$enable_std_iostreams;
4706 if test "$enableval" = yes; then
4707 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4708 else
4709 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4710 fi
4711
4712 else
4713
4714 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4715
4716 fi
4717
4718
4719 eval "$wx_cv_use_std_iostreams"
4720
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_STD_IOSTREAM = no; then
4723 result=yes
4724 else
4725 result=no
4726 fi
4727 else
4728 result=$wxUSE_STD_IOSTREAM
4729 fi
4730
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4733
4734
4735 enablestring=
4736 defaultval=
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4739 defaultval=yes
4740 else
4741 defaultval=no
4742 fi
4743 fi
4744
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4747 # Check whether --enable-std_string was given.
4748 if test "${enable_std_string+set}" = set; then
4749 enableval=$enable_std_string;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4752 else
4753 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4754 fi
4755
4756 else
4757
4758 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4759
4760 fi
4761
4762
4763 eval "$wx_cv_use_std_string"
4764
4765 if test x"$enablestring" = xdisable; then
4766 if test $wxUSE_STD_STRING = no; then
4767 result=yes
4768 else
4769 result=no
4770 fi
4771 else
4772 result=$wxUSE_STD_STRING
4773 fi
4774
4775 { echo "$as_me:$LINENO: result: $result" >&5
4776 echo "${ECHO_T}$result" >&6; }
4777
4778
4779 enablestring=disable
4780 defaultval=
4781 if test -z "$defaultval"; then
4782 if test x"$enablestring" = xdisable; then
4783 defaultval=yes
4784 else
4785 defaultval=no
4786 fi
4787 fi
4788
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4791 # Check whether --enable-unicode was given.
4792 if test "${enable_unicode+set}" = set; then
4793 enableval=$enable_unicode;
4794 if test "$enableval" = yes; then
4795 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4796 else
4797 wx_cv_use_unicode='wxUSE_UNICODE=no'
4798 fi
4799
4800 else
4801
4802 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4803
4804 fi
4805
4806
4807 eval "$wx_cv_use_unicode"
4808
4809 if test x"$enablestring" = xdisable; then
4810 if test $wxUSE_UNICODE = no; then
4811 result=yes
4812 else
4813 result=no
4814 fi
4815 else
4816 result=$wxUSE_UNICODE
4817 fi
4818
4819 { echo "$as_me:$LINENO: result: $result" >&5
4820 echo "${ECHO_T}$result" >&6; }
4821
4822
4823 enablestring=
4824 defaultval=
4825 if test -z "$defaultval"; then
4826 if test x"$enablestring" = xdisable; then
4827 defaultval=yes
4828 else
4829 defaultval=no
4830 fi
4831 fi
4832
4833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4834 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4835 # Check whether --enable-mslu was given.
4836 if test "${enable_mslu+set}" = set; then
4837 enableval=$enable_mslu;
4838 if test "$enableval" = yes; then
4839 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4840 else
4841 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4842 fi
4843
4844 else
4845
4846 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4847
4848 fi
4849
4850
4851 eval "$wx_cv_use_mslu"
4852
4853 if test x"$enablestring" = xdisable; then
4854 if test $wxUSE_UNICODE_MSLU = no; then
4855 result=yes
4856 else
4857 result=no
4858 fi
4859 else
4860 result=$wxUSE_UNICODE_MSLU
4861 fi
4862
4863 { echo "$as_me:$LINENO: result: $result" >&5
4864 echo "${ECHO_T}$result" >&6; }
4865
4866
4867 enablestring=
4868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4869 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4870 # Check whether --enable-utf8 was given.
4871 if test "${enable_utf8+set}" = set; then
4872 enableval=$enable_utf8;
4873 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4874
4875 else
4876
4877 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4878
4879 fi
4880
4881
4882 eval "$wx_cv_use_utf8"
4883
4884 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4885 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4886
4887
4888 enablestring=
4889 defaultval=
4890 if test -z "$defaultval"; then
4891 if test x"$enablestring" = xdisable; then
4892 defaultval=yes
4893 else
4894 defaultval=no
4895 fi
4896 fi
4897
4898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4899 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4900 # Check whether --enable-utf8only was given.
4901 if test "${enable_utf8only+set}" = set; then
4902 enableval=$enable_utf8only;
4903 if test "$enableval" = yes; then
4904 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4905 else
4906 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4907 fi
4908
4909 else
4910
4911 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4912
4913 fi
4914
4915
4916 eval "$wx_cv_use_utf8only"
4917
4918 if test x"$enablestring" = xdisable; then
4919 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4920 result=yes
4921 else
4922 result=no
4923 fi
4924 else
4925 result=$wxUSE_UNICODE_UTF8_LOCALE
4926 fi
4927
4928 { echo "$as_me:$LINENO: result: $result" >&5
4929 echo "${ECHO_T}$result" >&6; }
4930
4931
4932 enablestring=
4933 defaultval=
4934 if test -z "$defaultval"; then
4935 if test x"$enablestring" = xdisable; then
4936 defaultval=yes
4937 else
4938 defaultval=no
4939 fi
4940 fi
4941
4942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4944 # Check whether --enable-extended_rtti was given.
4945 if test "${enable_extended_rtti+set}" = set; then
4946 enableval=$enable_extended_rtti;
4947 if test "$enableval" = yes; then
4948 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4949 else
4950 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4951 fi
4952
4953 else
4954
4955 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4956
4957 fi
4958
4959
4960 eval "$wx_cv_use_extended_rtti"
4961
4962 if test x"$enablestring" = xdisable; then
4963 if test $wxUSE_EXTENDED_RTTI = no; then
4964 result=yes
4965 else
4966 result=no
4967 fi
4968 else
4969 result=$wxUSE_EXTENDED_RTTI
4970 fi
4971
4972 { echo "$as_me:$LINENO: result: $result" >&5
4973 echo "${ECHO_T}$result" >&6; }
4974
4975 if test "$USE_OS2" = 1; then
4976 DEFAULT_wxUSE_OMF=no
4977
4978 enablestring=
4979 defaultval=
4980 if test -z "$defaultval"; then
4981 if test x"$enablestring" = xdisable; then
4982 defaultval=yes
4983 else
4984 defaultval=no
4985 fi
4986 fi
4987
4988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4990 # Check whether --enable-omf was given.
4991 if test "${enable_omf+set}" = set; then
4992 enableval=$enable_omf;
4993 if test "$enableval" = yes; then
4994 wx_cv_use_omf='wxUSE_OMF=yes'
4995 else
4996 wx_cv_use_omf='wxUSE_OMF=no'
4997 fi
4998
4999 else
5000
5001 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5002
5003 fi
5004
5005
5006 eval "$wx_cv_use_omf"
5007
5008 if test x"$enablestring" = xdisable; then
5009 if test $wxUSE_OMF = no; then
5010 result=yes
5011 else
5012 result=no
5013 fi
5014 else
5015 result=$wxUSE_OMF
5016 fi
5017
5018 { echo "$as_me:$LINENO: result: $result" >&5
5019 echo "${ECHO_T}$result" >&6; }
5020
5021 fi
5022
5023
5024 enablestring=disable
5025 defaultval=
5026 if test -z "$defaultval"; then
5027 if test x"$enablestring" = xdisable; then
5028 defaultval=yes
5029 else
5030 defaultval=no
5031 fi
5032 fi
5033
5034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5035 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5036 # Check whether --enable-optimise was given.
5037 if test "${enable_optimise+set}" = set; then
5038 enableval=$enable_optimise;
5039 if test "$enableval" = yes; then
5040 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5041 else
5042 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5043 fi
5044
5045 else
5046
5047 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5048
5049 fi
5050
5051
5052 eval "$wx_cv_use_optimise"
5053
5054 if test x"$enablestring" = xdisable; then
5055 if test $wxUSE_OPTIMISE = no; then
5056 result=yes
5057 else
5058 result=no
5059 fi
5060 else
5061 result=$wxUSE_OPTIMISE
5062 fi
5063
5064 { echo "$as_me:$LINENO: result: $result" >&5
5065 echo "${ECHO_T}$result" >&6; }
5066
5067
5068
5069 enablestring=
5070 defaultval=
5071 if test -z "$defaultval"; then
5072 if test x"$enablestring" = xdisable; then
5073 defaultval=yes
5074 else
5075 defaultval=no
5076 fi
5077 fi
5078
5079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5081 # Check whether --enable-profile was given.
5082 if test "${enable_profile+set}" = set; then
5083 enableval=$enable_profile;
5084 if test "$enableval" = yes; then
5085 wx_cv_use_profile='wxUSE_PROFILE=yes'
5086 else
5087 wx_cv_use_profile='wxUSE_PROFILE=no'
5088 fi
5089
5090 else
5091
5092 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5093
5094 fi
5095
5096
5097 eval "$wx_cv_use_profile"
5098
5099 if test x"$enablestring" = xdisable; then
5100 if test $wxUSE_PROFILE = no; then
5101 result=yes
5102 else
5103 result=no
5104 fi
5105 else
5106 result=$wxUSE_PROFILE
5107 fi
5108
5109 { echo "$as_me:$LINENO: result: $result" >&5
5110 echo "${ECHO_T}$result" >&6; }
5111
5112
5113 enablestring=
5114 defaultval=
5115 if test -z "$defaultval"; then
5116 if test x"$enablestring" = xdisable; then
5117 defaultval=yes
5118 else
5119 defaultval=no
5120 fi
5121 fi
5122
5123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5124 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5125 # Check whether --enable-no_rtti was given.
5126 if test "${enable_no_rtti+set}" = set; then
5127 enableval=$enable_no_rtti;
5128 if test "$enableval" = yes; then
5129 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5130 else
5131 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5132 fi
5133
5134 else
5135
5136 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5137
5138 fi
5139
5140
5141 eval "$wx_cv_use_no_rtti"
5142
5143 if test x"$enablestring" = xdisable; then
5144 if test $wxUSE_NO_RTTI = no; then
5145 result=yes
5146 else
5147 result=no
5148 fi
5149 else
5150 result=$wxUSE_NO_RTTI
5151 fi
5152
5153 { echo "$as_me:$LINENO: result: $result" >&5
5154 echo "${ECHO_T}$result" >&6; }
5155
5156
5157 enablestring=
5158 defaultval=
5159 if test -z "$defaultval"; then
5160 if test x"$enablestring" = xdisable; then
5161 defaultval=yes
5162 else
5163 defaultval=no
5164 fi
5165 fi
5166
5167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5169 # Check whether --enable-no_exceptions was given.
5170 if test "${enable_no_exceptions+set}" = set; then
5171 enableval=$enable_no_exceptions;
5172 if test "$enableval" = yes; then
5173 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5174 else
5175 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5176 fi
5177
5178 else
5179
5180 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5181
5182 fi
5183
5184
5185 eval "$wx_cv_use_no_exceptions"
5186
5187 if test x"$enablestring" = xdisable; then
5188 if test $wxUSE_NO_EXCEPTIONS = no; then
5189 result=yes
5190 else
5191 result=no
5192 fi
5193 else
5194 result=$wxUSE_NO_EXCEPTIONS
5195 fi
5196
5197 { echo "$as_me:$LINENO: result: $result" >&5
5198 echo "${ECHO_T}$result" >&6; }
5199
5200
5201 enablestring=
5202 defaultval=
5203 if test -z "$defaultval"; then
5204 if test x"$enablestring" = xdisable; then
5205 defaultval=yes
5206 else
5207 defaultval=no
5208 fi
5209 fi
5210
5211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5213 # Check whether --enable-permissive was given.
5214 if test "${enable_permissive+set}" = set; then
5215 enableval=$enable_permissive;
5216 if test "$enableval" = yes; then
5217 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5218 else
5219 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5220 fi
5221
5222 else
5223
5224 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5225
5226 fi
5227
5228
5229 eval "$wx_cv_use_permissive"
5230
5231 if test x"$enablestring" = xdisable; then
5232 if test $wxUSE_PERMISSIVE = no; then
5233 result=yes
5234 else
5235 result=no
5236 fi
5237 else
5238 result=$wxUSE_PERMISSIVE
5239 fi
5240
5241 { echo "$as_me:$LINENO: result: $result" >&5
5242 echo "${ECHO_T}$result" >&6; }
5243
5244
5245 enablestring=
5246 defaultval=
5247 if test -z "$defaultval"; then
5248 if test x"$enablestring" = xdisable; then
5249 defaultval=yes
5250 else
5251 defaultval=no
5252 fi
5253 fi
5254
5255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5257 # Check whether --enable-no_deps was given.
5258 if test "${enable_no_deps+set}" = set; then
5259 enableval=$enable_no_deps;
5260 if test "$enableval" = yes; then
5261 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5262 else
5263 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5264 fi
5265
5266 else
5267
5268 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5269
5270 fi
5271
5272
5273 eval "$wx_cv_use_no_deps"
5274
5275 if test x"$enablestring" = xdisable; then
5276 if test $wxUSE_NO_DEPS = no; then
5277 result=yes
5278 else
5279 result=no
5280 fi
5281 else
5282 result=$wxUSE_NO_DEPS
5283 fi
5284
5285 { echo "$as_me:$LINENO: result: $result" >&5
5286 echo "${ECHO_T}$result" >&6; }
5287
5288
5289 enablestring=disable
5290 defaultval=
5291 if test -z "$defaultval"; then
5292 if test x"$enablestring" = xdisable; then
5293 defaultval=yes
5294 else
5295 defaultval=no
5296 fi
5297 fi
5298
5299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5301 # Check whether --enable-vararg_macros was given.
5302 if test "${enable_vararg_macros+set}" = set; then
5303 enableval=$enable_vararg_macros;
5304 if test "$enableval" = yes; then
5305 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5306 else
5307 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5308 fi
5309
5310 else
5311
5312 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5313
5314 fi
5315
5316
5317 eval "$wx_cv_use_vararg_macros"
5318
5319 if test x"$enablestring" = xdisable; then
5320 if test $wxUSE_VARARG_MACROS = no; then
5321 result=yes
5322 else
5323 result=no
5324 fi
5325 else
5326 result=$wxUSE_VARARG_MACROS
5327 fi
5328
5329 { echo "$as_me:$LINENO: result: $result" >&5
5330 echo "${ECHO_T}$result" >&6; }
5331
5332
5333 enablestring=
5334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5336 # Check whether --enable-universal_binary was given.
5337 if test "${enable_universal_binary+set}" = set; then
5338 enableval=$enable_universal_binary;
5339 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5340
5341 else
5342
5343 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5344
5345 fi
5346
5347
5348 eval "$wx_cv_use_universal_binary"
5349
5350 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5351 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5352
5353
5354
5355 enablestring=
5356 defaultval=
5357 if test -z "$defaultval"; then
5358 if test x"$enablestring" = xdisable; then
5359 defaultval=yes
5360 else
5361 defaultval=no
5362 fi
5363 fi
5364
5365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5366 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5367 # Check whether --enable-compat26 was given.
5368 if test "${enable_compat26+set}" = set; then
5369 enableval=$enable_compat26;
5370 if test "$enableval" = yes; then
5371 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5372 else
5373 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5374 fi
5375
5376 else
5377
5378 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5379
5380 fi
5381
5382
5383 eval "$wx_cv_use_compat26"
5384
5385 if test x"$enablestring" = xdisable; then
5386 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5387 result=yes
5388 else
5389 result=no
5390 fi
5391 else
5392 result=$WXWIN_COMPATIBILITY_2_6
5393 fi
5394
5395 { echo "$as_me:$LINENO: result: $result" >&5
5396 echo "${ECHO_T}$result" >&6; }
5397
5398
5399 enablestring=disable
5400 defaultval=
5401 if test -z "$defaultval"; then
5402 if test x"$enablestring" = xdisable; then
5403 defaultval=yes
5404 else
5405 defaultval=no
5406 fi
5407 fi
5408
5409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5410 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5411 # Check whether --enable-compat28 was given.
5412 if test "${enable_compat28+set}" = set; then
5413 enableval=$enable_compat28;
5414 if test "$enableval" = yes; then
5415 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5416 else
5417 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5418 fi
5419
5420 else
5421
5422 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5423
5424 fi
5425
5426
5427 eval "$wx_cv_use_compat28"
5428
5429 if test x"$enablestring" = xdisable; then
5430 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5431 result=yes
5432 else
5433 result=no
5434 fi
5435 else
5436 result=$WXWIN_COMPATIBILITY_2_8
5437 fi
5438
5439 { echo "$as_me:$LINENO: result: $result" >&5
5440 echo "${ECHO_T}$result" >&6; }
5441
5442
5443
5444 enablestring=disable
5445 defaultval=
5446 if test -z "$defaultval"; then
5447 if test x"$enablestring" = xdisable; then
5448 defaultval=yes
5449 else
5450 defaultval=no
5451 fi
5452 fi
5453
5454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5455 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5456 # Check whether --enable-rpath was given.
5457 if test "${enable_rpath+set}" = set; then
5458 enableval=$enable_rpath;
5459 if test "$enableval" = yes; then
5460 wx_cv_use_rpath='wxUSE_RPATH=yes'
5461 else
5462 wx_cv_use_rpath='wxUSE_RPATH=no'
5463 fi
5464
5465 else
5466
5467 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5468
5469 fi
5470
5471
5472 eval "$wx_cv_use_rpath"
5473
5474 if test x"$enablestring" = xdisable; then
5475 if test $wxUSE_RPATH = no; then
5476 result=yes
5477 else
5478 result=no
5479 fi
5480 else
5481 result=$wxUSE_RPATH
5482 fi
5483
5484 { echo "$as_me:$LINENO: result: $result" >&5
5485 echo "${ECHO_T}$result" >&6; }
5486
5487
5488
5489 enablestring=
5490 defaultval=
5491 if test -z "$defaultval"; then
5492 if test x"$enablestring" = xdisable; then
5493 defaultval=yes
5494 else
5495 defaultval=no
5496 fi
5497 fi
5498
5499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5501 # Check whether --enable-objc_uniquifying was given.
5502 if test "${enable_objc_uniquifying+set}" = set; then
5503 enableval=$enable_objc_uniquifying;
5504 if test "$enableval" = yes; then
5505 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5506 else
5507 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5508 fi
5509
5510 else
5511
5512 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5513
5514 fi
5515
5516
5517 eval "$wx_cv_use_objc_uniquifying"
5518
5519 if test x"$enablestring" = xdisable; then
5520 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5521 result=yes
5522 else
5523 result=no
5524 fi
5525 else
5526 result=$wxUSE_OBJC_UNIQUIFYING
5527 fi
5528
5529 { echo "$as_me:$LINENO: result: $result" >&5
5530 echo "${ECHO_T}$result" >&6; }
5531
5532
5533
5534 enablestring=disable
5535 defaultval=
5536 if test -z "$defaultval"; then
5537 if test x"$enablestring" = xdisable; then
5538 defaultval=yes
5539 else
5540 defaultval=no
5541 fi
5542 fi
5543
5544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5546 # Check whether --enable-visibility was given.
5547 if test "${enable_visibility+set}" = set; then
5548 enableval=$enable_visibility;
5549 if test "$enableval" = yes; then
5550 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5551 else
5552 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5553 fi
5554
5555 else
5556
5557 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5558
5559 fi
5560
5561
5562 eval "$wx_cv_use_visibility"
5563
5564 if test x"$enablestring" = xdisable; then
5565 if test $wxUSE_VISIBILITY = no; then
5566 result=yes
5567 else
5568 result=no
5569 fi
5570 else
5571 result=$wxUSE_VISIBILITY
5572 fi
5573
5574 { echo "$as_me:$LINENO: result: $result" >&5
5575 echo "${ECHO_T}$result" >&6; }
5576
5577
5578 enablestring=disable
5579 defaultval=
5580 if test -z "$defaultval"; then
5581 if test x"$enablestring" = xdisable; then
5582 defaultval=yes
5583 else
5584 defaultval=no
5585 fi
5586 fi
5587
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5590 # Check whether --enable-tls was given.
5591 if test "${enable_tls+set}" = set; then
5592 enableval=$enable_tls;
5593 if test "$enableval" = yes; then
5594 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5595 else
5596 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5597 fi
5598
5599 else
5600
5601 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5602
5603 fi
5604
5605
5606 eval "$wx_cv_use_tls"
5607
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_COMPILER_TLS = no; then
5610 result=yes
5611 else
5612 result=no
5613 fi
5614 else
5615 result=$wxUSE_COMPILER_TLS
5616 fi
5617
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5620
5621
5622
5623
5624 enablestring=
5625 defaultval=$wxUSE_ALL_FEATURES
5626 if test -z "$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5628 defaultval=yes
5629 else
5630 defaultval=no
5631 fi
5632 fi
5633
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5636 # Check whether --enable-intl was given.
5637 if test "${enable_intl+set}" = set; then
5638 enableval=$enable_intl;
5639 if test "$enableval" = yes; then
5640 wx_cv_use_intl='wxUSE_INTL=yes'
5641 else
5642 wx_cv_use_intl='wxUSE_INTL=no'
5643 fi
5644
5645 else
5646
5647 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5648
5649 fi
5650
5651
5652 eval "$wx_cv_use_intl"
5653
5654 if test x"$enablestring" = xdisable; then
5655 if test $wxUSE_INTL = no; then
5656 result=yes
5657 else
5658 result=no
5659 fi
5660 else
5661 result=$wxUSE_INTL
5662 fi
5663
5664 { echo "$as_me:$LINENO: result: $result" >&5
5665 echo "${ECHO_T}$result" >&6; }
5666
5667
5668 enablestring=
5669 defaultval=$wxUSE_ALL_FEATURES
5670 if test -z "$defaultval"; then
5671 if test x"$enablestring" = xdisable; then
5672 defaultval=yes
5673 else
5674 defaultval=no
5675 fi
5676 fi
5677
5678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5680 # Check whether --enable-xlocale was given.
5681 if test "${enable_xlocale+set}" = set; then
5682 enableval=$enable_xlocale;
5683 if test "$enableval" = yes; then
5684 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5685 else
5686 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5687 fi
5688
5689 else
5690
5691 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5692
5693 fi
5694
5695
5696 eval "$wx_cv_use_xlocale"
5697
5698 if test x"$enablestring" = xdisable; then
5699 if test $wxUSE_XLOCALE = no; then
5700 result=yes
5701 else
5702 result=no
5703 fi
5704 else
5705 result=$wxUSE_XLOCALE
5706 fi
5707
5708 { echo "$as_me:$LINENO: result: $result" >&5
5709 echo "${ECHO_T}$result" >&6; }
5710
5711
5712 enablestring=
5713 defaultval=$wxUSE_ALL_FEATURES
5714 if test -z "$defaultval"; then
5715 if test x"$enablestring" = xdisable; then
5716 defaultval=yes
5717 else
5718 defaultval=no
5719 fi
5720 fi
5721
5722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5724 # Check whether --enable-config was given.
5725 if test "${enable_config+set}" = set; then
5726 enableval=$enable_config;
5727 if test "$enableval" = yes; then
5728 wx_cv_use_config='wxUSE_CONFIG=yes'
5729 else
5730 wx_cv_use_config='wxUSE_CONFIG=no'
5731 fi
5732
5733 else
5734
5735 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5736
5737 fi
5738
5739
5740 eval "$wx_cv_use_config"
5741
5742 if test x"$enablestring" = xdisable; then
5743 if test $wxUSE_CONFIG = no; then
5744 result=yes
5745 else
5746 result=no
5747 fi
5748 else
5749 result=$wxUSE_CONFIG
5750 fi
5751
5752 { echo "$as_me:$LINENO: result: $result" >&5
5753 echo "${ECHO_T}$result" >&6; }
5754
5755
5756
5757 enablestring=
5758 defaultval=$wxUSE_ALL_FEATURES
5759 if test -z "$defaultval"; then
5760 if test x"$enablestring" = xdisable; then
5761 defaultval=yes
5762 else
5763 defaultval=no
5764 fi
5765 fi
5766
5767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5769 # Check whether --enable-protocols was given.
5770 if test "${enable_protocols+set}" = set; then
5771 enableval=$enable_protocols;
5772 if test "$enableval" = yes; then
5773 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5774 else
5775 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5776 fi
5777
5778 else
5779
5780 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5781
5782 fi
5783
5784
5785 eval "$wx_cv_use_protocols"
5786
5787 if test x"$enablestring" = xdisable; then
5788 if test $wxUSE_PROTOCOL = no; then
5789 result=yes
5790 else
5791 result=no
5792 fi
5793 else
5794 result=$wxUSE_PROTOCOL
5795 fi
5796
5797 { echo "$as_me:$LINENO: result: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5799
5800
5801 enablestring=
5802 defaultval=$wxUSE_ALL_FEATURES
5803 if test -z "$defaultval"; then
5804 if test x"$enablestring" = xdisable; then
5805 defaultval=yes
5806 else
5807 defaultval=no
5808 fi
5809 fi
5810
5811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5812 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5813 # Check whether --enable-ftp was given.
5814 if test "${enable_ftp+set}" = set; then
5815 enableval=$enable_ftp;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5818 else
5819 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5820 fi
5821
5822 else
5823
5824 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5825
5826 fi
5827
5828
5829 eval "$wx_cv_use_ftp"
5830
5831 if test x"$enablestring" = xdisable; then
5832 if test $wxUSE_PROTOCOL_FTP = no; then
5833 result=yes
5834 else
5835 result=no
5836 fi
5837 else
5838 result=$wxUSE_PROTOCOL_FTP
5839 fi
5840
5841 { echo "$as_me:$LINENO: result: $result" >&5
5842 echo "${ECHO_T}$result" >&6; }
5843
5844
5845 enablestring=
5846 defaultval=$wxUSE_ALL_FEATURES
5847 if test -z "$defaultval"; then
5848 if test x"$enablestring" = xdisable; then
5849 defaultval=yes
5850 else
5851 defaultval=no
5852 fi
5853 fi
5854
5855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5856 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5857 # Check whether --enable-http was given.
5858 if test "${enable_http+set}" = set; then
5859 enableval=$enable_http;
5860 if test "$enableval" = yes; then
5861 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5862 else
5863 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5864 fi
5865
5866 else
5867
5868 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5869
5870 fi
5871
5872
5873 eval "$wx_cv_use_http"
5874
5875 if test x"$enablestring" = xdisable; then
5876 if test $wxUSE_PROTOCOL_HTTP = no; then
5877 result=yes
5878 else
5879 result=no
5880 fi
5881 else
5882 result=$wxUSE_PROTOCOL_HTTP
5883 fi
5884
5885 { echo "$as_me:$LINENO: result: $result" >&5
5886 echo "${ECHO_T}$result" >&6; }
5887
5888
5889 enablestring=
5890 defaultval=$wxUSE_ALL_FEATURES
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5893 defaultval=yes
5894 else
5895 defaultval=no
5896 fi
5897 fi
5898
5899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5900 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5901 # Check whether --enable-fileproto was given.
5902 if test "${enable_fileproto+set}" = set; then
5903 enableval=$enable_fileproto;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5906 else
5907 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5908 fi
5909
5910 else
5911
5912 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5913
5914 fi
5915
5916
5917 eval "$wx_cv_use_fileproto"
5918
5919 if test x"$enablestring" = xdisable; then
5920 if test $wxUSE_PROTOCOL_FILE = no; then
5921 result=yes
5922 else
5923 result=no
5924 fi
5925 else
5926 result=$wxUSE_PROTOCOL_FILE
5927 fi
5928
5929 { echo "$as_me:$LINENO: result: $result" >&5
5930 echo "${ECHO_T}$result" >&6; }
5931
5932
5933 enablestring=
5934 defaultval=$wxUSE_ALL_FEATURES
5935 if test -z "$defaultval"; then
5936 if test x"$enablestring" = xdisable; then
5937 defaultval=yes
5938 else
5939 defaultval=no
5940 fi
5941 fi
5942
5943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5944 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5945 # Check whether --enable-sockets was given.
5946 if test "${enable_sockets+set}" = set; then
5947 enableval=$enable_sockets;
5948 if test "$enableval" = yes; then
5949 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5950 else
5951 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5952 fi
5953
5954 else
5955
5956 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5957
5958 fi
5959
5960
5961 eval "$wx_cv_use_sockets"
5962
5963 if test x"$enablestring" = xdisable; then
5964 if test $wxUSE_SOCKETS = no; then
5965 result=yes
5966 else
5967 result=no
5968 fi
5969 else
5970 result=$wxUSE_SOCKETS
5971 fi
5972
5973 { echo "$as_me:$LINENO: result: $result" >&5
5974 echo "${ECHO_T}$result" >&6; }
5975
5976
5977 enablestring=
5978 defaultval=$wxUSE_ALL_FEATURES
5979 if test -z "$defaultval"; then
5980 if test x"$enablestring" = xdisable; then
5981 defaultval=yes
5982 else
5983 defaultval=no
5984 fi
5985 fi
5986
5987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5988 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5989 # Check whether --enable-ipv6 was given.
5990 if test "${enable_ipv6+set}" = set; then
5991 enableval=$enable_ipv6;
5992 if test "$enableval" = yes; then
5993 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5994 else
5995 wx_cv_use_ipv6='wxUSE_IPV6=no'
5996 fi
5997
5998 else
5999
6000 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6001
6002 fi
6003
6004
6005 eval "$wx_cv_use_ipv6"
6006
6007 if test x"$enablestring" = xdisable; then
6008 if test $wxUSE_IPV6 = no; then
6009 result=yes
6010 else
6011 result=no
6012 fi
6013 else
6014 result=$wxUSE_IPV6
6015 fi
6016
6017 { echo "$as_me:$LINENO: result: $result" >&5
6018 echo "${ECHO_T}$result" >&6; }
6019
6020
6021 enablestring=
6022 defaultval=$wxUSE_ALL_FEATURES
6023 if test -z "$defaultval"; then
6024 if test x"$enablestring" = xdisable; then
6025 defaultval=yes
6026 else
6027 defaultval=no
6028 fi
6029 fi
6030
6031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6033 # Check whether --enable-ole was given.
6034 if test "${enable_ole+set}" = set; then
6035 enableval=$enable_ole;
6036 if test "$enableval" = yes; then
6037 wx_cv_use_ole='wxUSE_OLE=yes'
6038 else
6039 wx_cv_use_ole='wxUSE_OLE=no'
6040 fi
6041
6042 else
6043
6044 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6045
6046 fi
6047
6048
6049 eval "$wx_cv_use_ole"
6050
6051 if test x"$enablestring" = xdisable; then
6052 if test $wxUSE_OLE = no; then
6053 result=yes
6054 else
6055 result=no
6056 fi
6057 else
6058 result=$wxUSE_OLE
6059 fi
6060
6061 { echo "$as_me:$LINENO: result: $result" >&5
6062 echo "${ECHO_T}$result" >&6; }
6063
6064
6065 enablestring=
6066 defaultval=$wxUSE_ALL_FEATURES
6067 if test -z "$defaultval"; then
6068 if test x"$enablestring" = xdisable; then
6069 defaultval=yes
6070 else
6071 defaultval=no
6072 fi
6073 fi
6074
6075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6077 # Check whether --enable-dataobj was given.
6078 if test "${enable_dataobj+set}" = set; then
6079 enableval=$enable_dataobj;
6080 if test "$enableval" = yes; then
6081 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6082 else
6083 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6084 fi
6085
6086 else
6087
6088 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6089
6090 fi
6091
6092
6093 eval "$wx_cv_use_dataobj"
6094
6095 if test x"$enablestring" = xdisable; then
6096 if test $wxUSE_DATAOBJ = no; then
6097 result=yes
6098 else
6099 result=no
6100 fi
6101 else
6102 result=$wxUSE_DATAOBJ
6103 fi
6104
6105 { echo "$as_me:$LINENO: result: $result" >&5
6106 echo "${ECHO_T}$result" >&6; }
6107
6108
6109
6110 enablestring=
6111 defaultval=$wxUSE_ALL_FEATURES
6112 if test -z "$defaultval"; then
6113 if test x"$enablestring" = xdisable; then
6114 defaultval=yes
6115 else
6116 defaultval=no
6117 fi
6118 fi
6119
6120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6121 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6122 # Check whether --enable-ipc was given.
6123 if test "${enable_ipc+set}" = set; then
6124 enableval=$enable_ipc;
6125 if test "$enableval" = yes; then
6126 wx_cv_use_ipc='wxUSE_IPC=yes'
6127 else
6128 wx_cv_use_ipc='wxUSE_IPC=no'
6129 fi
6130
6131 else
6132
6133 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6134
6135 fi
6136
6137
6138 eval "$wx_cv_use_ipc"
6139
6140 if test x"$enablestring" = xdisable; then
6141 if test $wxUSE_IPC = no; then
6142 result=yes
6143 else
6144 result=no
6145 fi
6146 else
6147 result=$wxUSE_IPC
6148 fi
6149
6150 { echo "$as_me:$LINENO: result: $result" >&5
6151 echo "${ECHO_T}$result" >&6; }
6152
6153
6154
6155 enablestring=
6156 defaultval=$wxUSE_ALL_FEATURES
6157 if test -z "$defaultval"; then
6158 if test x"$enablestring" = xdisable; then
6159 defaultval=yes
6160 else
6161 defaultval=no
6162 fi
6163 fi
6164
6165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6167 # Check whether --enable-baseevtloop was given.
6168 if test "${enable_baseevtloop+set}" = set; then
6169 enableval=$enable_baseevtloop;
6170 if test "$enableval" = yes; then
6171 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6172 else
6173 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6174 fi
6175
6176 else
6177
6178 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6179
6180 fi
6181
6182
6183 eval "$wx_cv_use_baseevtloop"
6184
6185 if test x"$enablestring" = xdisable; then
6186 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6187 result=yes
6188 else
6189 result=no
6190 fi
6191 else
6192 result=$wxUSE_CONSOLE_EVENTLOOP
6193 fi
6194
6195 { echo "$as_me:$LINENO: result: $result" >&5
6196 echo "${ECHO_T}$result" >&6; }
6197
6198
6199 enablestring=
6200 defaultval=$wxUSE_ALL_FEATURES
6201 if test -z "$defaultval"; then
6202 if test x"$enablestring" = xdisable; then
6203 defaultval=yes
6204 else
6205 defaultval=no
6206 fi
6207 fi
6208
6209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6211 # Check whether --enable-epollloop was given.
6212 if test "${enable_epollloop+set}" = set; then
6213 enableval=$enable_epollloop;
6214 if test "$enableval" = yes; then
6215 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6216 else
6217 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6218 fi
6219
6220 else
6221
6222 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6223
6224 fi
6225
6226
6227 eval "$wx_cv_use_epollloop"
6228
6229 if test x"$enablestring" = xdisable; then
6230 if test $wxUSE_EPOLL_DISPATCHER = no; then
6231 result=yes
6232 else
6233 result=no
6234 fi
6235 else
6236 result=$wxUSE_EPOLL_DISPATCHER
6237 fi
6238
6239 { echo "$as_me:$LINENO: result: $result" >&5
6240 echo "${ECHO_T}$result" >&6; }
6241
6242
6243 enablestring=
6244 defaultval=$wxUSE_ALL_FEATURES
6245 if test -z "$defaultval"; then
6246 if test x"$enablestring" = xdisable; then
6247 defaultval=yes
6248 else
6249 defaultval=no
6250 fi
6251 fi
6252
6253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6254 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6255 # Check whether --enable-selectloop was given.
6256 if test "${enable_selectloop+set}" = set; then
6257 enableval=$enable_selectloop;
6258 if test "$enableval" = yes; then
6259 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6260 else
6261 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6262 fi
6263
6264 else
6265
6266 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6267
6268 fi
6269
6270
6271 eval "$wx_cv_use_selectloop"
6272
6273 if test x"$enablestring" = xdisable; then
6274 if test $wxUSE_SELECT_DISPATCHER = no; then
6275 result=yes
6276 else
6277 result=no
6278 fi
6279 else
6280 result=$wxUSE_SELECT_DISPATCHER
6281 fi
6282
6283 { echo "$as_me:$LINENO: result: $result" >&5
6284 echo "${ECHO_T}$result" >&6; }
6285
6286
6287
6288 enablestring=
6289 defaultval=$wxUSE_ALL_FEATURES
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6292 defaultval=yes
6293 else
6294 defaultval=no
6295 fi
6296 fi
6297
6298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6300 # Check whether --enable-any was given.
6301 if test "${enable_any+set}" = set; then
6302 enableval=$enable_any;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_any='wxUSE_ANY=yes'
6305 else
6306 wx_cv_use_any='wxUSE_ANY=no'
6307 fi
6308
6309 else
6310
6311 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6312
6313 fi
6314
6315
6316 eval "$wx_cv_use_any"
6317
6318 if test x"$enablestring" = xdisable; then
6319 if test $wxUSE_ANY = no; then
6320 result=yes
6321 else
6322 result=no
6323 fi
6324 else
6325 result=$wxUSE_ANY
6326 fi
6327
6328 { echo "$as_me:$LINENO: result: $result" >&5
6329 echo "${ECHO_T}$result" >&6; }
6330
6331
6332 enablestring=
6333 defaultval=$wxUSE_ALL_FEATURES
6334 if test -z "$defaultval"; then
6335 if test x"$enablestring" = xdisable; then
6336 defaultval=yes
6337 else
6338 defaultval=no
6339 fi
6340 fi
6341
6342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6344 # Check whether --enable-apple_ieee was given.
6345 if test "${enable_apple_ieee+set}" = set; then
6346 enableval=$enable_apple_ieee;
6347 if test "$enableval" = yes; then
6348 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6349 else
6350 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6351 fi
6352
6353 else
6354
6355 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6356
6357 fi
6358
6359
6360 eval "$wx_cv_use_apple_ieee"
6361
6362 if test x"$enablestring" = xdisable; then
6363 if test $wxUSE_APPLE_IEEE = no; then
6364 result=yes
6365 else
6366 result=no
6367 fi
6368 else
6369 result=$wxUSE_APPLE_IEEE
6370 fi
6371
6372 { echo "$as_me:$LINENO: result: $result" >&5
6373 echo "${ECHO_T}$result" >&6; }
6374
6375
6376 enablestring=
6377 defaultval=$wxUSE_ALL_FEATURES
6378 if test -z "$defaultval"; then
6379 if test x"$enablestring" = xdisable; then
6380 defaultval=yes
6381 else
6382 defaultval=no
6383 fi
6384 fi
6385
6386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6388 # Check whether --enable-arcstream was given.
6389 if test "${enable_arcstream+set}" = set; then
6390 enableval=$enable_arcstream;
6391 if test "$enableval" = yes; then
6392 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6393 else
6394 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6395 fi
6396
6397 else
6398
6399 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6400
6401 fi
6402
6403
6404 eval "$wx_cv_use_arcstream"
6405
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_ARCHIVE_STREAMS = no; then
6408 result=yes
6409 else
6410 result=no
6411 fi
6412 else
6413 result=$wxUSE_ARCHIVE_STREAMS
6414 fi
6415
6416 { echo "$as_me:$LINENO: result: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6418
6419
6420 enablestring=
6421 defaultval=$wxUSE_ALL_FEATURES
6422 if test -z "$defaultval"; then
6423 if test x"$enablestring" = xdisable; then
6424 defaultval=yes
6425 else
6426 defaultval=no
6427 fi
6428 fi
6429
6430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6432 # Check whether --enable-base64 was given.
6433 if test "${enable_base64+set}" = set; then
6434 enableval=$enable_base64;
6435 if test "$enableval" = yes; then
6436 wx_cv_use_base64='wxUSE_BASE64=yes'
6437 else
6438 wx_cv_use_base64='wxUSE_BASE64=no'
6439 fi
6440
6441 else
6442
6443 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6444
6445 fi
6446
6447
6448 eval "$wx_cv_use_base64"
6449
6450 if test x"$enablestring" = xdisable; then
6451 if test $wxUSE_BASE64 = no; then
6452 result=yes
6453 else
6454 result=no
6455 fi
6456 else
6457 result=$wxUSE_BASE64
6458 fi
6459
6460 { echo "$as_me:$LINENO: result: $result" >&5
6461 echo "${ECHO_T}$result" >&6; }
6462
6463
6464 enablestring=
6465 defaultval=$wxUSE_ALL_FEATURES
6466 if test -z "$defaultval"; then
6467 if test x"$enablestring" = xdisable; then
6468 defaultval=yes
6469 else
6470 defaultval=no
6471 fi
6472 fi
6473
6474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6476 # Check whether --enable-backtrace was given.
6477 if test "${enable_backtrace+set}" = set; then
6478 enableval=$enable_backtrace;
6479 if test "$enableval" = yes; then
6480 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6481 else
6482 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6483 fi
6484
6485 else
6486
6487 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6488
6489 fi
6490
6491
6492 eval "$wx_cv_use_backtrace"
6493
6494 if test x"$enablestring" = xdisable; then
6495 if test $wxUSE_STACKWALKER = no; then
6496 result=yes
6497 else
6498 result=no
6499 fi
6500 else
6501 result=$wxUSE_STACKWALKER
6502 fi
6503
6504 { echo "$as_me:$LINENO: result: $result" >&5
6505 echo "${ECHO_T}$result" >&6; }
6506
6507
6508 enablestring=
6509 defaultval=$wxUSE_ALL_FEATURES
6510 if test -z "$defaultval"; then
6511 if test x"$enablestring" = xdisable; then
6512 defaultval=yes
6513 else
6514 defaultval=no
6515 fi
6516 fi
6517
6518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6520 # Check whether --enable-catch_segvs was given.
6521 if test "${enable_catch_segvs+set}" = set; then
6522 enableval=$enable_catch_segvs;
6523 if test "$enableval" = yes; then
6524 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6525 else
6526 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6527 fi
6528
6529 else
6530
6531 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6532
6533 fi
6534
6535
6536 eval "$wx_cv_use_catch_segvs"
6537
6538 if test x"$enablestring" = xdisable; then
6539 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6540 result=yes
6541 else
6542 result=no
6543 fi
6544 else
6545 result=$wxUSE_ON_FATAL_EXCEPTION
6546 fi
6547
6548 { echo "$as_me:$LINENO: result: $result" >&5
6549 echo "${ECHO_T}$result" >&6; }
6550
6551
6552 enablestring=
6553 defaultval=$wxUSE_ALL_FEATURES
6554 if test -z "$defaultval"; then
6555 if test x"$enablestring" = xdisable; then
6556 defaultval=yes
6557 else
6558 defaultval=no
6559 fi
6560 fi
6561
6562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6564 # Check whether --enable-cmdline was given.
6565 if test "${enable_cmdline+set}" = set; then
6566 enableval=$enable_cmdline;
6567 if test "$enableval" = yes; then
6568 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6569 else
6570 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6571 fi
6572
6573 else
6574
6575 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6576
6577 fi
6578
6579
6580 eval "$wx_cv_use_cmdline"
6581
6582 if test x"$enablestring" = xdisable; then
6583 if test $wxUSE_CMDLINE_PARSER = no; then
6584 result=yes
6585 else
6586 result=no
6587 fi
6588 else
6589 result=$wxUSE_CMDLINE_PARSER
6590 fi
6591
6592 { echo "$as_me:$LINENO: result: $result" >&5
6593 echo "${ECHO_T}$result" >&6; }
6594
6595
6596 enablestring=
6597 defaultval=$wxUSE_ALL_FEATURES
6598 if test -z "$defaultval"; then
6599 if test x"$enablestring" = xdisable; then
6600 defaultval=yes
6601 else
6602 defaultval=no
6603 fi
6604 fi
6605
6606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6608 # Check whether --enable-datetime was given.
6609 if test "${enable_datetime+set}" = set; then
6610 enableval=$enable_datetime;
6611 if test "$enableval" = yes; then
6612 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6613 else
6614 wx_cv_use_datetime='wxUSE_DATETIME=no'
6615 fi
6616
6617 else
6618
6619 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6620
6621 fi
6622
6623
6624 eval "$wx_cv_use_datetime"
6625
6626 if test x"$enablestring" = xdisable; then
6627 if test $wxUSE_DATETIME = no; then
6628 result=yes
6629 else
6630 result=no
6631 fi
6632 else
6633 result=$wxUSE_DATETIME
6634 fi
6635
6636 { echo "$as_me:$LINENO: result: $result" >&5
6637 echo "${ECHO_T}$result" >&6; }
6638
6639
6640 enablestring=
6641 defaultval=$wxUSE_ALL_FEATURES
6642 if test -z "$defaultval"; then
6643 if test x"$enablestring" = xdisable; then
6644 defaultval=yes
6645 else
6646 defaultval=no
6647 fi
6648 fi
6649
6650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6652 # Check whether --enable-debugreport was given.
6653 if test "${enable_debugreport+set}" = set; then
6654 enableval=$enable_debugreport;
6655 if test "$enableval" = yes; then
6656 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6657 else
6658 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6659 fi
6660
6661 else
6662
6663 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6664
6665 fi
6666
6667
6668 eval "$wx_cv_use_debugreport"
6669
6670 if test x"$enablestring" = xdisable; then
6671 if test $wxUSE_DEBUGREPORT = no; then
6672 result=yes
6673 else
6674 result=no
6675 fi
6676 else
6677 result=$wxUSE_DEBUGREPORT
6678 fi
6679
6680 { echo "$as_me:$LINENO: result: $result" >&5
6681 echo "${ECHO_T}$result" >&6; }
6682
6683
6684 enablestring=
6685 defaultval=$wxUSE_ALL_FEATURES
6686 if test -z "$defaultval"; then
6687 if test x"$enablestring" = xdisable; then
6688 defaultval=yes
6689 else
6690 defaultval=no
6691 fi
6692 fi
6693
6694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6695 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6696 # Check whether --enable-dialupman was given.
6697 if test "${enable_dialupman+set}" = set; then
6698 enableval=$enable_dialupman;
6699 if test "$enableval" = yes; then
6700 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6701 else
6702 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6703 fi
6704
6705 else
6706
6707 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6708
6709 fi
6710
6711
6712 eval "$wx_cv_use_dialupman"
6713
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_DIALUP_MANAGER = no; then
6716 result=yes
6717 else
6718 result=no
6719 fi
6720 else
6721 result=$wxUSE_DIALUP_MANAGER
6722 fi
6723
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6726
6727
6728 enablestring=
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6732 defaultval=yes
6733 else
6734 defaultval=no
6735 fi
6736 fi
6737
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6740 # Check whether --enable-dynlib was given.
6741 if test "${enable_dynlib+set}" = set; then
6742 enableval=$enable_dynlib;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6745 else
6746 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6747 fi
6748
6749 else
6750
6751 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6752
6753 fi
6754
6755
6756 eval "$wx_cv_use_dynlib"
6757
6758 if test x"$enablestring" = xdisable; then
6759 if test $wxUSE_DYNLIB_CLASS = no; then
6760 result=yes
6761 else
6762 result=no
6763 fi
6764 else
6765 result=$wxUSE_DYNLIB_CLASS
6766 fi
6767
6768 { echo "$as_me:$LINENO: result: $result" >&5
6769 echo "${ECHO_T}$result" >&6; }
6770
6771
6772 enablestring=
6773 defaultval=$wxUSE_ALL_FEATURES
6774 if test -z "$defaultval"; then
6775 if test x"$enablestring" = xdisable; then
6776 defaultval=yes
6777 else
6778 defaultval=no
6779 fi
6780 fi
6781
6782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6783 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6784 # Check whether --enable-dynamicloader was given.
6785 if test "${enable_dynamicloader+set}" = set; then
6786 enableval=$enable_dynamicloader;
6787 if test "$enableval" = yes; then
6788 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6789 else
6790 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6791 fi
6792
6793 else
6794
6795 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6796
6797 fi
6798
6799
6800 eval "$wx_cv_use_dynamicloader"
6801
6802 if test x"$enablestring" = xdisable; then
6803 if test $wxUSE_DYNAMIC_LOADER = no; then
6804 result=yes
6805 else
6806 result=no
6807 fi
6808 else
6809 result=$wxUSE_DYNAMIC_LOADER
6810 fi
6811
6812 { echo "$as_me:$LINENO: result: $result" >&5
6813 echo "${ECHO_T}$result" >&6; }
6814
6815
6816 enablestring=
6817 defaultval=$wxUSE_ALL_FEATURES
6818 if test -z "$defaultval"; then
6819 if test x"$enablestring" = xdisable; then
6820 defaultval=yes
6821 else
6822 defaultval=no
6823 fi
6824 fi
6825
6826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6828 # Check whether --enable-exceptions was given.
6829 if test "${enable_exceptions+set}" = set; then
6830 enableval=$enable_exceptions;
6831 if test "$enableval" = yes; then
6832 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6833 else
6834 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6835 fi
6836
6837 else
6838
6839 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6840
6841 fi
6842
6843
6844 eval "$wx_cv_use_exceptions"
6845
6846 if test x"$enablestring" = xdisable; then
6847 if test $wxUSE_EXCEPTIONS = no; then
6848 result=yes
6849 else
6850 result=no
6851 fi
6852 else
6853 result=$wxUSE_EXCEPTIONS
6854 fi
6855
6856 { echo "$as_me:$LINENO: result: $result" >&5
6857 echo "${ECHO_T}$result" >&6; }
6858
6859
6860 enablestring=
6861 defaultval=$wxUSE_ALL_FEATURES
6862 if test -z "$defaultval"; then
6863 if test x"$enablestring" = xdisable; then
6864 defaultval=yes
6865 else
6866 defaultval=no
6867 fi
6868 fi
6869
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6872 # Check whether --enable-ffile was given.
6873 if test "${enable_ffile+set}" = set; then
6874 enableval=$enable_ffile;
6875 if test "$enableval" = yes; then
6876 wx_cv_use_ffile='wxUSE_FFILE=yes'
6877 else
6878 wx_cv_use_ffile='wxUSE_FFILE=no'
6879 fi
6880
6881 else
6882
6883 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6884
6885 fi
6886
6887
6888 eval "$wx_cv_use_ffile"
6889
6890 if test x"$enablestring" = xdisable; then
6891 if test $wxUSE_FFILE = no; then
6892 result=yes
6893 else
6894 result=no
6895 fi
6896 else
6897 result=$wxUSE_FFILE
6898 fi
6899
6900 { echo "$as_me:$LINENO: result: $result" >&5
6901 echo "${ECHO_T}$result" >&6; }
6902
6903
6904 enablestring=
6905 defaultval=$wxUSE_ALL_FEATURES
6906 if test -z "$defaultval"; then
6907 if test x"$enablestring" = xdisable; then
6908 defaultval=yes
6909 else
6910 defaultval=no
6911 fi
6912 fi
6913
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6916 # Check whether --enable-file was given.
6917 if test "${enable_file+set}" = set; then
6918 enableval=$enable_file;
6919 if test "$enableval" = yes; then
6920 wx_cv_use_file='wxUSE_FILE=yes'
6921 else
6922 wx_cv_use_file='wxUSE_FILE=no'
6923 fi
6924
6925 else
6926
6927 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6928
6929 fi
6930
6931
6932 eval "$wx_cv_use_file"
6933
6934 if test x"$enablestring" = xdisable; then
6935 if test $wxUSE_FILE = no; then
6936 result=yes
6937 else
6938 result=no
6939 fi
6940 else
6941 result=$wxUSE_FILE
6942 fi
6943
6944 { echo "$as_me:$LINENO: result: $result" >&5
6945 echo "${ECHO_T}$result" >&6; }
6946
6947
6948 enablestring=
6949 defaultval=$wxUSE_ALL_FEATURES
6950 if test -z "$defaultval"; then
6951 if test x"$enablestring" = xdisable; then
6952 defaultval=yes
6953 else
6954 defaultval=no
6955 fi
6956 fi
6957
6958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6959 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6960 # Check whether --enable-filesystem was given.
6961 if test "${enable_filesystem+set}" = set; then
6962 enableval=$enable_filesystem;
6963 if test "$enableval" = yes; then
6964 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6965 else
6966 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6967 fi
6968
6969 else
6970
6971 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6972
6973 fi
6974
6975
6976 eval "$wx_cv_use_filesystem"
6977
6978 if test x"$enablestring" = xdisable; then
6979 if test $wxUSE_FILESYSTEM = no; then
6980 result=yes
6981 else
6982 result=no
6983 fi
6984 else
6985 result=$wxUSE_FILESYSTEM
6986 fi
6987
6988 { echo "$as_me:$LINENO: result: $result" >&5
6989 echo "${ECHO_T}$result" >&6; }
6990
6991
6992 enablestring=
6993 defaultval=$wxUSE_ALL_FEATURES
6994 if test -z "$defaultval"; then
6995 if test x"$enablestring" = xdisable; then
6996 defaultval=yes
6997 else
6998 defaultval=no
6999 fi
7000 fi
7001
7002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7003 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7004 # Check whether --enable-fontenum was given.
7005 if test "${enable_fontenum+set}" = set; then
7006 enableval=$enable_fontenum;
7007 if test "$enableval" = yes; then
7008 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7009 else
7010 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7011 fi
7012
7013 else
7014
7015 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7016
7017 fi
7018
7019
7020 eval "$wx_cv_use_fontenum"
7021
7022 if test x"$enablestring" = xdisable; then
7023 if test $wxUSE_FONTENUM = no; then
7024 result=yes
7025 else
7026 result=no
7027 fi
7028 else
7029 result=$wxUSE_FONTENUM
7030 fi
7031
7032 { echo "$as_me:$LINENO: result: $result" >&5
7033 echo "${ECHO_T}$result" >&6; }
7034
7035
7036 enablestring=
7037 defaultval=$wxUSE_ALL_FEATURES
7038 if test -z "$defaultval"; then
7039 if test x"$enablestring" = xdisable; then
7040 defaultval=yes
7041 else
7042 defaultval=no
7043 fi
7044 fi
7045
7046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7048 # Check whether --enable-fontmap was given.
7049 if test "${enable_fontmap+set}" = set; then
7050 enableval=$enable_fontmap;
7051 if test "$enableval" = yes; then
7052 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7053 else
7054 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7055 fi
7056
7057 else
7058
7059 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7060
7061 fi
7062
7063
7064 eval "$wx_cv_use_fontmap"
7065
7066 if test x"$enablestring" = xdisable; then
7067 if test $wxUSE_FONTMAP = no; then
7068 result=yes
7069 else
7070 result=no
7071 fi
7072 else
7073 result=$wxUSE_FONTMAP
7074 fi
7075
7076 { echo "$as_me:$LINENO: result: $result" >&5
7077 echo "${ECHO_T}$result" >&6; }
7078
7079
7080 enablestring=
7081 defaultval=$wxUSE_ALL_FEATURES
7082 if test -z "$defaultval"; then
7083 if test x"$enablestring" = xdisable; then
7084 defaultval=yes
7085 else
7086 defaultval=no
7087 fi
7088 fi
7089
7090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7091 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7092 # Check whether --enable-fs_archive was given.
7093 if test "${enable_fs_archive+set}" = set; then
7094 enableval=$enable_fs_archive;
7095 if test "$enableval" = yes; then
7096 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7097 else
7098 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7099 fi
7100
7101 else
7102
7103 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7104
7105 fi
7106
7107
7108 eval "$wx_cv_use_fs_archive"
7109
7110 if test x"$enablestring" = xdisable; then
7111 if test $wxUSE_FS_ARCHIVE = no; then
7112 result=yes
7113 else
7114 result=no
7115 fi
7116 else
7117 result=$wxUSE_FS_ARCHIVE
7118 fi
7119
7120 { echo "$as_me:$LINENO: result: $result" >&5
7121 echo "${ECHO_T}$result" >&6; }
7122
7123
7124 enablestring=
7125 defaultval=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x"$enablestring" = xdisable; then
7128 defaultval=yes
7129 else
7130 defaultval=no
7131 fi
7132 fi
7133
7134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7136 # Check whether --enable-fs_inet was given.
7137 if test "${enable_fs_inet+set}" = set; then
7138 enableval=$enable_fs_inet;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7141 else
7142 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7143 fi
7144
7145 else
7146
7147 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7148
7149 fi
7150
7151
7152 eval "$wx_cv_use_fs_inet"
7153
7154 if test x"$enablestring" = xdisable; then
7155 if test $wxUSE_FS_INET = no; then
7156 result=yes
7157 else
7158 result=no
7159 fi
7160 else
7161 result=$wxUSE_FS_INET
7162 fi
7163
7164 { echo "$as_me:$LINENO: result: $result" >&5
7165 echo "${ECHO_T}$result" >&6; }
7166
7167
7168 enablestring=
7169 defaultval=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x"$enablestring" = xdisable; then
7172 defaultval=yes
7173 else
7174 defaultval=no
7175 fi
7176 fi
7177
7178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7180 # Check whether --enable-fs_zip was given.
7181 if test "${enable_fs_zip+set}" = set; then
7182 enableval=$enable_fs_zip;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7185 else
7186 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7187 fi
7188
7189 else
7190
7191 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7192
7193 fi
7194
7195
7196 eval "$wx_cv_use_fs_zip"
7197
7198 if test x"$enablestring" = xdisable; then
7199 if test $wxUSE_FS_ZIP = no; then
7200 result=yes
7201 else
7202 result=no
7203 fi
7204 else
7205 result=$wxUSE_FS_ZIP
7206 fi
7207
7208 { echo "$as_me:$LINENO: result: $result" >&5
7209 echo "${ECHO_T}$result" >&6; }
7210
7211
7212 enablestring=
7213 defaultval=$wxUSE_ALL_FEATURES
7214 if test -z "$defaultval"; then
7215 if test x"$enablestring" = xdisable; then
7216 defaultval=yes
7217 else
7218 defaultval=no
7219 fi
7220 fi
7221
7222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7223 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7224 # Check whether --enable-geometry was given.
7225 if test "${enable_geometry+set}" = set; then
7226 enableval=$enable_geometry;
7227 if test "$enableval" = yes; then
7228 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7229 else
7230 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7231 fi
7232
7233 else
7234
7235 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7236
7237 fi
7238
7239
7240 eval "$wx_cv_use_geometry"
7241
7242 if test x"$enablestring" = xdisable; then
7243 if test $wxUSE_GEOMETRY = no; then
7244 result=yes
7245 else
7246 result=no
7247 fi
7248 else
7249 result=$wxUSE_GEOMETRY
7250 fi
7251
7252 { echo "$as_me:$LINENO: result: $result" >&5
7253 echo "${ECHO_T}$result" >&6; }
7254
7255
7256 enablestring=
7257 defaultval=$wxUSE_ALL_FEATURES
7258 if test -z "$defaultval"; then
7259 if test x"$enablestring" = xdisable; then
7260 defaultval=yes
7261 else
7262 defaultval=no
7263 fi
7264 fi
7265
7266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7268 # Check whether --enable-log was given.
7269 if test "${enable_log+set}" = set; then
7270 enableval=$enable_log;
7271 if test "$enableval" = yes; then
7272 wx_cv_use_log='wxUSE_LOG=yes'
7273 else
7274 wx_cv_use_log='wxUSE_LOG=no'
7275 fi
7276
7277 else
7278
7279 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7280
7281 fi
7282
7283
7284 eval "$wx_cv_use_log"
7285
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_LOG = no; then
7288 result=yes
7289 else
7290 result=no
7291 fi
7292 else
7293 result=$wxUSE_LOG
7294 fi
7295
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7298
7299
7300 enablestring=
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7304 defaultval=yes
7305 else
7306 defaultval=no
7307 fi
7308 fi
7309
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7312 # Check whether --enable-longlong was given.
7313 if test "${enable_longlong+set}" = set; then
7314 enableval=$enable_longlong;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7317 else
7318 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7319 fi
7320
7321 else
7322
7323 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7324
7325 fi
7326
7327
7328 eval "$wx_cv_use_longlong"
7329
7330 if test x"$enablestring" = xdisable; then
7331 if test $wxUSE_LONGLONG = no; then
7332 result=yes
7333 else
7334 result=no
7335 fi
7336 else
7337 result=$wxUSE_LONGLONG
7338 fi
7339
7340 { echo "$as_me:$LINENO: result: $result" >&5
7341 echo "${ECHO_T}$result" >&6; }
7342
7343
7344 enablestring=
7345 defaultval=$wxUSE_ALL_FEATURES
7346 if test -z "$defaultval"; then
7347 if test x"$enablestring" = xdisable; then
7348 defaultval=yes
7349 else
7350 defaultval=no
7351 fi
7352 fi
7353
7354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7356 # Check whether --enable-mimetype was given.
7357 if test "${enable_mimetype+set}" = set; then
7358 enableval=$enable_mimetype;
7359 if test "$enableval" = yes; then
7360 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7361 else
7362 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7363 fi
7364
7365 else
7366
7367 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7368
7369 fi
7370
7371
7372 eval "$wx_cv_use_mimetype"
7373
7374 if test x"$enablestring" = xdisable; then
7375 if test $wxUSE_MIMETYPE = no; then
7376 result=yes
7377 else
7378 result=no
7379 fi
7380 else
7381 result=$wxUSE_MIMETYPE
7382 fi
7383
7384 { echo "$as_me:$LINENO: result: $result" >&5
7385 echo "${ECHO_T}$result" >&6; }
7386
7387
7388 enablestring=
7389 defaultval=$wxUSE_ALL_FEATURES
7390 if test -z "$defaultval"; then
7391 if test x"$enablestring" = xdisable; then
7392 defaultval=yes
7393 else
7394 defaultval=no
7395 fi
7396 fi
7397
7398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7399 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7400 # Check whether --enable-printfposparam was given.
7401 if test "${enable_printfposparam+set}" = set; then
7402 enableval=$enable_printfposparam;
7403 if test "$enableval" = yes; then
7404 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7405 else
7406 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7407 fi
7408
7409 else
7410
7411 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7412
7413 fi
7414
7415
7416 eval "$wx_cv_use_printfposparam"
7417
7418 if test x"$enablestring" = xdisable; then
7419 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7420 result=yes
7421 else
7422 result=no
7423 fi
7424 else
7425 result=$wxUSE_PRINTF_POS_PARAMS
7426 fi
7427
7428 { echo "$as_me:$LINENO: result: $result" >&5
7429 echo "${ECHO_T}$result" >&6; }
7430
7431
7432 enablestring=
7433 defaultval=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x"$enablestring" = xdisable; then
7436 defaultval=yes
7437 else
7438 defaultval=no
7439 fi
7440 fi
7441
7442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7444 # Check whether --enable-snglinst was given.
7445 if test "${enable_snglinst+set}" = set; then
7446 enableval=$enable_snglinst;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7449 else
7450 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7451 fi
7452
7453 else
7454
7455 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7456
7457 fi
7458
7459
7460 eval "$wx_cv_use_snglinst"
7461
7462 if test x"$enablestring" = xdisable; then
7463 if test $wxUSE_SNGLINST_CHECKER = no; then
7464 result=yes
7465 else
7466 result=no
7467 fi
7468 else
7469 result=$wxUSE_SNGLINST_CHECKER
7470 fi
7471
7472 { echo "$as_me:$LINENO: result: $result" >&5
7473 echo "${ECHO_T}$result" >&6; }
7474
7475
7476 enablestring=
7477 defaultval=$wxUSE_ALL_FEATURES
7478 if test -z "$defaultval"; then
7479 if test x"$enablestring" = xdisable; then
7480 defaultval=yes
7481 else
7482 defaultval=no
7483 fi
7484 fi
7485
7486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7487 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7488 # Check whether --enable-sound was given.
7489 if test "${enable_sound+set}" = set; then
7490 enableval=$enable_sound;
7491 if test "$enableval" = yes; then
7492 wx_cv_use_sound='wxUSE_SOUND=yes'
7493 else
7494 wx_cv_use_sound='wxUSE_SOUND=no'
7495 fi
7496
7497 else
7498
7499 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7500
7501 fi
7502
7503
7504 eval "$wx_cv_use_sound"
7505
7506 if test x"$enablestring" = xdisable; then
7507 if test $wxUSE_SOUND = no; then
7508 result=yes
7509 else
7510 result=no
7511 fi
7512 else
7513 result=$wxUSE_SOUND
7514 fi
7515
7516 { echo "$as_me:$LINENO: result: $result" >&5
7517 echo "${ECHO_T}$result" >&6; }
7518
7519
7520 enablestring=
7521 defaultval=$wxUSE_ALL_FEATURES
7522 if test -z "$defaultval"; then
7523 if test x"$enablestring" = xdisable; then
7524 defaultval=yes
7525 else
7526 defaultval=no
7527 fi
7528 fi
7529
7530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7531 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7532 # Check whether --enable-stdpaths was given.
7533 if test "${enable_stdpaths+set}" = set; then
7534 enableval=$enable_stdpaths;
7535 if test "$enableval" = yes; then
7536 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7537 else
7538 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7539 fi
7540
7541 else
7542
7543 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7544
7545 fi
7546
7547
7548 eval "$wx_cv_use_stdpaths"
7549
7550 if test x"$enablestring" = xdisable; then
7551 if test $wxUSE_STDPATHS = no; then
7552 result=yes
7553 else
7554 result=no
7555 fi
7556 else
7557 result=$wxUSE_STDPATHS
7558 fi
7559
7560 { echo "$as_me:$LINENO: result: $result" >&5
7561 echo "${ECHO_T}$result" >&6; }
7562
7563
7564 enablestring=
7565 defaultval=$wxUSE_ALL_FEATURES
7566 if test -z "$defaultval"; then
7567 if test x"$enablestring" = xdisable; then
7568 defaultval=yes
7569 else
7570 defaultval=no
7571 fi
7572 fi
7573
7574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7575 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7576 # Check whether --enable-stopwatch was given.
7577 if test "${enable_stopwatch+set}" = set; then
7578 enableval=$enable_stopwatch;
7579 if test "$enableval" = yes; then
7580 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7581 else
7582 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7583 fi
7584
7585 else
7586
7587 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7588
7589 fi
7590
7591
7592 eval "$wx_cv_use_stopwatch"
7593
7594 if test x"$enablestring" = xdisable; then
7595 if test $wxUSE_STOPWATCH = no; then
7596 result=yes
7597 else
7598 result=no
7599 fi
7600 else
7601 result=$wxUSE_STOPWATCH
7602 fi
7603
7604 { echo "$as_me:$LINENO: result: $result" >&5
7605 echo "${ECHO_T}$result" >&6; }
7606
7607
7608 enablestring=
7609 defaultval=$wxUSE_ALL_FEATURES
7610 if test -z "$defaultval"; then
7611 if test x"$enablestring" = xdisable; then
7612 defaultval=yes
7613 else
7614 defaultval=no
7615 fi
7616 fi
7617
7618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7620 # Check whether --enable-streams was given.
7621 if test "${enable_streams+set}" = set; then
7622 enableval=$enable_streams;
7623 if test "$enableval" = yes; then
7624 wx_cv_use_streams='wxUSE_STREAMS=yes'
7625 else
7626 wx_cv_use_streams='wxUSE_STREAMS=no'
7627 fi
7628
7629 else
7630
7631 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7632
7633 fi
7634
7635
7636 eval "$wx_cv_use_streams"
7637
7638 if test x"$enablestring" = xdisable; then
7639 if test $wxUSE_STREAMS = no; then
7640 result=yes
7641 else
7642 result=no
7643 fi
7644 else
7645 result=$wxUSE_STREAMS
7646 fi
7647
7648 { echo "$as_me:$LINENO: result: $result" >&5
7649 echo "${ECHO_T}$result" >&6; }
7650
7651
7652 enablestring=
7653 defaultval=$wxUSE_ALL_FEATURES
7654 if test -z "$defaultval"; then
7655 if test x"$enablestring" = xdisable; then
7656 defaultval=yes
7657 else
7658 defaultval=no
7659 fi
7660 fi
7661
7662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7664 # Check whether --enable-system_options was given.
7665 if test "${enable_system_options+set}" = set; then
7666 enableval=$enable_system_options;
7667 if test "$enableval" = yes; then
7668 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7669 else
7670 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7671 fi
7672
7673 else
7674
7675 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7676
7677 fi
7678
7679
7680 eval "$wx_cv_use_system_options"
7681
7682 if test x"$enablestring" = xdisable; then
7683 if test $wxUSE_SYSTEM_OPTIONS = no; then
7684 result=yes
7685 else
7686 result=no
7687 fi
7688 else
7689 result=$wxUSE_SYSTEM_OPTIONS
7690 fi
7691
7692 { echo "$as_me:$LINENO: result: $result" >&5
7693 echo "${ECHO_T}$result" >&6; }
7694
7695
7696 enablestring=
7697 defaultval=$wxUSE_ALL_FEATURES
7698 if test -z "$defaultval"; then
7699 if test x"$enablestring" = xdisable; then
7700 defaultval=yes
7701 else
7702 defaultval=no
7703 fi
7704 fi
7705
7706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7708 # Check whether --enable-tarstream was given.
7709 if test "${enable_tarstream+set}" = set; then
7710 enableval=$enable_tarstream;
7711 if test "$enableval" = yes; then
7712 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7713 else
7714 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7715 fi
7716
7717 else
7718
7719 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7720
7721 fi
7722
7723
7724 eval "$wx_cv_use_tarstream"
7725
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_TARSTREAM = no; then
7728 result=yes
7729 else
7730 result=no
7731 fi
7732 else
7733 result=$wxUSE_TARSTREAM
7734 fi
7735
7736 { echo "$as_me:$LINENO: result: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7738
7739
7740 enablestring=
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7744 defaultval=yes
7745 else
7746 defaultval=no
7747 fi
7748 fi
7749
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7752 # Check whether --enable-textbuf was given.
7753 if test "${enable_textbuf+set}" = set; then
7754 enableval=$enable_textbuf;
7755 if test "$enableval" = yes; then
7756 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7757 else
7758 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7759 fi
7760
7761 else
7762
7763 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7764
7765 fi
7766
7767
7768 eval "$wx_cv_use_textbuf"
7769
7770 if test x"$enablestring" = xdisable; then
7771 if test $wxUSE_TEXTBUFFER = no; then
7772 result=yes
7773 else
7774 result=no
7775 fi
7776 else
7777 result=$wxUSE_TEXTBUFFER
7778 fi
7779
7780 { echo "$as_me:$LINENO: result: $result" >&5
7781 echo "${ECHO_T}$result" >&6; }
7782
7783
7784 enablestring=
7785 defaultval=$wxUSE_ALL_FEATURES
7786 if test -z "$defaultval"; then
7787 if test x"$enablestring" = xdisable; then
7788 defaultval=yes
7789 else
7790 defaultval=no
7791 fi
7792 fi
7793
7794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7796 # Check whether --enable-textfile was given.
7797 if test "${enable_textfile+set}" = set; then
7798 enableval=$enable_textfile;
7799 if test "$enableval" = yes; then
7800 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7801 else
7802 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7803 fi
7804
7805 else
7806
7807 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7808
7809 fi
7810
7811
7812 eval "$wx_cv_use_textfile"
7813
7814 if test x"$enablestring" = xdisable; then
7815 if test $wxUSE_TEXTFILE = no; then
7816 result=yes
7817 else
7818 result=no
7819 fi
7820 else
7821 result=$wxUSE_TEXTFILE
7822 fi
7823
7824 { echo "$as_me:$LINENO: result: $result" >&5
7825 echo "${ECHO_T}$result" >&6; }
7826
7827
7828 enablestring=
7829 defaultval=$wxUSE_ALL_FEATURES
7830 if test -z "$defaultval"; then
7831 if test x"$enablestring" = xdisable; then
7832 defaultval=yes
7833 else
7834 defaultval=no
7835 fi
7836 fi
7837
7838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7840 # Check whether --enable-timer was given.
7841 if test "${enable_timer+set}" = set; then
7842 enableval=$enable_timer;
7843 if test "$enableval" = yes; then
7844 wx_cv_use_timer='wxUSE_TIMER=yes'
7845 else
7846 wx_cv_use_timer='wxUSE_TIMER=no'
7847 fi
7848
7849 else
7850
7851 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7852
7853 fi
7854
7855
7856 eval "$wx_cv_use_timer"
7857
7858 if test x"$enablestring" = xdisable; then
7859 if test $wxUSE_TIMER = no; then
7860 result=yes
7861 else
7862 result=no
7863 fi
7864 else
7865 result=$wxUSE_TIMER
7866 fi
7867
7868 { echo "$as_me:$LINENO: result: $result" >&5
7869 echo "${ECHO_T}$result" >&6; }
7870
7871
7872 enablestring=
7873 defaultval=$wxUSE_ALL_FEATURES
7874 if test -z "$defaultval"; then
7875 if test x"$enablestring" = xdisable; then
7876 defaultval=yes
7877 else
7878 defaultval=no
7879 fi
7880 fi
7881
7882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7884 # Check whether --enable-variant was given.
7885 if test "${enable_variant+set}" = set; then
7886 enableval=$enable_variant;
7887 if test "$enableval" = yes; then
7888 wx_cv_use_variant='wxUSE_VARIANT=yes'
7889 else
7890 wx_cv_use_variant='wxUSE_VARIANT=no'
7891 fi
7892
7893 else
7894
7895 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7896
7897 fi
7898
7899
7900 eval "$wx_cv_use_variant"
7901
7902 if test x"$enablestring" = xdisable; then
7903 if test $wxUSE_VARIANT = no; then
7904 result=yes
7905 else
7906 result=no
7907 fi
7908 else
7909 result=$wxUSE_VARIANT
7910 fi
7911
7912 { echo "$as_me:$LINENO: result: $result" >&5
7913 echo "${ECHO_T}$result" >&6; }
7914
7915
7916 enablestring=
7917 defaultval=$wxUSE_ALL_FEATURES
7918 if test -z "$defaultval"; then
7919 if test x"$enablestring" = xdisable; then
7920 defaultval=yes
7921 else
7922 defaultval=no
7923 fi
7924 fi
7925
7926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7928 # Check whether --enable-zipstream was given.
7929 if test "${enable_zipstream+set}" = set; then
7930 enableval=$enable_zipstream;
7931 if test "$enableval" = yes; then
7932 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7933 else
7934 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7935 fi
7936
7937 else
7938
7939 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7940
7941 fi
7942
7943
7944 eval "$wx_cv_use_zipstream"
7945
7946 if test x"$enablestring" = xdisable; then
7947 if test $wxUSE_ZIPSTREAM = no; then
7948 result=yes
7949 else
7950 result=no
7951 fi
7952 else
7953 result=$wxUSE_ZIPSTREAM
7954 fi
7955
7956 { echo "$as_me:$LINENO: result: $result" >&5
7957 echo "${ECHO_T}$result" >&6; }
7958
7959
7960
7961 enablestring=
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7965 defaultval=yes
7966 else
7967 defaultval=no
7968 fi
7969 fi
7970
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7973 # Check whether --enable-url was given.
7974 if test "${enable_url+set}" = set; then
7975 enableval=$enable_url;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_url='wxUSE_URL=yes'
7978 else
7979 wx_cv_use_url='wxUSE_URL=no'
7980 fi
7981
7982 else
7983
7984 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7985
7986 fi
7987
7988
7989 eval "$wx_cv_use_url"
7990
7991 if test x"$enablestring" = xdisable; then
7992 if test $wxUSE_URL = no; then
7993 result=yes
7994 else
7995 result=no
7996 fi
7997 else
7998 result=$wxUSE_URL
7999 fi
8000
8001 { echo "$as_me:$LINENO: result: $result" >&5
8002 echo "${ECHO_T}$result" >&6; }
8003
8004
8005 enablestring=
8006 defaultval=$wxUSE_ALL_FEATURES
8007 if test -z "$defaultval"; then
8008 if test x"$enablestring" = xdisable; then
8009 defaultval=yes
8010 else
8011 defaultval=no
8012 fi
8013 fi
8014
8015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8017 # Check whether --enable-protocol was given.
8018 if test "${enable_protocol+set}" = set; then
8019 enableval=$enable_protocol;
8020 if test "$enableval" = yes; then
8021 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8022 else
8023 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8024 fi
8025
8026 else
8027
8028 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8029
8030 fi
8031
8032
8033 eval "$wx_cv_use_protocol"
8034
8035 if test x"$enablestring" = xdisable; then
8036 if test $wxUSE_PROTOCOL = no; then
8037 result=yes
8038 else
8039 result=no
8040 fi
8041 else
8042 result=$wxUSE_PROTOCOL
8043 fi
8044
8045 { echo "$as_me:$LINENO: result: $result" >&5
8046 echo "${ECHO_T}$result" >&6; }
8047
8048
8049 enablestring=
8050 defaultval=$wxUSE_ALL_FEATURES
8051 if test -z "$defaultval"; then
8052 if test x"$enablestring" = xdisable; then
8053 defaultval=yes
8054 else
8055 defaultval=no
8056 fi
8057 fi
8058
8059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8061 # Check whether --enable-protocol_http was given.
8062 if test "${enable_protocol_http+set}" = set; then
8063 enableval=$enable_protocol_http;
8064 if test "$enableval" = yes; then
8065 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8066 else
8067 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8068 fi
8069
8070 else
8071
8072 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8073
8074 fi
8075
8076
8077 eval "$wx_cv_use_protocol_http"
8078
8079 if test x"$enablestring" = xdisable; then
8080 if test $wxUSE_PROTOCOL_HTTP = no; then
8081 result=yes
8082 else
8083 result=no
8084 fi
8085 else
8086 result=$wxUSE_PROTOCOL_HTTP
8087 fi
8088
8089 { echo "$as_me:$LINENO: result: $result" >&5
8090 echo "${ECHO_T}$result" >&6; }
8091
8092
8093 enablestring=
8094 defaultval=$wxUSE_ALL_FEATURES
8095 if test -z "$defaultval"; then
8096 if test x"$enablestring" = xdisable; then
8097 defaultval=yes
8098 else
8099 defaultval=no
8100 fi
8101 fi
8102
8103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8104 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8105 # Check whether --enable-protocol_ftp was given.
8106 if test "${enable_protocol_ftp+set}" = set; then
8107 enableval=$enable_protocol_ftp;
8108 if test "$enableval" = yes; then
8109 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8110 else
8111 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8112 fi
8113
8114 else
8115
8116 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8117
8118 fi
8119
8120
8121 eval "$wx_cv_use_protocol_ftp"
8122
8123 if test x"$enablestring" = xdisable; then
8124 if test $wxUSE_PROTOCOL_FTP = no; then
8125 result=yes
8126 else
8127 result=no
8128 fi
8129 else
8130 result=$wxUSE_PROTOCOL_FTP
8131 fi
8132
8133 { echo "$as_me:$LINENO: result: $result" >&5
8134 echo "${ECHO_T}$result" >&6; }
8135
8136
8137 enablestring=
8138 defaultval=$wxUSE_ALL_FEATURES
8139 if test -z "$defaultval"; then
8140 if test x"$enablestring" = xdisable; then
8141 defaultval=yes
8142 else
8143 defaultval=no
8144 fi
8145 fi
8146
8147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8148 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8149 # Check whether --enable-protocol_file was given.
8150 if test "${enable_protocol_file+set}" = set; then
8151 enableval=$enable_protocol_file;
8152 if test "$enableval" = yes; then
8153 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8154 else
8155 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8156 fi
8157
8158 else
8159
8160 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8161
8162 fi
8163
8164
8165 eval "$wx_cv_use_protocol_file"
8166
8167 if test x"$enablestring" = xdisable; then
8168 if test $wxUSE_PROTOCOL_FILE = no; then
8169 result=yes
8170 else
8171 result=no
8172 fi
8173 else
8174 result=$wxUSE_PROTOCOL_FILE
8175 fi
8176
8177 { echo "$as_me:$LINENO: result: $result" >&5
8178 echo "${ECHO_T}$result" >&6; }
8179
8180
8181
8182 enablestring=
8183 defaultval=$wxUSE_ALL_FEATURES
8184 if test -z "$defaultval"; then
8185 if test x"$enablestring" = xdisable; then
8186 defaultval=yes
8187 else
8188 defaultval=no
8189 fi
8190 fi
8191
8192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8194 # Check whether --enable-threads was given.
8195 if test "${enable_threads+set}" = set; then
8196 enableval=$enable_threads;
8197 if test "$enableval" = yes; then
8198 wx_cv_use_threads='wxUSE_THREADS=yes'
8199 else
8200 wx_cv_use_threads='wxUSE_THREADS=no'
8201 fi
8202
8203 else
8204
8205 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8206
8207 fi
8208
8209
8210 eval "$wx_cv_use_threads"
8211
8212 if test x"$enablestring" = xdisable; then
8213 if test $wxUSE_THREADS = no; then
8214 result=yes
8215 else
8216 result=no
8217 fi
8218 else
8219 result=$wxUSE_THREADS
8220 fi
8221
8222 { echo "$as_me:$LINENO: result: $result" >&5
8223 echo "${ECHO_T}$result" >&6; }
8224
8225
8226
8227 enablestring=
8228 defaultval=
8229 if test -z "$defaultval"; then
8230 if test x"$enablestring" = xdisable; then
8231 defaultval=yes
8232 else
8233 defaultval=no
8234 fi
8235 fi
8236
8237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8239 # Check whether --enable-iniconf was given.
8240 if test "${enable_iniconf+set}" = set; then
8241 enableval=$enable_iniconf;
8242 if test "$enableval" = yes; then
8243 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8244 else
8245 wx_cv_use_iniconf='wxUSE_INICONF=no'
8246 fi
8247
8248 else
8249
8250 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8251
8252 fi
8253
8254
8255 eval "$wx_cv_use_iniconf"
8256
8257 if test x"$enablestring" = xdisable; then
8258 if test $wxUSE_INICONF = no; then
8259 result=yes
8260 else
8261 result=no
8262 fi
8263 else
8264 result=$wxUSE_INICONF
8265 fi
8266
8267 { echo "$as_me:$LINENO: result: $result" >&5
8268 echo "${ECHO_T}$result" >&6; }
8269
8270
8271 enablestring=
8272 defaultval=$wxUSE_ALL_FEATURES
8273 if test -z "$defaultval"; then
8274 if test x"$enablestring" = xdisable; then
8275 defaultval=yes
8276 else
8277 defaultval=no
8278 fi
8279 fi
8280
8281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8283 # Check whether --enable-regkey was given.
8284 if test "${enable_regkey+set}" = set; then
8285 enableval=$enable_regkey;
8286 if test "$enableval" = yes; then
8287 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8288 else
8289 wx_cv_use_regkey='wxUSE_REGKEY=no'
8290 fi
8291
8292 else
8293
8294 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8295
8296 fi
8297
8298
8299 eval "$wx_cv_use_regkey"
8300
8301 if test x"$enablestring" = xdisable; then
8302 if test $wxUSE_REGKEY = no; then
8303 result=yes
8304 else
8305 result=no
8306 fi
8307 else
8308 result=$wxUSE_REGKEY
8309 fi
8310
8311 { echo "$as_me:$LINENO: result: $result" >&5
8312 echo "${ECHO_T}$result" >&6; }
8313
8314
8315 if test "$wxUSE_GUI" = "yes"; then
8316
8317
8318
8319 enablestring=
8320 defaultval=$wxUSE_ALL_FEATURES
8321 if test -z "$defaultval"; then
8322 if test x"$enablestring" = xdisable; then
8323 defaultval=yes
8324 else
8325 defaultval=no
8326 fi
8327 fi
8328
8329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8331 # Check whether --enable-docview was given.
8332 if test "${enable_docview+set}" = set; then
8333 enableval=$enable_docview;
8334 if test "$enableval" = yes; then
8335 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8336 else
8337 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8338 fi
8339
8340 else
8341
8342 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8343
8344 fi
8345
8346
8347 eval "$wx_cv_use_docview"
8348
8349 if test x"$enablestring" = xdisable; then
8350 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8351 result=yes
8352 else
8353 result=no
8354 fi
8355 else
8356 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8357 fi
8358
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8361
8362
8363 enablestring=
8364 defaultval=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x"$enablestring" = xdisable; then
8367 defaultval=yes
8368 else
8369 defaultval=no
8370 fi
8371 fi
8372
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8375 # Check whether --enable-help was given.
8376 if test "${enable_help+set}" = set; then
8377 enableval=$enable_help;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_help='wxUSE_HELP=yes'
8380 else
8381 wx_cv_use_help='wxUSE_HELP=no'
8382 fi
8383
8384 else
8385
8386 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8387
8388 fi
8389
8390
8391 eval "$wx_cv_use_help"
8392
8393 if test x"$enablestring" = xdisable; then
8394 if test $wxUSE_HELP = no; then
8395 result=yes
8396 else
8397 result=no
8398 fi
8399 else
8400 result=$wxUSE_HELP
8401 fi
8402
8403 { echo "$as_me:$LINENO: result: $result" >&5
8404 echo "${ECHO_T}$result" >&6; }
8405
8406
8407 enablestring=
8408 defaultval=$wxUSE_ALL_FEATURES
8409 if test -z "$defaultval"; then
8410 if test x"$enablestring" = xdisable; then
8411 defaultval=yes
8412 else
8413 defaultval=no
8414 fi
8415 fi
8416
8417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8419 # Check whether --enable-mshtmlhelp was given.
8420 if test "${enable_mshtmlhelp+set}" = set; then
8421 enableval=$enable_mshtmlhelp;
8422 if test "$enableval" = yes; then
8423 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8424 else
8425 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8426 fi
8427
8428 else
8429
8430 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8431
8432 fi
8433
8434
8435 eval "$wx_cv_use_mshtmlhelp"
8436
8437 if test x"$enablestring" = xdisable; then
8438 if test $wxUSE_MS_HTML_HELP = no; then
8439 result=yes
8440 else
8441 result=no
8442 fi
8443 else
8444 result=$wxUSE_MS_HTML_HELP
8445 fi
8446
8447 { echo "$as_me:$LINENO: result: $result" >&5
8448 echo "${ECHO_T}$result" >&6; }
8449
8450
8451 enablestring=
8452 defaultval=$wxUSE_ALL_FEATURES
8453 if test -z "$defaultval"; then
8454 if test x"$enablestring" = xdisable; then
8455 defaultval=yes
8456 else
8457 defaultval=no
8458 fi
8459 fi
8460
8461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8462 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8463 # Check whether --enable-html was given.
8464 if test "${enable_html+set}" = set; then
8465 enableval=$enable_html;
8466 if test "$enableval" = yes; then
8467 wx_cv_use_html='wxUSE_HTML=yes'
8468 else
8469 wx_cv_use_html='wxUSE_HTML=no'
8470 fi
8471
8472 else
8473
8474 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8475
8476 fi
8477
8478
8479 eval "$wx_cv_use_html"
8480
8481 if test x"$enablestring" = xdisable; then
8482 if test $wxUSE_HTML = no; then
8483 result=yes
8484 else
8485 result=no
8486 fi
8487 else
8488 result=$wxUSE_HTML
8489 fi
8490
8491 { echo "$as_me:$LINENO: result: $result" >&5
8492 echo "${ECHO_T}$result" >&6; }
8493
8494
8495 enablestring=
8496 defaultval=$wxUSE_ALL_FEATURES
8497 if test -z "$defaultval"; then
8498 if test x"$enablestring" = xdisable; then
8499 defaultval=yes
8500 else
8501 defaultval=no
8502 fi
8503 fi
8504
8505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8507 # Check whether --enable-htmlhelp was given.
8508 if test "${enable_htmlhelp+set}" = set; then
8509 enableval=$enable_htmlhelp;
8510 if test "$enableval" = yes; then
8511 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8512 else
8513 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8514 fi
8515
8516 else
8517
8518 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8519
8520 fi
8521
8522
8523 eval "$wx_cv_use_htmlhelp"
8524
8525 if test x"$enablestring" = xdisable; then
8526 if test $wxUSE_WXHTML_HELP = no; then
8527 result=yes
8528 else
8529 result=no
8530 fi
8531 else
8532 result=$wxUSE_WXHTML_HELP
8533 fi
8534
8535 { echo "$as_me:$LINENO: result: $result" >&5
8536 echo "${ECHO_T}$result" >&6; }
8537
8538
8539 enablestring=
8540 defaultval=$wxUSE_ALL_FEATURES
8541 if test -z "$defaultval"; then
8542 if test x"$enablestring" = xdisable; then
8543 defaultval=yes
8544 else
8545 defaultval=no
8546 fi
8547 fi
8548
8549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8551 # Check whether --enable-xrc was given.
8552 if test "${enable_xrc+set}" = set; then
8553 enableval=$enable_xrc;
8554 if test "$enableval" = yes; then
8555 wx_cv_use_xrc='wxUSE_XRC=yes'
8556 else
8557 wx_cv_use_xrc='wxUSE_XRC=no'
8558 fi
8559
8560 else
8561
8562 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8563
8564 fi
8565
8566
8567 eval "$wx_cv_use_xrc"
8568
8569 if test x"$enablestring" = xdisable; then
8570 if test $wxUSE_XRC = no; then
8571 result=yes
8572 else
8573 result=no
8574 fi
8575 else
8576 result=$wxUSE_XRC
8577 fi
8578
8579 { echo "$as_me:$LINENO: result: $result" >&5
8580 echo "${ECHO_T}$result" >&6; }
8581
8582
8583 enablestring=
8584 defaultval=$wxUSE_ALL_FEATURES
8585 if test -z "$defaultval"; then
8586 if test x"$enablestring" = xdisable; then
8587 defaultval=yes
8588 else
8589 defaultval=no
8590 fi
8591 fi
8592
8593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8595 # Check whether --enable-aui was given.
8596 if test "${enable_aui+set}" = set; then
8597 enableval=$enable_aui;
8598 if test "$enableval" = yes; then
8599 wx_cv_use_aui='wxUSE_AUI=yes'
8600 else
8601 wx_cv_use_aui='wxUSE_AUI=no'
8602 fi
8603
8604 else
8605
8606 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8607
8608 fi
8609
8610
8611 eval "$wx_cv_use_aui"
8612
8613 if test x"$enablestring" = xdisable; then
8614 if test $wxUSE_AUI = no; then
8615 result=yes
8616 else
8617 result=no
8618 fi
8619 else
8620 result=$wxUSE_AUI
8621 fi
8622
8623 { echo "$as_me:$LINENO: result: $result" >&5
8624 echo "${ECHO_T}$result" >&6; }
8625
8626
8627 enablestring=
8628 defaultval=$wxUSE_ALL_FEATURES
8629 if test -z "$defaultval"; then
8630 if test x"$enablestring" = xdisable; then
8631 defaultval=yes
8632 else
8633 defaultval=no
8634 fi
8635 fi
8636
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8639 # Check whether --enable-propgrid was given.
8640 if test "${enable_propgrid+set}" = set; then
8641 enableval=$enable_propgrid;
8642 if test "$enableval" = yes; then
8643 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8644 else
8645 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8646 fi
8647
8648 else
8649
8650 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8651
8652 fi
8653
8654
8655 eval "$wx_cv_use_propgrid"
8656
8657 if test x"$enablestring" = xdisable; then
8658 if test $wxUSE_PROPGRID = no; then
8659 result=yes
8660 else
8661 result=no
8662 fi
8663 else
8664 result=$wxUSE_PROPGRID
8665 fi
8666
8667 { echo "$as_me:$LINENO: result: $result" >&5
8668 echo "${ECHO_T}$result" >&6; }
8669
8670
8671 enablestring=
8672 defaultval=$wxUSE_ALL_FEATURES
8673 if test -z "$defaultval"; then
8674 if test x"$enablestring" = xdisable; then
8675 defaultval=yes
8676 else
8677 defaultval=no
8678 fi
8679 fi
8680
8681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8682 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8683 # Check whether --enable-ribbon was given.
8684 if test "${enable_ribbon+set}" = set; then
8685 enableval=$enable_ribbon;
8686 if test "$enableval" = yes; then
8687 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8688 else
8689 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8690 fi
8691
8692 else
8693
8694 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8695
8696 fi
8697
8698
8699 eval "$wx_cv_use_ribbon"
8700
8701 if test x"$enablestring" = xdisable; then
8702 if test $wxUSE_RIBBON = no; then
8703 result=yes
8704 else
8705 result=no
8706 fi
8707 else
8708 result=$wxUSE_RIBBON
8709 fi
8710
8711 { echo "$as_me:$LINENO: result: $result" >&5
8712 echo "${ECHO_T}$result" >&6; }
8713
8714
8715 enablestring=
8716 defaultval=$wxUSE_ALL_FEATURES
8717 if test -z "$defaultval"; then
8718 if test x"$enablestring" = xdisable; then
8719 defaultval=yes
8720 else
8721 defaultval=no
8722 fi
8723 fi
8724
8725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8726 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8727 # Check whether --enable-stc was given.
8728 if test "${enable_stc+set}" = set; then
8729 enableval=$enable_stc;
8730 if test "$enableval" = yes; then
8731 wx_cv_use_stc='wxUSE_STC=yes'
8732 else
8733 wx_cv_use_stc='wxUSE_STC=no'
8734 fi
8735
8736 else
8737
8738 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8739
8740 fi
8741
8742
8743 eval "$wx_cv_use_stc"
8744
8745 if test x"$enablestring" = xdisable; then
8746 if test $wxUSE_STC = no; then
8747 result=yes
8748 else
8749 result=no
8750 fi
8751 else
8752 result=$wxUSE_STC
8753 fi
8754
8755 { echo "$as_me:$LINENO: result: $result" >&5
8756 echo "${ECHO_T}$result" >&6; }
8757
8758
8759 enablestring=
8760 defaultval=$wxUSE_ALL_FEATURES
8761 if test -z "$defaultval"; then
8762 if test x"$enablestring" = xdisable; then
8763 defaultval=yes
8764 else
8765 defaultval=no
8766 fi
8767 fi
8768
8769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8771 # Check whether --enable-constraints was given.
8772 if test "${enable_constraints+set}" = set; then
8773 enableval=$enable_constraints;
8774 if test "$enableval" = yes; then
8775 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8776 else
8777 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8778 fi
8779
8780 else
8781
8782 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8783
8784 fi
8785
8786
8787 eval "$wx_cv_use_constraints"
8788
8789 if test x"$enablestring" = xdisable; then
8790 if test $wxUSE_CONSTRAINTS = no; then
8791 result=yes
8792 else
8793 result=no
8794 fi
8795 else
8796 result=$wxUSE_CONSTRAINTS
8797 fi
8798
8799 { echo "$as_me:$LINENO: result: $result" >&5
8800 echo "${ECHO_T}$result" >&6; }
8801
8802
8803 enablestring=
8804 defaultval=$wxUSE_ALL_FEATURES
8805 if test -z "$defaultval"; then
8806 if test x"$enablestring" = xdisable; then
8807 defaultval=yes
8808 else
8809 defaultval=no
8810 fi
8811 fi
8812
8813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8815 # Check whether --enable-loggui was given.
8816 if test "${enable_loggui+set}" = set; then
8817 enableval=$enable_loggui;
8818 if test "$enableval" = yes; then
8819 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8820 else
8821 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8822 fi
8823
8824 else
8825
8826 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8827
8828 fi
8829
8830
8831 eval "$wx_cv_use_loggui"
8832
8833 if test x"$enablestring" = xdisable; then
8834 if test $wxUSE_LOGGUI = no; then
8835 result=yes
8836 else
8837 result=no
8838 fi
8839 else
8840 result=$wxUSE_LOGGUI
8841 fi
8842
8843 { echo "$as_me:$LINENO: result: $result" >&5
8844 echo "${ECHO_T}$result" >&6; }
8845
8846
8847 enablestring=
8848 defaultval=$wxUSE_ALL_FEATURES
8849 if test -z "$defaultval"; then
8850 if test x"$enablestring" = xdisable; then
8851 defaultval=yes
8852 else
8853 defaultval=no
8854 fi
8855 fi
8856
8857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8859 # Check whether --enable-logwin was given.
8860 if test "${enable_logwin+set}" = set; then
8861 enableval=$enable_logwin;
8862 if test "$enableval" = yes; then
8863 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8864 else
8865 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8866 fi
8867
8868 else
8869
8870 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8871
8872 fi
8873
8874
8875 eval "$wx_cv_use_logwin"
8876
8877 if test x"$enablestring" = xdisable; then
8878 if test $wxUSE_LOGWINDOW = no; then
8879 result=yes
8880 else
8881 result=no
8882 fi
8883 else
8884 result=$wxUSE_LOGWINDOW
8885 fi
8886
8887 { echo "$as_me:$LINENO: result: $result" >&5
8888 echo "${ECHO_T}$result" >&6; }
8889
8890
8891 enablestring=
8892 defaultval=$wxUSE_ALL_FEATURES
8893 if test -z "$defaultval"; then
8894 if test x"$enablestring" = xdisable; then
8895 defaultval=yes
8896 else
8897 defaultval=no
8898 fi
8899 fi
8900
8901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8903 # Check whether --enable-logdialog was given.
8904 if test "${enable_logdialog+set}" = set; then
8905 enableval=$enable_logdialog;
8906 if test "$enableval" = yes; then
8907 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8908 else
8909 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8910 fi
8911
8912 else
8913
8914 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8915
8916 fi
8917
8918
8919 eval "$wx_cv_use_logdialog"
8920
8921 if test x"$enablestring" = xdisable; then
8922 if test $wxUSE_LOGDIALOG = no; then
8923 result=yes
8924 else
8925 result=no
8926 fi
8927 else
8928 result=$wxUSE_LOGDIALOG
8929 fi
8930
8931 { echo "$as_me:$LINENO: result: $result" >&5
8932 echo "${ECHO_T}$result" >&6; }
8933
8934
8935 enablestring=
8936 defaultval=$wxUSE_ALL_FEATURES
8937 if test -z "$defaultval"; then
8938 if test x"$enablestring" = xdisable; then
8939 defaultval=yes
8940 else
8941 defaultval=no
8942 fi
8943 fi
8944
8945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8946 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8947 # Check whether --enable-mdi was given.
8948 if test "${enable_mdi+set}" = set; then
8949 enableval=$enable_mdi;
8950 if test "$enableval" = yes; then
8951 wx_cv_use_mdi='wxUSE_MDI=yes'
8952 else
8953 wx_cv_use_mdi='wxUSE_MDI=no'
8954 fi
8955
8956 else
8957
8958 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8959
8960 fi
8961
8962
8963 eval "$wx_cv_use_mdi"
8964
8965 if test x"$enablestring" = xdisable; then
8966 if test $wxUSE_MDI = no; then
8967 result=yes
8968 else
8969 result=no
8970 fi
8971 else
8972 result=$wxUSE_MDI
8973 fi
8974
8975 { echo "$as_me:$LINENO: result: $result" >&5
8976 echo "${ECHO_T}$result" >&6; }
8977
8978
8979 enablestring=
8980 defaultval=$wxUSE_ALL_FEATURES
8981 if test -z "$defaultval"; then
8982 if test x"$enablestring" = xdisable; then
8983 defaultval=yes
8984 else
8985 defaultval=no
8986 fi
8987 fi
8988
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8991 # Check whether --enable-mdidoc was given.
8992 if test "${enable_mdidoc+set}" = set; then
8993 enableval=$enable_mdidoc;
8994 if test "$enableval" = yes; then
8995 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8996 else
8997 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8998 fi
8999
9000 else
9001
9002 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9003
9004 fi
9005
9006
9007 eval "$wx_cv_use_mdidoc"
9008
9009 if test x"$enablestring" = xdisable; then
9010 if test $wxUSE_MDI_ARCHITECTURE = no; then
9011 result=yes
9012 else
9013 result=no
9014 fi
9015 else
9016 result=$wxUSE_MDI_ARCHITECTURE
9017 fi
9018
9019 { echo "$as_me:$LINENO: result: $result" >&5
9020 echo "${ECHO_T}$result" >&6; }
9021
9022
9023 enablestring=
9024 defaultval=$wxUSE_ALL_FEATURES
9025 if test -z "$defaultval"; then
9026 if test x"$enablestring" = xdisable; then
9027 defaultval=yes
9028 else
9029 defaultval=no
9030 fi
9031 fi
9032
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9035 # Check whether --enable-mediactrl was given.
9036 if test "${enable_mediactrl+set}" = set; then
9037 enableval=$enable_mediactrl;
9038 if test "$enableval" = yes; then
9039 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9040 else
9041 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9042 fi
9043
9044 else
9045
9046 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9047
9048 fi
9049
9050
9051 eval "$wx_cv_use_mediactrl"
9052
9053 if test x"$enablestring" = xdisable; then
9054 if test $wxUSE_MEDIACTRL = no; then
9055 result=yes
9056 else
9057 result=no
9058 fi
9059 else
9060 result=$wxUSE_MEDIACTRL
9061 fi
9062
9063 { echo "$as_me:$LINENO: result: $result" >&5
9064 echo "${ECHO_T}$result" >&6; }
9065
9066
9067 enablestring=
9068 defaultval=$wxUSE_ALL_FEATURES
9069 if test -z "$defaultval"; then
9070 if test x"$enablestring" = xdisable; then
9071 defaultval=yes
9072 else
9073 defaultval=no
9074 fi
9075 fi
9076
9077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9079 # Check whether --enable-gstreamer8 was given.
9080 if test "${enable_gstreamer8+set}" = set; then
9081 enableval=$enable_gstreamer8;
9082 if test "$enableval" = yes; then
9083 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9084 else
9085 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9086 fi
9087
9088 else
9089
9090 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9091
9092 fi
9093
9094
9095 eval "$wx_cv_use_gstreamer8"
9096
9097 if test x"$enablestring" = xdisable; then
9098 if test $wxUSE_GSTREAMER8 = no; then
9099 result=yes
9100 else
9101 result=no
9102 fi
9103 else
9104 result=$wxUSE_GSTREAMER8
9105 fi
9106
9107 { echo "$as_me:$LINENO: result: $result" >&5
9108 echo "${ECHO_T}$result" >&6; }
9109
9110
9111 enablestring=
9112 defaultval=$wxUSE_ALL_FEATURES
9113 if test -z "$defaultval"; then
9114 if test x"$enablestring" = xdisable; then
9115 defaultval=yes
9116 else
9117 defaultval=no
9118 fi
9119 fi
9120
9121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9123 # Check whether --enable-webkit was given.
9124 if test "${enable_webkit+set}" = set; then
9125 enableval=$enable_webkit;
9126 if test "$enableval" = yes; then
9127 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9128 else
9129 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9130 fi
9131
9132 else
9133
9134 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9135
9136 fi
9137
9138
9139 eval "$wx_cv_use_webkit"
9140
9141 if test x"$enablestring" = xdisable; then
9142 if test $wxUSE_WEBKIT = no; then
9143 result=yes
9144 else
9145 result=no
9146 fi
9147 else
9148 result=$wxUSE_WEBKIT
9149 fi
9150
9151 { echo "$as_me:$LINENO: result: $result" >&5
9152 echo "${ECHO_T}$result" >&6; }
9153
9154
9155 enablestring=
9156 defaultval=$wxUSE_ALL_FEATURES
9157 if test -z "$defaultval"; then
9158 if test x"$enablestring" = xdisable; then
9159 defaultval=yes
9160 else
9161 defaultval=no
9162 fi
9163 fi
9164
9165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9167 # Check whether --enable-richtext was given.
9168 if test "${enable_richtext+set}" = set; then
9169 enableval=$enable_richtext;
9170 if test "$enableval" = yes; then
9171 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9172 else
9173 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9174 fi
9175
9176 else
9177
9178 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9179
9180 fi
9181
9182
9183 eval "$wx_cv_use_richtext"
9184
9185 if test x"$enablestring" = xdisable; then
9186 if test $wxUSE_RICHTEXT = no; then
9187 result=yes
9188 else
9189 result=no
9190 fi
9191 else
9192 result=$wxUSE_RICHTEXT
9193 fi
9194
9195 { echo "$as_me:$LINENO: result: $result" >&5
9196 echo "${ECHO_T}$result" >&6; }
9197
9198
9199 enablestring=
9200 defaultval=$wxUSE_ALL_FEATURES
9201 if test -z "$defaultval"; then
9202 if test x"$enablestring" = xdisable; then
9203 defaultval=yes
9204 else
9205 defaultval=no
9206 fi
9207 fi
9208
9209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9211 # Check whether --enable-graphics_ctx was given.
9212 if test "${enable_graphics_ctx+set}" = set; then
9213 enableval=$enable_graphics_ctx;
9214 if test "$enableval" = yes; then
9215 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9216 else
9217 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9218 fi
9219
9220 else
9221
9222 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9223
9224 fi
9225
9226
9227 eval "$wx_cv_use_graphics_ctx"
9228
9229 if test x"$enablestring" = xdisable; then
9230 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9231 result=yes
9232 else
9233 result=no
9234 fi
9235 else
9236 result=$wxUSE_GRAPHICS_CONTEXT
9237 fi
9238
9239 { echo "$as_me:$LINENO: result: $result" >&5
9240 echo "${ECHO_T}$result" >&6; }
9241
9242
9243 enablestring=
9244 defaultval=$wxUSE_ALL_FEATURES
9245 if test -z "$defaultval"; then
9246 if test x"$enablestring" = xdisable; then
9247 defaultval=yes
9248 else
9249 defaultval=no
9250 fi
9251 fi
9252
9253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9255 # Check whether --enable-postscript was given.
9256 if test "${enable_postscript+set}" = set; then
9257 enableval=$enable_postscript;
9258 if test "$enableval" = yes; then
9259 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9260 else
9261 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9262 fi
9263
9264 else
9265
9266 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9267
9268 fi
9269
9270
9271 eval "$wx_cv_use_postscript"
9272
9273 if test x"$enablestring" = xdisable; then
9274 if test $wxUSE_POSTSCRIPT = no; then
9275 result=yes
9276 else
9277 result=no
9278 fi
9279 else
9280 result=$wxUSE_POSTSCRIPT
9281 fi
9282
9283 { echo "$as_me:$LINENO: result: $result" >&5
9284 echo "${ECHO_T}$result" >&6; }
9285
9286
9287 enablestring=
9288 defaultval=$wxUSE_ALL_FEATURES
9289 if test -z "$defaultval"; then
9290 if test x"$enablestring" = xdisable; then
9291 defaultval=yes
9292 else
9293 defaultval=no
9294 fi
9295 fi
9296
9297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9298 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9299 # Check whether --enable-printarch was given.
9300 if test "${enable_printarch+set}" = set; then
9301 enableval=$enable_printarch;
9302 if test "$enableval" = yes; then
9303 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9304 else
9305 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9306 fi
9307
9308 else
9309
9310 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9311
9312 fi
9313
9314
9315 eval "$wx_cv_use_printarch"
9316
9317 if test x"$enablestring" = xdisable; then
9318 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9319 result=yes
9320 else
9321 result=no
9322 fi
9323 else
9324 result=$wxUSE_PRINTING_ARCHITECTURE
9325 fi
9326
9327 { echo "$as_me:$LINENO: result: $result" >&5
9328 echo "${ECHO_T}$result" >&6; }
9329
9330
9331 enablestring=
9332 defaultval=$wxUSE_ALL_FEATURES
9333 if test -z "$defaultval"; then
9334 if test x"$enablestring" = xdisable; then
9335 defaultval=yes
9336 else
9337 defaultval=no
9338 fi
9339 fi
9340
9341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9342 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9343 # Check whether --enable-svg was given.
9344 if test "${enable_svg+set}" = set; then
9345 enableval=$enable_svg;
9346 if test "$enableval" = yes; then
9347 wx_cv_use_svg='wxUSE_SVG=yes'
9348 else
9349 wx_cv_use_svg='wxUSE_SVG=no'
9350 fi
9351
9352 else
9353
9354 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9355
9356 fi
9357
9358
9359 eval "$wx_cv_use_svg"
9360
9361 if test x"$enablestring" = xdisable; then
9362 if test $wxUSE_SVG = no; then
9363 result=yes
9364 else
9365 result=no
9366 fi
9367 else
9368 result=$wxUSE_SVG
9369 fi
9370
9371 { echo "$as_me:$LINENO: result: $result" >&5
9372 echo "${ECHO_T}$result" >&6; }
9373
9374
9375
9376
9377 enablestring=
9378 defaultval=$wxUSE_ALL_FEATURES
9379 if test -z "$defaultval"; then
9380 if test x"$enablestring" = xdisable; then
9381 defaultval=yes
9382 else
9383 defaultval=no
9384 fi
9385 fi
9386
9387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9388 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9389 # Check whether --enable-clipboard was given.
9390 if test "${enable_clipboard+set}" = set; then
9391 enableval=$enable_clipboard;
9392 if test "$enableval" = yes; then
9393 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9394 else
9395 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9396 fi
9397
9398 else
9399
9400 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9401
9402 fi
9403
9404
9405 eval "$wx_cv_use_clipboard"
9406
9407 if test x"$enablestring" = xdisable; then
9408 if test $wxUSE_CLIPBOARD = no; then
9409 result=yes
9410 else
9411 result=no
9412 fi
9413 else
9414 result=$wxUSE_CLIPBOARD
9415 fi
9416
9417 { echo "$as_me:$LINENO: result: $result" >&5
9418 echo "${ECHO_T}$result" >&6; }
9419
9420
9421 enablestring=
9422 defaultval=$wxUSE_ALL_FEATURES
9423 if test -z "$defaultval"; then
9424 if test x"$enablestring" = xdisable; then
9425 defaultval=yes
9426 else
9427 defaultval=no
9428 fi
9429 fi
9430
9431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9433 # Check whether --enable-dnd was given.
9434 if test "${enable_dnd+set}" = set; then
9435 enableval=$enable_dnd;
9436 if test "$enableval" = yes; then
9437 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9438 else
9439 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9440 fi
9441
9442 else
9443
9444 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9445
9446 fi
9447
9448
9449 eval "$wx_cv_use_dnd"
9450
9451 if test x"$enablestring" = xdisable; then
9452 if test $wxUSE_DRAG_AND_DROP = no; then
9453 result=yes
9454 else
9455 result=no
9456 fi
9457 else
9458 result=$wxUSE_DRAG_AND_DROP
9459 fi
9460
9461 { echo "$as_me:$LINENO: result: $result" >&5
9462 echo "${ECHO_T}$result" >&6; }
9463
9464
9465 enablestring=
9466 defaultval=$wxUSE_ALL_FEATURES
9467 if test -z "$defaultval"; then
9468 if test x"$enablestring" = xdisable; then
9469 defaultval=yes
9470 else
9471 defaultval=no
9472 fi
9473 fi
9474
9475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9477 # Check whether --enable-metafile was given.
9478 if test "${enable_metafile+set}" = set; then
9479 enableval=$enable_metafile;
9480 if test "$enableval" = yes; then
9481 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9482 else
9483 wx_cv_use_metafile='wxUSE_METAFILE=no'
9484 fi
9485
9486 else
9487
9488 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9489
9490 fi
9491
9492
9493 eval "$wx_cv_use_metafile"
9494
9495 if test x"$enablestring" = xdisable; then
9496 if test $wxUSE_METAFILE = no; then
9497 result=yes
9498 else
9499 result=no
9500 fi
9501 else
9502 result=$wxUSE_METAFILE
9503 fi
9504
9505 { echo "$as_me:$LINENO: result: $result" >&5
9506 echo "${ECHO_T}$result" >&6; }
9507
9508
9509
9510 DEFAULT_wxUSE_CONTROLS=none
9511
9512 enablestring=disable
9513 defaultval=
9514 if test -z "$defaultval"; then
9515 if test x"$enablestring" = xdisable; then
9516 defaultval=yes
9517 else
9518 defaultval=no
9519 fi
9520 fi
9521
9522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9524 # Check whether --enable-controls was given.
9525 if test "${enable_controls+set}" = set; then
9526 enableval=$enable_controls;
9527 if test "$enableval" = yes; then
9528 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9529 else
9530 wx_cv_use_controls='wxUSE_CONTROLS=no'
9531 fi
9532
9533 else
9534
9535 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9536
9537 fi
9538
9539
9540 eval "$wx_cv_use_controls"
9541
9542 if test x"$enablestring" = xdisable; then
9543 if test $wxUSE_CONTROLS = no; then
9544 result=yes
9545 else
9546 result=no
9547 fi
9548 else
9549 result=$wxUSE_CONTROLS
9550 fi
9551
9552 { echo "$as_me:$LINENO: result: $result" >&5
9553 echo "${ECHO_T}$result" >&6; }
9554
9555
9556 if test "$wxUSE_CONTROLS" = "no"; then
9557 DEFAULT_wxUSE_ACCEL=no
9558 DEFAULT_wxUSE_ANIMATIONCTRL=no
9559 DEFAULT_wxUSE_BMPBUTTON=no
9560 DEFAULT_wxUSE_BUTTON=no
9561 DEFAULT_wxUSE_CALCTRL=no
9562 DEFAULT_wxUSE_CARET=no
9563 DEFAULT_wxUSE_CHECKBOX=no
9564 DEFAULT_wxUSE_CHECKLISTBOX=no
9565 DEFAULT_wxUSE_CHOICE=no
9566 DEFAULT_wxUSE_CHOICEBOOK=no
9567 DEFAULT_wxUSE_COLLPANE=no
9568 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9569 DEFAULT_wxUSE_COMBOBOX=no
9570 DEFAULT_wxUSE_COMBOBOX=no
9571 DEFAULT_wxUSE_DATAVIEWCTRL=no
9572 DEFAULT_wxUSE_DATEPICKCTRL=no
9573 DEFAULT_wxUSE_DETECT_SM=no
9574 DEFAULT_wxUSE_DIRPICKERCTRL=no
9575 DEFAULT_wxUSE_DISPLAY=no
9576 DEFAULT_wxUSE_FILECTRL=no
9577 DEFAULT_wxUSE_FILEPICKERCTRL=no
9578 DEFAULT_wxUSE_FONTPICKERCTRL=no
9579 DEFAULT_wxUSE_GAUGE=no
9580 DEFAULT_wxUSE_GRID=no
9581 DEFAULT_wxUSE_HEADERCTRL=no
9582 DEFAULT_wxUSE_HYPERLINKCTRL=no
9583 DEFAULT_wxUSE_IMAGLIST=no
9584 DEFAULT_wxUSE_LISTBOOK=no
9585 DEFAULT_wxUSE_LISTBOX=no
9586 DEFAULT_wxUSE_LISTCTRL=no
9587 DEFAULT_wxUSE_NOTEBOOK=no
9588 DEFAULT_wxUSE_POPUPWIN=no
9589 DEFAULT_wxUSE_RADIOBOX=no
9590 DEFAULT_wxUSE_RADIOBTN=no
9591 DEFAULT_wxUSE_REARRANGECTRL=no
9592 DEFAULT_wxUSE_SASH=no
9593 DEFAULT_wxUSE_SCROLLBAR=no
9594 DEFAULT_wxUSE_SEARCHCTRL=no
9595 DEFAULT_wxUSE_SLIDER=no
9596 DEFAULT_wxUSE_SPINBTN=no
9597 DEFAULT_wxUSE_SPINCTRL=no
9598 DEFAULT_wxUSE_SPLITTER=no
9599 DEFAULT_wxUSE_STATBMP=no
9600 DEFAULT_wxUSE_STATBOX=no
9601 DEFAULT_wxUSE_STATLINE=no
9602 DEFAULT_wxUSE_STATUSBAR=no
9603 DEFAULT_wxUSE_TIPWINDOW=no
9604 DEFAULT_wxUSE_TOGGLEBTN=no
9605 DEFAULT_wxUSE_TOOLBAR=no
9606 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9607 DEFAULT_wxUSE_TOOLBOOK=no
9608 DEFAULT_wxUSE_TOOLTIPS=no
9609 DEFAULT_wxUSE_TREEBOOK=no
9610 DEFAULT_wxUSE_TREECTRL=no
9611 fi
9612
9613
9614 enablestring=
9615 defaultval=$wxUSE_ALL_FEATURES
9616 if test -z "$defaultval"; then
9617 if test x"$enablestring" = xdisable; then
9618 defaultval=yes
9619 else
9620 defaultval=no
9621 fi
9622 fi
9623
9624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9625 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9626 # Check whether --enable-accel was given.
9627 if test "${enable_accel+set}" = set; then
9628 enableval=$enable_accel;
9629 if test "$enableval" = yes; then
9630 wx_cv_use_accel='wxUSE_ACCEL=yes'
9631 else
9632 wx_cv_use_accel='wxUSE_ACCEL=no'
9633 fi
9634
9635 else
9636
9637 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9638
9639 fi
9640
9641
9642 eval "$wx_cv_use_accel"
9643
9644 if test x"$enablestring" = xdisable; then
9645 if test $wxUSE_ACCEL = no; then
9646 result=yes
9647 else
9648 result=no
9649 fi
9650 else
9651 result=$wxUSE_ACCEL
9652 fi
9653
9654 { echo "$as_me:$LINENO: result: $result" >&5
9655 echo "${ECHO_T}$result" >&6; }
9656
9657
9658 enablestring=
9659 defaultval=$wxUSE_ALL_FEATURES
9660 if test -z "$defaultval"; then
9661 if test x"$enablestring" = xdisable; then
9662 defaultval=yes
9663 else
9664 defaultval=no
9665 fi
9666 fi
9667
9668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9669 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9670 # Check whether --enable-animatectrl was given.
9671 if test "${enable_animatectrl+set}" = set; then
9672 enableval=$enable_animatectrl;
9673 if test "$enableval" = yes; then
9674 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9675 else
9676 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9677 fi
9678
9679 else
9680
9681 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9682
9683 fi
9684
9685
9686 eval "$wx_cv_use_animatectrl"
9687
9688 if test x"$enablestring" = xdisable; then
9689 if test $wxUSE_ANIMATIONCTRL = no; then
9690 result=yes
9691 else
9692 result=no
9693 fi
9694 else
9695 result=$wxUSE_ANIMATIONCTRL
9696 fi
9697
9698 { echo "$as_me:$LINENO: result: $result" >&5
9699 echo "${ECHO_T}$result" >&6; }
9700
9701
9702 enablestring=
9703 defaultval=$wxUSE_ALL_FEATURES
9704 if test -z "$defaultval"; then
9705 if test x"$enablestring" = xdisable; then
9706 defaultval=yes
9707 else
9708 defaultval=no
9709 fi
9710 fi
9711
9712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9713 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9714 # Check whether --enable-bmpbutton was given.
9715 if test "${enable_bmpbutton+set}" = set; then
9716 enableval=$enable_bmpbutton;
9717 if test "$enableval" = yes; then
9718 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9719 else
9720 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9721 fi
9722
9723 else
9724
9725 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9726
9727 fi
9728
9729
9730 eval "$wx_cv_use_bmpbutton"
9731
9732 if test x"$enablestring" = xdisable; then
9733 if test $wxUSE_BMPBUTTON = no; then
9734 result=yes
9735 else
9736 result=no
9737 fi
9738 else
9739 result=$wxUSE_BMPBUTTON
9740 fi
9741
9742 { echo "$as_me:$LINENO: result: $result" >&5
9743 echo "${ECHO_T}$result" >&6; }
9744
9745
9746 enablestring=
9747 defaultval=$wxUSE_ALL_FEATURES
9748 if test -z "$defaultval"; then
9749 if test x"$enablestring" = xdisable; then
9750 defaultval=yes
9751 else
9752 defaultval=no
9753 fi
9754 fi
9755
9756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9757 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9758 # Check whether --enable-bmpcombobox was given.
9759 if test "${enable_bmpcombobox+set}" = set; then
9760 enableval=$enable_bmpcombobox;
9761 if test "$enableval" = yes; then
9762 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9763 else
9764 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9765 fi
9766
9767 else
9768
9769 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9770
9771 fi
9772
9773
9774 eval "$wx_cv_use_bmpcombobox"
9775
9776 if test x"$enablestring" = xdisable; then
9777 if test $wxUSE_BITMAPCOMBOBOX = no; then
9778 result=yes
9779 else
9780 result=no
9781 fi
9782 else
9783 result=$wxUSE_BITMAPCOMBOBOX
9784 fi
9785
9786 { echo "$as_me:$LINENO: result: $result" >&5
9787 echo "${ECHO_T}$result" >&6; }
9788
9789
9790 enablestring=
9791 defaultval=$wxUSE_ALL_FEATURES
9792 if test -z "$defaultval"; then
9793 if test x"$enablestring" = xdisable; then
9794 defaultval=yes
9795 else
9796 defaultval=no
9797 fi
9798 fi
9799
9800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9802 # Check whether --enable-button was given.
9803 if test "${enable_button+set}" = set; then
9804 enableval=$enable_button;
9805 if test "$enableval" = yes; then
9806 wx_cv_use_button='wxUSE_BUTTON=yes'
9807 else
9808 wx_cv_use_button='wxUSE_BUTTON=no'
9809 fi
9810
9811 else
9812
9813 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9814
9815 fi
9816
9817
9818 eval "$wx_cv_use_button"
9819
9820 if test x"$enablestring" = xdisable; then
9821 if test $wxUSE_BUTTON = no; then
9822 result=yes
9823 else
9824 result=no
9825 fi
9826 else
9827 result=$wxUSE_BUTTON
9828 fi
9829
9830 { echo "$as_me:$LINENO: result: $result" >&5
9831 echo "${ECHO_T}$result" >&6; }
9832
9833
9834 enablestring=
9835 defaultval=$wxUSE_ALL_FEATURES
9836 if test -z "$defaultval"; then
9837 if test x"$enablestring" = xdisable; then
9838 defaultval=yes
9839 else
9840 defaultval=no
9841 fi
9842 fi
9843
9844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9846 # Check whether --enable-calendar was given.
9847 if test "${enable_calendar+set}" = set; then
9848 enableval=$enable_calendar;
9849 if test "$enableval" = yes; then
9850 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9851 else
9852 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9853 fi
9854
9855 else
9856
9857 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9858
9859 fi
9860
9861
9862 eval "$wx_cv_use_calendar"
9863
9864 if test x"$enablestring" = xdisable; then
9865 if test $wxUSE_CALCTRL = no; then
9866 result=yes
9867 else
9868 result=no
9869 fi
9870 else
9871 result=$wxUSE_CALCTRL
9872 fi
9873
9874 { echo "$as_me:$LINENO: result: $result" >&5
9875 echo "${ECHO_T}$result" >&6; }
9876
9877
9878 enablestring=
9879 defaultval=$wxUSE_ALL_FEATURES
9880 if test -z "$defaultval"; then
9881 if test x"$enablestring" = xdisable; then
9882 defaultval=yes
9883 else
9884 defaultval=no
9885 fi
9886 fi
9887
9888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9890 # Check whether --enable-caret was given.
9891 if test "${enable_caret+set}" = set; then
9892 enableval=$enable_caret;
9893 if test "$enableval" = yes; then
9894 wx_cv_use_caret='wxUSE_CARET=yes'
9895 else
9896 wx_cv_use_caret='wxUSE_CARET=no'
9897 fi
9898
9899 else
9900
9901 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9902
9903 fi
9904
9905
9906 eval "$wx_cv_use_caret"
9907
9908 if test x"$enablestring" = xdisable; then
9909 if test $wxUSE_CARET = no; then
9910 result=yes
9911 else
9912 result=no
9913 fi
9914 else
9915 result=$wxUSE_CARET
9916 fi
9917
9918 { echo "$as_me:$LINENO: result: $result" >&5
9919 echo "${ECHO_T}$result" >&6; }
9920
9921
9922 enablestring=
9923 defaultval=$wxUSE_ALL_FEATURES
9924 if test -z "$defaultval"; then
9925 if test x"$enablestring" = xdisable; then
9926 defaultval=yes
9927 else
9928 defaultval=no
9929 fi
9930 fi
9931
9932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9934 # Check whether --enable-checkbox was given.
9935 if test "${enable_checkbox+set}" = set; then
9936 enableval=$enable_checkbox;
9937 if test "$enableval" = yes; then
9938 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9939 else
9940 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9941 fi
9942
9943 else
9944
9945 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9946
9947 fi
9948
9949
9950 eval "$wx_cv_use_checkbox"
9951
9952 if test x"$enablestring" = xdisable; then
9953 if test $wxUSE_CHECKBOX = no; then
9954 result=yes
9955 else
9956 result=no
9957 fi
9958 else
9959 result=$wxUSE_CHECKBOX
9960 fi
9961
9962 { echo "$as_me:$LINENO: result: $result" >&5
9963 echo "${ECHO_T}$result" >&6; }
9964
9965
9966 enablestring=
9967 defaultval=$wxUSE_ALL_FEATURES
9968 if test -z "$defaultval"; then
9969 if test x"$enablestring" = xdisable; then
9970 defaultval=yes
9971 else
9972 defaultval=no
9973 fi
9974 fi
9975
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9978 # Check whether --enable-checklst was given.
9979 if test "${enable_checklst+set}" = set; then
9980 enableval=$enable_checklst;
9981 if test "$enableval" = yes; then
9982 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9983 else
9984 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9985 fi
9986
9987 else
9988
9989 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9990
9991 fi
9992
9993
9994 eval "$wx_cv_use_checklst"
9995
9996 if test x"$enablestring" = xdisable; then
9997 if test $wxUSE_CHECKLST = no; then
9998 result=yes
9999 else
10000 result=no
10001 fi
10002 else
10003 result=$wxUSE_CHECKLST
10004 fi
10005
10006 { echo "$as_me:$LINENO: result: $result" >&5
10007 echo "${ECHO_T}$result" >&6; }
10008
10009
10010 enablestring=
10011 defaultval=$wxUSE_ALL_FEATURES
10012 if test -z "$defaultval"; then
10013 if test x"$enablestring" = xdisable; then
10014 defaultval=yes
10015 else
10016 defaultval=no
10017 fi
10018 fi
10019
10020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10021 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10022 # Check whether --enable-choice was given.
10023 if test "${enable_choice+set}" = set; then
10024 enableval=$enable_choice;
10025 if test "$enableval" = yes; then
10026 wx_cv_use_choice='wxUSE_CHOICE=yes'
10027 else
10028 wx_cv_use_choice='wxUSE_CHOICE=no'
10029 fi
10030
10031 else
10032
10033 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10034
10035 fi
10036
10037
10038 eval "$wx_cv_use_choice"
10039
10040 if test x"$enablestring" = xdisable; then
10041 if test $wxUSE_CHOICE = no; then
10042 result=yes
10043 else
10044 result=no
10045 fi
10046 else
10047 result=$wxUSE_CHOICE
10048 fi
10049
10050 { echo "$as_me:$LINENO: result: $result" >&5
10051 echo "${ECHO_T}$result" >&6; }
10052
10053
10054 enablestring=
10055 defaultval=$wxUSE_ALL_FEATURES
10056 if test -z "$defaultval"; then
10057 if test x"$enablestring" = xdisable; then
10058 defaultval=yes
10059 else
10060 defaultval=no
10061 fi
10062 fi
10063
10064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10065 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10066 # Check whether --enable-choicebook was given.
10067 if test "${enable_choicebook+set}" = set; then
10068 enableval=$enable_choicebook;
10069 if test "$enableval" = yes; then
10070 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10071 else
10072 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10073 fi
10074
10075 else
10076
10077 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10078
10079 fi
10080
10081
10082 eval "$wx_cv_use_choicebook"
10083
10084 if test x"$enablestring" = xdisable; then
10085 if test $wxUSE_CHOICEBOOK = no; then
10086 result=yes
10087 else
10088 result=no
10089 fi
10090 else
10091 result=$wxUSE_CHOICEBOOK
10092 fi
10093
10094 { echo "$as_me:$LINENO: result: $result" >&5
10095 echo "${ECHO_T}$result" >&6; }
10096
10097
10098 enablestring=
10099 defaultval=$wxUSE_ALL_FEATURES
10100 if test -z "$defaultval"; then
10101 if test x"$enablestring" = xdisable; then
10102 defaultval=yes
10103 else
10104 defaultval=no
10105 fi
10106 fi
10107
10108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10110 # Check whether --enable-collpane was given.
10111 if test "${enable_collpane+set}" = set; then
10112 enableval=$enable_collpane;
10113 if test "$enableval" = yes; then
10114 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10115 else
10116 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10117 fi
10118
10119 else
10120
10121 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10122
10123 fi
10124
10125
10126 eval "$wx_cv_use_collpane"
10127
10128 if test x"$enablestring" = xdisable; then
10129 if test $wxUSE_COLLPANE = no; then
10130 result=yes
10131 else
10132 result=no
10133 fi
10134 else
10135 result=$wxUSE_COLLPANE
10136 fi
10137
10138 { echo "$as_me:$LINENO: result: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10140
10141
10142 enablestring=
10143 defaultval=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x"$enablestring" = xdisable; then
10146 defaultval=yes
10147 else
10148 defaultval=no
10149 fi
10150 fi
10151
10152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10154 # Check whether --enable-colourpicker was given.
10155 if test "${enable_colourpicker+set}" = set; then
10156 enableval=$enable_colourpicker;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10159 else
10160 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10161 fi
10162
10163 else
10164
10165 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10166
10167 fi
10168
10169
10170 eval "$wx_cv_use_colourpicker"
10171
10172 if test x"$enablestring" = xdisable; then
10173 if test $wxUSE_COLOURPICKERCTRL = no; then
10174 result=yes
10175 else
10176 result=no
10177 fi
10178 else
10179 result=$wxUSE_COLOURPICKERCTRL
10180 fi
10181
10182 { echo "$as_me:$LINENO: result: $result" >&5
10183 echo "${ECHO_T}$result" >&6; }
10184
10185
10186 enablestring=
10187 defaultval=$wxUSE_ALL_FEATURES
10188 if test -z "$defaultval"; then
10189 if test x"$enablestring" = xdisable; then
10190 defaultval=yes
10191 else
10192 defaultval=no
10193 fi
10194 fi
10195
10196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10198 # Check whether --enable-combobox was given.
10199 if test "${enable_combobox+set}" = set; then
10200 enableval=$enable_combobox;
10201 if test "$enableval" = yes; then
10202 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10203 else
10204 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10205 fi
10206
10207 else
10208
10209 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10210
10211 fi
10212
10213
10214 eval "$wx_cv_use_combobox"
10215
10216 if test x"$enablestring" = xdisable; then
10217 if test $wxUSE_COMBOBOX = no; then
10218 result=yes
10219 else
10220 result=no
10221 fi
10222 else
10223 result=$wxUSE_COMBOBOX
10224 fi
10225
10226 { echo "$as_me:$LINENO: result: $result" >&5
10227 echo "${ECHO_T}$result" >&6; }
10228
10229
10230 enablestring=
10231 defaultval=$wxUSE_ALL_FEATURES
10232 if test -z "$defaultval"; then
10233 if test x"$enablestring" = xdisable; then
10234 defaultval=yes
10235 else
10236 defaultval=no
10237 fi
10238 fi
10239
10240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10241 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10242 # Check whether --enable-comboctrl was given.
10243 if test "${enable_comboctrl+set}" = set; then
10244 enableval=$enable_comboctrl;
10245 if test "$enableval" = yes; then
10246 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10247 else
10248 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10249 fi
10250
10251 else
10252
10253 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10254
10255 fi
10256
10257
10258 eval "$wx_cv_use_comboctrl"
10259
10260 if test x"$enablestring" = xdisable; then
10261 if test $wxUSE_COMBOCTRL = no; then
10262 result=yes
10263 else
10264 result=no
10265 fi
10266 else
10267 result=$wxUSE_COMBOCTRL
10268 fi
10269
10270 { echo "$as_me:$LINENO: result: $result" >&5
10271 echo "${ECHO_T}$result" >&6; }
10272
10273
10274 enablestring=
10275 defaultval=$wxUSE_ALL_FEATURES
10276 if test -z "$defaultval"; then
10277 if test x"$enablestring" = xdisable; then
10278 defaultval=yes
10279 else
10280 defaultval=no
10281 fi
10282 fi
10283
10284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10286 # Check whether --enable-dataviewctrl was given.
10287 if test "${enable_dataviewctrl+set}" = set; then
10288 enableval=$enable_dataviewctrl;
10289 if test "$enableval" = yes; then
10290 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10291 else
10292 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10293 fi
10294
10295 else
10296
10297 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10298
10299 fi
10300
10301
10302 eval "$wx_cv_use_dataviewctrl"
10303
10304 if test x"$enablestring" = xdisable; then
10305 if test $wxUSE_DATAVIEWCTRL = no; then
10306 result=yes
10307 else
10308 result=no
10309 fi
10310 else
10311 result=$wxUSE_DATAVIEWCTRL
10312 fi
10313
10314 { echo "$as_me:$LINENO: result: $result" >&5
10315 echo "${ECHO_T}$result" >&6; }
10316
10317
10318 enablestring=
10319 defaultval=$wxUSE_ALL_FEATURES
10320 if test -z "$defaultval"; then
10321 if test x"$enablestring" = xdisable; then
10322 defaultval=yes
10323 else
10324 defaultval=no
10325 fi
10326 fi
10327
10328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10330 # Check whether --enable-datepick was given.
10331 if test "${enable_datepick+set}" = set; then
10332 enableval=$enable_datepick;
10333 if test "$enableval" = yes; then
10334 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10335 else
10336 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10337 fi
10338
10339 else
10340
10341 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10342
10343 fi
10344
10345
10346 eval "$wx_cv_use_datepick"
10347
10348 if test x"$enablestring" = xdisable; then
10349 if test $wxUSE_DATEPICKCTRL = no; then
10350 result=yes
10351 else
10352 result=no
10353 fi
10354 else
10355 result=$wxUSE_DATEPICKCTRL
10356 fi
10357
10358 { echo "$as_me:$LINENO: result: $result" >&5
10359 echo "${ECHO_T}$result" >&6; }
10360
10361
10362 enablestring=
10363 defaultval=$wxUSE_ALL_FEATURES
10364 if test -z "$defaultval"; then
10365 if test x"$enablestring" = xdisable; then
10366 defaultval=yes
10367 else
10368 defaultval=no
10369 fi
10370 fi
10371
10372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10374 # Check whether --enable-detect_sm was given.
10375 if test "${enable_detect_sm+set}" = set; then
10376 enableval=$enable_detect_sm;
10377 if test "$enableval" = yes; then
10378 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10379 else
10380 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10381 fi
10382
10383 else
10384
10385 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10386
10387 fi
10388
10389
10390 eval "$wx_cv_use_detect_sm"
10391
10392 if test x"$enablestring" = xdisable; then
10393 if test $wxUSE_DETECT_SM = no; then
10394 result=yes
10395 else
10396 result=no
10397 fi
10398 else
10399 result=$wxUSE_DETECT_SM
10400 fi
10401
10402 { echo "$as_me:$LINENO: result: $result" >&5
10403 echo "${ECHO_T}$result" >&6; }
10404
10405
10406 enablestring=
10407 defaultval=$wxUSE_ALL_FEATURES
10408 if test -z "$defaultval"; then
10409 if test x"$enablestring" = xdisable; then
10410 defaultval=yes
10411 else
10412 defaultval=no
10413 fi
10414 fi
10415
10416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10417 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10418 # Check whether --enable-dirpicker was given.
10419 if test "${enable_dirpicker+set}" = set; then
10420 enableval=$enable_dirpicker;
10421 if test "$enableval" = yes; then
10422 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10423 else
10424 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10425 fi
10426
10427 else
10428
10429 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10430
10431 fi
10432
10433
10434 eval "$wx_cv_use_dirpicker"
10435
10436 if test x"$enablestring" = xdisable; then
10437 if test $wxUSE_DIRPICKERCTRL = no; then
10438 result=yes
10439 else
10440 result=no
10441 fi
10442 else
10443 result=$wxUSE_DIRPICKERCTRL
10444 fi
10445
10446 { echo "$as_me:$LINENO: result: $result" >&5
10447 echo "${ECHO_T}$result" >&6; }
10448
10449
10450 enablestring=
10451 defaultval=$wxUSE_ALL_FEATURES
10452 if test -z "$defaultval"; then
10453 if test x"$enablestring" = xdisable; then
10454 defaultval=yes
10455 else
10456 defaultval=no
10457 fi
10458 fi
10459
10460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10461 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10462 # Check whether --enable-display was given.
10463 if test "${enable_display+set}" = set; then
10464 enableval=$enable_display;
10465 if test "$enableval" = yes; then
10466 wx_cv_use_display='wxUSE_DISPLAY=yes'
10467 else
10468 wx_cv_use_display='wxUSE_DISPLAY=no'
10469 fi
10470
10471 else
10472
10473 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10474
10475 fi
10476
10477
10478 eval "$wx_cv_use_display"
10479
10480 if test x"$enablestring" = xdisable; then
10481 if test $wxUSE_DISPLAY = no; then
10482 result=yes
10483 else
10484 result=no
10485 fi
10486 else
10487 result=$wxUSE_DISPLAY
10488 fi
10489
10490 { echo "$as_me:$LINENO: result: $result" >&5
10491 echo "${ECHO_T}$result" >&6; }
10492
10493
10494 enablestring=
10495 defaultval=$wxUSE_ALL_FEATURES
10496 if test -z "$defaultval"; then
10497 if test x"$enablestring" = xdisable; then
10498 defaultval=yes
10499 else
10500 defaultval=no
10501 fi
10502 fi
10503
10504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10505 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10506 # Check whether --enable-editablebox was given.
10507 if test "${enable_editablebox+set}" = set; then
10508 enableval=$enable_editablebox;
10509 if test "$enableval" = yes; then
10510 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10511 else
10512 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10513 fi
10514
10515 else
10516
10517 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10518
10519 fi
10520
10521
10522 eval "$wx_cv_use_editablebox"
10523
10524 if test x"$enablestring" = xdisable; then
10525 if test $wxUSE_EDITABLELISTBOX = no; then
10526 result=yes
10527 else
10528 result=no
10529 fi
10530 else
10531 result=$wxUSE_EDITABLELISTBOX
10532 fi
10533
10534 { echo "$as_me:$LINENO: result: $result" >&5
10535 echo "${ECHO_T}$result" >&6; }
10536
10537
10538 enablestring=
10539 defaultval=$wxUSE_ALL_FEATURES
10540 if test -z "$defaultval"; then
10541 if test x"$enablestring" = xdisable; then
10542 defaultval=yes
10543 else
10544 defaultval=no
10545 fi
10546 fi
10547
10548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10549 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10550 # Check whether --enable-filectrl was given.
10551 if test "${enable_filectrl+set}" = set; then
10552 enableval=$enable_filectrl;
10553 if test "$enableval" = yes; then
10554 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10555 else
10556 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10557 fi
10558
10559 else
10560
10561 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10562
10563 fi
10564
10565
10566 eval "$wx_cv_use_filectrl"
10567
10568 if test x"$enablestring" = xdisable; then
10569 if test $wxUSE_FILECTRL = no; then
10570 result=yes
10571 else
10572 result=no
10573 fi
10574 else
10575 result=$wxUSE_FILECTRL
10576 fi
10577
10578 { echo "$as_me:$LINENO: result: $result" >&5
10579 echo "${ECHO_T}$result" >&6; }
10580
10581
10582 enablestring=
10583 defaultval=$wxUSE_ALL_FEATURES
10584 if test -z "$defaultval"; then
10585 if test x"$enablestring" = xdisable; then
10586 defaultval=yes
10587 else
10588 defaultval=no
10589 fi
10590 fi
10591
10592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10593 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10594 # Check whether --enable-filepicker was given.
10595 if test "${enable_filepicker+set}" = set; then
10596 enableval=$enable_filepicker;
10597 if test "$enableval" = yes; then
10598 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10599 else
10600 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10601 fi
10602
10603 else
10604
10605 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10606
10607 fi
10608
10609
10610 eval "$wx_cv_use_filepicker"
10611
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_FILEPICKERCTRL = no; then
10614 result=yes
10615 else
10616 result=no
10617 fi
10618 else
10619 result=$wxUSE_FILEPICKERCTRL
10620 fi
10621
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10624
10625
10626 enablestring=
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10630 defaultval=yes
10631 else
10632 defaultval=no
10633 fi
10634 fi
10635
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10638 # Check whether --enable-fontpicker was given.
10639 if test "${enable_fontpicker+set}" = set; then
10640 enableval=$enable_fontpicker;
10641 if test "$enableval" = yes; then
10642 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10643 else
10644 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10645 fi
10646
10647 else
10648
10649 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10650
10651 fi
10652
10653
10654 eval "$wx_cv_use_fontpicker"
10655
10656 if test x"$enablestring" = xdisable; then
10657 if test $wxUSE_FONTPICKERCTRL = no; then
10658 result=yes
10659 else
10660 result=no
10661 fi
10662 else
10663 result=$wxUSE_FONTPICKERCTRL
10664 fi
10665
10666 { echo "$as_me:$LINENO: result: $result" >&5
10667 echo "${ECHO_T}$result" >&6; }
10668
10669
10670 enablestring=
10671 defaultval=$wxUSE_ALL_FEATURES
10672 if test -z "$defaultval"; then
10673 if test x"$enablestring" = xdisable; then
10674 defaultval=yes
10675 else
10676 defaultval=no
10677 fi
10678 fi
10679
10680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10682 # Check whether --enable-gauge was given.
10683 if test "${enable_gauge+set}" = set; then
10684 enableval=$enable_gauge;
10685 if test "$enableval" = yes; then
10686 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10687 else
10688 wx_cv_use_gauge='wxUSE_GAUGE=no'
10689 fi
10690
10691 else
10692
10693 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10694
10695 fi
10696
10697
10698 eval "$wx_cv_use_gauge"
10699
10700 if test x"$enablestring" = xdisable; then
10701 if test $wxUSE_GAUGE = no; then
10702 result=yes
10703 else
10704 result=no
10705 fi
10706 else
10707 result=$wxUSE_GAUGE
10708 fi
10709
10710 { echo "$as_me:$LINENO: result: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10712
10713
10714 enablestring=
10715 defaultval=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x"$enablestring" = xdisable; then
10718 defaultval=yes
10719 else
10720 defaultval=no
10721 fi
10722 fi
10723
10724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10726 # Check whether --enable-grid was given.
10727 if test "${enable_grid+set}" = set; then
10728 enableval=$enable_grid;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_grid='wxUSE_GRID=yes'
10731 else
10732 wx_cv_use_grid='wxUSE_GRID=no'
10733 fi
10734
10735 else
10736
10737 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10738
10739 fi
10740
10741
10742 eval "$wx_cv_use_grid"
10743
10744 if test x"$enablestring" = xdisable; then
10745 if test $wxUSE_GRID = no; then
10746 result=yes
10747 else
10748 result=no
10749 fi
10750 else
10751 result=$wxUSE_GRID
10752 fi
10753
10754 { echo "$as_me:$LINENO: result: $result" >&5
10755 echo "${ECHO_T}$result" >&6; }
10756
10757
10758 enablestring=
10759 defaultval=$wxUSE_ALL_FEATURES
10760 if test -z "$defaultval"; then
10761 if test x"$enablestring" = xdisable; then
10762 defaultval=yes
10763 else
10764 defaultval=no
10765 fi
10766 fi
10767
10768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10770 # Check whether --enable-headerctrl was given.
10771 if test "${enable_headerctrl+set}" = set; then
10772 enableval=$enable_headerctrl;
10773 if test "$enableval" = yes; then
10774 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10775 else
10776 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10777 fi
10778
10779 else
10780
10781 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10782
10783 fi
10784
10785
10786 eval "$wx_cv_use_headerctrl"
10787
10788 if test x"$enablestring" = xdisable; then
10789 if test $wxUSE_HEADERCTRL = no; then
10790 result=yes
10791 else
10792 result=no
10793 fi
10794 else
10795 result=$wxUSE_HEADERCTRL
10796 fi
10797
10798 { echo "$as_me:$LINENO: result: $result" >&5
10799 echo "${ECHO_T}$result" >&6; }
10800
10801
10802 enablestring=
10803 defaultval=$wxUSE_ALL_FEATURES
10804 if test -z "$defaultval"; then
10805 if test x"$enablestring" = xdisable; then
10806 defaultval=yes
10807 else
10808 defaultval=no
10809 fi
10810 fi
10811
10812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10813 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10814 # Check whether --enable-hyperlink was given.
10815 if test "${enable_hyperlink+set}" = set; then
10816 enableval=$enable_hyperlink;
10817 if test "$enableval" = yes; then
10818 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10819 else
10820 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10821 fi
10822
10823 else
10824
10825 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10826
10827 fi
10828
10829
10830 eval "$wx_cv_use_hyperlink"
10831
10832 if test x"$enablestring" = xdisable; then
10833 if test $wxUSE_HYPERLINKCTRL = no; then
10834 result=yes
10835 else
10836 result=no
10837 fi
10838 else
10839 result=$wxUSE_HYPERLINKCTRL
10840 fi
10841
10842 { echo "$as_me:$LINENO: result: $result" >&5
10843 echo "${ECHO_T}$result" >&6; }
10844
10845
10846 enablestring=
10847 defaultval=$wxUSE_ALL_FEATURES
10848 if test -z "$defaultval"; then
10849 if test x"$enablestring" = xdisable; then
10850 defaultval=yes
10851 else
10852 defaultval=no
10853 fi
10854 fi
10855
10856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10858 # Check whether --enable-imaglist was given.
10859 if test "${enable_imaglist+set}" = set; then
10860 enableval=$enable_imaglist;
10861 if test "$enableval" = yes; then
10862 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10863 else
10864 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10865 fi
10866
10867 else
10868
10869 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10870
10871 fi
10872
10873
10874 eval "$wx_cv_use_imaglist"
10875
10876 if test x"$enablestring" = xdisable; then
10877 if test $wxUSE_IMAGLIST = no; then
10878 result=yes
10879 else
10880 result=no
10881 fi
10882 else
10883 result=$wxUSE_IMAGLIST
10884 fi
10885
10886 { echo "$as_me:$LINENO: result: $result" >&5
10887 echo "${ECHO_T}$result" >&6; }
10888
10889
10890 enablestring=
10891 defaultval=$wxUSE_ALL_FEATURES
10892 if test -z "$defaultval"; then
10893 if test x"$enablestring" = xdisable; then
10894 defaultval=yes
10895 else
10896 defaultval=no
10897 fi
10898 fi
10899
10900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
10901 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10902 # Check whether --enable-infobar was given.
10903 if test "${enable_infobar+set}" = set; then
10904 enableval=$enable_infobar;
10905 if test "$enableval" = yes; then
10906 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
10907 else
10908 wx_cv_use_infobar='wxUSE_INFOBAR=no'
10909 fi
10910
10911 else
10912
10913 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10914
10915 fi
10916
10917
10918 eval "$wx_cv_use_infobar"
10919
10920 if test x"$enablestring" = xdisable; then
10921 if test $wxUSE_INFOBAR = no; then
10922 result=yes
10923 else
10924 result=no
10925 fi
10926 else
10927 result=$wxUSE_INFOBAR
10928 fi
10929
10930 { echo "$as_me:$LINENO: result: $result" >&5
10931 echo "${ECHO_T}$result" >&6; }
10932
10933
10934 enablestring=
10935 defaultval=$wxUSE_ALL_FEATURES
10936 if test -z "$defaultval"; then
10937 if test x"$enablestring" = xdisable; then
10938 defaultval=yes
10939 else
10940 defaultval=no
10941 fi
10942 fi
10943
10944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10945 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10946 # Check whether --enable-listbook was given.
10947 if test "${enable_listbook+set}" = set; then
10948 enableval=$enable_listbook;
10949 if test "$enableval" = yes; then
10950 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10951 else
10952 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10953 fi
10954
10955 else
10956
10957 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10958
10959 fi
10960
10961
10962 eval "$wx_cv_use_listbook"
10963
10964 if test x"$enablestring" = xdisable; then
10965 if test $wxUSE_LISTBOOK = no; then
10966 result=yes
10967 else
10968 result=no
10969 fi
10970 else
10971 result=$wxUSE_LISTBOOK
10972 fi
10973
10974 { echo "$as_me:$LINENO: result: $result" >&5
10975 echo "${ECHO_T}$result" >&6; }
10976
10977
10978 enablestring=
10979 defaultval=$wxUSE_ALL_FEATURES
10980 if test -z "$defaultval"; then
10981 if test x"$enablestring" = xdisable; then
10982 defaultval=yes
10983 else
10984 defaultval=no
10985 fi
10986 fi
10987
10988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10989 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10990 # Check whether --enable-listbox was given.
10991 if test "${enable_listbox+set}" = set; then
10992 enableval=$enable_listbox;
10993 if test "$enableval" = yes; then
10994 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10995 else
10996 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10997 fi
10998
10999 else
11000
11001 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11002
11003 fi
11004
11005
11006 eval "$wx_cv_use_listbox"
11007
11008 if test x"$enablestring" = xdisable; then
11009 if test $wxUSE_LISTBOX = no; then
11010 result=yes
11011 else
11012 result=no
11013 fi
11014 else
11015 result=$wxUSE_LISTBOX
11016 fi
11017
11018 { echo "$as_me:$LINENO: result: $result" >&5
11019 echo "${ECHO_T}$result" >&6; }
11020
11021
11022 enablestring=
11023 defaultval=$wxUSE_ALL_FEATURES
11024 if test -z "$defaultval"; then
11025 if test x"$enablestring" = xdisable; then
11026 defaultval=yes
11027 else
11028 defaultval=no
11029 fi
11030 fi
11031
11032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11034 # Check whether --enable-listctrl was given.
11035 if test "${enable_listctrl+set}" = set; then
11036 enableval=$enable_listctrl;
11037 if test "$enableval" = yes; then
11038 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11039 else
11040 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11041 fi
11042
11043 else
11044
11045 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11046
11047 fi
11048
11049
11050 eval "$wx_cv_use_listctrl"
11051
11052 if test x"$enablestring" = xdisable; then
11053 if test $wxUSE_LISTCTRL = no; then
11054 result=yes
11055 else
11056 result=no
11057 fi
11058 else
11059 result=$wxUSE_LISTCTRL
11060 fi
11061
11062 { echo "$as_me:$LINENO: result: $result" >&5
11063 echo "${ECHO_T}$result" >&6; }
11064
11065
11066 enablestring=
11067 defaultval=$wxUSE_ALL_FEATURES
11068 if test -z "$defaultval"; then
11069 if test x"$enablestring" = xdisable; then
11070 defaultval=yes
11071 else
11072 defaultval=no
11073 fi
11074 fi
11075
11076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11078 # Check whether --enable-notebook was given.
11079 if test "${enable_notebook+set}" = set; then
11080 enableval=$enable_notebook;
11081 if test "$enableval" = yes; then
11082 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11083 else
11084 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11085 fi
11086
11087 else
11088
11089 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11090
11091 fi
11092
11093
11094 eval "$wx_cv_use_notebook"
11095
11096 if test x"$enablestring" = xdisable; then
11097 if test $wxUSE_NOTEBOOK = no; then
11098 result=yes
11099 else
11100 result=no
11101 fi
11102 else
11103 result=$wxUSE_NOTEBOOK
11104 fi
11105
11106 { echo "$as_me:$LINENO: result: $result" >&5
11107 echo "${ECHO_T}$result" >&6; }
11108
11109
11110 enablestring=
11111 defaultval=$wxUSE_ALL_FEATURES
11112 if test -z "$defaultval"; then
11113 if test x"$enablestring" = xdisable; then
11114 defaultval=yes
11115 else
11116 defaultval=no
11117 fi
11118 fi
11119
11120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11121 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11122 # Check whether --enable-notifmsg was given.
11123 if test "${enable_notifmsg+set}" = set; then
11124 enableval=$enable_notifmsg;
11125 if test "$enableval" = yes; then
11126 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11127 else
11128 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11129 fi
11130
11131 else
11132
11133 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11134
11135 fi
11136
11137
11138 eval "$wx_cv_use_notifmsg"
11139
11140 if test x"$enablestring" = xdisable; then
11141 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11142 result=yes
11143 else
11144 result=no
11145 fi
11146 else
11147 result=$wxUSE_NOTIFICATION_MESSAGE
11148 fi
11149
11150 { echo "$as_me:$LINENO: result: $result" >&5
11151 echo "${ECHO_T}$result" >&6; }
11152
11153
11154 enablestring=
11155 defaultval=$wxUSE_ALL_FEATURES
11156 if test -z "$defaultval"; then
11157 if test x"$enablestring" = xdisable; then
11158 defaultval=yes
11159 else
11160 defaultval=no
11161 fi
11162 fi
11163
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11166 # Check whether --enable-odcombobox was given.
11167 if test "${enable_odcombobox+set}" = set; then
11168 enableval=$enable_odcombobox;
11169 if test "$enableval" = yes; then
11170 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11171 else
11172 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11173 fi
11174
11175 else
11176
11177 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11178
11179 fi
11180
11181
11182 eval "$wx_cv_use_odcombobox"
11183
11184 if test x"$enablestring" = xdisable; then
11185 if test $wxUSE_ODCOMBOBOX = no; then
11186 result=yes
11187 else
11188 result=no
11189 fi
11190 else
11191 result=$wxUSE_ODCOMBOBOX
11192 fi
11193
11194 { echo "$as_me:$LINENO: result: $result" >&5
11195 echo "${ECHO_T}$result" >&6; }
11196
11197
11198 enablestring=
11199 defaultval=$wxUSE_ALL_FEATURES
11200 if test -z "$defaultval"; then
11201 if test x"$enablestring" = xdisable; then
11202 defaultval=yes
11203 else
11204 defaultval=no
11205 fi
11206 fi
11207
11208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11209 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11210 # Check whether --enable-popupwin was given.
11211 if test "${enable_popupwin+set}" = set; then
11212 enableval=$enable_popupwin;
11213 if test "$enableval" = yes; then
11214 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11215 else
11216 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11217 fi
11218
11219 else
11220
11221 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11222
11223 fi
11224
11225
11226 eval "$wx_cv_use_popupwin"
11227
11228 if test x"$enablestring" = xdisable; then
11229 if test $wxUSE_POPUPWIN = no; then
11230 result=yes
11231 else
11232 result=no
11233 fi
11234 else
11235 result=$wxUSE_POPUPWIN
11236 fi
11237
11238 { echo "$as_me:$LINENO: result: $result" >&5
11239 echo "${ECHO_T}$result" >&6; }
11240
11241
11242 enablestring=
11243 defaultval=$wxUSE_ALL_FEATURES
11244 if test -z "$defaultval"; then
11245 if test x"$enablestring" = xdisable; then
11246 defaultval=yes
11247 else
11248 defaultval=no
11249 fi
11250 fi
11251
11252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11253 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11254 # Check whether --enable-radiobox was given.
11255 if test "${enable_radiobox+set}" = set; then
11256 enableval=$enable_radiobox;
11257 if test "$enableval" = yes; then
11258 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11259 else
11260 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11261 fi
11262
11263 else
11264
11265 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11266
11267 fi
11268
11269
11270 eval "$wx_cv_use_radiobox"
11271
11272 if test x"$enablestring" = xdisable; then
11273 if test $wxUSE_RADIOBOX = no; then
11274 result=yes
11275 else
11276 result=no
11277 fi
11278 else
11279 result=$wxUSE_RADIOBOX
11280 fi
11281
11282 { echo "$as_me:$LINENO: result: $result" >&5
11283 echo "${ECHO_T}$result" >&6; }
11284
11285
11286 enablestring=
11287 defaultval=$wxUSE_ALL_FEATURES
11288 if test -z "$defaultval"; then
11289 if test x"$enablestring" = xdisable; then
11290 defaultval=yes
11291 else
11292 defaultval=no
11293 fi
11294 fi
11295
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11298 # Check whether --enable-radiobtn was given.
11299 if test "${enable_radiobtn+set}" = set; then
11300 enableval=$enable_radiobtn;
11301 if test "$enableval" = yes; then
11302 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11303 else
11304 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11305 fi
11306
11307 else
11308
11309 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11310
11311 fi
11312
11313
11314 eval "$wx_cv_use_radiobtn"
11315
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_RADIOBTN = no; then
11318 result=yes
11319 else
11320 result=no
11321 fi
11322 else
11323 result=$wxUSE_RADIOBTN
11324 fi
11325
11326 { echo "$as_me:$LINENO: result: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11328
11329
11330 enablestring=
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11334 defaultval=yes
11335 else
11336 defaultval=no
11337 fi
11338 fi
11339
11340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11342 # Check whether --enable-rearrangectrl was given.
11343 if test "${enable_rearrangectrl+set}" = set; then
11344 enableval=$enable_rearrangectrl;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11347 else
11348 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11349 fi
11350
11351 else
11352
11353 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11354
11355 fi
11356
11357
11358 eval "$wx_cv_use_rearrangectrl"
11359
11360 if test x"$enablestring" = xdisable; then
11361 if test $wxUSE_REARRANGECTRL = no; then
11362 result=yes
11363 else
11364 result=no
11365 fi
11366 else
11367 result=$wxUSE_REARRANGECTRL
11368 fi
11369
11370 { echo "$as_me:$LINENO: result: $result" >&5
11371 echo "${ECHO_T}$result" >&6; }
11372
11373
11374 enablestring=
11375 defaultval=$wxUSE_ALL_FEATURES
11376 if test -z "$defaultval"; then
11377 if test x"$enablestring" = xdisable; then
11378 defaultval=yes
11379 else
11380 defaultval=no
11381 fi
11382 fi
11383
11384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11385 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11386 # Check whether --enable-sash was given.
11387 if test "${enable_sash+set}" = set; then
11388 enableval=$enable_sash;
11389 if test "$enableval" = yes; then
11390 wx_cv_use_sash='wxUSE_SASH=yes'
11391 else
11392 wx_cv_use_sash='wxUSE_SASH=no'
11393 fi
11394
11395 else
11396
11397 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11398
11399 fi
11400
11401
11402 eval "$wx_cv_use_sash"
11403
11404 if test x"$enablestring" = xdisable; then
11405 if test $wxUSE_SASH = no; then
11406 result=yes
11407 else
11408 result=no
11409 fi
11410 else
11411 result=$wxUSE_SASH
11412 fi
11413
11414 { echo "$as_me:$LINENO: result: $result" >&5
11415 echo "${ECHO_T}$result" >&6; }
11416
11417
11418 enablestring=
11419 defaultval=$wxUSE_ALL_FEATURES
11420 if test -z "$defaultval"; then
11421 if test x"$enablestring" = xdisable; then
11422 defaultval=yes
11423 else
11424 defaultval=no
11425 fi
11426 fi
11427
11428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11429 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11430 # Check whether --enable-scrollbar was given.
11431 if test "${enable_scrollbar+set}" = set; then
11432 enableval=$enable_scrollbar;
11433 if test "$enableval" = yes; then
11434 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11435 else
11436 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11437 fi
11438
11439 else
11440
11441 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11442
11443 fi
11444
11445
11446 eval "$wx_cv_use_scrollbar"
11447
11448 if test x"$enablestring" = xdisable; then
11449 if test $wxUSE_SCROLLBAR = no; then
11450 result=yes
11451 else
11452 result=no
11453 fi
11454 else
11455 result=$wxUSE_SCROLLBAR
11456 fi
11457
11458 { echo "$as_me:$LINENO: result: $result" >&5
11459 echo "${ECHO_T}$result" >&6; }
11460
11461
11462 enablestring=
11463 defaultval=$wxUSE_ALL_FEATURES
11464 if test -z "$defaultval"; then
11465 if test x"$enablestring" = xdisable; then
11466 defaultval=yes
11467 else
11468 defaultval=no
11469 fi
11470 fi
11471
11472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11473 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11474 # Check whether --enable-searchctrl was given.
11475 if test "${enable_searchctrl+set}" = set; then
11476 enableval=$enable_searchctrl;
11477 if test "$enableval" = yes; then
11478 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11479 else
11480 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11481 fi
11482
11483 else
11484
11485 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11486
11487 fi
11488
11489
11490 eval "$wx_cv_use_searchctrl"
11491
11492 if test x"$enablestring" = xdisable; then
11493 if test $wxUSE_SEARCHCTRL = no; then
11494 result=yes
11495 else
11496 result=no
11497 fi
11498 else
11499 result=$wxUSE_SEARCHCTRL
11500 fi
11501
11502 { echo "$as_me:$LINENO: result: $result" >&5
11503 echo "${ECHO_T}$result" >&6; }
11504
11505
11506 enablestring=
11507 defaultval=$wxUSE_ALL_FEATURES
11508 if test -z "$defaultval"; then
11509 if test x"$enablestring" = xdisable; then
11510 defaultval=yes
11511 else
11512 defaultval=no
11513 fi
11514 fi
11515
11516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11518 # Check whether --enable-slider was given.
11519 if test "${enable_slider+set}" = set; then
11520 enableval=$enable_slider;
11521 if test "$enableval" = yes; then
11522 wx_cv_use_slider='wxUSE_SLIDER=yes'
11523 else
11524 wx_cv_use_slider='wxUSE_SLIDER=no'
11525 fi
11526
11527 else
11528
11529 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11530
11531 fi
11532
11533
11534 eval "$wx_cv_use_slider"
11535
11536 if test x"$enablestring" = xdisable; then
11537 if test $wxUSE_SLIDER = no; then
11538 result=yes
11539 else
11540 result=no
11541 fi
11542 else
11543 result=$wxUSE_SLIDER
11544 fi
11545
11546 { echo "$as_me:$LINENO: result: $result" >&5
11547 echo "${ECHO_T}$result" >&6; }
11548
11549
11550 enablestring=
11551 defaultval=$wxUSE_ALL_FEATURES
11552 if test -z "$defaultval"; then
11553 if test x"$enablestring" = xdisable; then
11554 defaultval=yes
11555 else
11556 defaultval=no
11557 fi
11558 fi
11559
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11562 # Check whether --enable-spinbtn was given.
11563 if test "${enable_spinbtn+set}" = set; then
11564 enableval=$enable_spinbtn;
11565 if test "$enableval" = yes; then
11566 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11567 else
11568 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11569 fi
11570
11571 else
11572
11573 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11574
11575 fi
11576
11577
11578 eval "$wx_cv_use_spinbtn"
11579
11580 if test x"$enablestring" = xdisable; then
11581 if test $wxUSE_SPINBTN = no; then
11582 result=yes
11583 else
11584 result=no
11585 fi
11586 else
11587 result=$wxUSE_SPINBTN
11588 fi
11589
11590 { echo "$as_me:$LINENO: result: $result" >&5
11591 echo "${ECHO_T}$result" >&6; }
11592
11593
11594 enablestring=
11595 defaultval=$wxUSE_ALL_FEATURES
11596 if test -z "$defaultval"; then
11597 if test x"$enablestring" = xdisable; then
11598 defaultval=yes
11599 else
11600 defaultval=no
11601 fi
11602 fi
11603
11604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11605 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11606 # Check whether --enable-spinctrl was given.
11607 if test "${enable_spinctrl+set}" = set; then
11608 enableval=$enable_spinctrl;
11609 if test "$enableval" = yes; then
11610 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11611 else
11612 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11613 fi
11614
11615 else
11616
11617 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11618
11619 fi
11620
11621
11622 eval "$wx_cv_use_spinctrl"
11623
11624 if test x"$enablestring" = xdisable; then
11625 if test $wxUSE_SPINCTRL = no; then
11626 result=yes
11627 else
11628 result=no
11629 fi
11630 else
11631 result=$wxUSE_SPINCTRL
11632 fi
11633
11634 { echo "$as_me:$LINENO: result: $result" >&5
11635 echo "${ECHO_T}$result" >&6; }
11636
11637
11638 enablestring=
11639 defaultval=$wxUSE_ALL_FEATURES
11640 if test -z "$defaultval"; then
11641 if test x"$enablestring" = xdisable; then
11642 defaultval=yes
11643 else
11644 defaultval=no
11645 fi
11646 fi
11647
11648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11649 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11650 # Check whether --enable-splitter was given.
11651 if test "${enable_splitter+set}" = set; then
11652 enableval=$enable_splitter;
11653 if test "$enableval" = yes; then
11654 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11655 else
11656 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11657 fi
11658
11659 else
11660
11661 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11662
11663 fi
11664
11665
11666 eval "$wx_cv_use_splitter"
11667
11668 if test x"$enablestring" = xdisable; then
11669 if test $wxUSE_SPLITTER = no; then
11670 result=yes
11671 else
11672 result=no
11673 fi
11674 else
11675 result=$wxUSE_SPLITTER
11676 fi
11677
11678 { echo "$as_me:$LINENO: result: $result" >&5
11679 echo "${ECHO_T}$result" >&6; }
11680
11681
11682 enablestring=
11683 defaultval=$wxUSE_ALL_FEATURES
11684 if test -z "$defaultval"; then
11685 if test x"$enablestring" = xdisable; then
11686 defaultval=yes
11687 else
11688 defaultval=no
11689 fi
11690 fi
11691
11692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11693 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11694 # Check whether --enable-statbmp was given.
11695 if test "${enable_statbmp+set}" = set; then
11696 enableval=$enable_statbmp;
11697 if test "$enableval" = yes; then
11698 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11699 else
11700 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11701 fi
11702
11703 else
11704
11705 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11706
11707 fi
11708
11709
11710 eval "$wx_cv_use_statbmp"
11711
11712 if test x"$enablestring" = xdisable; then
11713 if test $wxUSE_STATBMP = no; then
11714 result=yes
11715 else
11716 result=no
11717 fi
11718 else
11719 result=$wxUSE_STATBMP
11720 fi
11721
11722 { echo "$as_me:$LINENO: result: $result" >&5
11723 echo "${ECHO_T}$result" >&6; }
11724
11725
11726 enablestring=
11727 defaultval=$wxUSE_ALL_FEATURES
11728 if test -z "$defaultval"; then
11729 if test x"$enablestring" = xdisable; then
11730 defaultval=yes
11731 else
11732 defaultval=no
11733 fi
11734 fi
11735
11736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11737 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11738 # Check whether --enable-statbox was given.
11739 if test "${enable_statbox+set}" = set; then
11740 enableval=$enable_statbox;
11741 if test "$enableval" = yes; then
11742 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11743 else
11744 wx_cv_use_statbox='wxUSE_STATBOX=no'
11745 fi
11746
11747 else
11748
11749 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11750
11751 fi
11752
11753
11754 eval "$wx_cv_use_statbox"
11755
11756 if test x"$enablestring" = xdisable; then
11757 if test $wxUSE_STATBOX = no; then
11758 result=yes
11759 else
11760 result=no
11761 fi
11762 else
11763 result=$wxUSE_STATBOX
11764 fi
11765
11766 { echo "$as_me:$LINENO: result: $result" >&5
11767 echo "${ECHO_T}$result" >&6; }
11768
11769
11770 enablestring=
11771 defaultval=$wxUSE_ALL_FEATURES
11772 if test -z "$defaultval"; then
11773 if test x"$enablestring" = xdisable; then
11774 defaultval=yes
11775 else
11776 defaultval=no
11777 fi
11778 fi
11779
11780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11781 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11782 # Check whether --enable-statline was given.
11783 if test "${enable_statline+set}" = set; then
11784 enableval=$enable_statline;
11785 if test "$enableval" = yes; then
11786 wx_cv_use_statline='wxUSE_STATLINE=yes'
11787 else
11788 wx_cv_use_statline='wxUSE_STATLINE=no'
11789 fi
11790
11791 else
11792
11793 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11794
11795 fi
11796
11797
11798 eval "$wx_cv_use_statline"
11799
11800 if test x"$enablestring" = xdisable; then
11801 if test $wxUSE_STATLINE = no; then
11802 result=yes
11803 else
11804 result=no
11805 fi
11806 else
11807 result=$wxUSE_STATLINE
11808 fi
11809
11810 { echo "$as_me:$LINENO: result: $result" >&5
11811 echo "${ECHO_T}$result" >&6; }
11812
11813
11814 enablestring=
11815 defaultval=$wxUSE_ALL_FEATURES
11816 if test -z "$defaultval"; then
11817 if test x"$enablestring" = xdisable; then
11818 defaultval=yes
11819 else
11820 defaultval=no
11821 fi
11822 fi
11823
11824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11825 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11826 # Check whether --enable-stattext was given.
11827 if test "${enable_stattext+set}" = set; then
11828 enableval=$enable_stattext;
11829 if test "$enableval" = yes; then
11830 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11831 else
11832 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11833 fi
11834
11835 else
11836
11837 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11838
11839 fi
11840
11841
11842 eval "$wx_cv_use_stattext"
11843
11844 if test x"$enablestring" = xdisable; then
11845 if test $wxUSE_STATTEXT = no; then
11846 result=yes
11847 else
11848 result=no
11849 fi
11850 else
11851 result=$wxUSE_STATTEXT
11852 fi
11853
11854 { echo "$as_me:$LINENO: result: $result" >&5
11855 echo "${ECHO_T}$result" >&6; }
11856
11857
11858 enablestring=
11859 defaultval=$wxUSE_ALL_FEATURES
11860 if test -z "$defaultval"; then
11861 if test x"$enablestring" = xdisable; then
11862 defaultval=yes
11863 else
11864 defaultval=no
11865 fi
11866 fi
11867
11868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11869 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11870 # Check whether --enable-statusbar was given.
11871 if test "${enable_statusbar+set}" = set; then
11872 enableval=$enable_statusbar;
11873 if test "$enableval" = yes; then
11874 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11875 else
11876 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11877 fi
11878
11879 else
11880
11881 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11882
11883 fi
11884
11885
11886 eval "$wx_cv_use_statusbar"
11887
11888 if test x"$enablestring" = xdisable; then
11889 if test $wxUSE_STATUSBAR = no; then
11890 result=yes
11891 else
11892 result=no
11893 fi
11894 else
11895 result=$wxUSE_STATUSBAR
11896 fi
11897
11898 { echo "$as_me:$LINENO: result: $result" >&5
11899 echo "${ECHO_T}$result" >&6; }
11900
11901
11902 enablestring=
11903 defaultval=$wxUSE_ALL_FEATURES
11904 if test -z "$defaultval"; then
11905 if test x"$enablestring" = xdisable; then
11906 defaultval=yes
11907 else
11908 defaultval=no
11909 fi
11910 fi
11911
11912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11913 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11914 # Check whether --enable-taskbaricon was given.
11915 if test "${enable_taskbaricon+set}" = set; then
11916 enableval=$enable_taskbaricon;
11917 if test "$enableval" = yes; then
11918 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11919 else
11920 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11921 fi
11922
11923 else
11924
11925 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11926
11927 fi
11928
11929
11930 eval "$wx_cv_use_taskbaricon"
11931
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_TASKBARICON = no; then
11934 result=yes
11935 else
11936 result=no
11937 fi
11938 else
11939 result=$wxUSE_TASKBARICON
11940 fi
11941
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11944
11945
11946 enablestring=
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11950 defaultval=yes
11951 else
11952 defaultval=no
11953 fi
11954 fi
11955
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11958 # Check whether --enable-tbarnative was given.
11959 if test "${enable_tbarnative+set}" = set; then
11960 enableval=$enable_tbarnative;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11963 else
11964 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11965 fi
11966
11967 else
11968
11969 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11970
11971 fi
11972
11973
11974 eval "$wx_cv_use_tbarnative"
11975
11976 if test x"$enablestring" = xdisable; then
11977 if test $wxUSE_TOOLBAR_NATIVE = no; then
11978 result=yes
11979 else
11980 result=no
11981 fi
11982 else
11983 result=$wxUSE_TOOLBAR_NATIVE
11984 fi
11985
11986 { echo "$as_me:$LINENO: result: $result" >&5
11987 echo "${ECHO_T}$result" >&6; }
11988
11989
11990 enablestring=
11991 defaultval=$wxUSE_ALL_FEATURES
11992 if test -z "$defaultval"; then
11993 if test x"$enablestring" = xdisable; then
11994 defaultval=yes
11995 else
11996 defaultval=no
11997 fi
11998 fi
11999
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12002 # Check whether --enable-textctrl was given.
12003 if test "${enable_textctrl+set}" = set; then
12004 enableval=$enable_textctrl;
12005 if test "$enableval" = yes; then
12006 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12007 else
12008 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12009 fi
12010
12011 else
12012
12013 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12014
12015 fi
12016
12017
12018 eval "$wx_cv_use_textctrl"
12019
12020 if test x"$enablestring" = xdisable; then
12021 if test $wxUSE_TEXTCTRL = no; then
12022 result=yes
12023 else
12024 result=no
12025 fi
12026 else
12027 result=$wxUSE_TEXTCTRL
12028 fi
12029
12030 { echo "$as_me:$LINENO: result: $result" >&5
12031 echo "${ECHO_T}$result" >&6; }
12032
12033
12034 enablestring=
12035 defaultval=$wxUSE_ALL_FEATURES
12036 if test -z "$defaultval"; then
12037 if test x"$enablestring" = xdisable; then
12038 defaultval=yes
12039 else
12040 defaultval=no
12041 fi
12042 fi
12043
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12046 # Check whether --enable-tipwindow was given.
12047 if test "${enable_tipwindow+set}" = set; then
12048 enableval=$enable_tipwindow;
12049 if test "$enableval" = yes; then
12050 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12051 else
12052 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12053 fi
12054
12055 else
12056
12057 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12058
12059 fi
12060
12061
12062 eval "$wx_cv_use_tipwindow"
12063
12064 if test x"$enablestring" = xdisable; then
12065 if test $wxUSE_TIPWINDOW = no; then
12066 result=yes
12067 else
12068 result=no
12069 fi
12070 else
12071 result=$wxUSE_TIPWINDOW
12072 fi
12073
12074 { echo "$as_me:$LINENO: result: $result" >&5
12075 echo "${ECHO_T}$result" >&6; }
12076
12077
12078 enablestring=
12079 defaultval=$wxUSE_ALL_FEATURES
12080 if test -z "$defaultval"; then
12081 if test x"$enablestring" = xdisable; then
12082 defaultval=yes
12083 else
12084 defaultval=no
12085 fi
12086 fi
12087
12088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12089 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12090 # Check whether --enable-togglebtn was given.
12091 if test "${enable_togglebtn+set}" = set; then
12092 enableval=$enable_togglebtn;
12093 if test "$enableval" = yes; then
12094 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12095 else
12096 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12097 fi
12098
12099 else
12100
12101 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12102
12103 fi
12104
12105
12106 eval "$wx_cv_use_togglebtn"
12107
12108 if test x"$enablestring" = xdisable; then
12109 if test $wxUSE_TOGGLEBTN = no; then
12110 result=yes
12111 else
12112 result=no
12113 fi
12114 else
12115 result=$wxUSE_TOGGLEBTN
12116 fi
12117
12118 { echo "$as_me:$LINENO: result: $result" >&5
12119 echo "${ECHO_T}$result" >&6; }
12120
12121
12122 enablestring=
12123 defaultval=$wxUSE_ALL_FEATURES
12124 if test -z "$defaultval"; then
12125 if test x"$enablestring" = xdisable; then
12126 defaultval=yes
12127 else
12128 defaultval=no
12129 fi
12130 fi
12131
12132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12133 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12134 # Check whether --enable-toolbar was given.
12135 if test "${enable_toolbar+set}" = set; then
12136 enableval=$enable_toolbar;
12137 if test "$enableval" = yes; then
12138 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12139 else
12140 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12141 fi
12142
12143 else
12144
12145 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12146
12147 fi
12148
12149
12150 eval "$wx_cv_use_toolbar"
12151
12152 if test x"$enablestring" = xdisable; then
12153 if test $wxUSE_TOOLBAR = no; then
12154 result=yes
12155 else
12156 result=no
12157 fi
12158 else
12159 result=$wxUSE_TOOLBAR
12160 fi
12161
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12164
12165
12166 enablestring=
12167 defaultval=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x"$enablestring" = xdisable; then
12170 defaultval=yes
12171 else
12172 defaultval=no
12173 fi
12174 fi
12175
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12178 # Check whether --enable-toolbook was given.
12179 if test "${enable_toolbook+set}" = set; then
12180 enableval=$enable_toolbook;
12181 if test "$enableval" = yes; then
12182 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12183 else
12184 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12185 fi
12186
12187 else
12188
12189 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12190
12191 fi
12192
12193
12194 eval "$wx_cv_use_toolbook"
12195
12196 if test x"$enablestring" = xdisable; then
12197 if test $wxUSE_TOOLBOOK = no; then
12198 result=yes
12199 else
12200 result=no
12201 fi
12202 else
12203 result=$wxUSE_TOOLBOOK
12204 fi
12205
12206 { echo "$as_me:$LINENO: result: $result" >&5
12207 echo "${ECHO_T}$result" >&6; }
12208
12209
12210 enablestring=
12211 defaultval=$wxUSE_ALL_FEATURES
12212 if test -z "$defaultval"; then
12213 if test x"$enablestring" = xdisable; then
12214 defaultval=yes
12215 else
12216 defaultval=no
12217 fi
12218 fi
12219
12220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12221 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12222 # Check whether --enable-treebook was given.
12223 if test "${enable_treebook+set}" = set; then
12224 enableval=$enable_treebook;
12225 if test "$enableval" = yes; then
12226 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12227 else
12228 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12229 fi
12230
12231 else
12232
12233 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12234
12235 fi
12236
12237
12238 eval "$wx_cv_use_treebook"
12239
12240 if test x"$enablestring" = xdisable; then
12241 if test $wxUSE_TREEBOOK = no; then
12242 result=yes
12243 else
12244 result=no
12245 fi
12246 else
12247 result=$wxUSE_TREEBOOK
12248 fi
12249
12250 { echo "$as_me:$LINENO: result: $result" >&5
12251 echo "${ECHO_T}$result" >&6; }
12252
12253
12254 enablestring=
12255 defaultval=$wxUSE_ALL_FEATURES
12256 if test -z "$defaultval"; then
12257 if test x"$enablestring" = xdisable; then
12258 defaultval=yes
12259 else
12260 defaultval=no
12261 fi
12262 fi
12263
12264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12265 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12266 # Check whether --enable-treectrl was given.
12267 if test "${enable_treectrl+set}" = set; then
12268 enableval=$enable_treectrl;
12269 if test "$enableval" = yes; then
12270 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12271 else
12272 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12273 fi
12274
12275 else
12276
12277 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12278
12279 fi
12280
12281
12282 eval "$wx_cv_use_treectrl"
12283
12284 if test x"$enablestring" = xdisable; then
12285 if test $wxUSE_TREECTRL = no; then
12286 result=yes
12287 else
12288 result=no
12289 fi
12290 else
12291 result=$wxUSE_TREECTRL
12292 fi
12293
12294 { echo "$as_me:$LINENO: result: $result" >&5
12295 echo "${ECHO_T}$result" >&6; }
12296
12297
12298
12299
12300 enablestring=
12301 defaultval=$wxUSE_ALL_FEATURES
12302 if test -z "$defaultval"; then
12303 if test x"$enablestring" = xdisable; then
12304 defaultval=yes
12305 else
12306 defaultval=no
12307 fi
12308 fi
12309
12310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12311 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12312 # Check whether --enable-commondlg was given.
12313 if test "${enable_commondlg+set}" = set; then
12314 enableval=$enable_commondlg;
12315 if test "$enableval" = yes; then
12316 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12317 else
12318 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12319 fi
12320
12321 else
12322
12323 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12324
12325 fi
12326
12327
12328 eval "$wx_cv_use_commondlg"
12329
12330 if test x"$enablestring" = xdisable; then
12331 if test $wxUSE_COMMONDLGS = no; then
12332 result=yes
12333 else
12334 result=no
12335 fi
12336 else
12337 result=$wxUSE_COMMONDLGS
12338 fi
12339
12340 { echo "$as_me:$LINENO: result: $result" >&5
12341 echo "${ECHO_T}$result" >&6; }
12342
12343
12344 enablestring=
12345 defaultval=$wxUSE_ALL_FEATURES
12346 if test -z "$defaultval"; then
12347 if test x"$enablestring" = xdisable; then
12348 defaultval=yes
12349 else
12350 defaultval=no
12351 fi
12352 fi
12353
12354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12355 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12356 # Check whether --enable-aboutdlg was given.
12357 if test "${enable_aboutdlg+set}" = set; then
12358 enableval=$enable_aboutdlg;
12359 if test "$enableval" = yes; then
12360 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12361 else
12362 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12363 fi
12364
12365 else
12366
12367 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12368
12369 fi
12370
12371
12372 eval "$wx_cv_use_aboutdlg"
12373
12374 if test x"$enablestring" = xdisable; then
12375 if test $wxUSE_ABOUTDLG = no; then
12376 result=yes
12377 else
12378 result=no
12379 fi
12380 else
12381 result=$wxUSE_ABOUTDLG
12382 fi
12383
12384 { echo "$as_me:$LINENO: result: $result" >&5
12385 echo "${ECHO_T}$result" >&6; }
12386
12387
12388 enablestring=
12389 defaultval=$wxUSE_ALL_FEATURES
12390 if test -z "$defaultval"; then
12391 if test x"$enablestring" = xdisable; then
12392 defaultval=yes
12393 else
12394 defaultval=no
12395 fi
12396 fi
12397
12398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12399 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12400 # Check whether --enable-choicedlg was given.
12401 if test "${enable_choicedlg+set}" = set; then
12402 enableval=$enable_choicedlg;
12403 if test "$enableval" = yes; then
12404 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12405 else
12406 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12407 fi
12408
12409 else
12410
12411 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12412
12413 fi
12414
12415
12416 eval "$wx_cv_use_choicedlg"
12417
12418 if test x"$enablestring" = xdisable; then
12419 if test $wxUSE_CHOICEDLG = no; then
12420 result=yes
12421 else
12422 result=no
12423 fi
12424 else
12425 result=$wxUSE_CHOICEDLG
12426 fi
12427
12428 { echo "$as_me:$LINENO: result: $result" >&5
12429 echo "${ECHO_T}$result" >&6; }
12430
12431
12432 enablestring=
12433 defaultval=$wxUSE_ALL_FEATURES
12434 if test -z "$defaultval"; then
12435 if test x"$enablestring" = xdisable; then
12436 defaultval=yes
12437 else
12438 defaultval=no
12439 fi
12440 fi
12441
12442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12443 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12444 # Check whether --enable-coldlg was given.
12445 if test "${enable_coldlg+set}" = set; then
12446 enableval=$enable_coldlg;
12447 if test "$enableval" = yes; then
12448 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12449 else
12450 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12451 fi
12452
12453 else
12454
12455 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12456
12457 fi
12458
12459
12460 eval "$wx_cv_use_coldlg"
12461
12462 if test x"$enablestring" = xdisable; then
12463 if test $wxUSE_COLOURDLG = no; then
12464 result=yes
12465 else
12466 result=no
12467 fi
12468 else
12469 result=$wxUSE_COLOURDLG
12470 fi
12471
12472 { echo "$as_me:$LINENO: result: $result" >&5
12473 echo "${ECHO_T}$result" >&6; }
12474
12475
12476 enablestring=
12477 defaultval=$wxUSE_ALL_FEATURES
12478 if test -z "$defaultval"; then
12479 if test x"$enablestring" = xdisable; then
12480 defaultval=yes
12481 else
12482 defaultval=no
12483 fi
12484 fi
12485
12486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12487 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12488 # Check whether --enable-filedlg was given.
12489 if test "${enable_filedlg+set}" = set; then
12490 enableval=$enable_filedlg;
12491 if test "$enableval" = yes; then
12492 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12493 else
12494 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12495 fi
12496
12497 else
12498
12499 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12500
12501 fi
12502
12503
12504 eval "$wx_cv_use_filedlg"
12505
12506 if test x"$enablestring" = xdisable; then
12507 if test $wxUSE_FILEDLG = no; then
12508 result=yes
12509 else
12510 result=no
12511 fi
12512 else
12513 result=$wxUSE_FILEDLG
12514 fi
12515
12516 { echo "$as_me:$LINENO: result: $result" >&5
12517 echo "${ECHO_T}$result" >&6; }
12518
12519
12520 enablestring=
12521 defaultval=$wxUSE_ALL_FEATURES
12522 if test -z "$defaultval"; then
12523 if test x"$enablestring" = xdisable; then
12524 defaultval=yes
12525 else
12526 defaultval=no
12527 fi
12528 fi
12529
12530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12531 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12532 # Check whether --enable-finddlg was given.
12533 if test "${enable_finddlg+set}" = set; then
12534 enableval=$enable_finddlg;
12535 if test "$enableval" = yes; then
12536 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12537 else
12538 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12539 fi
12540
12541 else
12542
12543 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12544
12545 fi
12546
12547
12548 eval "$wx_cv_use_finddlg"
12549
12550 if test x"$enablestring" = xdisable; then
12551 if test $wxUSE_FINDREPLDLG = no; then
12552 result=yes
12553 else
12554 result=no
12555 fi
12556 else
12557 result=$wxUSE_FINDREPLDLG
12558 fi
12559
12560 { echo "$as_me:$LINENO: result: $result" >&5
12561 echo "${ECHO_T}$result" >&6; }
12562
12563
12564 enablestring=
12565 defaultval=$wxUSE_ALL_FEATURES
12566 if test -z "$defaultval"; then
12567 if test x"$enablestring" = xdisable; then
12568 defaultval=yes
12569 else
12570 defaultval=no
12571 fi
12572 fi
12573
12574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12575 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12576 # Check whether --enable-fontdlg was given.
12577 if test "${enable_fontdlg+set}" = set; then
12578 enableval=$enable_fontdlg;
12579 if test "$enableval" = yes; then
12580 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12581 else
12582 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12583 fi
12584
12585 else
12586
12587 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12588
12589 fi
12590
12591
12592 eval "$wx_cv_use_fontdlg"
12593
12594 if test x"$enablestring" = xdisable; then
12595 if test $wxUSE_FONTDLG = no; then
12596 result=yes
12597 else
12598 result=no
12599 fi
12600 else
12601 result=$wxUSE_FONTDLG
12602 fi
12603
12604 { echo "$as_me:$LINENO: result: $result" >&5
12605 echo "${ECHO_T}$result" >&6; }
12606
12607
12608 enablestring=
12609 defaultval=$wxUSE_ALL_FEATURES
12610 if test -z "$defaultval"; then
12611 if test x"$enablestring" = xdisable; then
12612 defaultval=yes
12613 else
12614 defaultval=no
12615 fi
12616 fi
12617
12618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12619 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12620 # Check whether --enable-dirdlg was given.
12621 if test "${enable_dirdlg+set}" = set; then
12622 enableval=$enable_dirdlg;
12623 if test "$enableval" = yes; then
12624 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12625 else
12626 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12627 fi
12628
12629 else
12630
12631 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12632
12633 fi
12634
12635
12636 eval "$wx_cv_use_dirdlg"
12637
12638 if test x"$enablestring" = xdisable; then
12639 if test $wxUSE_DIRDLG = no; then
12640 result=yes
12641 else
12642 result=no
12643 fi
12644 else
12645 result=$wxUSE_DIRDLG
12646 fi
12647
12648 { echo "$as_me:$LINENO: result: $result" >&5
12649 echo "${ECHO_T}$result" >&6; }
12650
12651
12652 enablestring=
12653 defaultval=$wxUSE_ALL_FEATURES
12654 if test -z "$defaultval"; then
12655 if test x"$enablestring" = xdisable; then
12656 defaultval=yes
12657 else
12658 defaultval=no
12659 fi
12660 fi
12661
12662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12663 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12664 # Check whether --enable-msgdlg was given.
12665 if test "${enable_msgdlg+set}" = set; then
12666 enableval=$enable_msgdlg;
12667 if test "$enableval" = yes; then
12668 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12669 else
12670 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12671 fi
12672
12673 else
12674
12675 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12676
12677 fi
12678
12679
12680 eval "$wx_cv_use_msgdlg"
12681
12682 if test x"$enablestring" = xdisable; then
12683 if test $wxUSE_MSGDLG = no; then
12684 result=yes
12685 else
12686 result=no
12687 fi
12688 else
12689 result=$wxUSE_MSGDLG
12690 fi
12691
12692 { echo "$as_me:$LINENO: result: $result" >&5
12693 echo "${ECHO_T}$result" >&6; }
12694
12695
12696 enablestring=
12697 defaultval=$wxUSE_ALL_FEATURES
12698 if test -z "$defaultval"; then
12699 if test x"$enablestring" = xdisable; then
12700 defaultval=yes
12701 else
12702 defaultval=no
12703 fi
12704 fi
12705
12706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12707 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12708 # Check whether --enable-numberdlg was given.
12709 if test "${enable_numberdlg+set}" = set; then
12710 enableval=$enable_numberdlg;
12711 if test "$enableval" = yes; then
12712 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12713 else
12714 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12715 fi
12716
12717 else
12718
12719 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12720
12721 fi
12722
12723
12724 eval "$wx_cv_use_numberdlg"
12725
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_NUMBERDLG = no; then
12728 result=yes
12729 else
12730 result=no
12731 fi
12732 else
12733 result=$wxUSE_NUMBERDLG
12734 fi
12735
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12738
12739
12740 enablestring=
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12744 defaultval=yes
12745 else
12746 defaultval=no
12747 fi
12748 fi
12749
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12752 # Check whether --enable-splash was given.
12753 if test "${enable_splash+set}" = set; then
12754 enableval=$enable_splash;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_splash='wxUSE_SPLASH=yes'
12757 else
12758 wx_cv_use_splash='wxUSE_SPLASH=no'
12759 fi
12760
12761 else
12762
12763 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12764
12765 fi
12766
12767
12768 eval "$wx_cv_use_splash"
12769
12770 if test x"$enablestring" = xdisable; then
12771 if test $wxUSE_SPLASH = no; then
12772 result=yes
12773 else
12774 result=no
12775 fi
12776 else
12777 result=$wxUSE_SPLASH
12778 fi
12779
12780 { echo "$as_me:$LINENO: result: $result" >&5
12781 echo "${ECHO_T}$result" >&6; }
12782
12783
12784 enablestring=
12785 defaultval=$wxUSE_ALL_FEATURES
12786 if test -z "$defaultval"; then
12787 if test x"$enablestring" = xdisable; then
12788 defaultval=yes
12789 else
12790 defaultval=no
12791 fi
12792 fi
12793
12794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12795 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12796 # Check whether --enable-textdlg was given.
12797 if test "${enable_textdlg+set}" = set; then
12798 enableval=$enable_textdlg;
12799 if test "$enableval" = yes; then
12800 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12801 else
12802 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12803 fi
12804
12805 else
12806
12807 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12808
12809 fi
12810
12811
12812 eval "$wx_cv_use_textdlg"
12813
12814 if test x"$enablestring" = xdisable; then
12815 if test $wxUSE_TEXTDLG = no; then
12816 result=yes
12817 else
12818 result=no
12819 fi
12820 else
12821 result=$wxUSE_TEXTDLG
12822 fi
12823
12824 { echo "$as_me:$LINENO: result: $result" >&5
12825 echo "${ECHO_T}$result" >&6; }
12826
12827
12828 enablestring=
12829 defaultval=$wxUSE_ALL_FEATURES
12830 if test -z "$defaultval"; then
12831 if test x"$enablestring" = xdisable; then
12832 defaultval=yes
12833 else
12834 defaultval=no
12835 fi
12836 fi
12837
12838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12839 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12840 # Check whether --enable-tipdlg was given.
12841 if test "${enable_tipdlg+set}" = set; then
12842 enableval=$enable_tipdlg;
12843 if test "$enableval" = yes; then
12844 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12845 else
12846 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12847 fi
12848
12849 else
12850
12851 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12852
12853 fi
12854
12855
12856 eval "$wx_cv_use_tipdlg"
12857
12858 if test x"$enablestring" = xdisable; then
12859 if test $wxUSE_STARTUP_TIPS = no; then
12860 result=yes
12861 else
12862 result=no
12863 fi
12864 else
12865 result=$wxUSE_STARTUP_TIPS
12866 fi
12867
12868 { echo "$as_me:$LINENO: result: $result" >&5
12869 echo "${ECHO_T}$result" >&6; }
12870
12871
12872 enablestring=
12873 defaultval=$wxUSE_ALL_FEATURES
12874 if test -z "$defaultval"; then
12875 if test x"$enablestring" = xdisable; then
12876 defaultval=yes
12877 else
12878 defaultval=no
12879 fi
12880 fi
12881
12882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12883 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12884 # Check whether --enable-progressdlg was given.
12885 if test "${enable_progressdlg+set}" = set; then
12886 enableval=$enable_progressdlg;
12887 if test "$enableval" = yes; then
12888 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12889 else
12890 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12891 fi
12892
12893 else
12894
12895 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12896
12897 fi
12898
12899
12900 eval "$wx_cv_use_progressdlg"
12901
12902 if test x"$enablestring" = xdisable; then
12903 if test $wxUSE_PROGRESSDLG = no; then
12904 result=yes
12905 else
12906 result=no
12907 fi
12908 else
12909 result=$wxUSE_PROGRESSDLG
12910 fi
12911
12912 { echo "$as_me:$LINENO: result: $result" >&5
12913 echo "${ECHO_T}$result" >&6; }
12914
12915
12916 enablestring=
12917 defaultval=$wxUSE_ALL_FEATURES
12918 if test -z "$defaultval"; then
12919 if test x"$enablestring" = xdisable; then
12920 defaultval=yes
12921 else
12922 defaultval=no
12923 fi
12924 fi
12925
12926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12927 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12928 # Check whether --enable-wizarddlg was given.
12929 if test "${enable_wizarddlg+set}" = set; then
12930 enableval=$enable_wizarddlg;
12931 if test "$enableval" = yes; then
12932 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12933 else
12934 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12935 fi
12936
12937 else
12938
12939 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12940
12941 fi
12942
12943
12944 eval "$wx_cv_use_wizarddlg"
12945
12946 if test x"$enablestring" = xdisable; then
12947 if test $wxUSE_WIZARDDLG = no; then
12948 result=yes
12949 else
12950 result=no
12951 fi
12952 else
12953 result=$wxUSE_WIZARDDLG
12954 fi
12955
12956 { echo "$as_me:$LINENO: result: $result" >&5
12957 echo "${ECHO_T}$result" >&6; }
12958
12959
12960
12961
12962 enablestring=
12963 defaultval=$wxUSE_ALL_FEATURES
12964 if test -z "$defaultval"; then
12965 if test x"$enablestring" = xdisable; then
12966 defaultval=yes
12967 else
12968 defaultval=no
12969 fi
12970 fi
12971
12972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12973 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12974 # Check whether --enable-menus was given.
12975 if test "${enable_menus+set}" = set; then
12976 enableval=$enable_menus;
12977 if test "$enableval" = yes; then
12978 wx_cv_use_menus='wxUSE_MENUS=yes'
12979 else
12980 wx_cv_use_menus='wxUSE_MENUS=no'
12981 fi
12982
12983 else
12984
12985 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12986
12987 fi
12988
12989
12990 eval "$wx_cv_use_menus"
12991
12992 if test x"$enablestring" = xdisable; then
12993 if test $wxUSE_MENUS = no; then
12994 result=yes
12995 else
12996 result=no
12997 fi
12998 else
12999 result=$wxUSE_MENUS
13000 fi
13001
13002 { echo "$as_me:$LINENO: result: $result" >&5
13003 echo "${ECHO_T}$result" >&6; }
13004
13005
13006 enablestring=
13007 defaultval=$wxUSE_ALL_FEATURES
13008 if test -z "$defaultval"; then
13009 if test x"$enablestring" = xdisable; then
13010 defaultval=yes
13011 else
13012 defaultval=no
13013 fi
13014 fi
13015
13016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13017 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13018 # Check whether --enable-miniframe was given.
13019 if test "${enable_miniframe+set}" = set; then
13020 enableval=$enable_miniframe;
13021 if test "$enableval" = yes; then
13022 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13023 else
13024 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13025 fi
13026
13027 else
13028
13029 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13030
13031 fi
13032
13033
13034 eval "$wx_cv_use_miniframe"
13035
13036 if test x"$enablestring" = xdisable; then
13037 if test $wxUSE_MINIFRAME = no; then
13038 result=yes
13039 else
13040 result=no
13041 fi
13042 else
13043 result=$wxUSE_MINIFRAME
13044 fi
13045
13046 { echo "$as_me:$LINENO: result: $result" >&5
13047 echo "${ECHO_T}$result" >&6; }
13048
13049
13050 enablestring=
13051 defaultval=$wxUSE_ALL_FEATURES
13052 if test -z "$defaultval"; then
13053 if test x"$enablestring" = xdisable; then
13054 defaultval=yes
13055 else
13056 defaultval=no
13057 fi
13058 fi
13059
13060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13061 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13062 # Check whether --enable-tooltips was given.
13063 if test "${enable_tooltips+set}" = set; then
13064 enableval=$enable_tooltips;
13065 if test "$enableval" = yes; then
13066 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13067 else
13068 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13069 fi
13070
13071 else
13072
13073 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13074
13075 fi
13076
13077
13078 eval "$wx_cv_use_tooltips"
13079
13080 if test x"$enablestring" = xdisable; then
13081 if test $wxUSE_TOOLTIPS = no; then
13082 result=yes
13083 else
13084 result=no
13085 fi
13086 else
13087 result=$wxUSE_TOOLTIPS
13088 fi
13089
13090 { echo "$as_me:$LINENO: result: $result" >&5
13091 echo "${ECHO_T}$result" >&6; }
13092
13093
13094 enablestring=
13095 defaultval=$wxUSE_ALL_FEATURES
13096 if test -z "$defaultval"; then
13097 if test x"$enablestring" = xdisable; then
13098 defaultval=yes
13099 else
13100 defaultval=no
13101 fi
13102 fi
13103
13104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13105 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13106 # Check whether --enable-splines was given.
13107 if test "${enable_splines+set}" = set; then
13108 enableval=$enable_splines;
13109 if test "$enableval" = yes; then
13110 wx_cv_use_splines='wxUSE_SPLINES=yes'
13111 else
13112 wx_cv_use_splines='wxUSE_SPLINES=no'
13113 fi
13114
13115 else
13116
13117 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13118
13119 fi
13120
13121
13122 eval "$wx_cv_use_splines"
13123
13124 if test x"$enablestring" = xdisable; then
13125 if test $wxUSE_SPLINES = no; then
13126 result=yes
13127 else
13128 result=no
13129 fi
13130 else
13131 result=$wxUSE_SPLINES
13132 fi
13133
13134 { echo "$as_me:$LINENO: result: $result" >&5
13135 echo "${ECHO_T}$result" >&6; }
13136
13137
13138 enablestring=
13139 defaultval=$wxUSE_ALL_FEATURES
13140 if test -z "$defaultval"; then
13141 if test x"$enablestring" = xdisable; then
13142 defaultval=yes
13143 else
13144 defaultval=no
13145 fi
13146 fi
13147
13148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13149 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13150 # Check whether --enable-mousewheel was given.
13151 if test "${enable_mousewheel+set}" = set; then
13152 enableval=$enable_mousewheel;
13153 if test "$enableval" = yes; then
13154 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13155 else
13156 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13157 fi
13158
13159 else
13160
13161 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13162
13163 fi
13164
13165
13166 eval "$wx_cv_use_mousewheel"
13167
13168 if test x"$enablestring" = xdisable; then
13169 if test $wxUSE_MOUSEWHEEL = no; then
13170 result=yes
13171 else
13172 result=no
13173 fi
13174 else
13175 result=$wxUSE_MOUSEWHEEL
13176 fi
13177
13178 { echo "$as_me:$LINENO: result: $result" >&5
13179 echo "${ECHO_T}$result" >&6; }
13180
13181
13182 enablestring=
13183 defaultval=$wxUSE_ALL_FEATURES
13184 if test -z "$defaultval"; then
13185 if test x"$enablestring" = xdisable; then
13186 defaultval=yes
13187 else
13188 defaultval=no
13189 fi
13190 fi
13191
13192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13193 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13194 # Check whether --enable-validators was given.
13195 if test "${enable_validators+set}" = set; then
13196 enableval=$enable_validators;
13197 if test "$enableval" = yes; then
13198 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13199 else
13200 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13201 fi
13202
13203 else
13204
13205 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13206
13207 fi
13208
13209
13210 eval "$wx_cv_use_validators"
13211
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_VALIDATORS = no; then
13214 result=yes
13215 else
13216 result=no
13217 fi
13218 else
13219 result=$wxUSE_VALIDATORS
13220 fi
13221
13222 { echo "$as_me:$LINENO: result: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13224
13225
13226 enablestring=
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13230 defaultval=yes
13231 else
13232 defaultval=no
13233 fi
13234 fi
13235
13236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13237 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13238 # Check whether --enable-busyinfo was given.
13239 if test "${enable_busyinfo+set}" = set; then
13240 enableval=$enable_busyinfo;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13243 else
13244 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13245 fi
13246
13247 else
13248
13249 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13250
13251 fi
13252
13253
13254 eval "$wx_cv_use_busyinfo"
13255
13256 if test x"$enablestring" = xdisable; then
13257 if test $wxUSE_BUSYINFO = no; then
13258 result=yes
13259 else
13260 result=no
13261 fi
13262 else
13263 result=$wxUSE_BUSYINFO
13264 fi
13265
13266 { echo "$as_me:$LINENO: result: $result" >&5
13267 echo "${ECHO_T}$result" >&6; }
13268
13269
13270 enablestring=
13271 defaultval=$wxUSE_ALL_FEATURES
13272 if test -z "$defaultval"; then
13273 if test x"$enablestring" = xdisable; then
13274 defaultval=yes
13275 else
13276 defaultval=no
13277 fi
13278 fi
13279
13280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13281 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13282 # Check whether --enable-joystick was given.
13283 if test "${enable_joystick+set}" = set; then
13284 enableval=$enable_joystick;
13285 if test "$enableval" = yes; then
13286 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13287 else
13288 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13289 fi
13290
13291 else
13292
13293 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13294
13295 fi
13296
13297
13298 eval "$wx_cv_use_joystick"
13299
13300 if test x"$enablestring" = xdisable; then
13301 if test $wxUSE_JOYSTICK = no; then
13302 result=yes
13303 else
13304 result=no
13305 fi
13306 else
13307 result=$wxUSE_JOYSTICK
13308 fi
13309
13310 { echo "$as_me:$LINENO: result: $result" >&5
13311 echo "${ECHO_T}$result" >&6; }
13312
13313
13314 enablestring=
13315 defaultval=$wxUSE_ALL_FEATURES
13316 if test -z "$defaultval"; then
13317 if test x"$enablestring" = xdisable; then
13318 defaultval=yes
13319 else
13320 defaultval=no
13321 fi
13322 fi
13323
13324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13325 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13326 # Check whether --enable-metafile was given.
13327 if test "${enable_metafile+set}" = set; then
13328 enableval=$enable_metafile;
13329 if test "$enableval" = yes; then
13330 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13331 else
13332 wx_cv_use_metafile='wxUSE_METAFILE=no'
13333 fi
13334
13335 else
13336
13337 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13338
13339 fi
13340
13341
13342 eval "$wx_cv_use_metafile"
13343
13344 if test x"$enablestring" = xdisable; then
13345 if test $wxUSE_METAFILE = no; then
13346 result=yes
13347 else
13348 result=no
13349 fi
13350 else
13351 result=$wxUSE_METAFILE
13352 fi
13353
13354 { echo "$as_me:$LINENO: result: $result" >&5
13355 echo "${ECHO_T}$result" >&6; }
13356
13357
13358 enablestring=
13359 defaultval=$wxUSE_ALL_FEATURES
13360 if test -z "$defaultval"; then
13361 if test x"$enablestring" = xdisable; then
13362 defaultval=yes
13363 else
13364 defaultval=no
13365 fi
13366 fi
13367
13368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13369 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13370 # Check whether --enable-dragimage was given.
13371 if test "${enable_dragimage+set}" = set; then
13372 enableval=$enable_dragimage;
13373 if test "$enableval" = yes; then
13374 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13375 else
13376 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13377 fi
13378
13379 else
13380
13381 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13382
13383 fi
13384
13385
13386 eval "$wx_cv_use_dragimage"
13387
13388 if test x"$enablestring" = xdisable; then
13389 if test $wxUSE_DRAGIMAGE = no; then
13390 result=yes
13391 else
13392 result=no
13393 fi
13394 else
13395 result=$wxUSE_DRAGIMAGE
13396 fi
13397
13398 { echo "$as_me:$LINENO: result: $result" >&5
13399 echo "${ECHO_T}$result" >&6; }
13400
13401
13402 enablestring=
13403 defaultval=$wxUSE_ALL_FEATURES
13404 if test -z "$defaultval"; then
13405 if test x"$enablestring" = xdisable; then
13406 defaultval=yes
13407 else
13408 defaultval=no
13409 fi
13410 fi
13411
13412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13413 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13414 # Check whether --enable-accessibility was given.
13415 if test "${enable_accessibility+set}" = set; then
13416 enableval=$enable_accessibility;
13417 if test "$enableval" = yes; then
13418 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13419 else
13420 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13421 fi
13422
13423 else
13424
13425 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13426
13427 fi
13428
13429
13430 eval "$wx_cv_use_accessibility"
13431
13432 if test x"$enablestring" = xdisable; then
13433 if test $wxUSE_ACCESSIBILITY = no; then
13434 result=yes
13435 else
13436 result=no
13437 fi
13438 else
13439 result=$wxUSE_ACCESSIBILITY
13440 fi
13441
13442 { echo "$as_me:$LINENO: result: $result" >&5
13443 echo "${ECHO_T}$result" >&6; }
13444
13445
13446
13447
13448 enablestring=
13449 defaultval=$wxUSE_ALL_FEATURES
13450 if test -z "$defaultval"; then
13451 if test x"$enablestring" = xdisable; then
13452 defaultval=yes
13453 else
13454 defaultval=no
13455 fi
13456 fi
13457
13458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13459 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13460 # Check whether --enable-palette was given.
13461 if test "${enable_palette+set}" = set; then
13462 enableval=$enable_palette;
13463 if test "$enableval" = yes; then
13464 wx_cv_use_palette='wxUSE_PALETTE=yes'
13465 else
13466 wx_cv_use_palette='wxUSE_PALETTE=no'
13467 fi
13468
13469 else
13470
13471 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13472
13473 fi
13474
13475
13476 eval "$wx_cv_use_palette"
13477
13478 if test x"$enablestring" = xdisable; then
13479 if test $wxUSE_PALETTE = no; then
13480 result=yes
13481 else
13482 result=no
13483 fi
13484 else
13485 result=$wxUSE_PALETTE
13486 fi
13487
13488 { echo "$as_me:$LINENO: result: $result" >&5
13489 echo "${ECHO_T}$result" >&6; }
13490
13491
13492 enablestring=
13493 defaultval=$wxUSE_ALL_FEATURES
13494 if test -z "$defaultval"; then
13495 if test x"$enablestring" = xdisable; then
13496 defaultval=yes
13497 else
13498 defaultval=no
13499 fi
13500 fi
13501
13502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13503 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13504 # Check whether --enable-image was given.
13505 if test "${enable_image+set}" = set; then
13506 enableval=$enable_image;
13507 if test "$enableval" = yes; then
13508 wx_cv_use_image='wxUSE_IMAGE=yes'
13509 else
13510 wx_cv_use_image='wxUSE_IMAGE=no'
13511 fi
13512
13513 else
13514
13515 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13516
13517 fi
13518
13519
13520 eval "$wx_cv_use_image"
13521
13522 if test x"$enablestring" = xdisable; then
13523 if test $wxUSE_IMAGE = no; then
13524 result=yes
13525 else
13526 result=no
13527 fi
13528 else
13529 result=$wxUSE_IMAGE
13530 fi
13531
13532 { echo "$as_me:$LINENO: result: $result" >&5
13533 echo "${ECHO_T}$result" >&6; }
13534
13535
13536 enablestring=
13537 defaultval=$wxUSE_ALL_FEATURES
13538 if test -z "$defaultval"; then
13539 if test x"$enablestring" = xdisable; then
13540 defaultval=yes
13541 else
13542 defaultval=no
13543 fi
13544 fi
13545
13546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13547 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13548 # Check whether --enable-gif was given.
13549 if test "${enable_gif+set}" = set; then
13550 enableval=$enable_gif;
13551 if test "$enableval" = yes; then
13552 wx_cv_use_gif='wxUSE_GIF=yes'
13553 else
13554 wx_cv_use_gif='wxUSE_GIF=no'
13555 fi
13556
13557 else
13558
13559 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13560
13561 fi
13562
13563
13564 eval "$wx_cv_use_gif"
13565
13566 if test x"$enablestring" = xdisable; then
13567 if test $wxUSE_GIF = no; then
13568 result=yes
13569 else
13570 result=no
13571 fi
13572 else
13573 result=$wxUSE_GIF
13574 fi
13575
13576 { echo "$as_me:$LINENO: result: $result" >&5
13577 echo "${ECHO_T}$result" >&6; }
13578
13579
13580 enablestring=
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13584 defaultval=yes
13585 else
13586 defaultval=no
13587 fi
13588 fi
13589
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13592 # Check whether --enable-pcx was given.
13593 if test "${enable_pcx+set}" = set; then
13594 enableval=$enable_pcx;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_pcx='wxUSE_PCX=yes'
13597 else
13598 wx_cv_use_pcx='wxUSE_PCX=no'
13599 fi
13600
13601 else
13602
13603 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13604
13605 fi
13606
13607
13608 eval "$wx_cv_use_pcx"
13609
13610 if test x"$enablestring" = xdisable; then
13611 if test $wxUSE_PCX = no; then
13612 result=yes
13613 else
13614 result=no
13615 fi
13616 else
13617 result=$wxUSE_PCX
13618 fi
13619
13620 { echo "$as_me:$LINENO: result: $result" >&5
13621 echo "${ECHO_T}$result" >&6; }
13622
13623
13624 enablestring=
13625 defaultval=$wxUSE_ALL_FEATURES
13626 if test -z "$defaultval"; then
13627 if test x"$enablestring" = xdisable; then
13628 defaultval=yes
13629 else
13630 defaultval=no
13631 fi
13632 fi
13633
13634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13635 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13636 # Check whether --enable-tga was given.
13637 if test "${enable_tga+set}" = set; then
13638 enableval=$enable_tga;
13639 if test "$enableval" = yes; then
13640 wx_cv_use_tga='wxUSE_TGA=yes'
13641 else
13642 wx_cv_use_tga='wxUSE_TGA=no'
13643 fi
13644
13645 else
13646
13647 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13648
13649 fi
13650
13651
13652 eval "$wx_cv_use_tga"
13653
13654 if test x"$enablestring" = xdisable; then
13655 if test $wxUSE_TGA = no; then
13656 result=yes
13657 else
13658 result=no
13659 fi
13660 else
13661 result=$wxUSE_TGA
13662 fi
13663
13664 { echo "$as_me:$LINENO: result: $result" >&5
13665 echo "${ECHO_T}$result" >&6; }
13666
13667
13668 enablestring=
13669 defaultval=$wxUSE_ALL_FEATURES
13670 if test -z "$defaultval"; then
13671 if test x"$enablestring" = xdisable; then
13672 defaultval=yes
13673 else
13674 defaultval=no
13675 fi
13676 fi
13677
13678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13679 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13680 # Check whether --enable-iff was given.
13681 if test "${enable_iff+set}" = set; then
13682 enableval=$enable_iff;
13683 if test "$enableval" = yes; then
13684 wx_cv_use_iff='wxUSE_IFF=yes'
13685 else
13686 wx_cv_use_iff='wxUSE_IFF=no'
13687 fi
13688
13689 else
13690
13691 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13692
13693 fi
13694
13695
13696 eval "$wx_cv_use_iff"
13697
13698 if test x"$enablestring" = xdisable; then
13699 if test $wxUSE_IFF = no; then
13700 result=yes
13701 else
13702 result=no
13703 fi
13704 else
13705 result=$wxUSE_IFF
13706 fi
13707
13708 { echo "$as_me:$LINENO: result: $result" >&5
13709 echo "${ECHO_T}$result" >&6; }
13710
13711
13712 enablestring=
13713 defaultval=$wxUSE_ALL_FEATURES
13714 if test -z "$defaultval"; then
13715 if test x"$enablestring" = xdisable; then
13716 defaultval=yes
13717 else
13718 defaultval=no
13719 fi
13720 fi
13721
13722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13723 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13724 # Check whether --enable-pnm was given.
13725 if test "${enable_pnm+set}" = set; then
13726 enableval=$enable_pnm;
13727 if test "$enableval" = yes; then
13728 wx_cv_use_pnm='wxUSE_PNM=yes'
13729 else
13730 wx_cv_use_pnm='wxUSE_PNM=no'
13731 fi
13732
13733 else
13734
13735 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13736
13737 fi
13738
13739
13740 eval "$wx_cv_use_pnm"
13741
13742 if test x"$enablestring" = xdisable; then
13743 if test $wxUSE_PNM = no; then
13744 result=yes
13745 else
13746 result=no
13747 fi
13748 else
13749 result=$wxUSE_PNM
13750 fi
13751
13752 { echo "$as_me:$LINENO: result: $result" >&5
13753 echo "${ECHO_T}$result" >&6; }
13754
13755
13756 enablestring=
13757 defaultval=$wxUSE_ALL_FEATURES
13758 if test -z "$defaultval"; then
13759 if test x"$enablestring" = xdisable; then
13760 defaultval=yes
13761 else
13762 defaultval=no
13763 fi
13764 fi
13765
13766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13767 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13768 # Check whether --enable-xpm was given.
13769 if test "${enable_xpm+set}" = set; then
13770 enableval=$enable_xpm;
13771 if test "$enableval" = yes; then
13772 wx_cv_use_xpm='wxUSE_XPM=yes'
13773 else
13774 wx_cv_use_xpm='wxUSE_XPM=no'
13775 fi
13776
13777 else
13778
13779 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13780
13781 fi
13782
13783
13784 eval "$wx_cv_use_xpm"
13785
13786 if test x"$enablestring" = xdisable; then
13787 if test $wxUSE_XPM = no; then
13788 result=yes
13789 else
13790 result=no
13791 fi
13792 else
13793 result=$wxUSE_XPM
13794 fi
13795
13796 { echo "$as_me:$LINENO: result: $result" >&5
13797 echo "${ECHO_T}$result" >&6; }
13798
13799
13800 enablestring=
13801 defaultval=$wxUSE_ALL_FEATURES
13802 if test -z "$defaultval"; then
13803 if test x"$enablestring" = xdisable; then
13804 defaultval=yes
13805 else
13806 defaultval=no
13807 fi
13808 fi
13809
13810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13811 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13812 # Check whether --enable-ico_cur was given.
13813 if test "${enable_ico_cur+set}" = set; then
13814 enableval=$enable_ico_cur;
13815 if test "$enableval" = yes; then
13816 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13817 else
13818 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13819 fi
13820
13821 else
13822
13823 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13824
13825 fi
13826
13827
13828 eval "$wx_cv_use_ico_cur"
13829
13830 if test x"$enablestring" = xdisable; then
13831 if test $wxUSE_ICO_CUR = no; then
13832 result=yes
13833 else
13834 result=no
13835 fi
13836 else
13837 result=$wxUSE_ICO_CUR
13838 fi
13839
13840 { echo "$as_me:$LINENO: result: $result" >&5
13841 echo "${ECHO_T}$result" >&6; }
13842
13843
13844
13845
13846 enablestring=
13847 defaultval=$wxUSE_ALL_FEATURES
13848 if test -z "$defaultval"; then
13849 if test x"$enablestring" = xdisable; then
13850 defaultval=yes
13851 else
13852 defaultval=no
13853 fi
13854 fi
13855
13856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13857 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13858 # Check whether --enable-dccache was given.
13859 if test "${enable_dccache+set}" = set; then
13860 enableval=$enable_dccache;
13861 if test "$enableval" = yes; then
13862 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13863 else
13864 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13865 fi
13866
13867 else
13868
13869 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13870
13871 fi
13872
13873
13874 eval "$wx_cv_use_dccache"
13875
13876 if test x"$enablestring" = xdisable; then
13877 if test $wxUSE_DC_CACHEING = no; then
13878 result=yes
13879 else
13880 result=no
13881 fi
13882 else
13883 result=$wxUSE_DC_CACHEING
13884 fi
13885
13886 { echo "$as_me:$LINENO: result: $result" >&5
13887 echo "${ECHO_T}$result" >&6; }
13888
13889
13890 enablestring=
13891 defaultval=$wxUSE_ALL_FEATURES
13892 if test -z "$defaultval"; then
13893 if test x"$enablestring" = xdisable; then
13894 defaultval=yes
13895 else
13896 defaultval=no
13897 fi
13898 fi
13899
13900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13901 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13902 # Check whether --enable-ps-in-msw was given.
13903 if test "${enable_ps_in_msw+set}" = set; then
13904 enableval=$enable_ps_in_msw;
13905 if test "$enableval" = yes; then
13906 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13907 else
13908 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13909 fi
13910
13911 else
13912
13913 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13914
13915 fi
13916
13917
13918 eval "$wx_cv_use_ps_in_msw"
13919
13920 if test x"$enablestring" = xdisable; then
13921 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13922 result=yes
13923 else
13924 result=no
13925 fi
13926 else
13927 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13928 fi
13929
13930 { echo "$as_me:$LINENO: result: $result" >&5
13931 echo "${ECHO_T}$result" >&6; }
13932
13933
13934 enablestring=
13935 defaultval=$wxUSE_ALL_FEATURES
13936 if test -z "$defaultval"; then
13937 if test x"$enablestring" = xdisable; then
13938 defaultval=yes
13939 else
13940 defaultval=no
13941 fi
13942 fi
13943
13944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13945 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13946 # Check whether --enable-ownerdrawn was given.
13947 if test "${enable_ownerdrawn+set}" = set; then
13948 enableval=$enable_ownerdrawn;
13949 if test "$enableval" = yes; then
13950 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13951 else
13952 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13953 fi
13954
13955 else
13956
13957 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13958
13959 fi
13960
13961
13962 eval "$wx_cv_use_ownerdrawn"
13963
13964 if test x"$enablestring" = xdisable; then
13965 if test $wxUSE_OWNER_DRAWN = no; then
13966 result=yes
13967 else
13968 result=no
13969 fi
13970 else
13971 result=$wxUSE_OWNER_DRAWN
13972 fi
13973
13974 { echo "$as_me:$LINENO: result: $result" >&5
13975 echo "${ECHO_T}$result" >&6; }
13976
13977
13978 enablestring=
13979 defaultval=$wxUSE_ALL_FEATURES
13980 if test -z "$defaultval"; then
13981 if test x"$enablestring" = xdisable; then
13982 defaultval=yes
13983 else
13984 defaultval=no
13985 fi
13986 fi
13987
13988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13989 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13990 # Check whether --enable-uxtheme was given.
13991 if test "${enable_uxtheme+set}" = set; then
13992 enableval=$enable_uxtheme;
13993 if test "$enableval" = yes; then
13994 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13995 else
13996 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13997 fi
13998
13999 else
14000
14001 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14002
14003 fi
14004
14005
14006 eval "$wx_cv_use_uxtheme"
14007
14008 if test x"$enablestring" = xdisable; then
14009 if test $wxUSE_UXTHEME = no; then
14010 result=yes
14011 else
14012 result=no
14013 fi
14014 else
14015 result=$wxUSE_UXTHEME
14016 fi
14017
14018 { echo "$as_me:$LINENO: result: $result" >&5
14019 echo "${ECHO_T}$result" >&6; }
14020
14021
14022 enablestring=
14023 defaultval=$wxUSE_ALL_FEATURES
14024 if test -z "$defaultval"; then
14025 if test x"$enablestring" = xdisable; then
14026 defaultval=yes
14027 else
14028 defaultval=no
14029 fi
14030 fi
14031
14032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14033 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14034 # Check whether --enable-wxdib was given.
14035 if test "${enable_wxdib+set}" = set; then
14036 enableval=$enable_wxdib;
14037 if test "$enableval" = yes; then
14038 wx_cv_use_wxdib='wxUSE_DIB=yes'
14039 else
14040 wx_cv_use_wxdib='wxUSE_DIB=no'
14041 fi
14042
14043 else
14044
14045 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14046
14047 fi
14048
14049
14050 eval "$wx_cv_use_wxdib"
14051
14052 if test x"$enablestring" = xdisable; then
14053 if test $wxUSE_DIB = no; then
14054 result=yes
14055 else
14056 result=no
14057 fi
14058 else
14059 result=$wxUSE_DIB
14060 fi
14061
14062 { echo "$as_me:$LINENO: result: $result" >&5
14063 echo "${ECHO_T}$result" >&6; }
14064
14065
14066 if test "$wxUSE_MSW" != 1; then
14067 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14068 fi
14069
14070
14071 enablestring=
14072 defaultval=$wxUSE_ALL_FEATURES
14073 if test -z "$defaultval"; then
14074 if test x"$enablestring" = xdisable; then
14075 defaultval=yes
14076 else
14077 defaultval=no
14078 fi
14079 fi
14080
14081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14082 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14083 # Check whether --enable-autoidman was given.
14084 if test "${enable_autoidman+set}" = set; then
14085 enableval=$enable_autoidman;
14086 if test "$enableval" = yes; then
14087 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14088 else
14089 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14090 fi
14091
14092 else
14093
14094 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14095
14096 fi
14097
14098
14099 eval "$wx_cv_use_autoidman"
14100
14101 if test x"$enablestring" = xdisable; then
14102 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14103 result=yes
14104 else
14105 result=no
14106 fi
14107 else
14108 result=$wxUSE_AUTOID_MANAGEMENT
14109 fi
14110
14111 { echo "$as_me:$LINENO: result: $result" >&5
14112 echo "${ECHO_T}$result" >&6; }
14113
14114
14115 fi
14116
14117
14118 cat >confcache <<\_ACEOF
14119 # This file is a shell script that caches the results of configure
14120 # tests run on this system so they can be shared between configure
14121 # scripts and configure runs, see configure's option --config-cache.
14122 # It is not useful on other systems. If it contains results you don't
14123 # want to keep, you may remove or edit it.
14124 #
14125 # config.status only pays attention to the cache file if you give it
14126 # the --recheck option to rerun configure.
14127 #
14128 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14129 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14130 # following values.
14131
14132 _ACEOF
14133
14134 # The following way of writing the cache mishandles newlines in values,
14135 # but we know of no workaround that is simple, portable, and efficient.
14136 # So, we kill variables containing newlines.
14137 # Ultrix sh set writes to stderr and can't be redirected directly,
14138 # and sets the high bit in the cache file unless we assign to the vars.
14139 (
14140 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14141 eval ac_val=\$$ac_var
14142 case $ac_val in #(
14143 *${as_nl}*)
14144 case $ac_var in #(
14145 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14146 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14147 esac
14148 case $ac_var in #(
14149 _ | IFS | as_nl) ;; #(
14150 *) $as_unset $ac_var ;;
14151 esac ;;
14152 esac
14153 done
14154
14155 (set) 2>&1 |
14156 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14157 *${as_nl}ac_space=\ *)
14158 # `set' does not quote correctly, so add quotes (double-quote
14159 # substitution turns \\\\ into \\, and sed turns \\ into \).
14160 sed -n \
14161 "s/'/'\\\\''/g;
14162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14163 ;; #(
14164 *)
14165 # `set' quotes correctly as required by POSIX, so do not add quotes.
14166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14167 ;;
14168 esac |
14169 sort
14170 ) |
14171 sed '
14172 /^ac_cv_env_/b end
14173 t clear
14174 :clear
14175 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14176 t end
14177 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14178 :end' >>confcache
14179 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14180 if test -w "$cache_file"; then
14181 test "x$cache_file" != "x/dev/null" &&
14182 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14183 echo "$as_me: updating cache $cache_file" >&6;}
14184 cat confcache >$cache_file
14185 else
14186 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14187 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14188 fi
14189 fi
14190 rm -f confcache
14191
14192 CFLAGS=${CFLAGS:=}
14193
14194
14195
14196 ac_ext=c
14197 ac_cpp='$CPP $CPPFLAGS'
14198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14201 if test -n "$ac_tool_prefix"; then
14202 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14203 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14206 if test "${ac_cv_prog_CC+set}" = set; then
14207 echo $ECHO_N "(cached) $ECHO_C" >&6
14208 else
14209 if test -n "$CC"; then
14210 ac_cv_prog_CC="$CC" # Let the user override the test.
14211 else
14212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14213 for as_dir in $PATH
14214 do
14215 IFS=$as_save_IFS
14216 test -z "$as_dir" && as_dir=.
14217 for ac_exec_ext in '' $ac_executable_extensions; do
14218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14219 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14221 break 2
14222 fi
14223 done
14224 done
14225 IFS=$as_save_IFS
14226
14227 fi
14228 fi
14229 CC=$ac_cv_prog_CC
14230 if test -n "$CC"; then
14231 { echo "$as_me:$LINENO: result: $CC" >&5
14232 echo "${ECHO_T}$CC" >&6; }
14233 else
14234 { echo "$as_me:$LINENO: result: no" >&5
14235 echo "${ECHO_T}no" >&6; }
14236 fi
14237
14238
14239 fi
14240 if test -z "$ac_cv_prog_CC"; then
14241 ac_ct_CC=$CC
14242 # Extract the first word of "gcc", so it can be a program name with args.
14243 set dummy gcc; ac_word=$2
14244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14246 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14248 else
14249 if test -n "$ac_ct_CC"; then
14250 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14251 else
14252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14253 for as_dir in $PATH
14254 do
14255 IFS=$as_save_IFS
14256 test -z "$as_dir" && as_dir=.
14257 for ac_exec_ext in '' $ac_executable_extensions; do
14258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14259 ac_cv_prog_ac_ct_CC="gcc"
14260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14261 break 2
14262 fi
14263 done
14264 done
14265 IFS=$as_save_IFS
14266
14267 fi
14268 fi
14269 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14270 if test -n "$ac_ct_CC"; then
14271 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14272 echo "${ECHO_T}$ac_ct_CC" >&6; }
14273 else
14274 { echo "$as_me:$LINENO: result: no" >&5
14275 echo "${ECHO_T}no" >&6; }
14276 fi
14277
14278 if test "x$ac_ct_CC" = x; then
14279 CC=""
14280 else
14281 case $cross_compiling:$ac_tool_warned in
14282 yes:)
14283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14284 whose name does not start with the host triplet. If you think this
14285 configuration is useful to you, please write to autoconf@gnu.org." >&5
14286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14287 whose name does not start with the host triplet. If you think this
14288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14289 ac_tool_warned=yes ;;
14290 esac
14291 CC=$ac_ct_CC
14292 fi
14293 else
14294 CC="$ac_cv_prog_CC"
14295 fi
14296
14297 if test -z "$CC"; then
14298 if test -n "$ac_tool_prefix"; then
14299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14300 set dummy ${ac_tool_prefix}cc; ac_word=$2
14301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14303 if test "${ac_cv_prog_CC+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14305 else
14306 if test -n "$CC"; then
14307 ac_cv_prog_CC="$CC" # Let the user override the test.
14308 else
14309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14310 for as_dir in $PATH
14311 do
14312 IFS=$as_save_IFS
14313 test -z "$as_dir" && as_dir=.
14314 for ac_exec_ext in '' $ac_executable_extensions; do
14315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14316 ac_cv_prog_CC="${ac_tool_prefix}cc"
14317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14318 break 2
14319 fi
14320 done
14321 done
14322 IFS=$as_save_IFS
14323
14324 fi
14325 fi
14326 CC=$ac_cv_prog_CC
14327 if test -n "$CC"; then
14328 { echo "$as_me:$LINENO: result: $CC" >&5
14329 echo "${ECHO_T}$CC" >&6; }
14330 else
14331 { echo "$as_me:$LINENO: result: no" >&5
14332 echo "${ECHO_T}no" >&6; }
14333 fi
14334
14335
14336 fi
14337 fi
14338 if test -z "$CC"; then
14339 # Extract the first word of "cc", so it can be a program name with args.
14340 set dummy cc; ac_word=$2
14341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14343 if test "${ac_cv_prog_CC+set}" = set; then
14344 echo $ECHO_N "(cached) $ECHO_C" >&6
14345 else
14346 if test -n "$CC"; then
14347 ac_cv_prog_CC="$CC" # Let the user override the test.
14348 else
14349 ac_prog_rejected=no
14350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14351 for as_dir in $PATH
14352 do
14353 IFS=$as_save_IFS
14354 test -z "$as_dir" && as_dir=.
14355 for ac_exec_ext in '' $ac_executable_extensions; do
14356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14357 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14358 ac_prog_rejected=yes
14359 continue
14360 fi
14361 ac_cv_prog_CC="cc"
14362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14363 break 2
14364 fi
14365 done
14366 done
14367 IFS=$as_save_IFS
14368
14369 if test $ac_prog_rejected = yes; then
14370 # We found a bogon in the path, so make sure we never use it.
14371 set dummy $ac_cv_prog_CC
14372 shift
14373 if test $# != 0; then
14374 # We chose a different compiler from the bogus one.
14375 # However, it has the same basename, so the bogon will be chosen
14376 # first if we set CC to just the basename; use the full file name.
14377 shift
14378 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14379 fi
14380 fi
14381 fi
14382 fi
14383 CC=$ac_cv_prog_CC
14384 if test -n "$CC"; then
14385 { echo "$as_me:$LINENO: result: $CC" >&5
14386 echo "${ECHO_T}$CC" >&6; }
14387 else
14388 { echo "$as_me:$LINENO: result: no" >&5
14389 echo "${ECHO_T}no" >&6; }
14390 fi
14391
14392
14393 fi
14394 if test -z "$CC"; then
14395 if test -n "$ac_tool_prefix"; then
14396 for ac_prog in cl.exe
14397 do
14398 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14399 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14402 if test "${ac_cv_prog_CC+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14404 else
14405 if test -n "$CC"; then
14406 ac_cv_prog_CC="$CC" # Let the user override the test.
14407 else
14408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14409 for as_dir in $PATH
14410 do
14411 IFS=$as_save_IFS
14412 test -z "$as_dir" && as_dir=.
14413 for ac_exec_ext in '' $ac_executable_extensions; do
14414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14415 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14417 break 2
14418 fi
14419 done
14420 done
14421 IFS=$as_save_IFS
14422
14423 fi
14424 fi
14425 CC=$ac_cv_prog_CC
14426 if test -n "$CC"; then
14427 { echo "$as_me:$LINENO: result: $CC" >&5
14428 echo "${ECHO_T}$CC" >&6; }
14429 else
14430 { echo "$as_me:$LINENO: result: no" >&5
14431 echo "${ECHO_T}no" >&6; }
14432 fi
14433
14434
14435 test -n "$CC" && break
14436 done
14437 fi
14438 if test -z "$CC"; then
14439 ac_ct_CC=$CC
14440 for ac_prog in cl.exe
14441 do
14442 # Extract the first word of "$ac_prog", so it can be a program name with args.
14443 set dummy $ac_prog; ac_word=$2
14444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14447 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 else
14449 if test -n "$ac_ct_CC"; then
14450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14451 else
14452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14453 for as_dir in $PATH
14454 do
14455 IFS=$as_save_IFS
14456 test -z "$as_dir" && as_dir=.
14457 for ac_exec_ext in '' $ac_executable_extensions; do
14458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14459 ac_cv_prog_ac_ct_CC="$ac_prog"
14460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14461 break 2
14462 fi
14463 done
14464 done
14465 IFS=$as_save_IFS
14466
14467 fi
14468 fi
14469 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14470 if test -n "$ac_ct_CC"; then
14471 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14472 echo "${ECHO_T}$ac_ct_CC" >&6; }
14473 else
14474 { echo "$as_me:$LINENO: result: no" >&5
14475 echo "${ECHO_T}no" >&6; }
14476 fi
14477
14478
14479 test -n "$ac_ct_CC" && break
14480 done
14481
14482 if test "x$ac_ct_CC" = x; then
14483 CC=""
14484 else
14485 case $cross_compiling:$ac_tool_warned in
14486 yes:)
14487 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14488 whose name does not start with the host triplet. If you think this
14489 configuration is useful to you, please write to autoconf@gnu.org." >&5
14490 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14491 whose name does not start with the host triplet. If you think this
14492 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14493 ac_tool_warned=yes ;;
14494 esac
14495 CC=$ac_ct_CC
14496 fi
14497 fi
14498
14499 fi
14500
14501
14502 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14503 See \`config.log' for more details." >&5
14504 echo "$as_me: error: no acceptable C compiler found in \$PATH
14505 See \`config.log' for more details." >&2;}
14506 { (exit 1); exit 1; }; }
14507
14508 # Provide some information about the compiler.
14509 echo "$as_me:$LINENO: checking for C compiler version" >&5
14510 ac_compiler=`set X $ac_compile; echo $2`
14511 { (ac_try="$ac_compiler --version >&5"
14512 case "(($ac_try" in
14513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14514 *) ac_try_echo=$ac_try;;
14515 esac
14516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14517 (eval "$ac_compiler --version >&5") 2>&5
14518 ac_status=$?
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }
14521 { (ac_try="$ac_compiler -v >&5"
14522 case "(($ac_try" in
14523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14524 *) ac_try_echo=$ac_try;;
14525 esac
14526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14527 (eval "$ac_compiler -v >&5") 2>&5
14528 ac_status=$?
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }
14531 { (ac_try="$ac_compiler -V >&5"
14532 case "(($ac_try" in
14533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14534 *) ac_try_echo=$ac_try;;
14535 esac
14536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14537 (eval "$ac_compiler -V >&5") 2>&5
14538 ac_status=$?
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }
14541
14542 cat >conftest.$ac_ext <<_ACEOF
14543 /* confdefs.h. */
14544 _ACEOF
14545 cat confdefs.h >>conftest.$ac_ext
14546 cat >>conftest.$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548
14549 int
14550 main ()
14551 {
14552
14553 ;
14554 return 0;
14555 }
14556 _ACEOF
14557 ac_clean_files_save=$ac_clean_files
14558 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14559 # Try to create an executable without -o first, disregard a.out.
14560 # It will help us diagnose broken compilers, and finding out an intuition
14561 # of exeext.
14562 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14563 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14564 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14565 #
14566 # List of possible output files, starting from the most likely.
14567 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14568 # only as a last resort. b.out is created by i960 compilers.
14569 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14570 #
14571 # The IRIX 6 linker writes into existing files which may not be
14572 # executable, retaining their permissions. Remove them first so a
14573 # subsequent execution test works.
14574 ac_rmfiles=
14575 for ac_file in $ac_files
14576 do
14577 case $ac_file in
14578 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14579 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14580 esac
14581 done
14582 rm -f $ac_rmfiles
14583
14584 if { (ac_try="$ac_link_default"
14585 case "(($ac_try" in
14586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14587 *) ac_try_echo=$ac_try;;
14588 esac
14589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14590 (eval "$ac_link_default") 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; then
14594 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14595 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14596 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14597 # so that the user can short-circuit this test for compilers unknown to
14598 # Autoconf.
14599 for ac_file in $ac_files ''
14600 do
14601 test -f "$ac_file" || continue
14602 case $ac_file in
14603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14604 ;;
14605 [ab].out )
14606 # We found the default executable, but exeext='' is most
14607 # certainly right.
14608 break;;
14609 *.* )
14610 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14611 then :; else
14612 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14613 fi
14614 # We set ac_cv_exeext here because the later test for it is not
14615 # safe: cross compilers may not add the suffix if given an `-o'
14616 # argument, so we may need to know it at that point already.
14617 # Even if this section looks crufty: it has the advantage of
14618 # actually working.
14619 break;;
14620 * )
14621 break;;
14622 esac
14623 done
14624 test "$ac_cv_exeext" = no && ac_cv_exeext=
14625
14626 else
14627 ac_file=''
14628 fi
14629
14630 { echo "$as_me:$LINENO: result: $ac_file" >&5
14631 echo "${ECHO_T}$ac_file" >&6; }
14632 if test -z "$ac_file"; then
14633 echo "$as_me: failed program was:" >&5
14634 sed 's/^/| /' conftest.$ac_ext >&5
14635
14636 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14637 See \`config.log' for more details." >&5
14638 echo "$as_me: error: C compiler cannot create executables
14639 See \`config.log' for more details." >&2;}
14640 { (exit 77); exit 77; }; }
14641 fi
14642
14643 ac_exeext=$ac_cv_exeext
14644
14645 # Check that the compiler produces executables we can run. If not, either
14646 # the compiler is broken, or we cross compile.
14647 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14648 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14649 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14650 # If not cross compiling, check that we can run a simple program.
14651 if test "$cross_compiling" != yes; then
14652 if { ac_try='./$ac_file'
14653 { (case "(($ac_try" in
14654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14655 *) ac_try_echo=$ac_try;;
14656 esac
14657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14658 (eval "$ac_try") 2>&5
14659 ac_status=$?
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); }; }; then
14662 cross_compiling=no
14663 else
14664 if test "$cross_compiling" = maybe; then
14665 cross_compiling=yes
14666 else
14667 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14668 If you meant to cross compile, use \`--host'.
14669 See \`config.log' for more details." >&5
14670 echo "$as_me: error: cannot run C compiled programs.
14671 If you meant to cross compile, use \`--host'.
14672 See \`config.log' for more details." >&2;}
14673 { (exit 1); exit 1; }; }
14674 fi
14675 fi
14676 fi
14677 { echo "$as_me:$LINENO: result: yes" >&5
14678 echo "${ECHO_T}yes" >&6; }
14679
14680 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14681 ac_clean_files=$ac_clean_files_save
14682 # Check that the compiler produces executables we can run. If not, either
14683 # the compiler is broken, or we cross compile.
14684 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14685 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14686 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14687 echo "${ECHO_T}$cross_compiling" >&6; }
14688
14689 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14690 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14691 if { (ac_try="$ac_link"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14695 esac
14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_link") 2>&5
14698 ac_status=$?
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); }; then
14701 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14702 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14703 # work properly (i.e., refer to `conftest.exe'), while it won't with
14704 # `rm'.
14705 for ac_file in conftest.exe conftest conftest.*; do
14706 test -f "$ac_file" || continue
14707 case $ac_file in
14708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14709 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14710 break;;
14711 * ) break;;
14712 esac
14713 done
14714 else
14715 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14716 See \`config.log' for more details." >&5
14717 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14718 See \`config.log' for more details." >&2;}
14719 { (exit 1); exit 1; }; }
14720 fi
14721
14722 rm -f conftest$ac_cv_exeext
14723 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14724 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14725
14726 rm -f conftest.$ac_ext
14727 EXEEXT=$ac_cv_exeext
14728 ac_exeext=$EXEEXT
14729 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14730 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14731 if test "${ac_cv_objext+set}" = set; then
14732 echo $ECHO_N "(cached) $ECHO_C" >&6
14733 else
14734 cat >conftest.$ac_ext <<_ACEOF
14735 /* confdefs.h. */
14736 _ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14740
14741 int
14742 main ()
14743 {
14744
14745 ;
14746 return 0;
14747 }
14748 _ACEOF
14749 rm -f conftest.o conftest.obj
14750 if { (ac_try="$ac_compile"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14754 esac
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_compile") 2>&5
14757 ac_status=$?
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); }; then
14760 for ac_file in conftest.o conftest.obj conftest.*; do
14761 test -f "$ac_file" || continue;
14762 case $ac_file in
14763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14764 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14765 break;;
14766 esac
14767 done
14768 else
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.$ac_ext >&5
14771
14772 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14773 See \`config.log' for more details." >&5
14774 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14775 See \`config.log' for more details." >&2;}
14776 { (exit 1); exit 1; }; }
14777 fi
14778
14779 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14780 fi
14781 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14782 echo "${ECHO_T}$ac_cv_objext" >&6; }
14783 OBJEXT=$ac_cv_objext
14784 ac_objext=$OBJEXT
14785 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14786 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14787 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14788 echo $ECHO_N "(cached) $ECHO_C" >&6
14789 else
14790 cat >conftest.$ac_ext <<_ACEOF
14791 /* confdefs.h. */
14792 _ACEOF
14793 cat confdefs.h >>conftest.$ac_ext
14794 cat >>conftest.$ac_ext <<_ACEOF
14795 /* end confdefs.h. */
14796
14797 int
14798 main ()
14799 {
14800 #ifndef __GNUC__
14801 choke me
14802 #endif
14803
14804 ;
14805 return 0;
14806 }
14807 _ACEOF
14808 rm -f conftest.$ac_objext
14809 if { (ac_try="$ac_compile"
14810 case "(($ac_try" in
14811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14812 *) ac_try_echo=$ac_try;;
14813 esac
14814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14815 (eval "$ac_compile") 2>conftest.er1
14816 ac_status=$?
14817 grep -v '^ *+' conftest.er1 >conftest.err
14818 rm -f conftest.er1
14819 cat conftest.err >&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } && {
14822 test -z "$ac_c_werror_flag" ||
14823 test ! -s conftest.err
14824 } && test -s conftest.$ac_objext; then
14825 ac_compiler_gnu=yes
14826 else
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.$ac_ext >&5
14829
14830 ac_compiler_gnu=no
14831 fi
14832
14833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14834 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14835
14836 fi
14837 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14838 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14839 GCC=`test $ac_compiler_gnu = yes && echo yes`
14840 ac_test_CFLAGS=${CFLAGS+set}
14841 ac_save_CFLAGS=$CFLAGS
14842 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14843 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14844 if test "${ac_cv_prog_cc_g+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14846 else
14847 ac_save_c_werror_flag=$ac_c_werror_flag
14848 ac_c_werror_flag=yes
14849 ac_cv_prog_cc_g=no
14850 CFLAGS="-g"
14851 cat >conftest.$ac_ext <<_ACEOF
14852 /* confdefs.h. */
14853 _ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14857
14858 int
14859 main ()
14860 {
14861
14862 ;
14863 return 0;
14864 }
14865 _ACEOF
14866 rm -f conftest.$ac_objext
14867 if { (ac_try="$ac_compile"
14868 case "(($ac_try" in
14869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14870 *) ac_try_echo=$ac_try;;
14871 esac
14872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14873 (eval "$ac_compile") 2>conftest.er1
14874 ac_status=$?
14875 grep -v '^ *+' conftest.er1 >conftest.err
14876 rm -f conftest.er1
14877 cat conftest.err >&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && {
14880 test -z "$ac_c_werror_flag" ||
14881 test ! -s conftest.err
14882 } && test -s conftest.$ac_objext; then
14883 ac_cv_prog_cc_g=yes
14884 else
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.$ac_ext >&5
14887
14888 CFLAGS=""
14889 cat >conftest.$ac_ext <<_ACEOF
14890 /* confdefs.h. */
14891 _ACEOF
14892 cat confdefs.h >>conftest.$ac_ext
14893 cat >>conftest.$ac_ext <<_ACEOF
14894 /* end confdefs.h. */
14895
14896 int
14897 main ()
14898 {
14899
14900 ;
14901 return 0;
14902 }
14903 _ACEOF
14904 rm -f conftest.$ac_objext
14905 if { (ac_try="$ac_compile"
14906 case "(($ac_try" in
14907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14908 *) ac_try_echo=$ac_try;;
14909 esac
14910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14911 (eval "$ac_compile") 2>conftest.er1
14912 ac_status=$?
14913 grep -v '^ *+' conftest.er1 >conftest.err
14914 rm -f conftest.er1
14915 cat conftest.err >&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); } && {
14918 test -z "$ac_c_werror_flag" ||
14919 test ! -s conftest.err
14920 } && test -s conftest.$ac_objext; then
14921 :
14922 else
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14925
14926 ac_c_werror_flag=$ac_save_c_werror_flag
14927 CFLAGS="-g"
14928 cat >conftest.$ac_ext <<_ACEOF
14929 /* confdefs.h. */
14930 _ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14934
14935 int
14936 main ()
14937 {
14938
14939 ;
14940 return 0;
14941 }
14942 _ACEOF
14943 rm -f conftest.$ac_objext
14944 if { (ac_try="$ac_compile"
14945 case "(($ac_try" in
14946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14947 *) ac_try_echo=$ac_try;;
14948 esac
14949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14950 (eval "$ac_compile") 2>conftest.er1
14951 ac_status=$?
14952 grep -v '^ *+' conftest.er1 >conftest.err
14953 rm -f conftest.er1
14954 cat conftest.err >&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } && {
14957 test -z "$ac_c_werror_flag" ||
14958 test ! -s conftest.err
14959 } && test -s conftest.$ac_objext; then
14960 ac_cv_prog_cc_g=yes
14961 else
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.$ac_ext >&5
14964
14965
14966 fi
14967
14968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14969 fi
14970
14971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14972 fi
14973
14974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14975 ac_c_werror_flag=$ac_save_c_werror_flag
14976 fi
14977 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14978 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14979 if test "$ac_test_CFLAGS" = set; then
14980 CFLAGS=$ac_save_CFLAGS
14981 elif test $ac_cv_prog_cc_g = yes; then
14982 if test "$GCC" = yes; then
14983 CFLAGS="-g -O2"
14984 else
14985 CFLAGS="-g"
14986 fi
14987 else
14988 if test "$GCC" = yes; then
14989 CFLAGS="-O2"
14990 else
14991 CFLAGS=
14992 fi
14993 fi
14994 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14995 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14996 if test "${ac_cv_prog_cc_c89+set}" = set; then
14997 echo $ECHO_N "(cached) $ECHO_C" >&6
14998 else
14999 ac_cv_prog_cc_c89=no
15000 ac_save_CC=$CC
15001 cat >conftest.$ac_ext <<_ACEOF
15002 /* confdefs.h. */
15003 _ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15007 #include <stdarg.h>
15008 #include <stdio.h>
15009 #include <sys/types.h>
15010 #include <sys/stat.h>
15011 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15012 struct buf { int x; };
15013 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15014 static char *e (p, i)
15015 char **p;
15016 int i;
15017 {
15018 return p[i];
15019 }
15020 static char *f (char * (*g) (char **, int), char **p, ...)
15021 {
15022 char *s;
15023 va_list v;
15024 va_start (v,p);
15025 s = g (p, va_arg (v,int));
15026 va_end (v);
15027 return s;
15028 }
15029
15030 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15031 function prototypes and stuff, but not '\xHH' hex character constants.
15032 These don't provoke an error unfortunately, instead are silently treated
15033 as 'x'. The following induces an error, until -std is added to get
15034 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15035 array size at least. It's necessary to write '\x00'==0 to get something
15036 that's true only with -std. */
15037 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15038
15039 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15040 inside strings and character constants. */
15041 #define FOO(x) 'x'
15042 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15043
15044 int test (int i, double x);
15045 struct s1 {int (*f) (int a);};
15046 struct s2 {int (*f) (double a);};
15047 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15048 int argc;
15049 char **argv;
15050 int
15051 main ()
15052 {
15053 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15054 ;
15055 return 0;
15056 }
15057 _ACEOF
15058 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15059 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15060 do
15061 CC="$ac_save_CC $ac_arg"
15062 rm -f conftest.$ac_objext
15063 if { (ac_try="$ac_compile"
15064 case "(($ac_try" in
15065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15066 *) ac_try_echo=$ac_try;;
15067 esac
15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15069 (eval "$ac_compile") 2>conftest.er1
15070 ac_status=$?
15071 grep -v '^ *+' conftest.er1 >conftest.err
15072 rm -f conftest.er1
15073 cat conftest.err >&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } && {
15076 test -z "$ac_c_werror_flag" ||
15077 test ! -s conftest.err
15078 } && test -s conftest.$ac_objext; then
15079 ac_cv_prog_cc_c89=$ac_arg
15080 else
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.$ac_ext >&5
15083
15084
15085 fi
15086
15087 rm -f core conftest.err conftest.$ac_objext
15088 test "x$ac_cv_prog_cc_c89" != "xno" && break
15089 done
15090 rm -f conftest.$ac_ext
15091 CC=$ac_save_CC
15092
15093 fi
15094 # AC_CACHE_VAL
15095 case "x$ac_cv_prog_cc_c89" in
15096 x)
15097 { echo "$as_me:$LINENO: result: none needed" >&5
15098 echo "${ECHO_T}none needed" >&6; } ;;
15099 xno)
15100 { echo "$as_me:$LINENO: result: unsupported" >&5
15101 echo "${ECHO_T}unsupported" >&6; } ;;
15102 *)
15103 CC="$CC $ac_cv_prog_cc_c89"
15104 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15105 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15106 esac
15107
15108
15109 ac_ext=c
15110 ac_cpp='$CPP $CPPFLAGS'
15111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15114
15115
15116
15117
15118 ac_ext=c
15119 ac_cpp='$CPP $CPPFLAGS'
15120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15123
15124 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15125 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15126 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15127 echo $ECHO_N "(cached) $ECHO_C" >&6
15128 else
15129 cat >conftest.$ac_ext <<_ACEOF
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135
15136 int
15137 main ()
15138 {
15139
15140 #ifndef __INTEL_COMPILER
15141 choke me
15142 #endif
15143
15144 ;
15145 return 0;
15146 }
15147 _ACEOF
15148 rm -f conftest.$ac_objext
15149 if { (ac_try="$ac_compile"
15150 case "(($ac_try" in
15151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15152 *) ac_try_echo=$ac_try;;
15153 esac
15154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15155 (eval "$ac_compile") 2>conftest.er1
15156 ac_status=$?
15157 grep -v '^ *+' conftest.er1 >conftest.err
15158 rm -f conftest.er1
15159 cat conftest.err >&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); } && {
15162 test -z "$ac_c_werror_flag" ||
15163 test ! -s conftest.err
15164 } && test -s conftest.$ac_objext; then
15165 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15166 else
15167 echo "$as_me: failed program was:" >&5
15168 sed 's/^/| /' conftest.$ac_ext >&5
15169
15170 bakefile_cv_c_compiler___INTEL_COMPILER=no
15171
15172 fi
15173
15174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15175
15176
15177 fi
15178 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15179 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15180 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15181 :; INTELCC=yes
15182 else
15183 :;
15184 fi
15185 ac_ext=c
15186 ac_cpp='$CPP $CPPFLAGS'
15187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15190
15191
15192
15193
15194 if test "$INTELCC" = "yes"; then
15195
15196
15197 ac_ext=c
15198 ac_cpp='$CPP $CPPFLAGS'
15199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15202
15203 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15204 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15205 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15207 else
15208 cat >conftest.$ac_ext <<_ACEOF
15209 /* confdefs.h. */
15210 _ACEOF
15211 cat confdefs.h >>conftest.$ac_ext
15212 cat >>conftest.$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15214
15215 int
15216 main ()
15217 {
15218
15219 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15220 choke me
15221 #endif
15222
15223 ;
15224 return 0;
15225 }
15226 _ACEOF
15227 rm -f conftest.$ac_objext
15228 if { (ac_try="$ac_compile"
15229 case "(($ac_try" in
15230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15231 *) ac_try_echo=$ac_try;;
15232 esac
15233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15234 (eval "$ac_compile") 2>conftest.er1
15235 ac_status=$?
15236 grep -v '^ *+' conftest.er1 >conftest.err
15237 rm -f conftest.er1
15238 cat conftest.err >&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); } && {
15241 test -z "$ac_c_werror_flag" ||
15242 test ! -s conftest.err
15243 } && test -s conftest.$ac_objext; then
15244 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15245 else
15246 echo "$as_me: failed program was:" >&5
15247 sed 's/^/| /' conftest.$ac_ext >&5
15248
15249 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15250
15251 fi
15252
15253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15254
15255
15256 fi
15257 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15258 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15259 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15260 :; INTELCC8=yes
15261 else
15262 :;
15263 fi
15264 ac_ext=c
15265 ac_cpp='$CPP $CPPFLAGS'
15266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15269
15270
15271
15272
15273
15274 ac_ext=c
15275 ac_cpp='$CPP $CPPFLAGS'
15276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15279
15280 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15281 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15282 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15284 else
15285 cat >conftest.$ac_ext <<_ACEOF
15286 /* confdefs.h. */
15287 _ACEOF
15288 cat confdefs.h >>conftest.$ac_ext
15289 cat >>conftest.$ac_ext <<_ACEOF
15290 /* end confdefs.h. */
15291
15292 int
15293 main ()
15294 {
15295
15296 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15297 choke me
15298 #endif
15299
15300 ;
15301 return 0;
15302 }
15303 _ACEOF
15304 rm -f conftest.$ac_objext
15305 if { (ac_try="$ac_compile"
15306 case "(($ac_try" in
15307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;;
15309 esac
15310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15311 (eval "$ac_compile") 2>conftest.er1
15312 ac_status=$?
15313 grep -v '^ *+' conftest.er1 >conftest.err
15314 rm -f conftest.er1
15315 cat conftest.err >&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } && {
15318 test -z "$ac_c_werror_flag" ||
15319 test ! -s conftest.err
15320 } && test -s conftest.$ac_objext; then
15321 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15322 else
15323 echo "$as_me: failed program was:" >&5
15324 sed 's/^/| /' conftest.$ac_ext >&5
15325
15326 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15327
15328 fi
15329
15330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15331
15332
15333 fi
15334 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15335 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15336 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15337 :; INTELCC10=yes
15338 else
15339 :;
15340 fi
15341 ac_ext=c
15342 ac_cpp='$CPP $CPPFLAGS'
15343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15346
15347
15348
15349 fi
15350
15351 if test "x$GCC" != "xyes"; then
15352 if test "xCC" = "xC"; then
15353 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15354 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15355 if test "${bakefile_cv_c_exto+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 ;
15370 return 0;
15371 }
15372 _ACEOF
15373 rm -f conftest.$ac_objext conftest.$ac_ext.o
15374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15375 (eval $ac_compile) 2>&5
15376 ac_status=$?
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; then
15379 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15380 case $ac_file in
15381 conftest.$ac_ext.o)
15382 bakefile_cv_c_exto="-ext o"
15383 ;;
15384 *)
15385 ;;
15386 esac
15387 done
15388 else
15389 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15390 See \`config.log' for more details." >&5
15391 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15392 See \`config.log' for more details." >&2;}
15393 { (exit 1); exit 1; }; }
15394
15395 fi
15396
15397 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15398
15399 fi
15400 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15401 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15402 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15403 if test "c" = "c"; then
15404 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15405 fi
15406 if test "c" = "cxx"; then
15407 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15408 fi
15409 fi
15410
15411 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15412 unset ac_cv_prog_cc_g
15413 ac_test_CFLAGS=${CFLAGS+set}
15414 ac_save_CFLAGS=$CFLAGS
15415 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15416 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15417 if test "${ac_cv_prog_cc_g+set}" = set; then
15418 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 else
15420 ac_save_c_werror_flag=$ac_c_werror_flag
15421 ac_c_werror_flag=yes
15422 ac_cv_prog_cc_g=no
15423 CFLAGS="-g"
15424 cat >conftest.$ac_ext <<_ACEOF
15425 /* confdefs.h. */
15426 _ACEOF
15427 cat confdefs.h >>conftest.$ac_ext
15428 cat >>conftest.$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15430
15431 int
15432 main ()
15433 {
15434
15435 ;
15436 return 0;
15437 }
15438 _ACEOF
15439 rm -f conftest.$ac_objext
15440 if { (ac_try="$ac_compile"
15441 case "(($ac_try" in
15442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15443 *) ac_try_echo=$ac_try;;
15444 esac
15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15446 (eval "$ac_compile") 2>conftest.er1
15447 ac_status=$?
15448 grep -v '^ *+' conftest.er1 >conftest.err
15449 rm -f conftest.er1
15450 cat conftest.err >&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } && {
15453 test -z "$ac_c_werror_flag" ||
15454 test ! -s conftest.err
15455 } && test -s conftest.$ac_objext; then
15456 ac_cv_prog_cc_g=yes
15457 else
15458 echo "$as_me: failed program was:" >&5
15459 sed 's/^/| /' conftest.$ac_ext >&5
15460
15461 CFLAGS=""
15462 cat >conftest.$ac_ext <<_ACEOF
15463 /* confdefs.h. */
15464 _ACEOF
15465 cat confdefs.h >>conftest.$ac_ext
15466 cat >>conftest.$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468
15469 int
15470 main ()
15471 {
15472
15473 ;
15474 return 0;
15475 }
15476 _ACEOF
15477 rm -f conftest.$ac_objext
15478 if { (ac_try="$ac_compile"
15479 case "(($ac_try" in
15480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15481 *) ac_try_echo=$ac_try;;
15482 esac
15483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15484 (eval "$ac_compile") 2>conftest.er1
15485 ac_status=$?
15486 grep -v '^ *+' conftest.er1 >conftest.err
15487 rm -f conftest.er1
15488 cat conftest.err >&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); } && {
15491 test -z "$ac_c_werror_flag" ||
15492 test ! -s conftest.err
15493 } && test -s conftest.$ac_objext; then
15494 :
15495 else
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15498
15499 ac_c_werror_flag=$ac_save_c_werror_flag
15500 CFLAGS="-g"
15501 cat >conftest.$ac_ext <<_ACEOF
15502 /* confdefs.h. */
15503 _ACEOF
15504 cat confdefs.h >>conftest.$ac_ext
15505 cat >>conftest.$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15507
15508 int
15509 main ()
15510 {
15511
15512 ;
15513 return 0;
15514 }
15515 _ACEOF
15516 rm -f conftest.$ac_objext
15517 if { (ac_try="$ac_compile"
15518 case "(($ac_try" in
15519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15520 *) ac_try_echo=$ac_try;;
15521 esac
15522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15523 (eval "$ac_compile") 2>conftest.er1
15524 ac_status=$?
15525 grep -v '^ *+' conftest.er1 >conftest.err
15526 rm -f conftest.er1
15527 cat conftest.err >&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } && {
15530 test -z "$ac_c_werror_flag" ||
15531 test ! -s conftest.err
15532 } && test -s conftest.$ac_objext; then
15533 ac_cv_prog_cc_g=yes
15534 else
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15537
15538
15539 fi
15540
15541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15542 fi
15543
15544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15545 fi
15546
15547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15548 ac_c_werror_flag=$ac_save_c_werror_flag
15549 fi
15550 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15551 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15552 if test "$ac_test_CFLAGS" = set; then
15553 CFLAGS=$ac_save_CFLAGS
15554 elif test $ac_cv_prog_cc_g = yes; then
15555 if test "$GCC" = yes; then
15556 CFLAGS="-g -O2"
15557 else
15558 CFLAGS="-g"
15559 fi
15560 else
15561 if test "$GCC" = yes; then
15562 CFLAGS="-O2"
15563 else
15564 CFLAGS=
15565 fi
15566 fi
15567 fi
15568 fi
15569
15570 case `uname -s` in
15571 AIX*)
15572
15573
15574 ac_ext=c
15575 ac_cpp='$CPP $CPPFLAGS'
15576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15579
15580 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15581 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15582 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15583 echo $ECHO_N "(cached) $ECHO_C" >&6
15584 else
15585 cat >conftest.$ac_ext <<_ACEOF
15586 /* confdefs.h. */
15587 _ACEOF
15588 cat confdefs.h >>conftest.$ac_ext
15589 cat >>conftest.$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15591
15592 int
15593 main ()
15594 {
15595
15596 #ifndef __xlC__
15597 choke me
15598 #endif
15599
15600 ;
15601 return 0;
15602 }
15603 _ACEOF
15604 rm -f conftest.$ac_objext
15605 if { (ac_try="$ac_compile"
15606 case "(($ac_try" in
15607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15608 *) ac_try_echo=$ac_try;;
15609 esac
15610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15611 (eval "$ac_compile") 2>conftest.er1
15612 ac_status=$?
15613 grep -v '^ *+' conftest.er1 >conftest.err
15614 rm -f conftest.er1
15615 cat conftest.err >&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); } && {
15618 test -z "$ac_c_werror_flag" ||
15619 test ! -s conftest.err
15620 } && test -s conftest.$ac_objext; then
15621 bakefile_cv_c_compiler___xlC__=yes
15622 else
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15625
15626 bakefile_cv_c_compiler___xlC__=no
15627
15628 fi
15629
15630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15631
15632
15633 fi
15634 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15635 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15636 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15637 :; XLCC=yes
15638 else
15639 :;
15640 fi
15641 ac_ext=c
15642 ac_cpp='$CPP $CPPFLAGS'
15643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15646
15647
15648
15649 ;;
15650
15651 Darwin)
15652
15653
15654 ac_ext=c
15655 ac_cpp='$CPP $CPPFLAGS'
15656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15659
15660 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15661 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15662 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15663 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 else
15665 cat >conftest.$ac_ext <<_ACEOF
15666 /* confdefs.h. */
15667 _ACEOF
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15671
15672 int
15673 main ()
15674 {
15675
15676 #ifndef __MWERKS__
15677 choke me
15678 #endif
15679
15680 ;
15681 return 0;
15682 }
15683 _ACEOF
15684 rm -f conftest.$ac_objext
15685 if { (ac_try="$ac_compile"
15686 case "(($ac_try" in
15687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15688 *) ac_try_echo=$ac_try;;
15689 esac
15690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15691 (eval "$ac_compile") 2>conftest.er1
15692 ac_status=$?
15693 grep -v '^ *+' conftest.er1 >conftest.err
15694 rm -f conftest.er1
15695 cat conftest.err >&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } && {
15698 test -z "$ac_c_werror_flag" ||
15699 test ! -s conftest.err
15700 } && test -s conftest.$ac_objext; then
15701 bakefile_cv_c_compiler___MWERKS__=yes
15702 else
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.$ac_ext >&5
15705
15706 bakefile_cv_c_compiler___MWERKS__=no
15707
15708 fi
15709
15710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711
15712
15713 fi
15714 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15715 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15716 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15717 :; MWCC=yes
15718 else
15719 :;
15720 fi
15721 ac_ext=c
15722 ac_cpp='$CPP $CPPFLAGS'
15723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15726
15727
15728
15729 if test "$MWCC" != "yes"; then
15730
15731
15732 ac_ext=c
15733 ac_cpp='$CPP $CPPFLAGS'
15734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15737
15738 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15739 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15740 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15742 else
15743 cat >conftest.$ac_ext <<_ACEOF
15744 /* confdefs.h. */
15745 _ACEOF
15746 cat confdefs.h >>conftest.$ac_ext
15747 cat >>conftest.$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15749
15750 int
15751 main ()
15752 {
15753
15754 #ifndef __xlC__
15755 choke me
15756 #endif
15757
15758 ;
15759 return 0;
15760 }
15761 _ACEOF
15762 rm -f conftest.$ac_objext
15763 if { (ac_try="$ac_compile"
15764 case "(($ac_try" in
15765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15766 *) ac_try_echo=$ac_try;;
15767 esac
15768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15769 (eval "$ac_compile") 2>conftest.er1
15770 ac_status=$?
15771 grep -v '^ *+' conftest.er1 >conftest.err
15772 rm -f conftest.er1
15773 cat conftest.err >&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } && {
15776 test -z "$ac_c_werror_flag" ||
15777 test ! -s conftest.err
15778 } && test -s conftest.$ac_objext; then
15779 bakefile_cv_c_compiler___xlC__=yes
15780 else
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784 bakefile_cv_c_compiler___xlC__=no
15785
15786 fi
15787
15788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15789
15790
15791 fi
15792 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15793 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15794 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15795 :; XLCC=yes
15796 else
15797 :;
15798 fi
15799 ac_ext=c
15800 ac_cpp='$CPP $CPPFLAGS'
15801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15804
15805
15806
15807 fi
15808 ;;
15809
15810 IRIX*)
15811
15812
15813 ac_ext=c
15814 ac_cpp='$CPP $CPPFLAGS'
15815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15818
15819 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15820 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15821 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15823 else
15824 cat >conftest.$ac_ext <<_ACEOF
15825 /* confdefs.h. */
15826 _ACEOF
15827 cat confdefs.h >>conftest.$ac_ext
15828 cat >>conftest.$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830
15831 int
15832 main ()
15833 {
15834
15835 #ifndef _SGI_COMPILER_VERSION
15836 choke me
15837 #endif
15838
15839 ;
15840 return 0;
15841 }
15842 _ACEOF
15843 rm -f conftest.$ac_objext
15844 if { (ac_try="$ac_compile"
15845 case "(($ac_try" in
15846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15847 *) ac_try_echo=$ac_try;;
15848 esac
15849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15850 (eval "$ac_compile") 2>conftest.er1
15851 ac_status=$?
15852 grep -v '^ *+' conftest.er1 >conftest.err
15853 rm -f conftest.er1
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } && {
15857 test -z "$ac_c_werror_flag" ||
15858 test ! -s conftest.err
15859 } && test -s conftest.$ac_objext; then
15860 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15861 else
15862 echo "$as_me: failed program was:" >&5
15863 sed 's/^/| /' conftest.$ac_ext >&5
15864
15865 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15866
15867 fi
15868
15869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15870
15871
15872 fi
15873 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15874 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15875 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15876 :; SGICC=yes
15877 else
15878 :;
15879 fi
15880 ac_ext=c
15881 ac_cpp='$CPP $CPPFLAGS'
15882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15885
15886
15887
15888 ;;
15889
15890 Linux*)
15891 if test "$INTELCC" != "yes"; then
15892
15893
15894 ac_ext=c
15895 ac_cpp='$CPP $CPPFLAGS'
15896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15899
15900 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15901 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15902 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15903 echo $ECHO_N "(cached) $ECHO_C" >&6
15904 else
15905 cat >conftest.$ac_ext <<_ACEOF
15906 /* confdefs.h. */
15907 _ACEOF
15908 cat confdefs.h >>conftest.$ac_ext
15909 cat >>conftest.$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15911
15912 int
15913 main ()
15914 {
15915
15916 #ifndef __SUNPRO_C
15917 choke me
15918 #endif
15919
15920 ;
15921 return 0;
15922 }
15923 _ACEOF
15924 rm -f conftest.$ac_objext
15925 if { (ac_try="$ac_compile"
15926 case "(($ac_try" in
15927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15928 *) ac_try_echo=$ac_try;;
15929 esac
15930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15931 (eval "$ac_compile") 2>conftest.er1
15932 ac_status=$?
15933 grep -v '^ *+' conftest.er1 >conftest.err
15934 rm -f conftest.er1
15935 cat conftest.err >&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } && {
15938 test -z "$ac_c_werror_flag" ||
15939 test ! -s conftest.err
15940 } && test -s conftest.$ac_objext; then
15941 bakefile_cv_c_compiler___SUNPRO_C=yes
15942 else
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15945
15946 bakefile_cv_c_compiler___SUNPRO_C=no
15947
15948 fi
15949
15950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15951
15952
15953 fi
15954 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15955 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15956 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15957 :; SUNCC=yes
15958 else
15959 :;
15960 fi
15961 ac_ext=c
15962 ac_cpp='$CPP $CPPFLAGS'
15963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15966
15967
15968
15969 fi
15970 ;;
15971
15972 HP-UX*)
15973
15974
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 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15982 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15983 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6
15985 else
15986 cat >conftest.$ac_ext <<_ACEOF
15987 /* confdefs.h. */
15988 _ACEOF
15989 cat confdefs.h >>conftest.$ac_ext
15990 cat >>conftest.$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992
15993 int
15994 main ()
15995 {
15996
15997 #ifndef __HP_cc
15998 choke me
15999 #endif
16000
16001 ;
16002 return 0;
16003 }
16004 _ACEOF
16005 rm -f conftest.$ac_objext
16006 if { (ac_try="$ac_compile"
16007 case "(($ac_try" in
16008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16009 *) ac_try_echo=$ac_try;;
16010 esac
16011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16012 (eval "$ac_compile") 2>conftest.er1
16013 ac_status=$?
16014 grep -v '^ *+' conftest.er1 >conftest.err
16015 rm -f conftest.er1
16016 cat conftest.err >&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); } && {
16019 test -z "$ac_c_werror_flag" ||
16020 test ! -s conftest.err
16021 } && test -s conftest.$ac_objext; then
16022 bakefile_cv_c_compiler___HP_cc=yes
16023 else
16024 echo "$as_me: failed program was:" >&5
16025 sed 's/^/| /' conftest.$ac_ext >&5
16026
16027 bakefile_cv_c_compiler___HP_cc=no
16028
16029 fi
16030
16031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16032
16033
16034 fi
16035 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16036 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16037 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16038 :; HPCC=yes
16039 else
16040 :;
16041 fi
16042 ac_ext=c
16043 ac_cpp='$CPP $CPPFLAGS'
16044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16047
16048
16049
16050 ;;
16051
16052 OSF1)
16053
16054
16055 ac_ext=c
16056 ac_cpp='$CPP $CPPFLAGS'
16057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16060
16061 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16062 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16063 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 else
16066 cat >conftest.$ac_ext <<_ACEOF
16067 /* confdefs.h. */
16068 _ACEOF
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16072
16073 int
16074 main ()
16075 {
16076
16077 #ifndef __DECC
16078 choke me
16079 #endif
16080
16081 ;
16082 return 0;
16083 }
16084 _ACEOF
16085 rm -f conftest.$ac_objext
16086 if { (ac_try="$ac_compile"
16087 case "(($ac_try" in
16088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16089 *) ac_try_echo=$ac_try;;
16090 esac
16091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16092 (eval "$ac_compile") 2>conftest.er1
16093 ac_status=$?
16094 grep -v '^ *+' conftest.er1 >conftest.err
16095 rm -f conftest.er1
16096 cat conftest.err >&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); } && {
16099 test -z "$ac_c_werror_flag" ||
16100 test ! -s conftest.err
16101 } && test -s conftest.$ac_objext; then
16102 bakefile_cv_c_compiler___DECC=yes
16103 else
16104 echo "$as_me: failed program was:" >&5
16105 sed 's/^/| /' conftest.$ac_ext >&5
16106
16107 bakefile_cv_c_compiler___DECC=no
16108
16109 fi
16110
16111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16112
16113
16114 fi
16115 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16116 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16117 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16118 :; COMPAQCC=yes
16119 else
16120 :;
16121 fi
16122 ac_ext=c
16123 ac_cpp='$CPP $CPPFLAGS'
16124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16127
16128
16129
16130 ;;
16131
16132 SunOS)
16133
16134
16135 ac_ext=c
16136 ac_cpp='$CPP $CPPFLAGS'
16137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16140
16141 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16142 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16143 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16144 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 else
16146 cat >conftest.$ac_ext <<_ACEOF
16147 /* confdefs.h. */
16148 _ACEOF
16149 cat confdefs.h >>conftest.$ac_ext
16150 cat >>conftest.$ac_ext <<_ACEOF
16151 /* end confdefs.h. */
16152
16153 int
16154 main ()
16155 {
16156
16157 #ifndef __SUNPRO_C
16158 choke me
16159 #endif
16160
16161 ;
16162 return 0;
16163 }
16164 _ACEOF
16165 rm -f conftest.$ac_objext
16166 if { (ac_try="$ac_compile"
16167 case "(($ac_try" in
16168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16169 *) ac_try_echo=$ac_try;;
16170 esac
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_compile") 2>conftest.er1
16173 ac_status=$?
16174 grep -v '^ *+' conftest.er1 >conftest.err
16175 rm -f conftest.er1
16176 cat conftest.err >&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } && {
16179 test -z "$ac_c_werror_flag" ||
16180 test ! -s conftest.err
16181 } && test -s conftest.$ac_objext; then
16182 bakefile_cv_c_compiler___SUNPRO_C=yes
16183 else
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.$ac_ext >&5
16186
16187 bakefile_cv_c_compiler___SUNPRO_C=no
16188
16189 fi
16190
16191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16192
16193
16194 fi
16195 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16196 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16197 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16198 :; SUNCC=yes
16199 else
16200 :;
16201 fi
16202 ac_ext=c
16203 ac_cpp='$CPP $CPPFLAGS'
16204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16207
16208
16209
16210 ;;
16211 esac
16212 fi
16213
16214
16215
16216 ac_ext=c
16217 ac_cpp='$CPP $CPPFLAGS'
16218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16221 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16222 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16223 # On Suns, sometimes $CPP names a directory.
16224 if test -n "$CPP" && test -d "$CPP"; then
16225 CPP=
16226 fi
16227 if test -z "$CPP"; then
16228 if test "${ac_cv_prog_CPP+set}" = set; then
16229 echo $ECHO_N "(cached) $ECHO_C" >&6
16230 else
16231 # Double quotes because CPP needs to be expanded
16232 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16233 do
16234 ac_preproc_ok=false
16235 for ac_c_preproc_warn_flag in '' yes
16236 do
16237 # Use a header file that comes with gcc, so configuring glibc
16238 # with a fresh cross-compiler works.
16239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16240 # <limits.h> exists even on freestanding compilers.
16241 # On the NeXT, cc -E runs the code through the compiler's parser,
16242 # not just through cpp. "Syntax error" is here to catch this case.
16243 cat >conftest.$ac_ext <<_ACEOF
16244 /* confdefs.h. */
16245 _ACEOF
16246 cat confdefs.h >>conftest.$ac_ext
16247 cat >>conftest.$ac_ext <<_ACEOF
16248 /* end confdefs.h. */
16249 #ifdef __STDC__
16250 # include <limits.h>
16251 #else
16252 # include <assert.h>
16253 #endif
16254 Syntax error
16255 _ACEOF
16256 if { (ac_try="$ac_cpp conftest.$ac_ext"
16257 case "(($ac_try" in
16258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16259 *) ac_try_echo=$ac_try;;
16260 esac
16261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16262 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16263 ac_status=$?
16264 grep -v '^ *+' conftest.er1 >conftest.err
16265 rm -f conftest.er1
16266 cat conftest.err >&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } >/dev/null && {
16269 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16270 test ! -s conftest.err
16271 }; then
16272 :
16273 else
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16276
16277 # Broken: fails on valid input.
16278 continue
16279 fi
16280
16281 rm -f conftest.err conftest.$ac_ext
16282
16283 # OK, works on sane cases. Now check whether nonexistent headers
16284 # can be detected and how.
16285 cat >conftest.$ac_ext <<_ACEOF
16286 /* confdefs.h. */
16287 _ACEOF
16288 cat confdefs.h >>conftest.$ac_ext
16289 cat >>conftest.$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16291 #include <ac_nonexistent.h>
16292 _ACEOF
16293 if { (ac_try="$ac_cpp conftest.$ac_ext"
16294 case "(($ac_try" in
16295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16296 *) ac_try_echo=$ac_try;;
16297 esac
16298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16299 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16300 ac_status=$?
16301 grep -v '^ *+' conftest.er1 >conftest.err
16302 rm -f conftest.er1
16303 cat conftest.err >&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } >/dev/null && {
16306 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16307 test ! -s conftest.err
16308 }; then
16309 # Broken: success on invalid input.
16310 continue
16311 else
16312 echo "$as_me: failed program was:" >&5
16313 sed 's/^/| /' conftest.$ac_ext >&5
16314
16315 # Passes both tests.
16316 ac_preproc_ok=:
16317 break
16318 fi
16319
16320 rm -f conftest.err conftest.$ac_ext
16321
16322 done
16323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16324 rm -f conftest.err conftest.$ac_ext
16325 if $ac_preproc_ok; then
16326 break
16327 fi
16328
16329 done
16330 ac_cv_prog_CPP=$CPP
16331
16332 fi
16333 CPP=$ac_cv_prog_CPP
16334 else
16335 ac_cv_prog_CPP=$CPP
16336 fi
16337 { echo "$as_me:$LINENO: result: $CPP" >&5
16338 echo "${ECHO_T}$CPP" >&6; }
16339 ac_preproc_ok=false
16340 for ac_c_preproc_warn_flag in '' yes
16341 do
16342 # Use a header file that comes with gcc, so configuring glibc
16343 # with a fresh cross-compiler works.
16344 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16345 # <limits.h> exists even on freestanding compilers.
16346 # On the NeXT, cc -E runs the code through the compiler's parser,
16347 # not just through cpp. "Syntax error" is here to catch this case.
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354 #ifdef __STDC__
16355 # include <limits.h>
16356 #else
16357 # include <assert.h>
16358 #endif
16359 Syntax error
16360 _ACEOF
16361 if { (ac_try="$ac_cpp conftest.$ac_ext"
16362 case "(($ac_try" in
16363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16364 *) ac_try_echo=$ac_try;;
16365 esac
16366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16367 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16368 ac_status=$?
16369 grep -v '^ *+' conftest.er1 >conftest.err
16370 rm -f conftest.er1
16371 cat conftest.err >&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } >/dev/null && {
16374 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16375 test ! -s conftest.err
16376 }; then
16377 :
16378 else
16379 echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.$ac_ext >&5
16381
16382 # Broken: fails on valid input.
16383 continue
16384 fi
16385
16386 rm -f conftest.err conftest.$ac_ext
16387
16388 # OK, works on sane cases. Now check whether nonexistent headers
16389 # can be detected and how.
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 #include <ac_nonexistent.h>
16397 _ACEOF
16398 if { (ac_try="$ac_cpp conftest.$ac_ext"
16399 case "(($ac_try" in
16400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16401 *) ac_try_echo=$ac_try;;
16402 esac
16403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16404 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16405 ac_status=$?
16406 grep -v '^ *+' conftest.er1 >conftest.err
16407 rm -f conftest.er1
16408 cat conftest.err >&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } >/dev/null && {
16411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16412 test ! -s conftest.err
16413 }; then
16414 # Broken: success on invalid input.
16415 continue
16416 else
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.$ac_ext >&5
16419
16420 # Passes both tests.
16421 ac_preproc_ok=:
16422 break
16423 fi
16424
16425 rm -f conftest.err conftest.$ac_ext
16426
16427 done
16428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16429 rm -f conftest.err conftest.$ac_ext
16430 if $ac_preproc_ok; then
16431 :
16432 else
16433 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16434 See \`config.log' for more details." >&5
16435 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16436 See \`config.log' for more details." >&2;}
16437 { (exit 1); exit 1; }; }
16438 fi
16439
16440 ac_ext=c
16441 ac_cpp='$CPP $CPPFLAGS'
16442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16445
16446
16447 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16448 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16449 if test "${ac_cv_path_GREP+set}" = set; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16451 else
16452 # Extract the first word of "grep ggrep" to use in msg output
16453 if test -z "$GREP"; then
16454 set dummy grep ggrep; ac_prog_name=$2
16455 if test "${ac_cv_path_GREP+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16457 else
16458 ac_path_GREP_found=false
16459 # Loop through the user's path and test for each of PROGNAME-LIST
16460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16462 do
16463 IFS=$as_save_IFS
16464 test -z "$as_dir" && as_dir=.
16465 for ac_prog in grep ggrep; do
16466 for ac_exec_ext in '' $ac_executable_extensions; do
16467 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16468 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16469 # Check for GNU ac_path_GREP and select it if it is found.
16470 # Check for GNU $ac_path_GREP
16471 case `"$ac_path_GREP" --version 2>&1` in
16472 *GNU*)
16473 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16474 *)
16475 ac_count=0
16476 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16477 while :
16478 do
16479 cat "conftest.in" "conftest.in" >"conftest.tmp"
16480 mv "conftest.tmp" "conftest.in"
16481 cp "conftest.in" "conftest.nl"
16482 echo 'GREP' >> "conftest.nl"
16483 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16484 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16485 ac_count=`expr $ac_count + 1`
16486 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16487 # Best one so far, save it but keep looking for a better one
16488 ac_cv_path_GREP="$ac_path_GREP"
16489 ac_path_GREP_max=$ac_count
16490 fi
16491 # 10*(2^10) chars as input seems more than enough
16492 test $ac_count -gt 10 && break
16493 done
16494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16495 esac
16496
16497
16498 $ac_path_GREP_found && break 3
16499 done
16500 done
16501
16502 done
16503 IFS=$as_save_IFS
16504
16505
16506 fi
16507
16508 GREP="$ac_cv_path_GREP"
16509 if test -z "$GREP"; then
16510 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16511 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16512 { (exit 1); exit 1; }; }
16513 fi
16514
16515 else
16516 ac_cv_path_GREP=$GREP
16517 fi
16518
16519
16520 fi
16521 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16522 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16523 GREP="$ac_cv_path_GREP"
16524
16525
16526 { echo "$as_me:$LINENO: checking for egrep" >&5
16527 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16528 if test "${ac_cv_path_EGREP+set}" = set; then
16529 echo $ECHO_N "(cached) $ECHO_C" >&6
16530 else
16531 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16532 then ac_cv_path_EGREP="$GREP -E"
16533 else
16534 # Extract the first word of "egrep" to use in msg output
16535 if test -z "$EGREP"; then
16536 set dummy egrep; ac_prog_name=$2
16537 if test "${ac_cv_path_EGREP+set}" = set; then
16538 echo $ECHO_N "(cached) $ECHO_C" >&6
16539 else
16540 ac_path_EGREP_found=false
16541 # Loop through the user's path and test for each of PROGNAME-LIST
16542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16543 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16544 do
16545 IFS=$as_save_IFS
16546 test -z "$as_dir" && as_dir=.
16547 for ac_prog in egrep; do
16548 for ac_exec_ext in '' $ac_executable_extensions; do
16549 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16550 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16551 # Check for GNU ac_path_EGREP and select it if it is found.
16552 # Check for GNU $ac_path_EGREP
16553 case `"$ac_path_EGREP" --version 2>&1` in
16554 *GNU*)
16555 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16556 *)
16557 ac_count=0
16558 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16559 while :
16560 do
16561 cat "conftest.in" "conftest.in" >"conftest.tmp"
16562 mv "conftest.tmp" "conftest.in"
16563 cp "conftest.in" "conftest.nl"
16564 echo 'EGREP' >> "conftest.nl"
16565 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16566 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16567 ac_count=`expr $ac_count + 1`
16568 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16569 # Best one so far, save it but keep looking for a better one
16570 ac_cv_path_EGREP="$ac_path_EGREP"
16571 ac_path_EGREP_max=$ac_count
16572 fi
16573 # 10*(2^10) chars as input seems more than enough
16574 test $ac_count -gt 10 && break
16575 done
16576 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16577 esac
16578
16579
16580 $ac_path_EGREP_found && break 3
16581 done
16582 done
16583
16584 done
16585 IFS=$as_save_IFS
16586
16587
16588 fi
16589
16590 EGREP="$ac_cv_path_EGREP"
16591 if test -z "$EGREP"; then
16592 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16593 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16594 { (exit 1); exit 1; }; }
16595 fi
16596
16597 else
16598 ac_cv_path_EGREP=$EGREP
16599 fi
16600
16601
16602 fi
16603 fi
16604 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16605 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16606 EGREP="$ac_cv_path_EGREP"
16607
16608
16609 if test $ac_cv_c_compiler_gnu = yes; then
16610 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16611 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16612 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16614 else
16615 ac_pattern="Autoconf.*'x'"
16616 cat >conftest.$ac_ext <<_ACEOF
16617 /* confdefs.h. */
16618 _ACEOF
16619 cat confdefs.h >>conftest.$ac_ext
16620 cat >>conftest.$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16622 #include <sgtty.h>
16623 Autoconf TIOCGETP
16624 _ACEOF
16625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16626 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16627 ac_cv_prog_gcc_traditional=yes
16628 else
16629 ac_cv_prog_gcc_traditional=no
16630 fi
16631 rm -f conftest*
16632
16633
16634 if test $ac_cv_prog_gcc_traditional = no; then
16635 cat >conftest.$ac_ext <<_ACEOF
16636 /* confdefs.h. */
16637 _ACEOF
16638 cat confdefs.h >>conftest.$ac_ext
16639 cat >>conftest.$ac_ext <<_ACEOF
16640 /* end confdefs.h. */
16641 #include <termio.h>
16642 Autoconf TCGETA
16643 _ACEOF
16644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16645 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16646 ac_cv_prog_gcc_traditional=yes
16647 fi
16648 rm -f conftest*
16649
16650 fi
16651 fi
16652 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16653 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16654 if test $ac_cv_prog_gcc_traditional = yes; then
16655 CC="$CC -traditional"
16656 fi
16657 fi
16658
16659
16660 CXXFLAGS=${CXXFLAGS:=}
16661
16662
16663
16664 ac_ext=cpp
16665 ac_cpp='$CXXCPP $CPPFLAGS'
16666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16669 if test -z "$CXX"; then
16670 if test -n "$CCC"; then
16671 CXX=$CCC
16672 else
16673 if test -n "$ac_tool_prefix"; then
16674 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16675 do
16676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16680 if test "${ac_cv_prog_CXX+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 else
16683 if test -n "$CXX"; then
16684 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16685 else
16686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16687 for as_dir in $PATH
16688 do
16689 IFS=$as_save_IFS
16690 test -z "$as_dir" && as_dir=.
16691 for ac_exec_ext in '' $ac_executable_extensions; do
16692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16693 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16695 break 2
16696 fi
16697 done
16698 done
16699 IFS=$as_save_IFS
16700
16701 fi
16702 fi
16703 CXX=$ac_cv_prog_CXX
16704 if test -n "$CXX"; then
16705 { echo "$as_me:$LINENO: result: $CXX" >&5
16706 echo "${ECHO_T}$CXX" >&6; }
16707 else
16708 { echo "$as_me:$LINENO: result: no" >&5
16709 echo "${ECHO_T}no" >&6; }
16710 fi
16711
16712
16713 test -n "$CXX" && break
16714 done
16715 fi
16716 if test -z "$CXX"; then
16717 ac_ct_CXX=$CXX
16718 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16719 do
16720 # Extract the first word of "$ac_prog", so it can be a program name with args.
16721 set dummy $ac_prog; ac_word=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 else
16727 if test -n "$ac_ct_CXX"; then
16728 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16729 else
16730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16731 for as_dir in $PATH
16732 do
16733 IFS=$as_save_IFS
16734 test -z "$as_dir" && as_dir=.
16735 for ac_exec_ext in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 ac_cv_prog_ac_ct_CXX="$ac_prog"
16738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16739 break 2
16740 fi
16741 done
16742 done
16743 IFS=$as_save_IFS
16744
16745 fi
16746 fi
16747 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16748 if test -n "$ac_ct_CXX"; then
16749 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16750 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16751 else
16752 { echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6; }
16754 fi
16755
16756
16757 test -n "$ac_ct_CXX" && break
16758 done
16759
16760 if test "x$ac_ct_CXX" = x; then
16761 CXX="g++"
16762 else
16763 case $cross_compiling:$ac_tool_warned in
16764 yes:)
16765 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16766 whose name does not start with the host triplet. If you think this
16767 configuration is useful to you, please write to autoconf@gnu.org." >&5
16768 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16769 whose name does not start with the host triplet. If you think this
16770 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16771 ac_tool_warned=yes ;;
16772 esac
16773 CXX=$ac_ct_CXX
16774 fi
16775 fi
16776
16777 fi
16778 fi
16779 # Provide some information about the compiler.
16780 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16781 ac_compiler=`set X $ac_compile; echo $2`
16782 { (ac_try="$ac_compiler --version >&5"
16783 case "(($ac_try" in
16784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16785 *) ac_try_echo=$ac_try;;
16786 esac
16787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16788 (eval "$ac_compiler --version >&5") 2>&5
16789 ac_status=$?
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }
16792 { (ac_try="$ac_compiler -v >&5"
16793 case "(($ac_try" in
16794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16795 *) ac_try_echo=$ac_try;;
16796 esac
16797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16798 (eval "$ac_compiler -v >&5") 2>&5
16799 ac_status=$?
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }
16802 { (ac_try="$ac_compiler -V >&5"
16803 case "(($ac_try" in
16804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16805 *) ac_try_echo=$ac_try;;
16806 esac
16807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16808 (eval "$ac_compiler -V >&5") 2>&5
16809 ac_status=$?
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }
16812
16813 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16814 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16815 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 else
16818 cat >conftest.$ac_ext <<_ACEOF
16819 /* confdefs.h. */
16820 _ACEOF
16821 cat confdefs.h >>conftest.$ac_ext
16822 cat >>conftest.$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824
16825 int
16826 main ()
16827 {
16828 #ifndef __GNUC__
16829 choke me
16830 #endif
16831
16832 ;
16833 return 0;
16834 }
16835 _ACEOF
16836 rm -f conftest.$ac_objext
16837 if { (ac_try="$ac_compile"
16838 case "(($ac_try" in
16839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16840 *) ac_try_echo=$ac_try;;
16841 esac
16842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16843 (eval "$ac_compile") 2>conftest.er1
16844 ac_status=$?
16845 grep -v '^ *+' conftest.er1 >conftest.err
16846 rm -f conftest.er1
16847 cat conftest.err >&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } && {
16850 test -z "$ac_cxx_werror_flag" ||
16851 test ! -s conftest.err
16852 } && test -s conftest.$ac_objext; then
16853 ac_compiler_gnu=yes
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16857
16858 ac_compiler_gnu=no
16859 fi
16860
16861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16862 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16863
16864 fi
16865 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16866 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16867 GXX=`test $ac_compiler_gnu = yes && echo yes`
16868 ac_test_CXXFLAGS=${CXXFLAGS+set}
16869 ac_save_CXXFLAGS=$CXXFLAGS
16870 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16871 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16872 if test "${ac_cv_prog_cxx_g+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 else
16875 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16876 ac_cxx_werror_flag=yes
16877 ac_cv_prog_cxx_g=no
16878 CXXFLAGS="-g"
16879 cat >conftest.$ac_ext <<_ACEOF
16880 /* confdefs.h. */
16881 _ACEOF
16882 cat confdefs.h >>conftest.$ac_ext
16883 cat >>conftest.$ac_ext <<_ACEOF
16884 /* end confdefs.h. */
16885
16886 int
16887 main ()
16888 {
16889
16890 ;
16891 return 0;
16892 }
16893 _ACEOF
16894 rm -f conftest.$ac_objext
16895 if { (ac_try="$ac_compile"
16896 case "(($ac_try" in
16897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16898 *) ac_try_echo=$ac_try;;
16899 esac
16900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16901 (eval "$ac_compile") 2>conftest.er1
16902 ac_status=$?
16903 grep -v '^ *+' conftest.er1 >conftest.err
16904 rm -f conftest.er1
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } && {
16908 test -z "$ac_cxx_werror_flag" ||
16909 test ! -s conftest.err
16910 } && test -s conftest.$ac_objext; then
16911 ac_cv_prog_cxx_g=yes
16912 else
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.$ac_ext >&5
16915
16916 CXXFLAGS=""
16917 cat >conftest.$ac_ext <<_ACEOF
16918 /* confdefs.h. */
16919 _ACEOF
16920 cat confdefs.h >>conftest.$ac_ext
16921 cat >>conftest.$ac_ext <<_ACEOF
16922 /* end confdefs.h. */
16923
16924 int
16925 main ()
16926 {
16927
16928 ;
16929 return 0;
16930 }
16931 _ACEOF
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16937 esac
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16940 ac_status=$?
16941 grep -v '^ *+' conftest.er1 >conftest.err
16942 rm -f conftest.er1
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_cxx_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.$ac_objext; then
16949 :
16950 else
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16953
16954 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16955 CXXFLAGS="-g"
16956 cat >conftest.$ac_ext <<_ACEOF
16957 /* confdefs.h. */
16958 _ACEOF
16959 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962
16963 int
16964 main ()
16965 {
16966
16967 ;
16968 return 0;
16969 }
16970 _ACEOF
16971 rm -f conftest.$ac_objext
16972 if { (ac_try="$ac_compile"
16973 case "(($ac_try" in
16974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16975 *) ac_try_echo=$ac_try;;
16976 esac
16977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16978 (eval "$ac_compile") 2>conftest.er1
16979 ac_status=$?
16980 grep -v '^ *+' conftest.er1 >conftest.err
16981 rm -f conftest.er1
16982 cat conftest.err >&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); } && {
16985 test -z "$ac_cxx_werror_flag" ||
16986 test ! -s conftest.err
16987 } && test -s conftest.$ac_objext; then
16988 ac_cv_prog_cxx_g=yes
16989 else
16990 echo "$as_me: failed program was:" >&5
16991 sed 's/^/| /' conftest.$ac_ext >&5
16992
16993
16994 fi
16995
16996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16997 fi
16998
16999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000 fi
17001
17002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17003 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17004 fi
17005 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17006 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17007 if test "$ac_test_CXXFLAGS" = set; then
17008 CXXFLAGS=$ac_save_CXXFLAGS
17009 elif test $ac_cv_prog_cxx_g = yes; then
17010 if test "$GXX" = yes; then
17011 CXXFLAGS="-g -O2"
17012 else
17013 CXXFLAGS="-g"
17014 fi
17015 else
17016 if test "$GXX" = yes; then
17017 CXXFLAGS="-O2"
17018 else
17019 CXXFLAGS=
17020 fi
17021 fi
17022 ac_ext=c
17023 ac_cpp='$CPP $CPPFLAGS'
17024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17027
17028
17029
17030
17031 ac_ext=cpp
17032 ac_cpp='$CXXCPP $CPPFLAGS'
17033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17036
17037 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17038 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17039 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17040 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 else
17042 cat >conftest.$ac_ext <<_ACEOF
17043 /* confdefs.h. */
17044 _ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048
17049 int
17050 main ()
17051 {
17052
17053 #ifndef __INTEL_COMPILER
17054 choke me
17055 #endif
17056
17057 ;
17058 return 0;
17059 }
17060 _ACEOF
17061 rm -f conftest.$ac_objext
17062 if { (ac_try="$ac_compile"
17063 case "(($ac_try" in
17064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17065 *) ac_try_echo=$ac_try;;
17066 esac
17067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17068 (eval "$ac_compile") 2>conftest.er1
17069 ac_status=$?
17070 grep -v '^ *+' conftest.er1 >conftest.err
17071 rm -f conftest.er1
17072 cat conftest.err >&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } && {
17075 test -z "$ac_cxx_werror_flag" ||
17076 test ! -s conftest.err
17077 } && test -s conftest.$ac_objext; then
17078 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17079 else
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.$ac_ext >&5
17082
17083 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17084
17085 fi
17086
17087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17088
17089
17090 fi
17091 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17092 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17093 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17094 :; INTELCXX=yes
17095 else
17096 :;
17097 fi
17098 ac_ext=c
17099 ac_cpp='$CPP $CPPFLAGS'
17100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17103
17104
17105
17106
17107 if test "$INTELCXX" = "yes"; then
17108
17109
17110 ac_ext=cpp
17111 ac_cpp='$CXXCPP $CPPFLAGS'
17112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17115
17116 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17117 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17118 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17121 cat >conftest.$ac_ext <<_ACEOF
17122 /* confdefs.h. */
17123 _ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127
17128 int
17129 main ()
17130 {
17131
17132 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17133 choke me
17134 #endif
17135
17136 ;
17137 return 0;
17138 }
17139 _ACEOF
17140 rm -f conftest.$ac_objext
17141 if { (ac_try="$ac_compile"
17142 case "(($ac_try" in
17143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17144 *) ac_try_echo=$ac_try;;
17145 esac
17146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17147 (eval "$ac_compile") 2>conftest.er1
17148 ac_status=$?
17149 grep -v '^ *+' conftest.er1 >conftest.err
17150 rm -f conftest.er1
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } && {
17154 test -z "$ac_cxx_werror_flag" ||
17155 test ! -s conftest.err
17156 } && test -s conftest.$ac_objext; then
17157 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17158 else
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.$ac_ext >&5
17161
17162 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17163
17164 fi
17165
17166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17167
17168
17169 fi
17170 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17171 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17172 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17173 :; INTELCXX8=yes
17174 else
17175 :;
17176 fi
17177 ac_ext=c
17178 ac_cpp='$CPP $CPPFLAGS'
17179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17182
17183
17184
17185
17186
17187 ac_ext=cpp
17188 ac_cpp='$CXXCPP $CPPFLAGS'
17189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17192
17193 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17194 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17195 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17197 else
17198 cat >conftest.$ac_ext <<_ACEOF
17199 /* confdefs.h. */
17200 _ACEOF
17201 cat confdefs.h >>conftest.$ac_ext
17202 cat >>conftest.$ac_ext <<_ACEOF
17203 /* end confdefs.h. */
17204
17205 int
17206 main ()
17207 {
17208
17209 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17210 choke me
17211 #endif
17212
17213 ;
17214 return 0;
17215 }
17216 _ACEOF
17217 rm -f conftest.$ac_objext
17218 if { (ac_try="$ac_compile"
17219 case "(($ac_try" in
17220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17221 *) ac_try_echo=$ac_try;;
17222 esac
17223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224 (eval "$ac_compile") 2>conftest.er1
17225 ac_status=$?
17226 grep -v '^ *+' conftest.er1 >conftest.err
17227 rm -f conftest.er1
17228 cat conftest.err >&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } && {
17231 test -z "$ac_cxx_werror_flag" ||
17232 test ! -s conftest.err
17233 } && test -s conftest.$ac_objext; then
17234 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17235 else
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17238
17239 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17240
17241 fi
17242
17243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17244
17245
17246 fi
17247 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17248 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17249 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17250 :; INTELCXX10=yes
17251 else
17252 :;
17253 fi
17254 ac_ext=c
17255 ac_cpp='$CPP $CPPFLAGS'
17256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17259
17260
17261
17262 fi
17263
17264 if test "x$GCXX" != "xyes"; then
17265 if test "xCXX" = "xC"; then
17266 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17267 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17268 if test "${bakefile_cv_c_exto+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 ;
17283 return 0;
17284 }
17285 _ACEOF
17286 rm -f conftest.$ac_objext conftest.$ac_ext.o
17287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17288 (eval $ac_compile) 2>&5
17289 ac_status=$?
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; then
17292 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17293 case $ac_file in
17294 conftest.$ac_ext.o)
17295 bakefile_cv_c_exto="-ext o"
17296 ;;
17297 *)
17298 ;;
17299 esac
17300 done
17301 else
17302 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17303 See \`config.log' for more details." >&5
17304 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17305 See \`config.log' for more details." >&2;}
17306 { (exit 1); exit 1; }; }
17307
17308 fi
17309
17310 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17311
17312 fi
17313 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17314 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17315 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17316 if test "c" = "c"; then
17317 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17318 fi
17319 if test "c" = "cxx"; then
17320 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17321 fi
17322 fi
17323
17324 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17325 unset ac_cv_prog_cc_g
17326 ac_test_CFLAGS=${CFLAGS+set}
17327 ac_save_CFLAGS=$CFLAGS
17328 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17329 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17330 if test "${ac_cv_prog_cc_g+set}" = set; then
17331 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 else
17333 ac_save_c_werror_flag=$ac_c_werror_flag
17334 ac_c_werror_flag=yes
17335 ac_cv_prog_cc_g=no
17336 CFLAGS="-g"
17337 cat >conftest.$ac_ext <<_ACEOF
17338 /* confdefs.h. */
17339 _ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343
17344 int
17345 main ()
17346 {
17347
17348 ;
17349 return 0;
17350 }
17351 _ACEOF
17352 rm -f conftest.$ac_objext
17353 if { (ac_try="$ac_compile"
17354 case "(($ac_try" in
17355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17356 *) ac_try_echo=$ac_try;;
17357 esac
17358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17359 (eval "$ac_compile") 2>conftest.er1
17360 ac_status=$?
17361 grep -v '^ *+' conftest.er1 >conftest.err
17362 rm -f conftest.er1
17363 cat conftest.err >&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } && {
17366 test -z "$ac_c_werror_flag" ||
17367 test ! -s conftest.err
17368 } && test -s conftest.$ac_objext; then
17369 ac_cv_prog_cc_g=yes
17370 else
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.$ac_ext >&5
17373
17374 CFLAGS=""
17375 cat >conftest.$ac_ext <<_ACEOF
17376 /* confdefs.h. */
17377 _ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17381
17382 int
17383 main ()
17384 {
17385
17386 ;
17387 return 0;
17388 }
17389 _ACEOF
17390 rm -f conftest.$ac_objext
17391 if { (ac_try="$ac_compile"
17392 case "(($ac_try" in
17393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17394 *) ac_try_echo=$ac_try;;
17395 esac
17396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_compile") 2>conftest.er1
17398 ac_status=$?
17399 grep -v '^ *+' conftest.er1 >conftest.err
17400 rm -f conftest.er1
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } && {
17404 test -z "$ac_c_werror_flag" ||
17405 test ! -s conftest.err
17406 } && test -s conftest.$ac_objext; then
17407 :
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412 ac_c_werror_flag=$ac_save_c_werror_flag
17413 CFLAGS="-g"
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420
17421 int
17422 main ()
17423 {
17424
17425 ;
17426 return 0;
17427 }
17428 _ACEOF
17429 rm -f conftest.$ac_objext
17430 if { (ac_try="$ac_compile"
17431 case "(($ac_try" in
17432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17433 *) ac_try_echo=$ac_try;;
17434 esac
17435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17436 (eval "$ac_compile") 2>conftest.er1
17437 ac_status=$?
17438 grep -v '^ *+' conftest.er1 >conftest.err
17439 rm -f conftest.er1
17440 cat conftest.err >&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); } && {
17443 test -z "$ac_c_werror_flag" ||
17444 test ! -s conftest.err
17445 } && test -s conftest.$ac_objext; then
17446 ac_cv_prog_cc_g=yes
17447 else
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.$ac_ext >&5
17450
17451
17452 fi
17453
17454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17455 fi
17456
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458 fi
17459
17460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 ac_c_werror_flag=$ac_save_c_werror_flag
17462 fi
17463 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17464 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17465 if test "$ac_test_CFLAGS" = set; then
17466 CFLAGS=$ac_save_CFLAGS
17467 elif test $ac_cv_prog_cc_g = yes; then
17468 if test "$GCC" = yes; then
17469 CFLAGS="-g -O2"
17470 else
17471 CFLAGS="-g"
17472 fi
17473 else
17474 if test "$GCC" = yes; then
17475 CFLAGS="-O2"
17476 else
17477 CFLAGS=
17478 fi
17479 fi
17480 fi
17481 fi
17482
17483 case `uname -s` in
17484 AIX*)
17485
17486
17487 ac_ext=cpp
17488 ac_cpp='$CXXCPP $CPPFLAGS'
17489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17492
17493 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17494 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17495 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17498 cat >conftest.$ac_ext <<_ACEOF
17499 /* confdefs.h. */
17500 _ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504
17505 int
17506 main ()
17507 {
17508
17509 #ifndef __xlC__
17510 choke me
17511 #endif
17512
17513 ;
17514 return 0;
17515 }
17516 _ACEOF
17517 rm -f conftest.$ac_objext
17518 if { (ac_try="$ac_compile"
17519 case "(($ac_try" in
17520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17521 *) ac_try_echo=$ac_try;;
17522 esac
17523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17524 (eval "$ac_compile") 2>conftest.er1
17525 ac_status=$?
17526 grep -v '^ *+' conftest.er1 >conftest.err
17527 rm -f conftest.er1
17528 cat conftest.err >&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } && {
17531 test -z "$ac_cxx_werror_flag" ||
17532 test ! -s conftest.err
17533 } && test -s conftest.$ac_objext; then
17534 bakefile_cv_cxx_compiler___xlC__=yes
17535 else
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.$ac_ext >&5
17538
17539 bakefile_cv_cxx_compiler___xlC__=no
17540
17541 fi
17542
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544
17545
17546 fi
17547 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17548 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17549 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17550 :; XLCXX=yes
17551 else
17552 :;
17553 fi
17554 ac_ext=c
17555 ac_cpp='$CPP $CPPFLAGS'
17556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17559
17560
17561
17562 ;;
17563
17564 Darwin)
17565
17566
17567 ac_ext=cpp
17568 ac_cpp='$CXXCPP $CPPFLAGS'
17569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17572
17573 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17574 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17575 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 else
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584
17585 int
17586 main ()
17587 {
17588
17589 #ifndef __MWERKS__
17590 choke me
17591 #endif
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext
17598 if { (ac_try="$ac_compile"
17599 case "(($ac_try" in
17600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17601 *) ac_try_echo=$ac_try;;
17602 esac
17603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_compile") 2>conftest.er1
17605 ac_status=$?
17606 grep -v '^ *+' conftest.er1 >conftest.err
17607 rm -f conftest.er1
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_cxx_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest.$ac_objext; then
17614 bakefile_cv_cxx_compiler___MWERKS__=yes
17615 else
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.$ac_ext >&5
17618
17619 bakefile_cv_cxx_compiler___MWERKS__=no
17620
17621 fi
17622
17623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624
17625
17626 fi
17627 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17628 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17629 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17630 :; MWCXX=yes
17631 else
17632 :;
17633 fi
17634 ac_ext=c
17635 ac_cpp='$CPP $CPPFLAGS'
17636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17639
17640
17641
17642 if test "$MWCXX" != "yes"; then
17643
17644
17645 ac_ext=cpp
17646 ac_cpp='$CXXCPP $CPPFLAGS'
17647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17650
17651 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17652 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17653 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17654 echo $ECHO_N "(cached) $ECHO_C" >&6
17655 else
17656 cat >conftest.$ac_ext <<_ACEOF
17657 /* confdefs.h. */
17658 _ACEOF
17659 cat confdefs.h >>conftest.$ac_ext
17660 cat >>conftest.$ac_ext <<_ACEOF
17661 /* end confdefs.h. */
17662
17663 int
17664 main ()
17665 {
17666
17667 #ifndef __xlC__
17668 choke me
17669 #endif
17670
17671 ;
17672 return 0;
17673 }
17674 _ACEOF
17675 rm -f conftest.$ac_objext
17676 if { (ac_try="$ac_compile"
17677 case "(($ac_try" in
17678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17679 *) ac_try_echo=$ac_try;;
17680 esac
17681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17682 (eval "$ac_compile") 2>conftest.er1
17683 ac_status=$?
17684 grep -v '^ *+' conftest.er1 >conftest.err
17685 rm -f conftest.er1
17686 cat conftest.err >&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } && {
17689 test -z "$ac_cxx_werror_flag" ||
17690 test ! -s conftest.err
17691 } && test -s conftest.$ac_objext; then
17692 bakefile_cv_cxx_compiler___xlC__=yes
17693 else
17694 echo "$as_me: failed program was:" >&5
17695 sed 's/^/| /' conftest.$ac_ext >&5
17696
17697 bakefile_cv_cxx_compiler___xlC__=no
17698
17699 fi
17700
17701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17702
17703
17704 fi
17705 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17706 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17707 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17708 :; XLCXX=yes
17709 else
17710 :;
17711 fi
17712 ac_ext=c
17713 ac_cpp='$CPP $CPPFLAGS'
17714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17717
17718
17719
17720 fi
17721 ;;
17722
17723 IRIX*)
17724
17725
17726 ac_ext=cpp
17727 ac_cpp='$CXXCPP $CPPFLAGS'
17728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17731
17732 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17733 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17734 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 else
17737 cat >conftest.$ac_ext <<_ACEOF
17738 /* confdefs.h. */
17739 _ACEOF
17740 cat confdefs.h >>conftest.$ac_ext
17741 cat >>conftest.$ac_ext <<_ACEOF
17742 /* end confdefs.h. */
17743
17744 int
17745 main ()
17746 {
17747
17748 #ifndef _SGI_COMPILER_VERSION
17749 choke me
17750 #endif
17751
17752 ;
17753 return 0;
17754 }
17755 _ACEOF
17756 rm -f conftest.$ac_objext
17757 if { (ac_try="$ac_compile"
17758 case "(($ac_try" in
17759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760 *) ac_try_echo=$ac_try;;
17761 esac
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_compile") 2>conftest.er1
17764 ac_status=$?
17765 grep -v '^ *+' conftest.er1 >conftest.err
17766 rm -f conftest.er1
17767 cat conftest.err >&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } && {
17770 test -z "$ac_cxx_werror_flag" ||
17771 test ! -s conftest.err
17772 } && test -s conftest.$ac_objext; then
17773 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17774 else
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17777
17778 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17779
17780 fi
17781
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783
17784
17785 fi
17786 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17787 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17788 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17789 :; SGICXX=yes
17790 else
17791 :;
17792 fi
17793 ac_ext=c
17794 ac_cpp='$CPP $CPPFLAGS'
17795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17798
17799
17800
17801 ;;
17802
17803 Linux*)
17804 if test "$INTELCXX" != "yes"; then
17805
17806
17807 ac_ext=cpp
17808 ac_cpp='$CXXCPP $CPPFLAGS'
17809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17812
17813 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17814 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17815 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17816 echo $ECHO_N "(cached) $ECHO_C" >&6
17817 else
17818 cat >conftest.$ac_ext <<_ACEOF
17819 /* confdefs.h. */
17820 _ACEOF
17821 cat confdefs.h >>conftest.$ac_ext
17822 cat >>conftest.$ac_ext <<_ACEOF
17823 /* end confdefs.h. */
17824
17825 int
17826 main ()
17827 {
17828
17829 #ifndef __SUNPRO_CC
17830 choke me
17831 #endif
17832
17833 ;
17834 return 0;
17835 }
17836 _ACEOF
17837 rm -f conftest.$ac_objext
17838 if { (ac_try="$ac_compile"
17839 case "(($ac_try" in
17840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17841 *) ac_try_echo=$ac_try;;
17842 esac
17843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17844 (eval "$ac_compile") 2>conftest.er1
17845 ac_status=$?
17846 grep -v '^ *+' conftest.er1 >conftest.err
17847 rm -f conftest.er1
17848 cat conftest.err >&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } && {
17851 test -z "$ac_cxx_werror_flag" ||
17852 test ! -s conftest.err
17853 } && test -s conftest.$ac_objext; then
17854 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17858
17859 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17860
17861 fi
17862
17863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17864
17865
17866 fi
17867 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17868 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17869 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17870 :; SUNCXX=yes
17871 else
17872 :;
17873 fi
17874 ac_ext=c
17875 ac_cpp='$CPP $CPPFLAGS'
17876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17879
17880
17881
17882 fi
17883 ;;
17884
17885 HP-UX*)
17886
17887
17888 ac_ext=cpp
17889 ac_cpp='$CXXCPP $CPPFLAGS'
17890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17893
17894 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17895 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17896 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17897 echo $ECHO_N "(cached) $ECHO_C" >&6
17898 else
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905
17906 int
17907 main ()
17908 {
17909
17910 #ifndef __HP_aCC
17911 choke me
17912 #endif
17913
17914 ;
17915 return 0;
17916 }
17917 _ACEOF
17918 rm -f conftest.$ac_objext
17919 if { (ac_try="$ac_compile"
17920 case "(($ac_try" in
17921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17922 *) ac_try_echo=$ac_try;;
17923 esac
17924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17925 (eval "$ac_compile") 2>conftest.er1
17926 ac_status=$?
17927 grep -v '^ *+' conftest.er1 >conftest.err
17928 rm -f conftest.er1
17929 cat conftest.err >&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } && {
17932 test -z "$ac_cxx_werror_flag" ||
17933 test ! -s conftest.err
17934 } && test -s conftest.$ac_objext; then
17935 bakefile_cv_cxx_compiler___HP_aCC=yes
17936 else
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.$ac_ext >&5
17939
17940 bakefile_cv_cxx_compiler___HP_aCC=no
17941
17942 fi
17943
17944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17945
17946
17947 fi
17948 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17949 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17950 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17951 :; HPCXX=yes
17952 else
17953 :;
17954 fi
17955 ac_ext=c
17956 ac_cpp='$CPP $CPPFLAGS'
17957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17960
17961
17962
17963 ;;
17964
17965 OSF1)
17966
17967
17968 ac_ext=cpp
17969 ac_cpp='$CXXCPP $CPPFLAGS'
17970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17973
17974 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17975 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17976 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17977 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 else
17979 cat >conftest.$ac_ext <<_ACEOF
17980 /* confdefs.h. */
17981 _ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17985
17986 int
17987 main ()
17988 {
17989
17990 #ifndef __DECCXX
17991 choke me
17992 #endif
17993
17994 ;
17995 return 0;
17996 }
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (ac_try="$ac_compile"
18000 case "(($ac_try" in
18001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18002 *) ac_try_echo=$ac_try;;
18003 esac
18004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18005 (eval "$ac_compile") 2>conftest.er1
18006 ac_status=$?
18007 grep -v '^ *+' conftest.er1 >conftest.err
18008 rm -f conftest.er1
18009 cat conftest.err >&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); } && {
18012 test -z "$ac_cxx_werror_flag" ||
18013 test ! -s conftest.err
18014 } && test -s conftest.$ac_objext; then
18015 bakefile_cv_cxx_compiler___DECCXX=yes
18016 else
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18019
18020 bakefile_cv_cxx_compiler___DECCXX=no
18021
18022 fi
18023
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18025
18026
18027 fi
18028 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18029 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18030 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18031 :; COMPAQCXX=yes
18032 else
18033 :;
18034 fi
18035 ac_ext=c
18036 ac_cpp='$CPP $CPPFLAGS'
18037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18040
18041
18042
18043 ;;
18044
18045 SunOS)
18046
18047
18048 ac_ext=cpp
18049 ac_cpp='$CXXCPP $CPPFLAGS'
18050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18053
18054 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18055 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18056 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18058 else
18059 cat >conftest.$ac_ext <<_ACEOF
18060 /* confdefs.h. */
18061 _ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065
18066 int
18067 main ()
18068 {
18069
18070 #ifndef __SUNPRO_CC
18071 choke me
18072 #endif
18073
18074 ;
18075 return 0;
18076 }
18077 _ACEOF
18078 rm -f conftest.$ac_objext
18079 if { (ac_try="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18082 *) ac_try_echo=$ac_try;;
18083 esac
18084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18086 ac_status=$?
18087 grep -v '^ *+' conftest.er1 >conftest.err
18088 rm -f conftest.er1
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_cxx_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.$ac_objext; then
18095 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18096 else
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.$ac_ext >&5
18099
18100 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18101
18102 fi
18103
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105
18106
18107 fi
18108 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18109 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18110 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18111 :; SUNCXX=yes
18112 else
18113 :;
18114 fi
18115 ac_ext=c
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120
18121
18122
18123 ;;
18124 esac
18125 fi
18126
18127
18128
18129 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18130 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18131 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18132 { (exit 1); exit 1; }; }
18133 fi
18134
18135 if test "x$SUNCXX" != xyes; then
18136 if test -n "$ac_tool_prefix"; then
18137 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18138 set dummy ${ac_tool_prefix}ar; ac_word=$2
18139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18141 if test "${ac_cv_prog_AR+set}" = set; then
18142 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 else
18144 if test -n "$AR"; then
18145 ac_cv_prog_AR="$AR" # Let the user override the test.
18146 else
18147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18148 for as_dir in $PATH
18149 do
18150 IFS=$as_save_IFS
18151 test -z "$as_dir" && as_dir=.
18152 for ac_exec_ext in '' $ac_executable_extensions; do
18153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18154 ac_cv_prog_AR="${ac_tool_prefix}ar"
18155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18156 break 2
18157 fi
18158 done
18159 done
18160 IFS=$as_save_IFS
18161
18162 fi
18163 fi
18164 AR=$ac_cv_prog_AR
18165 if test -n "$AR"; then
18166 { echo "$as_me:$LINENO: result: $AR" >&5
18167 echo "${ECHO_T}$AR" >&6; }
18168 else
18169 { echo "$as_me:$LINENO: result: no" >&5
18170 echo "${ECHO_T}no" >&6; }
18171 fi
18172
18173
18174 fi
18175 if test -z "$ac_cv_prog_AR"; then
18176 ac_ct_AR=$AR
18177 # Extract the first word of "ar", so it can be a program name with args.
18178 set dummy ar; ac_word=$2
18179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18181 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18182 echo $ECHO_N "(cached) $ECHO_C" >&6
18183 else
18184 if test -n "$ac_ct_AR"; then
18185 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18186 else
18187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18188 for as_dir in $PATH
18189 do
18190 IFS=$as_save_IFS
18191 test -z "$as_dir" && as_dir=.
18192 for ac_exec_ext in '' $ac_executable_extensions; do
18193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18194 ac_cv_prog_ac_ct_AR="ar"
18195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18196 break 2
18197 fi
18198 done
18199 done
18200 IFS=$as_save_IFS
18201
18202 fi
18203 fi
18204 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18205 if test -n "$ac_ct_AR"; then
18206 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18207 echo "${ECHO_T}$ac_ct_AR" >&6; }
18208 else
18209 { echo "$as_me:$LINENO: result: no" >&5
18210 echo "${ECHO_T}no" >&6; }
18211 fi
18212
18213 if test "x$ac_ct_AR" = x; then
18214 AR=""
18215 else
18216 case $cross_compiling:$ac_tool_warned in
18217 yes:)
18218 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18219 whose name does not start with the host triplet. If you think this
18220 configuration is useful to you, please write to autoconf@gnu.org." >&5
18221 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18222 whose name does not start with the host triplet. If you think this
18223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18224 ac_tool_warned=yes ;;
18225 esac
18226 AR=$ac_ct_AR
18227 fi
18228 else
18229 AR="$ac_cv_prog_AR"
18230 fi
18231
18232 if test "x$AR" = "x" ; then
18233 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18234 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18235 { (exit 1); exit 1; }; }
18236 fi
18237 fi
18238
18239
18240 if test "$wxUSE_MAC" = 1; then
18241
18242 retest_macosx_linking=no
18243
18244 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18245 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18246 # Implicitly turn on the new --with-macosx-sdk using the default
18247 # SDK which provides the behavior this option has always had.
18248 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18249 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18250 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18251 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18252 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18253 wxUSE_MACOSX_SDK=yes
18254 fi
18255 else
18256 # Complain to user if he specified an argument to --enable-universal_binary
18257 # and also 1) specified --with-macosx-sdk using the default (yes) or
18258 # 2) specified --with-macosx-sdk using a path or 3) specified
18259 # --without-macosx-sdk (no).
18260 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18261 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18262 See \`config.log' for more details." >&5
18263 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18264 See \`config.log' for more details." >&2;}
18265 { (exit 1); exit 1; }; }
18266 else
18267 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18268 # special-case the empty string because the below test simply
18269 # converts "no" to the empty string anyway.
18270 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18271 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18272 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18273 fi
18274 fi
18275 OSX_UNIV_OPTS="-arch ppc -arch i386"
18276 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18277 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18278 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18279 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18280 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18281 retest_macosx_linking=yes
18282
18283 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18284 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18285 bk_use_pch=no
18286 fi
18287
18288 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18289 wxUSE_MACOSX_SDK=
18290 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18291 # TODO: Search for most recent SDK and use it.
18292 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18293 fi
18294
18295
18296 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18297 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18298 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18299 if ! test -d "$wxUSE_MACOSX_SDK"; then
18300 { { echo "$as_me:$LINENO: error: not found
18301 See \`config.log' for more details." >&5
18302 echo "$as_me: error: not found
18303 See \`config.log' for more details." >&2;}
18304 { (exit 1); exit 1; }; }
18305 else
18306 { echo "$as_me:$LINENO: result: exists" >&5
18307 echo "${ECHO_T}exists" >&6; }
18308 fi
18309 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18310 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18311 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18312 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18313 retest_macosx_linking=yes
18314 fi
18315
18316 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18317 wxUSE_MACOSX_VERSION_MIN=
18318 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18319 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18320 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18321 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18322
18323 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/'`
18324
18325 # If that failed, try again with the new key
18326 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18327
18328 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/'`
18329
18330 fi
18331
18332 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18333 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18334 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18335 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18336 else
18337 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18338 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18339 wxUSE_MACOSX_VERSION_MIN=
18340 fi
18341 else
18342 wxUSE_MACOSX_VERSION_MIN=
18343 fi
18344 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18345 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18346 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18347 # otherwise configure stops on leopard for universal_binary
18348 wxUSE_MACOSX_VERSION_MIN=10.4
18349 else
18350 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18351 wxUSE_MACOSX_VERSION_MIN=10.5
18352 fi
18353 fi
18354
18355 NEEDS_GCC40="no"
18356 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18357 NEEDS_GCC40="yes"
18358 fi
18359
18360 if test "$wxUSE_OSX_CARBON" = 1; then
18361 NEEDS_GCC40="yes"
18362 fi
18363
18364 if test "x$NEEDS_GCC40" == "xyes"; then
18365 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18366 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18367 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18368 if test "x$CC" = "xgcc"; then
18369 CCVERSION=`$CC --version | grep 4.[2-9].`
18370 if test "x$CCVERSION" != "x"; then
18371 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18372 CC="/usr/bin/gcc-4.0"
18373 fi
18374 fi
18375
18376 if test "x$CXX" = "xg++"; then
18377 CCVERSION=`$CXX --version | grep 4.[2-9].`
18378 if test "x$CCVERSION" != "x"; then
18379 CXX="/usr/bin/g++-4.0"
18380 fi
18381 fi
18382 fi
18383
18384 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18385 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18386 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18387 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18388 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18389 retest_macosx_linking=yes
18390 fi
18391
18392 if test "x$retest_macosx_linking" = "xyes"; then
18393 ac_ext=c
18394 ac_cpp='$CPP $CPPFLAGS'
18395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18398
18399 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18400 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18401 cat >conftest.$ac_ext <<_ACEOF
18402 /* confdefs.h. */
18403 _ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407
18408 int
18409 main ()
18410 {
18411
18412 ;
18413 return 0;
18414 }
18415 _ACEOF
18416 rm -f conftest.$ac_objext conftest$ac_exeext
18417 if { (ac_try="$ac_link"
18418 case "(($ac_try" in
18419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18420 *) ac_try_echo=$ac_try;;
18421 esac
18422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18423 (eval "$ac_link") 2>conftest.er1
18424 ac_status=$?
18425 grep -v '^ *+' conftest.er1 >conftest.err
18426 rm -f conftest.er1
18427 cat conftest.err >&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } && {
18430 test -z "$ac_c_werror_flag" ||
18431 test ! -s conftest.err
18432 } && test -s conftest$ac_exeext &&
18433 $as_test_x conftest$ac_exeext; then
18434 { echo "$as_me:$LINENO: result: yes" >&5
18435 echo "${ECHO_T}yes" >&6; }
18436 else
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18439
18440 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18441 See \`config.log' for more details." >&5
18442 echo "$as_me: error: no. Try a different SDK
18443 See \`config.log' for more details." >&2;}
18444 { (exit 1); exit 1; }; }; exit 1
18445 fi
18446
18447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18448 conftest$ac_exeext conftest.$ac_ext
18449 ac_ext=c
18450 ac_cpp='$CPP $CPPFLAGS'
18451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18454
18455
18456 ac_ext=cpp
18457 ac_cpp='$CXXCPP $CPPFLAGS'
18458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18461
18462 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18463 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18464 cat >conftest.$ac_ext <<_ACEOF
18465 /* confdefs.h. */
18466 _ACEOF
18467 cat confdefs.h >>conftest.$ac_ext
18468 cat >>conftest.$ac_ext <<_ACEOF
18469 /* end confdefs.h. */
18470
18471 int
18472 main ()
18473 {
18474
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 rm -f conftest.$ac_objext conftest$ac_exeext
18480 if { (ac_try="$ac_link"
18481 case "(($ac_try" in
18482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18483 *) ac_try_echo=$ac_try;;
18484 esac
18485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18486 (eval "$ac_link") 2>conftest.er1
18487 ac_status=$?
18488 grep -v '^ *+' conftest.er1 >conftest.err
18489 rm -f conftest.er1
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && {
18493 test -z "$ac_cxx_werror_flag" ||
18494 test ! -s conftest.err
18495 } && test -s conftest$ac_exeext &&
18496 $as_test_x conftest$ac_exeext; then
18497 { echo "$as_me:$LINENO: result: yes" >&5
18498 echo "${ECHO_T}yes" >&6; }
18499 else
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18502
18503 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18504 See \`config.log' for more details." >&5
18505 echo "$as_me: error: no. Try a different SDK
18506 See \`config.log' for more details." >&2;}
18507 { (exit 1); exit 1; }; }; exit 1
18508 fi
18509
18510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18511 conftest$ac_exeext conftest.$ac_ext
18512 ac_ext=c
18513 ac_cpp='$CPP $CPPFLAGS'
18514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18517
18518 fi
18519
18520 fi
18521 case "${host}" in
18522
18523 *-*-darwin* )
18524 INSTALL_PROGRAM="cp -fp"
18525 INSTALL_DATA="cp -fp"
18526 ;;
18527 *)
18528 ;;
18529 esac
18530
18531
18532 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18533 CXXFLAGS="-qunique $CXXFLAGS"
18534 fi
18535
18536 case "${host}" in
18537 powerpc-*-darwin* )
18538 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18539 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18540 cat >conftest.$ac_ext <<_ACEOF
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546
18547 int
18548 main ()
18549 {
18550 #ifndef __POWERPC__
18551 choke me for lack of PowerPC
18552 #endif
18553
18554 ;
18555 return 0;
18556 }
18557 _ACEOF
18558 rm -f conftest.$ac_objext
18559 if { (ac_try="$ac_compile"
18560 case "(($ac_try" in
18561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18562 *) ac_try_echo=$ac_try;;
18563 esac
18564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18565 (eval "$ac_compile") 2>conftest.er1
18566 ac_status=$?
18567 grep -v '^ *+' conftest.er1 >conftest.err
18568 rm -f conftest.er1
18569 cat conftest.err >&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } && {
18572 test -z "$ac_c_werror_flag" ||
18573 test ! -s conftest.err
18574 } && test -s conftest.$ac_objext; then
18575 { echo "$as_me:$LINENO: result: yes" >&5
18576 echo "${ECHO_T}yes" >&6; }
18577 else
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18580
18581 { echo "$as_me:$LINENO: result: no" >&5
18582 echo "${ECHO_T}no" >&6; }
18583 cat >>confdefs.h <<\_ACEOF
18584 #define __POWERPC__ 1
18585 _ACEOF
18586
18587
18588 fi
18589
18590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18591 ;;
18592 esac
18593
18594 case "${host}" in
18595 *-*-darwin* )
18596 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18597 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18598 cat >conftest.$ac_ext <<_ACEOF
18599 /* confdefs.h. */
18600 _ACEOF
18601 cat confdefs.h >>conftest.$ac_ext
18602 cat >>conftest.$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 #include <CoreFoundation/CFBase.h>
18605
18606 int
18607 main ()
18608 {
18609
18610 ;
18611 return 0;
18612 }
18613 _ACEOF
18614 rm -f conftest.$ac_objext
18615 if { (ac_try="$ac_compile"
18616 case "(($ac_try" in
18617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18618 *) ac_try_echo=$ac_try;;
18619 esac
18620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18621 (eval "$ac_compile") 2>conftest.er1
18622 ac_status=$?
18623 grep -v '^ *+' conftest.er1 >conftest.err
18624 rm -f conftest.er1
18625 cat conftest.err >&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } && {
18628 test -z "$ac_c_werror_flag" ||
18629 test ! -s conftest.err
18630 } && test -s conftest.$ac_objext; then
18631 { echo "$as_me:$LINENO: result: yes" >&5
18632 echo "${ECHO_T}yes" >&6; }
18633 else
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18636
18637 { echo "$as_me:$LINENO: result: no" >&5
18638 echo "${ECHO_T}no" >&6; }
18639 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18640 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
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 #define __CF_USE_FRAMEWORK_INCLUDES__
18648 #include <CoreFoundation/CFBase.h>
18649
18650 int
18651 main ()
18652 {
18653
18654 ;
18655 return 0;
18656 }
18657 _ACEOF
18658 rm -f conftest.$ac_objext
18659 if { (ac_try="$ac_compile"
18660 case "(($ac_try" in
18661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18662 *) ac_try_echo=$ac_try;;
18663 esac
18664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18665 (eval "$ac_compile") 2>conftest.er1
18666 ac_status=$?
18667 grep -v '^ *+' conftest.er1 >conftest.err
18668 rm -f conftest.er1
18669 cat conftest.err >&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); } && {
18672 test -z "$ac_c_werror_flag" ||
18673 test ! -s conftest.err
18674 } && test -s conftest.$ac_objext; then
18675 { echo "$as_me:$LINENO: result: yes" >&5
18676 echo "${ECHO_T}yes" >&6; }
18677 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18678 else
18679 echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.$ac_ext >&5
18681
18682 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18683 See \`config.log' for more details." >&5
18684 echo "$as_me: error: no. CoreFoundation not available.
18685 See \`config.log' for more details." >&2;}
18686 { (exit 1); exit 1; }; }
18687
18688 fi
18689
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691
18692
18693 fi
18694
18695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18696 ;;
18697 esac
18698
18699 wants_win32=0
18700 doesnt_want_win32=0
18701 case "${host}" in
18702 *-*-cygwin*)
18703 if test "$wxUSE_MSW" = 1 ; then
18704 wants_win32=1
18705 else
18706 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18707 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18708 if test "${wx_cv_nocygwin+set}" = set; then
18709 echo $ECHO_N "(cached) $ECHO_C" >&6
18710 else
18711
18712 cat >conftest.$ac_ext <<_ACEOF
18713 /* confdefs.h. */
18714 _ACEOF
18715 cat confdefs.h >>conftest.$ac_ext
18716 cat >>conftest.$ac_ext <<_ACEOF
18717 /* end confdefs.h. */
18718
18719 int
18720 main ()
18721 {
18722
18723 #ifdef __MINGW32__
18724 choke me
18725 #endif
18726
18727 ;
18728 return 0;
18729 }
18730 _ACEOF
18731 rm -f conftest.$ac_objext
18732 if { (ac_try="$ac_compile"
18733 case "(($ac_try" in
18734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18735 *) ac_try_echo=$ac_try;;
18736 esac
18737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18738 (eval "$ac_compile") 2>conftest.er1
18739 ac_status=$?
18740 grep -v '^ *+' conftest.er1 >conftest.err
18741 rm -f conftest.er1
18742 cat conftest.err >&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } && {
18745 test -z "$ac_c_werror_flag" ||
18746 test ! -s conftest.err
18747 } && test -s conftest.$ac_objext; then
18748 wx_cv_nocygwin=no
18749 else
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.$ac_ext >&5
18752
18753 wx_cv_nocygwin=yes
18754
18755 fi
18756
18757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18758
18759
18760 fi
18761 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18762 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18763
18764 if test "$wx_cv_nocygwin" = "yes"; then
18765 wants_win32=1
18766 else
18767 doesnt_want_win32=1
18768 fi
18769 fi
18770 if test "$wants_win32" = 1 ; then
18771 BAKEFILE_FORCE_PLATFORM=win32
18772 fi
18773 ;;
18774 *-*-mingw*)
18775 wants_win32=1
18776 ;;
18777 esac
18778
18779 if test "$wxUSE_WINE" = "yes"; then
18780 wants_win32=1
18781 LDFLAGS_GUI="-mwindows"
18782 fi
18783
18784 if test "$wants_win32" = 1 ; then
18785 USE_UNIX=0
18786 USE_WIN32=1
18787 cat >>confdefs.h <<\_ACEOF
18788 #define __WIN32__ 1
18789 _ACEOF
18790
18791 cat >>confdefs.h <<\_ACEOF
18792 #define __WIN95__ 1
18793 _ACEOF
18794
18795 cat >>confdefs.h <<\_ACEOF
18796 #define __WINDOWS__ 1
18797 _ACEOF
18798
18799 cat >>confdefs.h <<\_ACEOF
18800 #define __GNUWIN32__ 1
18801 _ACEOF
18802
18803 cat >>confdefs.h <<\_ACEOF
18804 #define STRICT 1
18805 _ACEOF
18806
18807 fi
18808 if test "$doesnt_want_win32" = 1 ; then
18809 USE_UNIX=1
18810 USE_WIN32=0
18811 fi
18812
18813 if test "$USE_UNIX" = 1 ; then
18814 wxUSE_UNIX=yes
18815 cat >>confdefs.h <<\_ACEOF
18816 #define __UNIX__ 1
18817 _ACEOF
18818
18819 fi
18820
18821 case "${host}" in
18822 *-pc-os2_emx | *-pc-os2-emx )
18823 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18824 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18825 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18826 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 else
18829 ac_check_lib_save_LIBS=$LIBS
18830 LIBS="-lcExt $LIBS"
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837
18838 /* Override any GCC internal prototype to avoid an error.
18839 Use char because int might match the return type of a GCC
18840 builtin and then its argument prototype would still apply. */
18841 #ifdef __cplusplus
18842 extern "C"
18843 #endif
18844 char drand48 ();
18845 int
18846 main ()
18847 {
18848 return drand48 ();
18849 ;
18850 return 0;
18851 }
18852 _ACEOF
18853 rm -f conftest.$ac_objext conftest$ac_exeext
18854 if { (ac_try="$ac_link"
18855 case "(($ac_try" in
18856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18857 *) ac_try_echo=$ac_try;;
18858 esac
18859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18860 (eval "$ac_link") 2>conftest.er1
18861 ac_status=$?
18862 grep -v '^ *+' conftest.er1 >conftest.err
18863 rm -f conftest.er1
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } && {
18867 test -z "$ac_c_werror_flag" ||
18868 test ! -s conftest.err
18869 } && test -s conftest$ac_exeext &&
18870 $as_test_x conftest$ac_exeext; then
18871 ac_cv_lib_cExt_drand48=yes
18872 else
18873 echo "$as_me: failed program was:" >&5
18874 sed 's/^/| /' conftest.$ac_ext >&5
18875
18876 ac_cv_lib_cExt_drand48=no
18877 fi
18878
18879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18880 conftest$ac_exeext conftest.$ac_ext
18881 LIBS=$ac_check_lib_save_LIBS
18882 fi
18883 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18884 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18885 if test $ac_cv_lib_cExt_drand48 = yes; then
18886 LIBS="$LIBS -lcExt"
18887 fi
18888
18889 else
18890 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18891 fi
18892 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18893 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18894 if test "${wx_cv_gccversion+set}" = set; then
18895 echo $ECHO_N "(cached) $ECHO_C" >&6
18896 else
18897
18898 if test "$cross_compiling" = yes; then
18899 wx_cv_gccversion="EMX2"
18900
18901 else
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908
18909 #include <stdio.h>
18910
18911 int main()
18912 {
18913 FILE *f=fopen("conftestval", "w");
18914 if (!f) exit(1);
18915 fprintf(f,
18916 #if (__GNUC__ < 3)
18917 "EMX2"
18918 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18919 "EMX3"
18920 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18921 "Innotek5"
18922 #else
18923 "Innotek6"
18924 #endif
18925 );
18926 exit(0);
18927 }
18928
18929 _ACEOF
18930 rm -f conftest$ac_exeext
18931 if { (ac_try="$ac_link"
18932 case "(($ac_try" in
18933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;;
18935 esac
18936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_link") 2>&5
18938 ac_status=$?
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18941 { (case "(($ac_try" in
18942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18943 *) ac_try_echo=$ac_try;;
18944 esac
18945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_try") 2>&5
18947 ac_status=$?
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; }; then
18950 wx_cv_gccversion=`cat conftestval`
18951 else
18952 echo "$as_me: program exited with status $ac_status" >&5
18953 echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.$ac_ext >&5
18955
18956 ( exit $ac_status )
18957 wx_cv_gccversion="EMX2"
18958 fi
18959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18960 fi
18961
18962
18963
18964 fi
18965 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18966 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18967 if test "$wx_cv_gccversion" = "EMX2"; then
18968 LIBS="$LIBS -lstdcpp"
18969 LDFLAGS="$LDFLAGS -Zsysv-signals"
18970 else
18971 if test "$wx_cv_gccversion" = "EMX3"; then
18972 LIBS="$LIBS -lstdcxx -lgcc"
18973 LDFLAGS="$LDFLAGS -Zsysv-signals"
18974 else
18975 LIBS="$LIBS -lstdc++"
18976 fi
18977 fi
18978 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18979 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18980 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18981 wxUSE_OMF=yes
18982 enable_omf=yes
18983 fi
18984 ;;
18985 *)
18986
18987 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18988 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18989 if test "${ac_cv_string_strcasecmp+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 else
18992
18993 cat >conftest.$ac_ext <<_ACEOF
18994 /* confdefs.h. */
18995 _ACEOF
18996 cat confdefs.h >>conftest.$ac_ext
18997 cat >>conftest.$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
18999
19000 #include <string.h>
19001
19002 int
19003 main ()
19004 {
19005
19006 strcasecmp("foo", "bar");
19007
19008 ;
19009 return 0;
19010 }
19011 _ACEOF
19012 rm -f conftest.$ac_objext conftest$ac_exeext
19013 if { (ac_try="$ac_link"
19014 case "(($ac_try" in
19015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19016 *) ac_try_echo=$ac_try;;
19017 esac
19018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19019 (eval "$ac_link") 2>conftest.er1
19020 ac_status=$?
19021 grep -v '^ *+' conftest.er1 >conftest.err
19022 rm -f conftest.er1
19023 cat conftest.err >&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); } && {
19026 test -z "$ac_c_werror_flag" ||
19027 test ! -s conftest.err
19028 } && test -s conftest$ac_exeext &&
19029 $as_test_x conftest$ac_exeext; then
19030 ac_cv_string_strcasecmp=yes
19031 else
19032 echo "$as_me: failed program was:" >&5
19033 sed 's/^/| /' conftest.$ac_ext >&5
19034
19035 ac_cv_string_strcasecmp=no
19036
19037 fi
19038
19039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19040 conftest$ac_exeext conftest.$ac_ext
19041
19042 fi
19043 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19044 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19045
19046 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19047 cat >>confdefs.h <<\_ACEOF
19048 #define HAVE_STRCASECMP_IN_STRING_H 1
19049 _ACEOF
19050
19051 else
19052 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19053 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19054 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19055 echo $ECHO_N "(cached) $ECHO_C" >&6
19056 else
19057
19058 cat >conftest.$ac_ext <<_ACEOF
19059 /* confdefs.h. */
19060 _ACEOF
19061 cat confdefs.h >>conftest.$ac_ext
19062 cat >>conftest.$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19064
19065 #include <strings.h>
19066
19067 int
19068 main ()
19069 {
19070
19071 strcasecmp("foo", "bar");
19072
19073 ;
19074 return 0;
19075 }
19076 _ACEOF
19077 rm -f conftest.$ac_objext conftest$ac_exeext
19078 if { (ac_try="$ac_link"
19079 case "(($ac_try" in
19080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19081 *) ac_try_echo=$ac_try;;
19082 esac
19083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19084 (eval "$ac_link") 2>conftest.er1
19085 ac_status=$?
19086 grep -v '^ *+' conftest.er1 >conftest.err
19087 rm -f conftest.er1
19088 cat conftest.err >&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); } && {
19091 test -z "$ac_c_werror_flag" ||
19092 test ! -s conftest.err
19093 } && test -s conftest$ac_exeext &&
19094 $as_test_x conftest$ac_exeext; then
19095 ac_cv_strings_strcasecmp=yes
19096 else
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19099
19100 ac_cv_strings_strcasecmp=no
19101
19102 fi
19103
19104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19105 conftest$ac_exeext conftest.$ac_ext
19106
19107 fi
19108 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19109 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19110
19111 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19112 cat >>confdefs.h <<\_ACEOF
19113 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19114 _ACEOF
19115
19116 else
19117 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19118 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19119 { (exit 1); exit 1; }; }
19120 fi
19121 fi
19122
19123 ;;
19124 esac
19125
19126
19127 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19128 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19129 if test "${ac_cv_header_stdc+set}" = set; then
19130 echo $ECHO_N "(cached) $ECHO_C" >&6
19131 else
19132 cat >conftest.$ac_ext <<_ACEOF
19133 /* confdefs.h. */
19134 _ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 #include <stdlib.h>
19139 #include <stdarg.h>
19140 #include <string.h>
19141 #include <float.h>
19142
19143 int
19144 main ()
19145 {
19146
19147 ;
19148 return 0;
19149 }
19150 _ACEOF
19151 rm -f conftest.$ac_objext
19152 if { (ac_try="$ac_compile"
19153 case "(($ac_try" in
19154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19155 *) ac_try_echo=$ac_try;;
19156 esac
19157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 (eval "$ac_compile") 2>conftest.er1
19159 ac_status=$?
19160 grep -v '^ *+' conftest.er1 >conftest.err
19161 rm -f conftest.er1
19162 cat conftest.err >&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } && {
19165 test -z "$ac_c_werror_flag" ||
19166 test ! -s conftest.err
19167 } && test -s conftest.$ac_objext; then
19168 ac_cv_header_stdc=yes
19169 else
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19172
19173 ac_cv_header_stdc=no
19174 fi
19175
19176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19177
19178 if test $ac_cv_header_stdc = yes; then
19179 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19180 cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h. */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 #include <string.h>
19187
19188 _ACEOF
19189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19190 $EGREP "memchr" >/dev/null 2>&1; then
19191 :
19192 else
19193 ac_cv_header_stdc=no
19194 fi
19195 rm -f conftest*
19196
19197 fi
19198
19199 if test $ac_cv_header_stdc = yes; then
19200 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19201 cat >conftest.$ac_ext <<_ACEOF
19202 /* confdefs.h. */
19203 _ACEOF
19204 cat confdefs.h >>conftest.$ac_ext
19205 cat >>conftest.$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207 #include <stdlib.h>
19208
19209 _ACEOF
19210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19211 $EGREP "free" >/dev/null 2>&1; then
19212 :
19213 else
19214 ac_cv_header_stdc=no
19215 fi
19216 rm -f conftest*
19217
19218 fi
19219
19220 if test $ac_cv_header_stdc = yes; then
19221 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19222 if test "$cross_compiling" = yes; then
19223 :
19224 else
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 #include <ctype.h>
19232 #include <stdlib.h>
19233 #if ((' ' & 0x0FF) == 0x020)
19234 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19235 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19236 #else
19237 # define ISLOWER(c) \
19238 (('a' <= (c) && (c) <= 'i') \
19239 || ('j' <= (c) && (c) <= 'r') \
19240 || ('s' <= (c) && (c) <= 'z'))
19241 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19242 #endif
19243
19244 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19245 int
19246 main ()
19247 {
19248 int i;
19249 for (i = 0; i < 256; i++)
19250 if (XOR (islower (i), ISLOWER (i))
19251 || toupper (i) != TOUPPER (i))
19252 return 2;
19253 return 0;
19254 }
19255 _ACEOF
19256 rm -f conftest$ac_exeext
19257 if { (ac_try="$ac_link"
19258 case "(($ac_try" in
19259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19260 *) ac_try_echo=$ac_try;;
19261 esac
19262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19263 (eval "$ac_link") 2>&5
19264 ac_status=$?
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19267 { (case "(($ac_try" in
19268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19269 *) ac_try_echo=$ac_try;;
19270 esac
19271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19272 (eval "$ac_try") 2>&5
19273 ac_status=$?
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; }; then
19276 :
19277 else
19278 echo "$as_me: program exited with status $ac_status" >&5
19279 echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.$ac_ext >&5
19281
19282 ( exit $ac_status )
19283 ac_cv_header_stdc=no
19284 fi
19285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19286 fi
19287
19288
19289 fi
19290 fi
19291 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19292 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19293 if test $ac_cv_header_stdc = yes; then
19294
19295 cat >>confdefs.h <<\_ACEOF
19296 #define STDC_HEADERS 1
19297 _ACEOF
19298
19299 fi
19300
19301 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19312 inttypes.h stdint.h unistd.h
19313 do
19314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19318 echo $ECHO_N "(cached) $ECHO_C" >&6
19319 else
19320 cat >conftest.$ac_ext <<_ACEOF
19321 /* confdefs.h. */
19322 _ACEOF
19323 cat confdefs.h >>conftest.$ac_ext
19324 cat >>conftest.$ac_ext <<_ACEOF
19325 /* end confdefs.h. */
19326 $ac_includes_default
19327
19328 #include <$ac_header>
19329 _ACEOF
19330 rm -f conftest.$ac_objext
19331 if { (ac_try="$ac_compile"
19332 case "(($ac_try" in
19333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19334 *) ac_try_echo=$ac_try;;
19335 esac
19336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19337 (eval "$ac_compile") 2>conftest.er1
19338 ac_status=$?
19339 grep -v '^ *+' conftest.er1 >conftest.err
19340 rm -f conftest.er1
19341 cat conftest.err >&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); } && {
19344 test -z "$ac_c_werror_flag" ||
19345 test ! -s conftest.err
19346 } && test -s conftest.$ac_objext; then
19347 eval "$as_ac_Header=yes"
19348 else
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19351
19352 eval "$as_ac_Header=no"
19353 fi
19354
19355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19356 fi
19357 ac_res=`eval echo '${'$as_ac_Header'}'`
19358 { echo "$as_me:$LINENO: result: $ac_res" >&5
19359 echo "${ECHO_T}$ac_res" >&6; }
19360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19361 cat >>confdefs.h <<_ACEOF
19362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19363 _ACEOF
19364
19365 fi
19366
19367 done
19368
19369
19370
19371
19372 for ac_header in langinfo.h wchar.h
19373 do
19374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 else
19380 cat >conftest.$ac_ext <<_ACEOF
19381 /* confdefs.h. */
19382 _ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 $ac_includes_default
19387
19388 #include <$ac_header>
19389 _ACEOF
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19395 esac
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19398 ac_status=$?
19399 grep -v '^ *+' conftest.er1 >conftest.err
19400 rm -f conftest.er1
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 eval "$as_ac_Header=yes"
19408 else
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19411
19412 eval "$as_ac_Header=no"
19413 fi
19414
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19416 fi
19417 ac_res=`eval echo '${'$as_ac_Header'}'`
19418 { echo "$as_me:$LINENO: result: $ac_res" >&5
19419 echo "${ECHO_T}$ac_res" >&6; }
19420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19421 cat >>confdefs.h <<_ACEOF
19422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19423 _ACEOF
19424
19425 fi
19426
19427 done
19428
19429
19430 if test "$ac_cv_header_wchar_h" != "yes"; then
19431
19432 for ac_header in wcstr.h
19433 do
19434 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19435 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 else
19440 cat >conftest.$ac_ext <<_ACEOF
19441 /* confdefs.h. */
19442 _ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 $ac_includes_default
19447
19448 #include <$ac_header>
19449 _ACEOF
19450 rm -f conftest.$ac_objext
19451 if { (ac_try="$ac_compile"
19452 case "(($ac_try" in
19453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19454 *) ac_try_echo=$ac_try;;
19455 esac
19456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19457 (eval "$ac_compile") 2>conftest.er1
19458 ac_status=$?
19459 grep -v '^ *+' conftest.er1 >conftest.err
19460 rm -f conftest.er1
19461 cat conftest.err >&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } && {
19464 test -z "$ac_c_werror_flag" ||
19465 test ! -s conftest.err
19466 } && test -s conftest.$ac_objext; then
19467 eval "$as_ac_Header=yes"
19468 else
19469 echo "$as_me: failed program was:" >&5
19470 sed 's/^/| /' conftest.$ac_ext >&5
19471
19472 eval "$as_ac_Header=no"
19473 fi
19474
19475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19476 fi
19477 ac_res=`eval echo '${'$as_ac_Header'}'`
19478 { echo "$as_me:$LINENO: result: $ac_res" >&5
19479 echo "${ECHO_T}$ac_res" >&6; }
19480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19481 cat >>confdefs.h <<_ACEOF
19482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19483 _ACEOF
19484
19485 fi
19486
19487 done
19488
19489 fi
19490
19491 case "${host}" in
19492 *-pc-os2_emx | *-pc-os2-emx )
19493 if test $ac_cv_header_langinfo_h = "yes" \
19494 -a \( "$wx_cv_gccversion" = "EMX2" \
19495 -o "$wx_cv_gccversion" = "EMX3" \
19496 -o "$wx_cv_gccversion" = "Innotek5" \); then
19497 LIBS="$LIBS -lintl"
19498 fi
19499 ;;
19500 esac
19501
19502 if test "$USE_UNIX" = 1 ; then
19503
19504 for ac_header in sys/select.h
19505 do
19506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19507 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19511 else
19512 cat >conftest.$ac_ext <<_ACEOF
19513 /* confdefs.h. */
19514 _ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19519
19520 #include <$ac_header>
19521 _ACEOF
19522 rm -f conftest.$ac_objext
19523 if { (ac_try="$ac_compile"
19524 case "(($ac_try" in
19525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19526 *) ac_try_echo=$ac_try;;
19527 esac
19528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19529 (eval "$ac_compile") 2>conftest.er1
19530 ac_status=$?
19531 grep -v '^ *+' conftest.er1 >conftest.err
19532 rm -f conftest.er1
19533 cat conftest.err >&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } && {
19536 test -z "$ac_c_werror_flag" ||
19537 test ! -s conftest.err
19538 } && test -s conftest.$ac_objext; then
19539 eval "$as_ac_Header=yes"
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19543
19544 eval "$as_ac_Header=no"
19545 fi
19546
19547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19548 fi
19549 ac_res=`eval echo '${'$as_ac_Header'}'`
19550 { echo "$as_me:$LINENO: result: $ac_res" >&5
19551 echo "${ECHO_T}$ac_res" >&6; }
19552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19553 cat >>confdefs.h <<_ACEOF
19554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19555 _ACEOF
19556
19557 fi
19558
19559 done
19560
19561 fi
19562
19563
19564 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19565 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19566 if test "${ac_cv_c_const+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19568 else
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575
19576 int
19577 main ()
19578 {
19579 /* FIXME: Include the comments suggested by Paul. */
19580 #ifndef __cplusplus
19581 /* Ultrix mips cc rejects this. */
19582 typedef int charset[2];
19583 const charset cs;
19584 /* SunOS 4.1.1 cc rejects this. */
19585 char const *const *pcpcc;
19586 char **ppc;
19587 /* NEC SVR4.0.2 mips cc rejects this. */
19588 struct point {int x, y;};
19589 static struct point const zero = {0,0};
19590 /* AIX XL C 1.02.0.0 rejects this.
19591 It does not let you subtract one const X* pointer from another in
19592 an arm of an if-expression whose if-part is not a constant
19593 expression */
19594 const char *g = "string";
19595 pcpcc = &g + (g ? g-g : 0);
19596 /* HPUX 7.0 cc rejects these. */
19597 ++pcpcc;
19598 ppc = (char**) pcpcc;
19599 pcpcc = (char const *const *) ppc;
19600 { /* SCO 3.2v4 cc rejects this. */
19601 char *t;
19602 char const *s = 0 ? (char *) 0 : (char const *) 0;
19603
19604 *t++ = 0;
19605 if (s) return 0;
19606 }
19607 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19608 int x[] = {25, 17};
19609 const int *foo = &x[0];
19610 ++foo;
19611 }
19612 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19613 typedef const int *iptr;
19614 iptr p = 0;
19615 ++p;
19616 }
19617 { /* AIX XL C 1.02.0.0 rejects this saying
19618 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19619 struct s { int j; const int *ap[3]; };
19620 struct s *b; b->j = 5;
19621 }
19622 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19623 const int foo = 10;
19624 if (!foo) return 0;
19625 }
19626 return !cs[0] && !zero.x;
19627 #endif
19628
19629 ;
19630 return 0;
19631 }
19632 _ACEOF
19633 rm -f conftest.$ac_objext
19634 if { (ac_try="$ac_compile"
19635 case "(($ac_try" in
19636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19637 *) ac_try_echo=$ac_try;;
19638 esac
19639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19640 (eval "$ac_compile") 2>conftest.er1
19641 ac_status=$?
19642 grep -v '^ *+' conftest.er1 >conftest.err
19643 rm -f conftest.er1
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } && {
19647 test -z "$ac_c_werror_flag" ||
19648 test ! -s conftest.err
19649 } && test -s conftest.$ac_objext; then
19650 ac_cv_c_const=yes
19651 else
19652 echo "$as_me: failed program was:" >&5
19653 sed 's/^/| /' conftest.$ac_ext >&5
19654
19655 ac_cv_c_const=no
19656 fi
19657
19658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19659 fi
19660 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19661 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19662 if test $ac_cv_c_const = no; then
19663
19664 cat >>confdefs.h <<\_ACEOF
19665 #define const
19666 _ACEOF
19667
19668 fi
19669
19670 { echo "$as_me:$LINENO: checking for inline" >&5
19671 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19672 if test "${ac_cv_c_inline+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 else
19675 ac_cv_c_inline=no
19676 for ac_kw in inline __inline__ __inline; do
19677 cat >conftest.$ac_ext <<_ACEOF
19678 /* confdefs.h. */
19679 _ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 #ifndef __cplusplus
19684 typedef int foo_t;
19685 static $ac_kw foo_t static_foo () {return 0; }
19686 $ac_kw foo_t foo () {return 0; }
19687 #endif
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_cv_c_inline=$ac_kw
19708 else
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19711
19712
19713 fi
19714
19715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716 test "$ac_cv_c_inline" != no && break
19717 done
19718
19719 fi
19720 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19721 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19722
19723
19724 case $ac_cv_c_inline in
19725 inline | yes) ;;
19726 *)
19727 case $ac_cv_c_inline in
19728 no) ac_val=;;
19729 *) ac_val=$ac_cv_c_inline;;
19730 esac
19731 cat >>confdefs.h <<_ACEOF
19732 #ifndef __cplusplus
19733 #define inline $ac_val
19734 #endif
19735 _ACEOF
19736 ;;
19737 esac
19738
19739
19740 { echo "$as_me:$LINENO: checking for short" >&5
19741 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19742 if test "${ac_cv_type_short+set}" = set; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19744 else
19745 cat >conftest.$ac_ext <<_ACEOF
19746 /* confdefs.h. */
19747 _ACEOF
19748 cat confdefs.h >>conftest.$ac_ext
19749 cat >>conftest.$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751 $ac_includes_default
19752 typedef short ac__type_new_;
19753 int
19754 main ()
19755 {
19756 if ((ac__type_new_ *) 0)
19757 return 0;
19758 if (sizeof (ac__type_new_))
19759 return 0;
19760 ;
19761 return 0;
19762 }
19763 _ACEOF
19764 rm -f conftest.$ac_objext
19765 if { (ac_try="$ac_compile"
19766 case "(($ac_try" in
19767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19768 *) ac_try_echo=$ac_try;;
19769 esac
19770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19771 (eval "$ac_compile") 2>conftest.er1
19772 ac_status=$?
19773 grep -v '^ *+' conftest.er1 >conftest.err
19774 rm -f conftest.er1
19775 cat conftest.err >&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } && {
19778 test -z "$ac_c_werror_flag" ||
19779 test ! -s conftest.err
19780 } && test -s conftest.$ac_objext; then
19781 ac_cv_type_short=yes
19782 else
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.$ac_ext >&5
19785
19786 ac_cv_type_short=no
19787 fi
19788
19789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19790 fi
19791 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19792 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19793
19794 # The cast to long int works around a bug in the HP C Compiler
19795 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19796 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19797 # This bug is HP SR number 8606223364.
19798 { echo "$as_me:$LINENO: checking size of short" >&5
19799 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19800 if test "${ac_cv_sizeof_short+set}" = set; then
19801 echo $ECHO_N "(cached) $ECHO_C" >&6
19802 else
19803 if test "$cross_compiling" = yes; then
19804 # Depending upon the size, compute the lo and hi bounds.
19805 cat >conftest.$ac_ext <<_ACEOF
19806 /* confdefs.h. */
19807 _ACEOF
19808 cat confdefs.h >>conftest.$ac_ext
19809 cat >>conftest.$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 $ac_includes_default
19812 typedef short ac__type_sizeof_;
19813 int
19814 main ()
19815 {
19816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19817 test_array [0] = 0
19818
19819 ;
19820 return 0;
19821 }
19822 _ACEOF
19823 rm -f conftest.$ac_objext
19824 if { (ac_try="$ac_compile"
19825 case "(($ac_try" in
19826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19827 *) ac_try_echo=$ac_try;;
19828 esac
19829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19830 (eval "$ac_compile") 2>conftest.er1
19831 ac_status=$?
19832 grep -v '^ *+' conftest.er1 >conftest.err
19833 rm -f conftest.er1
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } && {
19837 test -z "$ac_c_werror_flag" ||
19838 test ! -s conftest.err
19839 } && test -s conftest.$ac_objext; then
19840 ac_lo=0 ac_mid=0
19841 while :; do
19842 cat >conftest.$ac_ext <<_ACEOF
19843 /* confdefs.h. */
19844 _ACEOF
19845 cat confdefs.h >>conftest.$ac_ext
19846 cat >>conftest.$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19848 $ac_includes_default
19849 typedef short ac__type_sizeof_;
19850 int
19851 main ()
19852 {
19853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19854 test_array [0] = 0
19855
19856 ;
19857 return 0;
19858 }
19859 _ACEOF
19860 rm -f conftest.$ac_objext
19861 if { (ac_try="$ac_compile"
19862 case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19865 esac
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_compile") 2>conftest.er1
19868 ac_status=$?
19869 grep -v '^ *+' conftest.er1 >conftest.err
19870 rm -f conftest.er1
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } && {
19874 test -z "$ac_c_werror_flag" ||
19875 test ! -s conftest.err
19876 } && test -s conftest.$ac_objext; then
19877 ac_hi=$ac_mid; break
19878 else
19879 echo "$as_me: failed program was:" >&5
19880 sed 's/^/| /' conftest.$ac_ext >&5
19881
19882 ac_lo=`expr $ac_mid + 1`
19883 if test $ac_lo -le $ac_mid; then
19884 ac_lo= ac_hi=
19885 break
19886 fi
19887 ac_mid=`expr 2 '*' $ac_mid + 1`
19888 fi
19889
19890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19891 done
19892 else
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19895
19896 cat >conftest.$ac_ext <<_ACEOF
19897 /* confdefs.h. */
19898 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 $ac_includes_default
19903 typedef short ac__type_sizeof_;
19904 int
19905 main ()
19906 {
19907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19908 test_array [0] = 0
19909
19910 ;
19911 return 0;
19912 }
19913 _ACEOF
19914 rm -f conftest.$ac_objext
19915 if { (ac_try="$ac_compile"
19916 case "(($ac_try" in
19917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19918 *) ac_try_echo=$ac_try;;
19919 esac
19920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19921 (eval "$ac_compile") 2>conftest.er1
19922 ac_status=$?
19923 grep -v '^ *+' conftest.er1 >conftest.err
19924 rm -f conftest.er1
19925 cat conftest.err >&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } && {
19928 test -z "$ac_c_werror_flag" ||
19929 test ! -s conftest.err
19930 } && test -s conftest.$ac_objext; then
19931 ac_hi=-1 ac_mid=-1
19932 while :; do
19933 cat >conftest.$ac_ext <<_ACEOF
19934 /* confdefs.h. */
19935 _ACEOF
19936 cat confdefs.h >>conftest.$ac_ext
19937 cat >>conftest.$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19939 $ac_includes_default
19940 typedef short ac__type_sizeof_;
19941 int
19942 main ()
19943 {
19944 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19945 test_array [0] = 0
19946
19947 ;
19948 return 0;
19949 }
19950 _ACEOF
19951 rm -f conftest.$ac_objext
19952 if { (ac_try="$ac_compile"
19953 case "(($ac_try" in
19954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19955 *) ac_try_echo=$ac_try;;
19956 esac
19957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19958 (eval "$ac_compile") 2>conftest.er1
19959 ac_status=$?
19960 grep -v '^ *+' conftest.er1 >conftest.err
19961 rm -f conftest.er1
19962 cat conftest.err >&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } && {
19965 test -z "$ac_c_werror_flag" ||
19966 test ! -s conftest.err
19967 } && test -s conftest.$ac_objext; then
19968 ac_lo=$ac_mid; break
19969 else
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.$ac_ext >&5
19972
19973 ac_hi=`expr '(' $ac_mid ')' - 1`
19974 if test $ac_mid -le $ac_hi; then
19975 ac_lo= ac_hi=
19976 break
19977 fi
19978 ac_mid=`expr 2 '*' $ac_mid`
19979 fi
19980
19981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19982 done
19983 else
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19986
19987 ac_lo= ac_hi=
19988 fi
19989
19990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19991 fi
19992
19993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19994 # Binary search between lo and hi bounds.
19995 while test "x$ac_lo" != "x$ac_hi"; do
19996 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19997 cat >conftest.$ac_ext <<_ACEOF
19998 /* confdefs.h. */
19999 _ACEOF
20000 cat confdefs.h >>conftest.$ac_ext
20001 cat >>conftest.$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 $ac_includes_default
20004 typedef short ac__type_sizeof_;
20005 int
20006 main ()
20007 {
20008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20009 test_array [0] = 0
20010
20011 ;
20012 return 0;
20013 }
20014 _ACEOF
20015 rm -f conftest.$ac_objext
20016 if { (ac_try="$ac_compile"
20017 case "(($ac_try" in
20018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20019 *) ac_try_echo=$ac_try;;
20020 esac
20021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20022 (eval "$ac_compile") 2>conftest.er1
20023 ac_status=$?
20024 grep -v '^ *+' conftest.er1 >conftest.err
20025 rm -f conftest.er1
20026 cat conftest.err >&5
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); } && {
20029 test -z "$ac_c_werror_flag" ||
20030 test ! -s conftest.err
20031 } && test -s conftest.$ac_objext; then
20032 ac_hi=$ac_mid
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20036
20037 ac_lo=`expr '(' $ac_mid ')' + 1`
20038 fi
20039
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20041 done
20042 case $ac_lo in
20043 ?*) ac_cv_sizeof_short=$ac_lo;;
20044 '') if test "$ac_cv_type_short" = yes; then
20045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20046 See \`config.log' for more details." >&5
20047 echo "$as_me: error: cannot compute sizeof (short)
20048 See \`config.log' for more details." >&2;}
20049 { (exit 77); exit 77; }; }
20050 else
20051 ac_cv_sizeof_short=0
20052 fi ;;
20053 esac
20054 else
20055 cat >conftest.$ac_ext <<_ACEOF
20056 /* confdefs.h. */
20057 _ACEOF
20058 cat confdefs.h >>conftest.$ac_ext
20059 cat >>conftest.$ac_ext <<_ACEOF
20060 /* end confdefs.h. */
20061 $ac_includes_default
20062 typedef short ac__type_sizeof_;
20063 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20064 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20065 #include <stdio.h>
20066 #include <stdlib.h>
20067 int
20068 main ()
20069 {
20070
20071 FILE *f = fopen ("conftest.val", "w");
20072 if (! f)
20073 return 1;
20074 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20075 {
20076 long int i = longval ();
20077 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20078 return 1;
20079 fprintf (f, "%ld\n", i);
20080 }
20081 else
20082 {
20083 unsigned long int i = ulongval ();
20084 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20085 return 1;
20086 fprintf (f, "%lu\n", i);
20087 }
20088 return ferror (f) || fclose (f) != 0;
20089
20090 ;
20091 return 0;
20092 }
20093 _ACEOF
20094 rm -f conftest$ac_exeext
20095 if { (ac_try="$ac_link"
20096 case "(($ac_try" in
20097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20098 *) ac_try_echo=$ac_try;;
20099 esac
20100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20101 (eval "$ac_link") 2>&5
20102 ac_status=$?
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20105 { (case "(($ac_try" in
20106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20107 *) ac_try_echo=$ac_try;;
20108 esac
20109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20110 (eval "$ac_try") 2>&5
20111 ac_status=$?
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); }; }; then
20114 ac_cv_sizeof_short=`cat conftest.val`
20115 else
20116 echo "$as_me: program exited with status $ac_status" >&5
20117 echo "$as_me: failed program was:" >&5
20118 sed 's/^/| /' conftest.$ac_ext >&5
20119
20120 ( exit $ac_status )
20121 if test "$ac_cv_type_short" = yes; then
20122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20123 See \`config.log' for more details." >&5
20124 echo "$as_me: error: cannot compute sizeof (short)
20125 See \`config.log' for more details." >&2;}
20126 { (exit 77); exit 77; }; }
20127 else
20128 ac_cv_sizeof_short=0
20129 fi
20130 fi
20131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20132 fi
20133 rm -f conftest.val
20134 fi
20135 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20136 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20137
20138
20139
20140 cat >>confdefs.h <<_ACEOF
20141 #define SIZEOF_SHORT $ac_cv_sizeof_short
20142 _ACEOF
20143
20144
20145 { echo "$as_me:$LINENO: checking for void *" >&5
20146 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20147 if test "${ac_cv_type_void_p+set}" = set; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20149 else
20150 cat >conftest.$ac_ext <<_ACEOF
20151 /* confdefs.h. */
20152 _ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 $ac_includes_default
20157 typedef void * ac__type_new_;
20158 int
20159 main ()
20160 {
20161 if ((ac__type_new_ *) 0)
20162 return 0;
20163 if (sizeof (ac__type_new_))
20164 return 0;
20165 ;
20166 return 0;
20167 }
20168 _ACEOF
20169 rm -f conftest.$ac_objext
20170 if { (ac_try="$ac_compile"
20171 case "(($ac_try" in
20172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20173 *) ac_try_echo=$ac_try;;
20174 esac
20175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20176 (eval "$ac_compile") 2>conftest.er1
20177 ac_status=$?
20178 grep -v '^ *+' conftest.er1 >conftest.err
20179 rm -f conftest.er1
20180 cat conftest.err >&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); } && {
20183 test -z "$ac_c_werror_flag" ||
20184 test ! -s conftest.err
20185 } && test -s conftest.$ac_objext; then
20186 ac_cv_type_void_p=yes
20187 else
20188 echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.$ac_ext >&5
20190
20191 ac_cv_type_void_p=no
20192 fi
20193
20194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20195 fi
20196 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20197 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20198
20199 # The cast to long int works around a bug in the HP C Compiler
20200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20202 # This bug is HP SR number 8606223364.
20203 { echo "$as_me:$LINENO: checking size of void *" >&5
20204 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20205 if test "${ac_cv_sizeof_void_p+set}" = set; then
20206 echo $ECHO_N "(cached) $ECHO_C" >&6
20207 else
20208 if test "$cross_compiling" = yes; then
20209 # Depending upon the size, compute the lo and hi bounds.
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h. */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 $ac_includes_default
20217 typedef void * ac__type_sizeof_;
20218 int
20219 main ()
20220 {
20221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20222 test_array [0] = 0
20223
20224 ;
20225 return 0;
20226 }
20227 _ACEOF
20228 rm -f conftest.$ac_objext
20229 if { (ac_try="$ac_compile"
20230 case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20233 esac
20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_compile") 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } && {
20242 test -z "$ac_c_werror_flag" ||
20243 test ! -s conftest.err
20244 } && test -s conftest.$ac_objext; then
20245 ac_lo=0 ac_mid=0
20246 while :; do
20247 cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h. */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20254 typedef void * ac__type_sizeof_;
20255 int
20256 main ()
20257 {
20258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20259 test_array [0] = 0
20260
20261 ;
20262 return 0;
20263 }
20264 _ACEOF
20265 rm -f conftest.$ac_objext
20266 if { (ac_try="$ac_compile"
20267 case "(($ac_try" in
20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20270 esac
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_compile") 2>conftest.er1
20273 ac_status=$?
20274 grep -v '^ *+' conftest.er1 >conftest.err
20275 rm -f conftest.er1
20276 cat conftest.err >&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } && {
20279 test -z "$ac_c_werror_flag" ||
20280 test ! -s conftest.err
20281 } && test -s conftest.$ac_objext; then
20282 ac_hi=$ac_mid; break
20283 else
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20286
20287 ac_lo=`expr $ac_mid + 1`
20288 if test $ac_lo -le $ac_mid; then
20289 ac_lo= ac_hi=
20290 break
20291 fi
20292 ac_mid=`expr 2 '*' $ac_mid + 1`
20293 fi
20294
20295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20296 done
20297 else
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.$ac_ext >&5
20300
20301 cat >conftest.$ac_ext <<_ACEOF
20302 /* confdefs.h. */
20303 _ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20308 typedef void * ac__type_sizeof_;
20309 int
20310 main ()
20311 {
20312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20313 test_array [0] = 0
20314
20315 ;
20316 return 0;
20317 }
20318 _ACEOF
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20324 esac
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20327 ac_status=$?
20328 grep -v '^ *+' conftest.er1 >conftest.err
20329 rm -f conftest.er1
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } && {
20333 test -z "$ac_c_werror_flag" ||
20334 test ! -s conftest.err
20335 } && test -s conftest.$ac_objext; then
20336 ac_hi=-1 ac_mid=-1
20337 while :; do
20338 cat >conftest.$ac_ext <<_ACEOF
20339 /* confdefs.h. */
20340 _ACEOF
20341 cat confdefs.h >>conftest.$ac_ext
20342 cat >>conftest.$ac_ext <<_ACEOF
20343 /* end confdefs.h. */
20344 $ac_includes_default
20345 typedef void * ac__type_sizeof_;
20346 int
20347 main ()
20348 {
20349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20350 test_array [0] = 0
20351
20352 ;
20353 return 0;
20354 }
20355 _ACEOF
20356 rm -f conftest.$ac_objext
20357 if { (ac_try="$ac_compile"
20358 case "(($ac_try" in
20359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20360 *) ac_try_echo=$ac_try;;
20361 esac
20362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20363 (eval "$ac_compile") 2>conftest.er1
20364 ac_status=$?
20365 grep -v '^ *+' conftest.er1 >conftest.err
20366 rm -f conftest.er1
20367 cat conftest.err >&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); } && {
20370 test -z "$ac_c_werror_flag" ||
20371 test ! -s conftest.err
20372 } && test -s conftest.$ac_objext; then
20373 ac_lo=$ac_mid; break
20374 else
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20377
20378 ac_hi=`expr '(' $ac_mid ')' - 1`
20379 if test $ac_mid -le $ac_hi; then
20380 ac_lo= ac_hi=
20381 break
20382 fi
20383 ac_mid=`expr 2 '*' $ac_mid`
20384 fi
20385
20386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20387 done
20388 else
20389 echo "$as_me: failed program was:" >&5
20390 sed 's/^/| /' conftest.$ac_ext >&5
20391
20392 ac_lo= ac_hi=
20393 fi
20394
20395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20396 fi
20397
20398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20399 # Binary search between lo and hi bounds.
20400 while test "x$ac_lo" != "x$ac_hi"; do
20401 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20402 cat >conftest.$ac_ext <<_ACEOF
20403 /* confdefs.h. */
20404 _ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 $ac_includes_default
20409 typedef void * ac__type_sizeof_;
20410 int
20411 main ()
20412 {
20413 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20414 test_array [0] = 0
20415
20416 ;
20417 return 0;
20418 }
20419 _ACEOF
20420 rm -f conftest.$ac_objext
20421 if { (ac_try="$ac_compile"
20422 case "(($ac_try" in
20423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20424 *) ac_try_echo=$ac_try;;
20425 esac
20426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20427 (eval "$ac_compile") 2>conftest.er1
20428 ac_status=$?
20429 grep -v '^ *+' conftest.er1 >conftest.err
20430 rm -f conftest.er1
20431 cat conftest.err >&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); } && {
20434 test -z "$ac_c_werror_flag" ||
20435 test ! -s conftest.err
20436 } && test -s conftest.$ac_objext; then
20437 ac_hi=$ac_mid
20438 else
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.$ac_ext >&5
20441
20442 ac_lo=`expr '(' $ac_mid ')' + 1`
20443 fi
20444
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20446 done
20447 case $ac_lo in
20448 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20449 '') if test "$ac_cv_type_void_p" = yes; then
20450 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20451 See \`config.log' for more details." >&5
20452 echo "$as_me: error: cannot compute sizeof (void *)
20453 See \`config.log' for more details." >&2;}
20454 { (exit 77); exit 77; }; }
20455 else
20456 ac_cv_sizeof_void_p=0
20457 fi ;;
20458 esac
20459 else
20460 cat >conftest.$ac_ext <<_ACEOF
20461 /* confdefs.h. */
20462 _ACEOF
20463 cat confdefs.h >>conftest.$ac_ext
20464 cat >>conftest.$ac_ext <<_ACEOF
20465 /* end confdefs.h. */
20466 $ac_includes_default
20467 typedef void * ac__type_sizeof_;
20468 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20469 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20470 #include <stdio.h>
20471 #include <stdlib.h>
20472 int
20473 main ()
20474 {
20475
20476 FILE *f = fopen ("conftest.val", "w");
20477 if (! f)
20478 return 1;
20479 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20480 {
20481 long int i = longval ();
20482 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20483 return 1;
20484 fprintf (f, "%ld\n", i);
20485 }
20486 else
20487 {
20488 unsigned long int i = ulongval ();
20489 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20490 return 1;
20491 fprintf (f, "%lu\n", i);
20492 }
20493 return ferror (f) || fclose (f) != 0;
20494
20495 ;
20496 return 0;
20497 }
20498 _ACEOF
20499 rm -f conftest$ac_exeext
20500 if { (ac_try="$ac_link"
20501 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20504 esac
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_link") 2>&5
20507 ac_status=$?
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20510 { (case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20513 esac
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_try") 2>&5
20516 ac_status=$?
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; }; then
20519 ac_cv_sizeof_void_p=`cat conftest.val`
20520 else
20521 echo "$as_me: program exited with status $ac_status" >&5
20522 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.$ac_ext >&5
20524
20525 ( exit $ac_status )
20526 if test "$ac_cv_type_void_p" = yes; then
20527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20528 See \`config.log' for more details." >&5
20529 echo "$as_me: error: cannot compute sizeof (void *)
20530 See \`config.log' for more details." >&2;}
20531 { (exit 77); exit 77; }; }
20532 else
20533 ac_cv_sizeof_void_p=0
20534 fi
20535 fi
20536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20537 fi
20538 rm -f conftest.val
20539 fi
20540 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20541 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20542
20543
20544
20545 cat >>confdefs.h <<_ACEOF
20546 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20547 _ACEOF
20548
20549
20550 { echo "$as_me:$LINENO: checking for int" >&5
20551 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20552 if test "${ac_cv_type_int+set}" = set; then
20553 echo $ECHO_N "(cached) $ECHO_C" >&6
20554 else
20555 cat >conftest.$ac_ext <<_ACEOF
20556 /* confdefs.h. */
20557 _ACEOF
20558 cat confdefs.h >>conftest.$ac_ext
20559 cat >>conftest.$ac_ext <<_ACEOF
20560 /* end confdefs.h. */
20561 $ac_includes_default
20562 typedef int ac__type_new_;
20563 int
20564 main ()
20565 {
20566 if ((ac__type_new_ *) 0)
20567 return 0;
20568 if (sizeof (ac__type_new_))
20569 return 0;
20570 ;
20571 return 0;
20572 }
20573 _ACEOF
20574 rm -f conftest.$ac_objext
20575 if { (ac_try="$ac_compile"
20576 case "(($ac_try" in
20577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20578 *) ac_try_echo=$ac_try;;
20579 esac
20580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20581 (eval "$ac_compile") 2>conftest.er1
20582 ac_status=$?
20583 grep -v '^ *+' conftest.er1 >conftest.err
20584 rm -f conftest.er1
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } && {
20588 test -z "$ac_c_werror_flag" ||
20589 test ! -s conftest.err
20590 } && test -s conftest.$ac_objext; then
20591 ac_cv_type_int=yes
20592 else
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.$ac_ext >&5
20595
20596 ac_cv_type_int=no
20597 fi
20598
20599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20600 fi
20601 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20602 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20603
20604 # The cast to long int works around a bug in the HP C Compiler
20605 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20606 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20607 # This bug is HP SR number 8606223364.
20608 { echo "$as_me:$LINENO: checking size of int" >&5
20609 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20610 if test "${ac_cv_sizeof_int+set}" = set; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 else
20613 if test "$cross_compiling" = yes; then
20614 # Depending upon the size, compute the lo and hi bounds.
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 $ac_includes_default
20622 typedef int ac__type_sizeof_;
20623 int
20624 main ()
20625 {
20626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20627 test_array [0] = 0
20628
20629 ;
20630 return 0;
20631 }
20632 _ACEOF
20633 rm -f conftest.$ac_objext
20634 if { (ac_try="$ac_compile"
20635 case "(($ac_try" in
20636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20638 esac
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_compile") 2>conftest.er1
20641 ac_status=$?
20642 grep -v '^ *+' conftest.er1 >conftest.err
20643 rm -f conftest.er1
20644 cat conftest.err >&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && {
20647 test -z "$ac_c_werror_flag" ||
20648 test ! -s conftest.err
20649 } && test -s conftest.$ac_objext; then
20650 ac_lo=0 ac_mid=0
20651 while :; do
20652 cat >conftest.$ac_ext <<_ACEOF
20653 /* confdefs.h. */
20654 _ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 $ac_includes_default
20659 typedef int ac__type_sizeof_;
20660 int
20661 main ()
20662 {
20663 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20664 test_array [0] = 0
20665
20666 ;
20667 return 0;
20668 }
20669 _ACEOF
20670 rm -f conftest.$ac_objext
20671 if { (ac_try="$ac_compile"
20672 case "(($ac_try" in
20673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20674 *) ac_try_echo=$ac_try;;
20675 esac
20676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20677 (eval "$ac_compile") 2>conftest.er1
20678 ac_status=$?
20679 grep -v '^ *+' conftest.er1 >conftest.err
20680 rm -f conftest.er1
20681 cat conftest.err >&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); } && {
20684 test -z "$ac_c_werror_flag" ||
20685 test ! -s conftest.err
20686 } && test -s conftest.$ac_objext; then
20687 ac_hi=$ac_mid; break
20688 else
20689 echo "$as_me: failed program was:" >&5
20690 sed 's/^/| /' conftest.$ac_ext >&5
20691
20692 ac_lo=`expr $ac_mid + 1`
20693 if test $ac_lo -le $ac_mid; then
20694 ac_lo= ac_hi=
20695 break
20696 fi
20697 ac_mid=`expr 2 '*' $ac_mid + 1`
20698 fi
20699
20700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20701 done
20702 else
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20705
20706 cat >conftest.$ac_ext <<_ACEOF
20707 /* confdefs.h. */
20708 _ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20713 typedef int ac__type_sizeof_;
20714 int
20715 main ()
20716 {
20717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20718 test_array [0] = 0
20719
20720 ;
20721 return 0;
20722 }
20723 _ACEOF
20724 rm -f conftest.$ac_objext
20725 if { (ac_try="$ac_compile"
20726 case "(($ac_try" in
20727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20728 *) ac_try_echo=$ac_try;;
20729 esac
20730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20731 (eval "$ac_compile") 2>conftest.er1
20732 ac_status=$?
20733 grep -v '^ *+' conftest.er1 >conftest.err
20734 rm -f conftest.er1
20735 cat conftest.err >&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && {
20738 test -z "$ac_c_werror_flag" ||
20739 test ! -s conftest.err
20740 } && test -s conftest.$ac_objext; then
20741 ac_hi=-1 ac_mid=-1
20742 while :; do
20743 cat >conftest.$ac_ext <<_ACEOF
20744 /* confdefs.h. */
20745 _ACEOF
20746 cat confdefs.h >>conftest.$ac_ext
20747 cat >>conftest.$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20749 $ac_includes_default
20750 typedef int ac__type_sizeof_;
20751 int
20752 main ()
20753 {
20754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20755 test_array [0] = 0
20756
20757 ;
20758 return 0;
20759 }
20760 _ACEOF
20761 rm -f conftest.$ac_objext
20762 if { (ac_try="$ac_compile"
20763 case "(($ac_try" in
20764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20765 *) ac_try_echo=$ac_try;;
20766 esac
20767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20768 (eval "$ac_compile") 2>conftest.er1
20769 ac_status=$?
20770 grep -v '^ *+' conftest.er1 >conftest.err
20771 rm -f conftest.er1
20772 cat conftest.err >&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } && {
20775 test -z "$ac_c_werror_flag" ||
20776 test ! -s conftest.err
20777 } && test -s conftest.$ac_objext; then
20778 ac_lo=$ac_mid; break
20779 else
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.$ac_ext >&5
20782
20783 ac_hi=`expr '(' $ac_mid ')' - 1`
20784 if test $ac_mid -le $ac_hi; then
20785 ac_lo= ac_hi=
20786 break
20787 fi
20788 ac_mid=`expr 2 '*' $ac_mid`
20789 fi
20790
20791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20792 done
20793 else
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.$ac_ext >&5
20796
20797 ac_lo= ac_hi=
20798 fi
20799
20800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20801 fi
20802
20803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20804 # Binary search between lo and hi bounds.
20805 while test "x$ac_lo" != "x$ac_hi"; do
20806 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20807 cat >conftest.$ac_ext <<_ACEOF
20808 /* confdefs.h. */
20809 _ACEOF
20810 cat confdefs.h >>conftest.$ac_ext
20811 cat >>conftest.$ac_ext <<_ACEOF
20812 /* end confdefs.h. */
20813 $ac_includes_default
20814 typedef int ac__type_sizeof_;
20815 int
20816 main ()
20817 {
20818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20819 test_array [0] = 0
20820
20821 ;
20822 return 0;
20823 }
20824 _ACEOF
20825 rm -f conftest.$ac_objext
20826 if { (ac_try="$ac_compile"
20827 case "(($ac_try" in
20828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20829 *) ac_try_echo=$ac_try;;
20830 esac
20831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20832 (eval "$ac_compile") 2>conftest.er1
20833 ac_status=$?
20834 grep -v '^ *+' conftest.er1 >conftest.err
20835 rm -f conftest.er1
20836 cat conftest.err >&5
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); } && {
20839 test -z "$ac_c_werror_flag" ||
20840 test ! -s conftest.err
20841 } && test -s conftest.$ac_objext; then
20842 ac_hi=$ac_mid
20843 else
20844 echo "$as_me: failed program was:" >&5
20845 sed 's/^/| /' conftest.$ac_ext >&5
20846
20847 ac_lo=`expr '(' $ac_mid ')' + 1`
20848 fi
20849
20850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20851 done
20852 case $ac_lo in
20853 ?*) ac_cv_sizeof_int=$ac_lo;;
20854 '') if test "$ac_cv_type_int" = yes; then
20855 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20856 See \`config.log' for more details." >&5
20857 echo "$as_me: error: cannot compute sizeof (int)
20858 See \`config.log' for more details." >&2;}
20859 { (exit 77); exit 77; }; }
20860 else
20861 ac_cv_sizeof_int=0
20862 fi ;;
20863 esac
20864 else
20865 cat >conftest.$ac_ext <<_ACEOF
20866 /* confdefs.h. */
20867 _ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20871 $ac_includes_default
20872 typedef int ac__type_sizeof_;
20873 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20874 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20875 #include <stdio.h>
20876 #include <stdlib.h>
20877 int
20878 main ()
20879 {
20880
20881 FILE *f = fopen ("conftest.val", "w");
20882 if (! f)
20883 return 1;
20884 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20885 {
20886 long int i = longval ();
20887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20888 return 1;
20889 fprintf (f, "%ld\n", i);
20890 }
20891 else
20892 {
20893 unsigned long int i = ulongval ();
20894 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20895 return 1;
20896 fprintf (f, "%lu\n", i);
20897 }
20898 return ferror (f) || fclose (f) != 0;
20899
20900 ;
20901 return 0;
20902 }
20903 _ACEOF
20904 rm -f conftest$ac_exeext
20905 if { (ac_try="$ac_link"
20906 case "(($ac_try" in
20907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20908 *) ac_try_echo=$ac_try;;
20909 esac
20910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20911 (eval "$ac_link") 2>&5
20912 ac_status=$?
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20915 { (case "(($ac_try" in
20916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20917 *) ac_try_echo=$ac_try;;
20918 esac
20919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20920 (eval "$ac_try") 2>&5
20921 ac_status=$?
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); }; }; then
20924 ac_cv_sizeof_int=`cat conftest.val`
20925 else
20926 echo "$as_me: program exited with status $ac_status" >&5
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20929
20930 ( exit $ac_status )
20931 if test "$ac_cv_type_int" = yes; then
20932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20933 See \`config.log' for more details." >&5
20934 echo "$as_me: error: cannot compute sizeof (int)
20935 See \`config.log' for more details." >&2;}
20936 { (exit 77); exit 77; }; }
20937 else
20938 ac_cv_sizeof_int=0
20939 fi
20940 fi
20941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20942 fi
20943 rm -f conftest.val
20944 fi
20945 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20946 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20947
20948
20949
20950 cat >>confdefs.h <<_ACEOF
20951 #define SIZEOF_INT $ac_cv_sizeof_int
20952 _ACEOF
20953
20954
20955 { echo "$as_me:$LINENO: checking for long" >&5
20956 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20957 if test "${ac_cv_type_long+set}" = set; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20959 else
20960 cat >conftest.$ac_ext <<_ACEOF
20961 /* confdefs.h. */
20962 _ACEOF
20963 cat confdefs.h >>conftest.$ac_ext
20964 cat >>conftest.$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20966 $ac_includes_default
20967 typedef long ac__type_new_;
20968 int
20969 main ()
20970 {
20971 if ((ac__type_new_ *) 0)
20972 return 0;
20973 if (sizeof (ac__type_new_))
20974 return 0;
20975 ;
20976 return 0;
20977 }
20978 _ACEOF
20979 rm -f conftest.$ac_objext
20980 if { (ac_try="$ac_compile"
20981 case "(($ac_try" in
20982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20983 *) ac_try_echo=$ac_try;;
20984 esac
20985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20986 (eval "$ac_compile") 2>conftest.er1
20987 ac_status=$?
20988 grep -v '^ *+' conftest.er1 >conftest.err
20989 rm -f conftest.er1
20990 cat conftest.err >&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); } && {
20993 test -z "$ac_c_werror_flag" ||
20994 test ! -s conftest.err
20995 } && test -s conftest.$ac_objext; then
20996 ac_cv_type_long=yes
20997 else
20998 echo "$as_me: failed program was:" >&5
20999 sed 's/^/| /' conftest.$ac_ext >&5
21000
21001 ac_cv_type_long=no
21002 fi
21003
21004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21005 fi
21006 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21007 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21008
21009 # The cast to long int works around a bug in the HP C Compiler
21010 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21011 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21012 # This bug is HP SR number 8606223364.
21013 { echo "$as_me:$LINENO: checking size of long" >&5
21014 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21015 if test "${ac_cv_sizeof_long+set}" = set; then
21016 echo $ECHO_N "(cached) $ECHO_C" >&6
21017 else
21018 if test "$cross_compiling" = yes; then
21019 # Depending upon the size, compute the lo and hi bounds.
21020 cat >conftest.$ac_ext <<_ACEOF
21021 /* confdefs.h. */
21022 _ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 $ac_includes_default
21027 typedef long ac__type_sizeof_;
21028 int
21029 main ()
21030 {
21031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21032 test_array [0] = 0
21033
21034 ;
21035 return 0;
21036 }
21037 _ACEOF
21038 rm -f conftest.$ac_objext
21039 if { (ac_try="$ac_compile"
21040 case "(($ac_try" in
21041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21042 *) ac_try_echo=$ac_try;;
21043 esac
21044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21045 (eval "$ac_compile") 2>conftest.er1
21046 ac_status=$?
21047 grep -v '^ *+' conftest.er1 >conftest.err
21048 rm -f conftest.er1
21049 cat conftest.err >&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } && {
21052 test -z "$ac_c_werror_flag" ||
21053 test ! -s conftest.err
21054 } && test -s conftest.$ac_objext; then
21055 ac_lo=0 ac_mid=0
21056 while :; do
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 $ac_includes_default
21064 typedef long ac__type_sizeof_;
21065 int
21066 main ()
21067 {
21068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21069 test_array [0] = 0
21070
21071 ;
21072 return 0;
21073 }
21074 _ACEOF
21075 rm -f conftest.$ac_objext
21076 if { (ac_try="$ac_compile"
21077 case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21080 esac
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_compile") 2>conftest.er1
21083 ac_status=$?
21084 grep -v '^ *+' conftest.er1 >conftest.err
21085 rm -f conftest.er1
21086 cat conftest.err >&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } && {
21089 test -z "$ac_c_werror_flag" ||
21090 test ! -s conftest.err
21091 } && test -s conftest.$ac_objext; then
21092 ac_hi=$ac_mid; break
21093 else
21094 echo "$as_me: failed program was:" >&5
21095 sed 's/^/| /' conftest.$ac_ext >&5
21096
21097 ac_lo=`expr $ac_mid + 1`
21098 if test $ac_lo -le $ac_mid; then
21099 ac_lo= ac_hi=
21100 break
21101 fi
21102 ac_mid=`expr 2 '*' $ac_mid + 1`
21103 fi
21104
21105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21106 done
21107 else
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21110
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 $ac_includes_default
21118 typedef long ac__type_sizeof_;
21119 int
21120 main ()
21121 {
21122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21123 test_array [0] = 0
21124
21125 ;
21126 return 0;
21127 }
21128 _ACEOF
21129 rm -f conftest.$ac_objext
21130 if { (ac_try="$ac_compile"
21131 case "(($ac_try" in
21132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21133 *) ac_try_echo=$ac_try;;
21134 esac
21135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21136 (eval "$ac_compile") 2>conftest.er1
21137 ac_status=$?
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } && {
21143 test -z "$ac_c_werror_flag" ||
21144 test ! -s conftest.err
21145 } && test -s conftest.$ac_objext; then
21146 ac_hi=-1 ac_mid=-1
21147 while :; do
21148 cat >conftest.$ac_ext <<_ACEOF
21149 /* confdefs.h. */
21150 _ACEOF
21151 cat confdefs.h >>conftest.$ac_ext
21152 cat >>conftest.$ac_ext <<_ACEOF
21153 /* end confdefs.h. */
21154 $ac_includes_default
21155 typedef long ac__type_sizeof_;
21156 int
21157 main ()
21158 {
21159 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21160 test_array [0] = 0
21161
21162 ;
21163 return 0;
21164 }
21165 _ACEOF
21166 rm -f conftest.$ac_objext
21167 if { (ac_try="$ac_compile"
21168 case "(($ac_try" in
21169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21170 *) ac_try_echo=$ac_try;;
21171 esac
21172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21173 (eval "$ac_compile") 2>conftest.er1
21174 ac_status=$?
21175 grep -v '^ *+' conftest.er1 >conftest.err
21176 rm -f conftest.er1
21177 cat conftest.err >&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } && {
21180 test -z "$ac_c_werror_flag" ||
21181 test ! -s conftest.err
21182 } && test -s conftest.$ac_objext; then
21183 ac_lo=$ac_mid; break
21184 else
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.$ac_ext >&5
21187
21188 ac_hi=`expr '(' $ac_mid ')' - 1`
21189 if test $ac_mid -le $ac_hi; then
21190 ac_lo= ac_hi=
21191 break
21192 fi
21193 ac_mid=`expr 2 '*' $ac_mid`
21194 fi
21195
21196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21197 done
21198 else
21199 echo "$as_me: failed program was:" >&5
21200 sed 's/^/| /' conftest.$ac_ext >&5
21201
21202 ac_lo= ac_hi=
21203 fi
21204
21205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21206 fi
21207
21208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21209 # Binary search between lo and hi bounds.
21210 while test "x$ac_lo" != "x$ac_hi"; do
21211 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21212 cat >conftest.$ac_ext <<_ACEOF
21213 /* confdefs.h. */
21214 _ACEOF
21215 cat confdefs.h >>conftest.$ac_ext
21216 cat >>conftest.$ac_ext <<_ACEOF
21217 /* end confdefs.h. */
21218 $ac_includes_default
21219 typedef long ac__type_sizeof_;
21220 int
21221 main ()
21222 {
21223 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21224 test_array [0] = 0
21225
21226 ;
21227 return 0;
21228 }
21229 _ACEOF
21230 rm -f conftest.$ac_objext
21231 if { (ac_try="$ac_compile"
21232 case "(($ac_try" in
21233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21234 *) ac_try_echo=$ac_try;;
21235 esac
21236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21237 (eval "$ac_compile") 2>conftest.er1
21238 ac_status=$?
21239 grep -v '^ *+' conftest.er1 >conftest.err
21240 rm -f conftest.er1
21241 cat conftest.err >&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } && {
21244 test -z "$ac_c_werror_flag" ||
21245 test ! -s conftest.err
21246 } && test -s conftest.$ac_objext; then
21247 ac_hi=$ac_mid
21248 else
21249 echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.$ac_ext >&5
21251
21252 ac_lo=`expr '(' $ac_mid ')' + 1`
21253 fi
21254
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21256 done
21257 case $ac_lo in
21258 ?*) ac_cv_sizeof_long=$ac_lo;;
21259 '') if test "$ac_cv_type_long" = yes; then
21260 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21261 See \`config.log' for more details." >&5
21262 echo "$as_me: error: cannot compute sizeof (long)
21263 See \`config.log' for more details." >&2;}
21264 { (exit 77); exit 77; }; }
21265 else
21266 ac_cv_sizeof_long=0
21267 fi ;;
21268 esac
21269 else
21270 cat >conftest.$ac_ext <<_ACEOF
21271 /* confdefs.h. */
21272 _ACEOF
21273 cat confdefs.h >>conftest.$ac_ext
21274 cat >>conftest.$ac_ext <<_ACEOF
21275 /* end confdefs.h. */
21276 $ac_includes_default
21277 typedef long ac__type_sizeof_;
21278 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21279 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21280 #include <stdio.h>
21281 #include <stdlib.h>
21282 int
21283 main ()
21284 {
21285
21286 FILE *f = fopen ("conftest.val", "w");
21287 if (! f)
21288 return 1;
21289 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21290 {
21291 long int i = longval ();
21292 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21293 return 1;
21294 fprintf (f, "%ld\n", i);
21295 }
21296 else
21297 {
21298 unsigned long int i = ulongval ();
21299 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21300 return 1;
21301 fprintf (f, "%lu\n", i);
21302 }
21303 return ferror (f) || fclose (f) != 0;
21304
21305 ;
21306 return 0;
21307 }
21308 _ACEOF
21309 rm -f conftest$ac_exeext
21310 if { (ac_try="$ac_link"
21311 case "(($ac_try" in
21312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21313 *) ac_try_echo=$ac_try;;
21314 esac
21315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21316 (eval "$ac_link") 2>&5
21317 ac_status=$?
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21320 { (case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21323 esac
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_try") 2>&5
21326 ac_status=$?
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); }; }; then
21329 ac_cv_sizeof_long=`cat conftest.val`
21330 else
21331 echo "$as_me: program exited with status $ac_status" >&5
21332 echo "$as_me: failed program was:" >&5
21333 sed 's/^/| /' conftest.$ac_ext >&5
21334
21335 ( exit $ac_status )
21336 if test "$ac_cv_type_long" = yes; then
21337 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21338 See \`config.log' for more details." >&5
21339 echo "$as_me: error: cannot compute sizeof (long)
21340 See \`config.log' for more details." >&2;}
21341 { (exit 77); exit 77; }; }
21342 else
21343 ac_cv_sizeof_long=0
21344 fi
21345 fi
21346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21347 fi
21348 rm -f conftest.val
21349 fi
21350 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21351 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21352
21353
21354
21355 cat >>confdefs.h <<_ACEOF
21356 #define SIZEOF_LONG $ac_cv_sizeof_long
21357 _ACEOF
21358
21359
21360 { echo "$as_me:$LINENO: checking for size_t" >&5
21361 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21362 if test "${ac_cv_type_size_t+set}" = set; then
21363 echo $ECHO_N "(cached) $ECHO_C" >&6
21364 else
21365 cat >conftest.$ac_ext <<_ACEOF
21366 /* confdefs.h. */
21367 _ACEOF
21368 cat confdefs.h >>conftest.$ac_ext
21369 cat >>conftest.$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21371 $ac_includes_default
21372 typedef size_t ac__type_new_;
21373 int
21374 main ()
21375 {
21376 if ((ac__type_new_ *) 0)
21377 return 0;
21378 if (sizeof (ac__type_new_))
21379 return 0;
21380 ;
21381 return 0;
21382 }
21383 _ACEOF
21384 rm -f conftest.$ac_objext
21385 if { (ac_try="$ac_compile"
21386 case "(($ac_try" in
21387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21388 *) ac_try_echo=$ac_try;;
21389 esac
21390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21391 (eval "$ac_compile") 2>conftest.er1
21392 ac_status=$?
21393 grep -v '^ *+' conftest.er1 >conftest.err
21394 rm -f conftest.er1
21395 cat conftest.err >&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); } && {
21398 test -z "$ac_c_werror_flag" ||
21399 test ! -s conftest.err
21400 } && test -s conftest.$ac_objext; then
21401 ac_cv_type_size_t=yes
21402 else
21403 echo "$as_me: failed program was:" >&5
21404 sed 's/^/| /' conftest.$ac_ext >&5
21405
21406 ac_cv_type_size_t=no
21407 fi
21408
21409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21410 fi
21411 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21412 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21413
21414 # The cast to long int works around a bug in the HP C Compiler
21415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21417 # This bug is HP SR number 8606223364.
21418 { echo "$as_me:$LINENO: checking size of size_t" >&5
21419 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21420 if test "${ac_cv_sizeof_size_t+set}" = set; then
21421 echo $ECHO_N "(cached) $ECHO_C" >&6
21422 else
21423 if test "$cross_compiling" = yes; then
21424 # Depending upon the size, compute the lo and hi bounds.
21425 cat >conftest.$ac_ext <<_ACEOF
21426 /* confdefs.h. */
21427 _ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 $ac_includes_default
21432 typedef size_t ac__type_sizeof_;
21433 int
21434 main ()
21435 {
21436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21437 test_array [0] = 0
21438
21439 ;
21440 return 0;
21441 }
21442 _ACEOF
21443 rm -f conftest.$ac_objext
21444 if { (ac_try="$ac_compile"
21445 case "(($ac_try" in
21446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21447 *) ac_try_echo=$ac_try;;
21448 esac
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21451 ac_status=$?
21452 grep -v '^ *+' conftest.er1 >conftest.err
21453 rm -f conftest.er1
21454 cat conftest.err >&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest.$ac_objext; then
21460 ac_lo=0 ac_mid=0
21461 while :; do
21462 cat >conftest.$ac_ext <<_ACEOF
21463 /* confdefs.h. */
21464 _ACEOF
21465 cat confdefs.h >>conftest.$ac_ext
21466 cat >>conftest.$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 $ac_includes_default
21469 typedef size_t ac__type_sizeof_;
21470 int
21471 main ()
21472 {
21473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21474 test_array [0] = 0
21475
21476 ;
21477 return 0;
21478 }
21479 _ACEOF
21480 rm -f conftest.$ac_objext
21481 if { (ac_try="$ac_compile"
21482 case "(($ac_try" in
21483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484 *) ac_try_echo=$ac_try;;
21485 esac
21486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487 (eval "$ac_compile") 2>conftest.er1
21488 ac_status=$?
21489 grep -v '^ *+' conftest.er1 >conftest.err
21490 rm -f conftest.er1
21491 cat conftest.err >&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } && {
21494 test -z "$ac_c_werror_flag" ||
21495 test ! -s conftest.err
21496 } && test -s conftest.$ac_objext; then
21497 ac_hi=$ac_mid; break
21498 else
21499 echo "$as_me: failed program was:" >&5
21500 sed 's/^/| /' conftest.$ac_ext >&5
21501
21502 ac_lo=`expr $ac_mid + 1`
21503 if test $ac_lo -le $ac_mid; then
21504 ac_lo= ac_hi=
21505 break
21506 fi
21507 ac_mid=`expr 2 '*' $ac_mid + 1`
21508 fi
21509
21510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21511 done
21512 else
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.$ac_ext >&5
21515
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 typedef size_t ac__type_sizeof_;
21524 int
21525 main ()
21526 {
21527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21528 test_array [0] = 0
21529
21530 ;
21531 return 0;
21532 }
21533 _ACEOF
21534 rm -f conftest.$ac_objext
21535 if { (ac_try="$ac_compile"
21536 case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21539 esac
21540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_compile") 2>conftest.er1
21542 ac_status=$?
21543 grep -v '^ *+' conftest.er1 >conftest.err
21544 rm -f conftest.er1
21545 cat conftest.err >&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); } && {
21548 test -z "$ac_c_werror_flag" ||
21549 test ! -s conftest.err
21550 } && test -s conftest.$ac_objext; then
21551 ac_hi=-1 ac_mid=-1
21552 while :; do
21553 cat >conftest.$ac_ext <<_ACEOF
21554 /* confdefs.h. */
21555 _ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 $ac_includes_default
21560 typedef size_t ac__type_sizeof_;
21561 int
21562 main ()
21563 {
21564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21565 test_array [0] = 0
21566
21567 ;
21568 return 0;
21569 }
21570 _ACEOF
21571 rm -f conftest.$ac_objext
21572 if { (ac_try="$ac_compile"
21573 case "(($ac_try" in
21574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21575 *) ac_try_echo=$ac_try;;
21576 esac
21577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21578 (eval "$ac_compile") 2>conftest.er1
21579 ac_status=$?
21580 grep -v '^ *+' conftest.er1 >conftest.err
21581 rm -f conftest.er1
21582 cat conftest.err >&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } && {
21585 test -z "$ac_c_werror_flag" ||
21586 test ! -s conftest.err
21587 } && test -s conftest.$ac_objext; then
21588 ac_lo=$ac_mid; break
21589 else
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21592
21593 ac_hi=`expr '(' $ac_mid ')' - 1`
21594 if test $ac_mid -le $ac_hi; then
21595 ac_lo= ac_hi=
21596 break
21597 fi
21598 ac_mid=`expr 2 '*' $ac_mid`
21599 fi
21600
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 done
21603 else
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.$ac_ext >&5
21606
21607 ac_lo= ac_hi=
21608 fi
21609
21610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21611 fi
21612
21613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21614 # Binary search between lo and hi bounds.
21615 while test "x$ac_lo" != "x$ac_hi"; do
21616 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21617 cat >conftest.$ac_ext <<_ACEOF
21618 /* confdefs.h. */
21619 _ACEOF
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 $ac_includes_default
21624 typedef size_t ac__type_sizeof_;
21625 int
21626 main ()
21627 {
21628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21629 test_array [0] = 0
21630
21631 ;
21632 return 0;
21633 }
21634 _ACEOF
21635 rm -f conftest.$ac_objext
21636 if { (ac_try="$ac_compile"
21637 case "(($ac_try" in
21638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21639 *) ac_try_echo=$ac_try;;
21640 esac
21641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21642 (eval "$ac_compile") 2>conftest.er1
21643 ac_status=$?
21644 grep -v '^ *+' conftest.er1 >conftest.err
21645 rm -f conftest.er1
21646 cat conftest.err >&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } && {
21649 test -z "$ac_c_werror_flag" ||
21650 test ! -s conftest.err
21651 } && test -s conftest.$ac_objext; then
21652 ac_hi=$ac_mid
21653 else
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21656
21657 ac_lo=`expr '(' $ac_mid ')' + 1`
21658 fi
21659
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661 done
21662 case $ac_lo in
21663 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21664 '') if test "$ac_cv_type_size_t" = yes; then
21665 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21666 See \`config.log' for more details." >&5
21667 echo "$as_me: error: cannot compute sizeof (size_t)
21668 See \`config.log' for more details." >&2;}
21669 { (exit 77); exit 77; }; }
21670 else
21671 ac_cv_sizeof_size_t=0
21672 fi ;;
21673 esac
21674 else
21675 cat >conftest.$ac_ext <<_ACEOF
21676 /* confdefs.h. */
21677 _ACEOF
21678 cat confdefs.h >>conftest.$ac_ext
21679 cat >>conftest.$ac_ext <<_ACEOF
21680 /* end confdefs.h. */
21681 $ac_includes_default
21682 typedef size_t ac__type_sizeof_;
21683 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21684 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21685 #include <stdio.h>
21686 #include <stdlib.h>
21687 int
21688 main ()
21689 {
21690
21691 FILE *f = fopen ("conftest.val", "w");
21692 if (! f)
21693 return 1;
21694 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21695 {
21696 long int i = longval ();
21697 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21698 return 1;
21699 fprintf (f, "%ld\n", i);
21700 }
21701 else
21702 {
21703 unsigned long int i = ulongval ();
21704 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21705 return 1;
21706 fprintf (f, "%lu\n", i);
21707 }
21708 return ferror (f) || fclose (f) != 0;
21709
21710 ;
21711 return 0;
21712 }
21713 _ACEOF
21714 rm -f conftest$ac_exeext
21715 if { (ac_try="$ac_link"
21716 case "(($ac_try" in
21717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21718 *) ac_try_echo=$ac_try;;
21719 esac
21720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21721 (eval "$ac_link") 2>&5
21722 ac_status=$?
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21725 { (case "(($ac_try" in
21726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21727 *) ac_try_echo=$ac_try;;
21728 esac
21729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21730 (eval "$ac_try") 2>&5
21731 ac_status=$?
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); }; }; then
21734 ac_cv_sizeof_size_t=`cat conftest.val`
21735 else
21736 echo "$as_me: program exited with status $ac_status" >&5
21737 echo "$as_me: failed program was:" >&5
21738 sed 's/^/| /' conftest.$ac_ext >&5
21739
21740 ( exit $ac_status )
21741 if test "$ac_cv_type_size_t" = yes; then
21742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21743 See \`config.log' for more details." >&5
21744 echo "$as_me: error: cannot compute sizeof (size_t)
21745 See \`config.log' for more details." >&2;}
21746 { (exit 77); exit 77; }; }
21747 else
21748 ac_cv_sizeof_size_t=0
21749 fi
21750 fi
21751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21752 fi
21753 rm -f conftest.val
21754 fi
21755 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21756 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21757
21758
21759
21760 cat >>confdefs.h <<_ACEOF
21761 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21762 _ACEOF
21763
21764
21765
21766 case "${host}" in
21767 arm-*-linux* )
21768 { echo "$as_me:$LINENO: checking for long long" >&5
21769 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21770 if test "${ac_cv_type_long_long+set}" = set; then
21771 echo $ECHO_N "(cached) $ECHO_C" >&6
21772 else
21773 cat >conftest.$ac_ext <<_ACEOF
21774 /* confdefs.h. */
21775 _ACEOF
21776 cat confdefs.h >>conftest.$ac_ext
21777 cat >>conftest.$ac_ext <<_ACEOF
21778 /* end confdefs.h. */
21779 $ac_includes_default
21780 typedef long long ac__type_new_;
21781 int
21782 main ()
21783 {
21784 if ((ac__type_new_ *) 0)
21785 return 0;
21786 if (sizeof (ac__type_new_))
21787 return 0;
21788 ;
21789 return 0;
21790 }
21791 _ACEOF
21792 rm -f conftest.$ac_objext
21793 if { (ac_try="$ac_compile"
21794 case "(($ac_try" in
21795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21796 *) ac_try_echo=$ac_try;;
21797 esac
21798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21799 (eval "$ac_compile") 2>conftest.er1
21800 ac_status=$?
21801 grep -v '^ *+' conftest.er1 >conftest.err
21802 rm -f conftest.er1
21803 cat conftest.err >&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } && {
21806 test -z "$ac_c_werror_flag" ||
21807 test ! -s conftest.err
21808 } && test -s conftest.$ac_objext; then
21809 ac_cv_type_long_long=yes
21810 else
21811 echo "$as_me: failed program was:" >&5
21812 sed 's/^/| /' conftest.$ac_ext >&5
21813
21814 ac_cv_type_long_long=no
21815 fi
21816
21817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21818 fi
21819 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21820 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21821
21822 # The cast to long int works around a bug in the HP C Compiler
21823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21825 # This bug is HP SR number 8606223364.
21826 { echo "$as_me:$LINENO: checking size of long long" >&5
21827 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21828 if test "${ac_cv_sizeof_long_long+set}" = set; then
21829 echo $ECHO_N "(cached) $ECHO_C" >&6
21830 else
21831 if test "$cross_compiling" = yes; then
21832 # Depending upon the size, compute the lo and hi bounds.
21833 cat >conftest.$ac_ext <<_ACEOF
21834 /* confdefs.h. */
21835 _ACEOF
21836 cat confdefs.h >>conftest.$ac_ext
21837 cat >>conftest.$ac_ext <<_ACEOF
21838 /* end confdefs.h. */
21839 $ac_includes_default
21840 typedef long long ac__type_sizeof_;
21841 int
21842 main ()
21843 {
21844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21845 test_array [0] = 0
21846
21847 ;
21848 return 0;
21849 }
21850 _ACEOF
21851 rm -f conftest.$ac_objext
21852 if { (ac_try="$ac_compile"
21853 case "(($ac_try" in
21854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21855 *) ac_try_echo=$ac_try;;
21856 esac
21857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21858 (eval "$ac_compile") 2>conftest.er1
21859 ac_status=$?
21860 grep -v '^ *+' conftest.er1 >conftest.err
21861 rm -f conftest.er1
21862 cat conftest.err >&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); } && {
21865 test -z "$ac_c_werror_flag" ||
21866 test ! -s conftest.err
21867 } && test -s conftest.$ac_objext; then
21868 ac_lo=0 ac_mid=0
21869 while :; do
21870 cat >conftest.$ac_ext <<_ACEOF
21871 /* confdefs.h. */
21872 _ACEOF
21873 cat confdefs.h >>conftest.$ac_ext
21874 cat >>conftest.$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21876 $ac_includes_default
21877 typedef long long ac__type_sizeof_;
21878 int
21879 main ()
21880 {
21881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21882 test_array [0] = 0
21883
21884 ;
21885 return 0;
21886 }
21887 _ACEOF
21888 rm -f conftest.$ac_objext
21889 if { (ac_try="$ac_compile"
21890 case "(($ac_try" in
21891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21892 *) ac_try_echo=$ac_try;;
21893 esac
21894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21895 (eval "$ac_compile") 2>conftest.er1
21896 ac_status=$?
21897 grep -v '^ *+' conftest.er1 >conftest.err
21898 rm -f conftest.er1
21899 cat conftest.err >&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } && {
21902 test -z "$ac_c_werror_flag" ||
21903 test ! -s conftest.err
21904 } && test -s conftest.$ac_objext; then
21905 ac_hi=$ac_mid; break
21906 else
21907 echo "$as_me: failed program was:" >&5
21908 sed 's/^/| /' conftest.$ac_ext >&5
21909
21910 ac_lo=`expr $ac_mid + 1`
21911 if test $ac_lo -le $ac_mid; then
21912 ac_lo= ac_hi=
21913 break
21914 fi
21915 ac_mid=`expr 2 '*' $ac_mid + 1`
21916 fi
21917
21918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21919 done
21920 else
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.$ac_ext >&5
21923
21924 cat >conftest.$ac_ext <<_ACEOF
21925 /* confdefs.h. */
21926 _ACEOF
21927 cat confdefs.h >>conftest.$ac_ext
21928 cat >>conftest.$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21930 $ac_includes_default
21931 typedef long long ac__type_sizeof_;
21932 int
21933 main ()
21934 {
21935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21936 test_array [0] = 0
21937
21938 ;
21939 return 0;
21940 }
21941 _ACEOF
21942 rm -f conftest.$ac_objext
21943 if { (ac_try="$ac_compile"
21944 case "(($ac_try" in
21945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21946 *) ac_try_echo=$ac_try;;
21947 esac
21948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21949 (eval "$ac_compile") 2>conftest.er1
21950 ac_status=$?
21951 grep -v '^ *+' conftest.er1 >conftest.err
21952 rm -f conftest.er1
21953 cat conftest.err >&5
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); } && {
21956 test -z "$ac_c_werror_flag" ||
21957 test ! -s conftest.err
21958 } && test -s conftest.$ac_objext; then
21959 ac_hi=-1 ac_mid=-1
21960 while :; do
21961 cat >conftest.$ac_ext <<_ACEOF
21962 /* confdefs.h. */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967 $ac_includes_default
21968 typedef long long ac__type_sizeof_;
21969 int
21970 main ()
21971 {
21972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21973 test_array [0] = 0
21974
21975 ;
21976 return 0;
21977 }
21978 _ACEOF
21979 rm -f conftest.$ac_objext
21980 if { (ac_try="$ac_compile"
21981 case "(($ac_try" in
21982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21983 *) ac_try_echo=$ac_try;;
21984 esac
21985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21986 (eval "$ac_compile") 2>conftest.er1
21987 ac_status=$?
21988 grep -v '^ *+' conftest.er1 >conftest.err
21989 rm -f conftest.er1
21990 cat conftest.err >&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); } && {
21993 test -z "$ac_c_werror_flag" ||
21994 test ! -s conftest.err
21995 } && test -s conftest.$ac_objext; then
21996 ac_lo=$ac_mid; break
21997 else
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22000
22001 ac_hi=`expr '(' $ac_mid ')' - 1`
22002 if test $ac_mid -le $ac_hi; then
22003 ac_lo= ac_hi=
22004 break
22005 fi
22006 ac_mid=`expr 2 '*' $ac_mid`
22007 fi
22008
22009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22010 done
22011 else
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22014
22015 ac_lo= ac_hi=
22016 fi
22017
22018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 fi
22020
22021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22022 # Binary search between lo and hi bounds.
22023 while test "x$ac_lo" != "x$ac_hi"; do
22024 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22025 cat >conftest.$ac_ext <<_ACEOF
22026 /* confdefs.h. */
22027 _ACEOF
22028 cat confdefs.h >>conftest.$ac_ext
22029 cat >>conftest.$ac_ext <<_ACEOF
22030 /* end confdefs.h. */
22031 $ac_includes_default
22032 typedef long long ac__type_sizeof_;
22033 int
22034 main ()
22035 {
22036 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22037 test_array [0] = 0
22038
22039 ;
22040 return 0;
22041 }
22042 _ACEOF
22043 rm -f conftest.$ac_objext
22044 if { (ac_try="$ac_compile"
22045 case "(($ac_try" in
22046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22047 *) ac_try_echo=$ac_try;;
22048 esac
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_compile") 2>conftest.er1
22051 ac_status=$?
22052 grep -v '^ *+' conftest.er1 >conftest.err
22053 rm -f conftest.er1
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } && {
22057 test -z "$ac_c_werror_flag" ||
22058 test ! -s conftest.err
22059 } && test -s conftest.$ac_objext; then
22060 ac_hi=$ac_mid
22061 else
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.$ac_ext >&5
22064
22065 ac_lo=`expr '(' $ac_mid ')' + 1`
22066 fi
22067
22068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22069 done
22070 case $ac_lo in
22071 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22072 '') if test "$ac_cv_type_long_long" = yes; then
22073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22074 See \`config.log' for more details." >&5
22075 echo "$as_me: error: cannot compute sizeof (long long)
22076 See \`config.log' for more details." >&2;}
22077 { (exit 77); exit 77; }; }
22078 else
22079 ac_cv_sizeof_long_long=0
22080 fi ;;
22081 esac
22082 else
22083 cat >conftest.$ac_ext <<_ACEOF
22084 /* confdefs.h. */
22085 _ACEOF
22086 cat confdefs.h >>conftest.$ac_ext
22087 cat >>conftest.$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22089 $ac_includes_default
22090 typedef long long ac__type_sizeof_;
22091 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22092 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22093 #include <stdio.h>
22094 #include <stdlib.h>
22095 int
22096 main ()
22097 {
22098
22099 FILE *f = fopen ("conftest.val", "w");
22100 if (! f)
22101 return 1;
22102 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22103 {
22104 long int i = longval ();
22105 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22106 return 1;
22107 fprintf (f, "%ld\n", i);
22108 }
22109 else
22110 {
22111 unsigned long int i = ulongval ();
22112 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22113 return 1;
22114 fprintf (f, "%lu\n", i);
22115 }
22116 return ferror (f) || fclose (f) != 0;
22117
22118 ;
22119 return 0;
22120 }
22121 _ACEOF
22122 rm -f conftest$ac_exeext
22123 if { (ac_try="$ac_link"
22124 case "(($ac_try" in
22125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22126 *) ac_try_echo=$ac_try;;
22127 esac
22128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22129 (eval "$ac_link") 2>&5
22130 ac_status=$?
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22133 { (case "(($ac_try" in
22134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22135 *) ac_try_echo=$ac_try;;
22136 esac
22137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22138 (eval "$ac_try") 2>&5
22139 ac_status=$?
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; }; then
22142 ac_cv_sizeof_long_long=`cat conftest.val`
22143 else
22144 echo "$as_me: program exited with status $ac_status" >&5
22145 echo "$as_me: failed program was:" >&5
22146 sed 's/^/| /' conftest.$ac_ext >&5
22147
22148 ( exit $ac_status )
22149 if test "$ac_cv_type_long_long" = yes; then
22150 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22151 See \`config.log' for more details." >&5
22152 echo "$as_me: error: cannot compute sizeof (long long)
22153 See \`config.log' for more details." >&2;}
22154 { (exit 77); exit 77; }; }
22155 else
22156 ac_cv_sizeof_long_long=0
22157 fi
22158 fi
22159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22160 fi
22161 rm -f conftest.val
22162 fi
22163 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22164 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22165
22166
22167
22168 cat >>confdefs.h <<_ACEOF
22169 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22170 _ACEOF
22171
22172
22173 ;;
22174 *-hp-hpux* )
22175 { echo "$as_me:$LINENO: checking for long long" >&5
22176 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22177 if test "${ac_cv_type_long_long+set}" = set; then
22178 echo $ECHO_N "(cached) $ECHO_C" >&6
22179 else
22180 cat >conftest.$ac_ext <<_ACEOF
22181 /* confdefs.h. */
22182 _ACEOF
22183 cat confdefs.h >>conftest.$ac_ext
22184 cat >>conftest.$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22186 $ac_includes_default
22187 typedef long long ac__type_new_;
22188 int
22189 main ()
22190 {
22191 if ((ac__type_new_ *) 0)
22192 return 0;
22193 if (sizeof (ac__type_new_))
22194 return 0;
22195 ;
22196 return 0;
22197 }
22198 _ACEOF
22199 rm -f conftest.$ac_objext
22200 if { (ac_try="$ac_compile"
22201 case "(($ac_try" in
22202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22203 *) ac_try_echo=$ac_try;;
22204 esac
22205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22206 (eval "$ac_compile") 2>conftest.er1
22207 ac_status=$?
22208 grep -v '^ *+' conftest.er1 >conftest.err
22209 rm -f conftest.er1
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } && {
22213 test -z "$ac_c_werror_flag" ||
22214 test ! -s conftest.err
22215 } && test -s conftest.$ac_objext; then
22216 ac_cv_type_long_long=yes
22217 else
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.$ac_ext >&5
22220
22221 ac_cv_type_long_long=no
22222 fi
22223
22224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22225 fi
22226 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22227 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22228
22229 # The cast to long int works around a bug in the HP C Compiler
22230 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22231 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22232 # This bug is HP SR number 8606223364.
22233 { echo "$as_me:$LINENO: checking size of long long" >&5
22234 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22235 if test "${ac_cv_sizeof_long_long+set}" = set; then
22236 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 else
22238 if test "$cross_compiling" = yes; then
22239 # Depending upon the size, compute the lo and hi bounds.
22240 cat >conftest.$ac_ext <<_ACEOF
22241 /* confdefs.h. */
22242 _ACEOF
22243 cat confdefs.h >>conftest.$ac_ext
22244 cat >>conftest.$ac_ext <<_ACEOF
22245 /* end confdefs.h. */
22246 $ac_includes_default
22247 typedef long long ac__type_sizeof_;
22248 int
22249 main ()
22250 {
22251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22252 test_array [0] = 0
22253
22254 ;
22255 return 0;
22256 }
22257 _ACEOF
22258 rm -f conftest.$ac_objext
22259 if { (ac_try="$ac_compile"
22260 case "(($ac_try" in
22261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22262 *) ac_try_echo=$ac_try;;
22263 esac
22264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22265 (eval "$ac_compile") 2>conftest.er1
22266 ac_status=$?
22267 grep -v '^ *+' conftest.er1 >conftest.err
22268 rm -f conftest.er1
22269 cat conftest.err >&5
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); } && {
22272 test -z "$ac_c_werror_flag" ||
22273 test ! -s conftest.err
22274 } && test -s conftest.$ac_objext; then
22275 ac_lo=0 ac_mid=0
22276 while :; do
22277 cat >conftest.$ac_ext <<_ACEOF
22278 /* confdefs.h. */
22279 _ACEOF
22280 cat confdefs.h >>conftest.$ac_ext
22281 cat >>conftest.$ac_ext <<_ACEOF
22282 /* end confdefs.h. */
22283 $ac_includes_default
22284 typedef long long ac__type_sizeof_;
22285 int
22286 main ()
22287 {
22288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22289 test_array [0] = 0
22290
22291 ;
22292 return 0;
22293 }
22294 _ACEOF
22295 rm -f conftest.$ac_objext
22296 if { (ac_try="$ac_compile"
22297 case "(($ac_try" in
22298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22299 *) ac_try_echo=$ac_try;;
22300 esac
22301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22302 (eval "$ac_compile") 2>conftest.er1
22303 ac_status=$?
22304 grep -v '^ *+' conftest.er1 >conftest.err
22305 rm -f conftest.er1
22306 cat conftest.err >&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } && {
22309 test -z "$ac_c_werror_flag" ||
22310 test ! -s conftest.err
22311 } && test -s conftest.$ac_objext; then
22312 ac_hi=$ac_mid; break
22313 else
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.$ac_ext >&5
22316
22317 ac_lo=`expr $ac_mid + 1`
22318 if test $ac_lo -le $ac_mid; then
22319 ac_lo= ac_hi=
22320 break
22321 fi
22322 ac_mid=`expr 2 '*' $ac_mid + 1`
22323 fi
22324
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22326 done
22327 else
22328 echo "$as_me: failed program was:" >&5
22329 sed 's/^/| /' conftest.$ac_ext >&5
22330
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 typedef long long ac__type_sizeof_;
22339 int
22340 main ()
22341 {
22342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22343 test_array [0] = 0
22344
22345 ;
22346 return 0;
22347 }
22348 _ACEOF
22349 rm -f conftest.$ac_objext
22350 if { (ac_try="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22354 esac
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22357 ac_status=$?
22358 grep -v '^ *+' conftest.er1 >conftest.err
22359 rm -f conftest.er1
22360 cat conftest.err >&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.$ac_objext; then
22366 ac_hi=-1 ac_mid=-1
22367 while :; do
22368 cat >conftest.$ac_ext <<_ACEOF
22369 /* confdefs.h. */
22370 _ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 $ac_includes_default
22375 typedef long long ac__type_sizeof_;
22376 int
22377 main ()
22378 {
22379 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22380 test_array [0] = 0
22381
22382 ;
22383 return 0;
22384 }
22385 _ACEOF
22386 rm -f conftest.$ac_objext
22387 if { (ac_try="$ac_compile"
22388 case "(($ac_try" in
22389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22390 *) ac_try_echo=$ac_try;;
22391 esac
22392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22393 (eval "$ac_compile") 2>conftest.er1
22394 ac_status=$?
22395 grep -v '^ *+' conftest.er1 >conftest.err
22396 rm -f conftest.er1
22397 cat conftest.err >&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); } && {
22400 test -z "$ac_c_werror_flag" ||
22401 test ! -s conftest.err
22402 } && test -s conftest.$ac_objext; then
22403 ac_lo=$ac_mid; break
22404 else
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22407
22408 ac_hi=`expr '(' $ac_mid ')' - 1`
22409 if test $ac_mid -le $ac_hi; then
22410 ac_lo= ac_hi=
22411 break
22412 fi
22413 ac_mid=`expr 2 '*' $ac_mid`
22414 fi
22415
22416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22417 done
22418 else
22419 echo "$as_me: failed program was:" >&5
22420 sed 's/^/| /' conftest.$ac_ext >&5
22421
22422 ac_lo= ac_hi=
22423 fi
22424
22425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22426 fi
22427
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22429 # Binary search between lo and hi bounds.
22430 while test "x$ac_lo" != "x$ac_hi"; do
22431 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22432 cat >conftest.$ac_ext <<_ACEOF
22433 /* confdefs.h. */
22434 _ACEOF
22435 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22438 $ac_includes_default
22439 typedef long long ac__type_sizeof_;
22440 int
22441 main ()
22442 {
22443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22444 test_array [0] = 0
22445
22446 ;
22447 return 0;
22448 }
22449 _ACEOF
22450 rm -f conftest.$ac_objext
22451 if { (ac_try="$ac_compile"
22452 case "(($ac_try" in
22453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22454 *) ac_try_echo=$ac_try;;
22455 esac
22456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22457 (eval "$ac_compile") 2>conftest.er1
22458 ac_status=$?
22459 grep -v '^ *+' conftest.er1 >conftest.err
22460 rm -f conftest.er1
22461 cat conftest.err >&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } && {
22464 test -z "$ac_c_werror_flag" ||
22465 test ! -s conftest.err
22466 } && test -s conftest.$ac_objext; then
22467 ac_hi=$ac_mid
22468 else
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.$ac_ext >&5
22471
22472 ac_lo=`expr '(' $ac_mid ')' + 1`
22473 fi
22474
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 done
22477 case $ac_lo in
22478 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22479 '') if test "$ac_cv_type_long_long" = yes; then
22480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22481 See \`config.log' for more details." >&5
22482 echo "$as_me: error: cannot compute sizeof (long long)
22483 See \`config.log' for more details." >&2;}
22484 { (exit 77); exit 77; }; }
22485 else
22486 ac_cv_sizeof_long_long=0
22487 fi ;;
22488 esac
22489 else
22490 cat >conftest.$ac_ext <<_ACEOF
22491 /* confdefs.h. */
22492 _ACEOF
22493 cat confdefs.h >>conftest.$ac_ext
22494 cat >>conftest.$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 $ac_includes_default
22497 typedef long long ac__type_sizeof_;
22498 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22499 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22500 #include <stdio.h>
22501 #include <stdlib.h>
22502 int
22503 main ()
22504 {
22505
22506 FILE *f = fopen ("conftest.val", "w");
22507 if (! f)
22508 return 1;
22509 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22510 {
22511 long int i = longval ();
22512 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22513 return 1;
22514 fprintf (f, "%ld\n", i);
22515 }
22516 else
22517 {
22518 unsigned long int i = ulongval ();
22519 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22520 return 1;
22521 fprintf (f, "%lu\n", i);
22522 }
22523 return ferror (f) || fclose (f) != 0;
22524
22525 ;
22526 return 0;
22527 }
22528 _ACEOF
22529 rm -f conftest$ac_exeext
22530 if { (ac_try="$ac_link"
22531 case "(($ac_try" in
22532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22533 *) ac_try_echo=$ac_try;;
22534 esac
22535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22536 (eval "$ac_link") 2>&5
22537 ac_status=$?
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22540 { (case "(($ac_try" in
22541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22542 *) ac_try_echo=$ac_try;;
22543 esac
22544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22545 (eval "$ac_try") 2>&5
22546 ac_status=$?
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); }; }; then
22549 ac_cv_sizeof_long_long=`cat conftest.val`
22550 else
22551 echo "$as_me: program exited with status $ac_status" >&5
22552 echo "$as_me: failed program was:" >&5
22553 sed 's/^/| /' conftest.$ac_ext >&5
22554
22555 ( exit $ac_status )
22556 if test "$ac_cv_type_long_long" = yes; then
22557 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22558 See \`config.log' for more details." >&5
22559 echo "$as_me: error: cannot compute sizeof (long long)
22560 See \`config.log' for more details." >&2;}
22561 { (exit 77); exit 77; }; }
22562 else
22563 ac_cv_sizeof_long_long=0
22564 fi
22565 fi
22566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22567 fi
22568 rm -f conftest.val
22569 fi
22570 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22571 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22572
22573
22574
22575 cat >>confdefs.h <<_ACEOF
22576 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22577 _ACEOF
22578
22579
22580 if test "$ac_cv_sizeof_long_long" != 0; then
22581 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22582 fi
22583 ;;
22584 * )
22585 { echo "$as_me:$LINENO: checking for long long" >&5
22586 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22587 if test "${ac_cv_type_long_long+set}" = set; then
22588 echo $ECHO_N "(cached) $ECHO_C" >&6
22589 else
22590 cat >conftest.$ac_ext <<_ACEOF
22591 /* confdefs.h. */
22592 _ACEOF
22593 cat confdefs.h >>conftest.$ac_ext
22594 cat >>conftest.$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22596 $ac_includes_default
22597 typedef long long ac__type_new_;
22598 int
22599 main ()
22600 {
22601 if ((ac__type_new_ *) 0)
22602 return 0;
22603 if (sizeof (ac__type_new_))
22604 return 0;
22605 ;
22606 return 0;
22607 }
22608 _ACEOF
22609 rm -f conftest.$ac_objext
22610 if { (ac_try="$ac_compile"
22611 case "(($ac_try" in
22612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22613 *) ac_try_echo=$ac_try;;
22614 esac
22615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22616 (eval "$ac_compile") 2>conftest.er1
22617 ac_status=$?
22618 grep -v '^ *+' conftest.er1 >conftest.err
22619 rm -f conftest.er1
22620 cat conftest.err >&5
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); } && {
22623 test -z "$ac_c_werror_flag" ||
22624 test ! -s conftest.err
22625 } && test -s conftest.$ac_objext; then
22626 ac_cv_type_long_long=yes
22627 else
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.$ac_ext >&5
22630
22631 ac_cv_type_long_long=no
22632 fi
22633
22634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22635 fi
22636 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22637 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22638
22639 # The cast to long int works around a bug in the HP C Compiler
22640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22642 # This bug is HP SR number 8606223364.
22643 { echo "$as_me:$LINENO: checking size of long long" >&5
22644 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22645 if test "${ac_cv_sizeof_long_long+set}" = set; then
22646 echo $ECHO_N "(cached) $ECHO_C" >&6
22647 else
22648 if test "$cross_compiling" = yes; then
22649 # Depending upon the size, compute the lo and hi bounds.
22650 cat >conftest.$ac_ext <<_ACEOF
22651 /* confdefs.h. */
22652 _ACEOF
22653 cat confdefs.h >>conftest.$ac_ext
22654 cat >>conftest.$ac_ext <<_ACEOF
22655 /* end confdefs.h. */
22656 $ac_includes_default
22657 typedef long long ac__type_sizeof_;
22658 int
22659 main ()
22660 {
22661 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22662 test_array [0] = 0
22663
22664 ;
22665 return 0;
22666 }
22667 _ACEOF
22668 rm -f conftest.$ac_objext
22669 if { (ac_try="$ac_compile"
22670 case "(($ac_try" in
22671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22672 *) ac_try_echo=$ac_try;;
22673 esac
22674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22675 (eval "$ac_compile") 2>conftest.er1
22676 ac_status=$?
22677 grep -v '^ *+' conftest.er1 >conftest.err
22678 rm -f conftest.er1
22679 cat conftest.err >&5
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); } && {
22682 test -z "$ac_c_werror_flag" ||
22683 test ! -s conftest.err
22684 } && test -s conftest.$ac_objext; then
22685 ac_lo=0 ac_mid=0
22686 while :; do
22687 cat >conftest.$ac_ext <<_ACEOF
22688 /* confdefs.h. */
22689 _ACEOF
22690 cat confdefs.h >>conftest.$ac_ext
22691 cat >>conftest.$ac_ext <<_ACEOF
22692 /* end confdefs.h. */
22693 $ac_includes_default
22694 typedef long long ac__type_sizeof_;
22695 int
22696 main ()
22697 {
22698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22699 test_array [0] = 0
22700
22701 ;
22702 return 0;
22703 }
22704 _ACEOF
22705 rm -f conftest.$ac_objext
22706 if { (ac_try="$ac_compile"
22707 case "(($ac_try" in
22708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22709 *) ac_try_echo=$ac_try;;
22710 esac
22711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22712 (eval "$ac_compile") 2>conftest.er1
22713 ac_status=$?
22714 grep -v '^ *+' conftest.er1 >conftest.err
22715 rm -f conftest.er1
22716 cat conftest.err >&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); } && {
22719 test -z "$ac_c_werror_flag" ||
22720 test ! -s conftest.err
22721 } && test -s conftest.$ac_objext; then
22722 ac_hi=$ac_mid; break
22723 else
22724 echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22726
22727 ac_lo=`expr $ac_mid + 1`
22728 if test $ac_lo -le $ac_mid; then
22729 ac_lo= ac_hi=
22730 break
22731 fi
22732 ac_mid=`expr 2 '*' $ac_mid + 1`
22733 fi
22734
22735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22736 done
22737 else
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22740
22741 cat >conftest.$ac_ext <<_ACEOF
22742 /* confdefs.h. */
22743 _ACEOF
22744 cat confdefs.h >>conftest.$ac_ext
22745 cat >>conftest.$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 $ac_includes_default
22748 typedef long long ac__type_sizeof_;
22749 int
22750 main ()
22751 {
22752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22753 test_array [0] = 0
22754
22755 ;
22756 return 0;
22757 }
22758 _ACEOF
22759 rm -f conftest.$ac_objext
22760 if { (ac_try="$ac_compile"
22761 case "(($ac_try" in
22762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22763 *) ac_try_echo=$ac_try;;
22764 esac
22765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22766 (eval "$ac_compile") 2>conftest.er1
22767 ac_status=$?
22768 grep -v '^ *+' conftest.er1 >conftest.err
22769 rm -f conftest.er1
22770 cat conftest.err >&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } && {
22773 test -z "$ac_c_werror_flag" ||
22774 test ! -s conftest.err
22775 } && test -s conftest.$ac_objext; then
22776 ac_hi=-1 ac_mid=-1
22777 while :; do
22778 cat >conftest.$ac_ext <<_ACEOF
22779 /* confdefs.h. */
22780 _ACEOF
22781 cat confdefs.h >>conftest.$ac_ext
22782 cat >>conftest.$ac_ext <<_ACEOF
22783 /* end confdefs.h. */
22784 $ac_includes_default
22785 typedef long long ac__type_sizeof_;
22786 int
22787 main ()
22788 {
22789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22790 test_array [0] = 0
22791
22792 ;
22793 return 0;
22794 }
22795 _ACEOF
22796 rm -f conftest.$ac_objext
22797 if { (ac_try="$ac_compile"
22798 case "(($ac_try" in
22799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22800 *) ac_try_echo=$ac_try;;
22801 esac
22802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22803 (eval "$ac_compile") 2>conftest.er1
22804 ac_status=$?
22805 grep -v '^ *+' conftest.er1 >conftest.err
22806 rm -f conftest.er1
22807 cat conftest.err >&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); } && {
22810 test -z "$ac_c_werror_flag" ||
22811 test ! -s conftest.err
22812 } && test -s conftest.$ac_objext; then
22813 ac_lo=$ac_mid; break
22814 else
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22817
22818 ac_hi=`expr '(' $ac_mid ')' - 1`
22819 if test $ac_mid -le $ac_hi; then
22820 ac_lo= ac_hi=
22821 break
22822 fi
22823 ac_mid=`expr 2 '*' $ac_mid`
22824 fi
22825
22826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22827 done
22828 else
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832 ac_lo= ac_hi=
22833 fi
22834
22835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22836 fi
22837
22838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22839 # Binary search between lo and hi bounds.
22840 while test "x$ac_lo" != "x$ac_hi"; do
22841 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22842 cat >conftest.$ac_ext <<_ACEOF
22843 /* confdefs.h. */
22844 _ACEOF
22845 cat confdefs.h >>conftest.$ac_ext
22846 cat >>conftest.$ac_ext <<_ACEOF
22847 /* end confdefs.h. */
22848 $ac_includes_default
22849 typedef long long ac__type_sizeof_;
22850 int
22851 main ()
22852 {
22853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22854 test_array [0] = 0
22855
22856 ;
22857 return 0;
22858 }
22859 _ACEOF
22860 rm -f conftest.$ac_objext
22861 if { (ac_try="$ac_compile"
22862 case "(($ac_try" in
22863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22864 *) ac_try_echo=$ac_try;;
22865 esac
22866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22867 (eval "$ac_compile") 2>conftest.er1
22868 ac_status=$?
22869 grep -v '^ *+' conftest.er1 >conftest.err
22870 rm -f conftest.er1
22871 cat conftest.err >&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } && {
22874 test -z "$ac_c_werror_flag" ||
22875 test ! -s conftest.err
22876 } && test -s conftest.$ac_objext; then
22877 ac_hi=$ac_mid
22878 else
22879 echo "$as_me: failed program was:" >&5
22880 sed 's/^/| /' conftest.$ac_ext >&5
22881
22882 ac_lo=`expr '(' $ac_mid ')' + 1`
22883 fi
22884
22885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 done
22887 case $ac_lo in
22888 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22889 '') if test "$ac_cv_type_long_long" = yes; then
22890 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22891 See \`config.log' for more details." >&5
22892 echo "$as_me: error: cannot compute sizeof (long long)
22893 See \`config.log' for more details." >&2;}
22894 { (exit 77); exit 77; }; }
22895 else
22896 ac_cv_sizeof_long_long=0
22897 fi ;;
22898 esac
22899 else
22900 cat >conftest.$ac_ext <<_ACEOF
22901 /* confdefs.h. */
22902 _ACEOF
22903 cat confdefs.h >>conftest.$ac_ext
22904 cat >>conftest.$ac_ext <<_ACEOF
22905 /* end confdefs.h. */
22906 $ac_includes_default
22907 typedef long long ac__type_sizeof_;
22908 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22909 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22910 #include <stdio.h>
22911 #include <stdlib.h>
22912 int
22913 main ()
22914 {
22915
22916 FILE *f = fopen ("conftest.val", "w");
22917 if (! f)
22918 return 1;
22919 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22920 {
22921 long int i = longval ();
22922 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22923 return 1;
22924 fprintf (f, "%ld\n", i);
22925 }
22926 else
22927 {
22928 unsigned long int i = ulongval ();
22929 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22930 return 1;
22931 fprintf (f, "%lu\n", i);
22932 }
22933 return ferror (f) || fclose (f) != 0;
22934
22935 ;
22936 return 0;
22937 }
22938 _ACEOF
22939 rm -f conftest$ac_exeext
22940 if { (ac_try="$ac_link"
22941 case "(($ac_try" in
22942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22943 *) ac_try_echo=$ac_try;;
22944 esac
22945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22946 (eval "$ac_link") 2>&5
22947 ac_status=$?
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22950 { (case "(($ac_try" in
22951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22952 *) ac_try_echo=$ac_try;;
22953 esac
22954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22955 (eval "$ac_try") 2>&5
22956 ac_status=$?
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); }; }; then
22959 ac_cv_sizeof_long_long=`cat conftest.val`
22960 else
22961 echo "$as_me: program exited with status $ac_status" >&5
22962 echo "$as_me: failed program was:" >&5
22963 sed 's/^/| /' conftest.$ac_ext >&5
22964
22965 ( exit $ac_status )
22966 if test "$ac_cv_type_long_long" = yes; then
22967 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22968 See \`config.log' for more details." >&5
22969 echo "$as_me: error: cannot compute sizeof (long long)
22970 See \`config.log' for more details." >&2;}
22971 { (exit 77); exit 77; }; }
22972 else
22973 ac_cv_sizeof_long_long=0
22974 fi
22975 fi
22976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22977 fi
22978 rm -f conftest.val
22979 fi
22980 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22981 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22982
22983
22984
22985 cat >>confdefs.h <<_ACEOF
22986 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22987 _ACEOF
22988
22989
22990 esac
22991
22992 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22993 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22994 if test "${ac_cv_type_wchar_t+set}" = set; then
22995 echo $ECHO_N "(cached) $ECHO_C" >&6
22996 else
22997 cat >conftest.$ac_ext <<_ACEOF
22998 /* confdefs.h. */
22999 _ACEOF
23000 cat confdefs.h >>conftest.$ac_ext
23001 cat >>conftest.$ac_ext <<_ACEOF
23002 /* end confdefs.h. */
23003
23004 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23005 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23006 # error "fake wchar_t"
23007 #endif
23008 #ifdef HAVE_WCHAR_H
23009 # ifdef __CYGWIN__
23010 # include <stddef.h>
23011 # endif
23012 # include <wchar.h>
23013 #endif
23014 #ifdef HAVE_STDLIB_H
23015 # include <stdlib.h>
23016 #endif
23017 #include <stdio.h>
23018
23019
23020
23021 typedef wchar_t ac__type_new_;
23022 int
23023 main ()
23024 {
23025 if ((ac__type_new_ *) 0)
23026 return 0;
23027 if (sizeof (ac__type_new_))
23028 return 0;
23029 ;
23030 return 0;
23031 }
23032 _ACEOF
23033 rm -f conftest.$ac_objext
23034 if { (ac_try="$ac_compile"
23035 case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23038 esac
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_compile") 2>conftest.er1
23041 ac_status=$?
23042 grep -v '^ *+' conftest.er1 >conftest.err
23043 rm -f conftest.er1
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } && {
23047 test -z "$ac_c_werror_flag" ||
23048 test ! -s conftest.err
23049 } && test -s conftest.$ac_objext; then
23050 ac_cv_type_wchar_t=yes
23051 else
23052 echo "$as_me: failed program was:" >&5
23053 sed 's/^/| /' conftest.$ac_ext >&5
23054
23055 ac_cv_type_wchar_t=no
23056 fi
23057
23058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23059 fi
23060 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23061 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23062
23063 # The cast to long int works around a bug in the HP C Compiler
23064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23066 # This bug is HP SR number 8606223364.
23067 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23068 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23069 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23070 echo $ECHO_N "(cached) $ECHO_C" >&6
23071 else
23072 if test "$cross_compiling" = yes; then
23073 # Depending upon the size, compute the lo and hi bounds.
23074 cat >conftest.$ac_ext <<_ACEOF
23075 /* confdefs.h. */
23076 _ACEOF
23077 cat confdefs.h >>conftest.$ac_ext
23078 cat >>conftest.$ac_ext <<_ACEOF
23079 /* end confdefs.h. */
23080
23081 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23082 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23083 # error "fake wchar_t"
23084 #endif
23085 #ifdef HAVE_WCHAR_H
23086 # ifdef __CYGWIN__
23087 # include <stddef.h>
23088 # endif
23089 # include <wchar.h>
23090 #endif
23091 #ifdef HAVE_STDLIB_H
23092 # include <stdlib.h>
23093 #endif
23094 #include <stdio.h>
23095
23096
23097
23098 typedef wchar_t ac__type_sizeof_;
23099 int
23100 main ()
23101 {
23102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23103 test_array [0] = 0
23104
23105 ;
23106 return 0;
23107 }
23108 _ACEOF
23109 rm -f conftest.$ac_objext
23110 if { (ac_try="$ac_compile"
23111 case "(($ac_try" in
23112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23113 *) ac_try_echo=$ac_try;;
23114 esac
23115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23116 (eval "$ac_compile") 2>conftest.er1
23117 ac_status=$?
23118 grep -v '^ *+' conftest.er1 >conftest.err
23119 rm -f conftest.er1
23120 cat conftest.err >&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } && {
23123 test -z "$ac_c_werror_flag" ||
23124 test ! -s conftest.err
23125 } && test -s conftest.$ac_objext; then
23126 ac_lo=0 ac_mid=0
23127 while :; do
23128 cat >conftest.$ac_ext <<_ACEOF
23129 /* confdefs.h. */
23130 _ACEOF
23131 cat confdefs.h >>conftest.$ac_ext
23132 cat >>conftest.$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23134
23135 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23136 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23137 # error "fake wchar_t"
23138 #endif
23139 #ifdef HAVE_WCHAR_H
23140 # ifdef __CYGWIN__
23141 # include <stddef.h>
23142 # endif
23143 # include <wchar.h>
23144 #endif
23145 #ifdef HAVE_STDLIB_H
23146 # include <stdlib.h>
23147 #endif
23148 #include <stdio.h>
23149
23150
23151
23152 typedef wchar_t ac__type_sizeof_;
23153 int
23154 main ()
23155 {
23156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23157 test_array [0] = 0
23158
23159 ;
23160 return 0;
23161 }
23162 _ACEOF
23163 rm -f conftest.$ac_objext
23164 if { (ac_try="$ac_compile"
23165 case "(($ac_try" in
23166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23167 *) ac_try_echo=$ac_try;;
23168 esac
23169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23170 (eval "$ac_compile") 2>conftest.er1
23171 ac_status=$?
23172 grep -v '^ *+' conftest.er1 >conftest.err
23173 rm -f conftest.er1
23174 cat conftest.err >&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } && {
23177 test -z "$ac_c_werror_flag" ||
23178 test ! -s conftest.err
23179 } && test -s conftest.$ac_objext; then
23180 ac_hi=$ac_mid; break
23181 else
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23184
23185 ac_lo=`expr $ac_mid + 1`
23186 if test $ac_lo -le $ac_mid; then
23187 ac_lo= ac_hi=
23188 break
23189 fi
23190 ac_mid=`expr 2 '*' $ac_mid + 1`
23191 fi
23192
23193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23194 done
23195 else
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.$ac_ext >&5
23198
23199 cat >conftest.$ac_ext <<_ACEOF
23200 /* confdefs.h. */
23201 _ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23205
23206 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23207 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23208 # error "fake wchar_t"
23209 #endif
23210 #ifdef HAVE_WCHAR_H
23211 # ifdef __CYGWIN__
23212 # include <stddef.h>
23213 # endif
23214 # include <wchar.h>
23215 #endif
23216 #ifdef HAVE_STDLIB_H
23217 # include <stdlib.h>
23218 #endif
23219 #include <stdio.h>
23220
23221
23222
23223 typedef wchar_t ac__type_sizeof_;
23224 int
23225 main ()
23226 {
23227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23228 test_array [0] = 0
23229
23230 ;
23231 return 0;
23232 }
23233 _ACEOF
23234 rm -f conftest.$ac_objext
23235 if { (ac_try="$ac_compile"
23236 case "(($ac_try" in
23237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23238 *) ac_try_echo=$ac_try;;
23239 esac
23240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23241 (eval "$ac_compile") 2>conftest.er1
23242 ac_status=$?
23243 grep -v '^ *+' conftest.er1 >conftest.err
23244 rm -f conftest.er1
23245 cat conftest.err >&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); } && {
23248 test -z "$ac_c_werror_flag" ||
23249 test ! -s conftest.err
23250 } && test -s conftest.$ac_objext; then
23251 ac_hi=-1 ac_mid=-1
23252 while :; do
23253 cat >conftest.$ac_ext <<_ACEOF
23254 /* confdefs.h. */
23255 _ACEOF
23256 cat confdefs.h >>conftest.$ac_ext
23257 cat >>conftest.$ac_ext <<_ACEOF
23258 /* end confdefs.h. */
23259
23260 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23261 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23262 # error "fake wchar_t"
23263 #endif
23264 #ifdef HAVE_WCHAR_H
23265 # ifdef __CYGWIN__
23266 # include <stddef.h>
23267 # endif
23268 # include <wchar.h>
23269 #endif
23270 #ifdef HAVE_STDLIB_H
23271 # include <stdlib.h>
23272 #endif
23273 #include <stdio.h>
23274
23275
23276
23277 typedef wchar_t ac__type_sizeof_;
23278 int
23279 main ()
23280 {
23281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23282 test_array [0] = 0
23283
23284 ;
23285 return 0;
23286 }
23287 _ACEOF
23288 rm -f conftest.$ac_objext
23289 if { (ac_try="$ac_compile"
23290 case "(($ac_try" in
23291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23292 *) ac_try_echo=$ac_try;;
23293 esac
23294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23295 (eval "$ac_compile") 2>conftest.er1
23296 ac_status=$?
23297 grep -v '^ *+' conftest.er1 >conftest.err
23298 rm -f conftest.er1
23299 cat conftest.err >&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } && {
23302 test -z "$ac_c_werror_flag" ||
23303 test ! -s conftest.err
23304 } && test -s conftest.$ac_objext; then
23305 ac_lo=$ac_mid; break
23306 else
23307 echo "$as_me: failed program was:" >&5
23308 sed 's/^/| /' conftest.$ac_ext >&5
23309
23310 ac_hi=`expr '(' $ac_mid ')' - 1`
23311 if test $ac_mid -le $ac_hi; then
23312 ac_lo= ac_hi=
23313 break
23314 fi
23315 ac_mid=`expr 2 '*' $ac_mid`
23316 fi
23317
23318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23319 done
23320 else
23321 echo "$as_me: failed program was:" >&5
23322 sed 's/^/| /' conftest.$ac_ext >&5
23323
23324 ac_lo= ac_hi=
23325 fi
23326
23327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23328 fi
23329
23330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23331 # Binary search between lo and hi bounds.
23332 while test "x$ac_lo" != "x$ac_hi"; do
23333 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23334 cat >conftest.$ac_ext <<_ACEOF
23335 /* confdefs.h. */
23336 _ACEOF
23337 cat confdefs.h >>conftest.$ac_ext
23338 cat >>conftest.$ac_ext <<_ACEOF
23339 /* end confdefs.h. */
23340
23341 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23342 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23343 # error "fake wchar_t"
23344 #endif
23345 #ifdef HAVE_WCHAR_H
23346 # ifdef __CYGWIN__
23347 # include <stddef.h>
23348 # endif
23349 # include <wchar.h>
23350 #endif
23351 #ifdef HAVE_STDLIB_H
23352 # include <stdlib.h>
23353 #endif
23354 #include <stdio.h>
23355
23356
23357
23358 typedef wchar_t ac__type_sizeof_;
23359 int
23360 main ()
23361 {
23362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23363 test_array [0] = 0
23364
23365 ;
23366 return 0;
23367 }
23368 _ACEOF
23369 rm -f conftest.$ac_objext
23370 if { (ac_try="$ac_compile"
23371 case "(($ac_try" in
23372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23373 *) ac_try_echo=$ac_try;;
23374 esac
23375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23376 (eval "$ac_compile") 2>conftest.er1
23377 ac_status=$?
23378 grep -v '^ *+' conftest.er1 >conftest.err
23379 rm -f conftest.er1
23380 cat conftest.err >&5
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } && {
23383 test -z "$ac_c_werror_flag" ||
23384 test ! -s conftest.err
23385 } && test -s conftest.$ac_objext; then
23386 ac_hi=$ac_mid
23387 else
23388 echo "$as_me: failed program was:" >&5
23389 sed 's/^/| /' conftest.$ac_ext >&5
23390
23391 ac_lo=`expr '(' $ac_mid ')' + 1`
23392 fi
23393
23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23395 done
23396 case $ac_lo in
23397 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23398 '') if test "$ac_cv_type_wchar_t" = yes; then
23399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23400 See \`config.log' for more details." >&5
23401 echo "$as_me: error: cannot compute sizeof (wchar_t)
23402 See \`config.log' for more details." >&2;}
23403 { (exit 77); exit 77; }; }
23404 else
23405 ac_cv_sizeof_wchar_t=0
23406 fi ;;
23407 esac
23408 else
23409 cat >conftest.$ac_ext <<_ACEOF
23410 /* confdefs.h. */
23411 _ACEOF
23412 cat confdefs.h >>conftest.$ac_ext
23413 cat >>conftest.$ac_ext <<_ACEOF
23414 /* end confdefs.h. */
23415
23416 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23417 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23418 # error "fake wchar_t"
23419 #endif
23420 #ifdef HAVE_WCHAR_H
23421 # ifdef __CYGWIN__
23422 # include <stddef.h>
23423 # endif
23424 # include <wchar.h>
23425 #endif
23426 #ifdef HAVE_STDLIB_H
23427 # include <stdlib.h>
23428 #endif
23429 #include <stdio.h>
23430
23431
23432
23433 typedef wchar_t ac__type_sizeof_;
23434 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23435 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23436 #include <stdio.h>
23437 #include <stdlib.h>
23438 int
23439 main ()
23440 {
23441
23442 FILE *f = fopen ("conftest.val", "w");
23443 if (! f)
23444 return 1;
23445 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23446 {
23447 long int i = longval ();
23448 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23449 return 1;
23450 fprintf (f, "%ld\n", i);
23451 }
23452 else
23453 {
23454 unsigned long int i = ulongval ();
23455 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23456 return 1;
23457 fprintf (f, "%lu\n", i);
23458 }
23459 return ferror (f) || fclose (f) != 0;
23460
23461 ;
23462 return 0;
23463 }
23464 _ACEOF
23465 rm -f conftest$ac_exeext
23466 if { (ac_try="$ac_link"
23467 case "(($ac_try" in
23468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23469 *) ac_try_echo=$ac_try;;
23470 esac
23471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23472 (eval "$ac_link") 2>&5
23473 ac_status=$?
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23476 { (case "(($ac_try" in
23477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23478 *) ac_try_echo=$ac_try;;
23479 esac
23480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23481 (eval "$ac_try") 2>&5
23482 ac_status=$?
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 ac_cv_sizeof_wchar_t=`cat conftest.val`
23486 else
23487 echo "$as_me: program exited with status $ac_status" >&5
23488 echo "$as_me: failed program was:" >&5
23489 sed 's/^/| /' conftest.$ac_ext >&5
23490
23491 ( exit $ac_status )
23492 if test "$ac_cv_type_wchar_t" = yes; then
23493 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23494 See \`config.log' for more details." >&5
23495 echo "$as_me: error: cannot compute sizeof (wchar_t)
23496 See \`config.log' for more details." >&2;}
23497 { (exit 77); exit 77; }; }
23498 else
23499 ac_cv_sizeof_wchar_t=0
23500 fi
23501 fi
23502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23503 fi
23504 rm -f conftest.val
23505 fi
23506 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23507 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23508
23509
23510
23511 cat >>confdefs.h <<_ACEOF
23512 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23513 _ACEOF
23514
23515
23516 if test "$ac_cv_sizeof_wchar_t" != 0; then
23517 wxUSE_WCHAR_T=yes
23518 else
23519 wxUSE_WCHAR_T=no
23520 fi
23521
23522 { echo "$as_me:$LINENO: checking for va_copy" >&5
23523 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23524 if test "${wx_cv_func_va_copy+set}" = set; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23526 else
23527
23528 ac_ext=cpp
23529 ac_cpp='$CXXCPP $CPPFLAGS'
23530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23533
23534 cat >conftest.$ac_ext <<_ACEOF
23535
23536 #include <stdarg.h>
23537 void foo(char *f, ...)
23538 {
23539 va_list ap1, ap2;
23540 va_start(ap1, f);
23541 va_copy(ap2, ap1);
23542 va_end(ap2);
23543 va_end(ap1);
23544 }
23545 int main()
23546 {
23547 foo("hi", 17);
23548 return 0;
23549 }
23550 _ACEOF
23551 rm -f conftest.$ac_objext conftest$ac_exeext
23552 if { (ac_try="$ac_link"
23553 case "(($ac_try" in
23554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23555 *) ac_try_echo=$ac_try;;
23556 esac
23557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23558 (eval "$ac_link") 2>conftest.er1
23559 ac_status=$?
23560 grep -v '^ *+' conftest.er1 >conftest.err
23561 rm -f conftest.er1
23562 cat conftest.err >&5
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); } && {
23565 test -z "$ac_cxx_werror_flag" ||
23566 test ! -s conftest.err
23567 } && test -s conftest$ac_exeext &&
23568 $as_test_x conftest$ac_exeext; then
23569 wx_cv_func_va_copy=yes
23570 else
23571 echo "$as_me: failed program was:" >&5
23572 sed 's/^/| /' conftest.$ac_ext >&5
23573
23574 wx_cv_func_va_copy=no
23575
23576 fi
23577
23578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23579 conftest$ac_exeext conftest.$ac_ext
23580 ac_ext=c
23581 ac_cpp='$CPP $CPPFLAGS'
23582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23585
23586
23587
23588 fi
23589 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23590 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23591
23592 if test $wx_cv_func_va_copy = "yes"; then
23593 cat >>confdefs.h <<\_ACEOF
23594 #define HAVE_VA_COPY 1
23595 _ACEOF
23596
23597 else
23598 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23599 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23600 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23602 else
23603
23604 if test "$cross_compiling" = yes; then
23605 wx_cv_type_va_list_lvalue=yes
23606
23607 else
23608 cat >conftest.$ac_ext <<_ACEOF
23609
23610 #include <stdarg.h>
23611 int foo(char *f, ...)
23612 {
23613 va_list ap1, ap2;
23614 va_start(ap1, f);
23615 ap2 = ap1;
23616 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23617 return 1;
23618 va_end(ap2);
23619 va_end(ap1);
23620 return 0;
23621 }
23622 int main()
23623 {
23624 return foo("hi", 17);
23625 }
23626 _ACEOF
23627 rm -f conftest$ac_exeext
23628 if { (ac_try="$ac_link"
23629 case "(($ac_try" in
23630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23631 *) ac_try_echo=$ac_try;;
23632 esac
23633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23634 (eval "$ac_link") 2>&5
23635 ac_status=$?
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23638 { (case "(($ac_try" in
23639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23640 *) ac_try_echo=$ac_try;;
23641 esac
23642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23643 (eval "$ac_try") 2>&5
23644 ac_status=$?
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; }; then
23647 wx_cv_type_va_list_lvalue=yes
23648 else
23649 echo "$as_me: program exited with status $ac_status" >&5
23650 echo "$as_me: failed program was:" >&5
23651 sed 's/^/| /' conftest.$ac_ext >&5
23652
23653 ( exit $ac_status )
23654 wx_cv_type_va_list_lvalue=no
23655 fi
23656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23657 fi
23658
23659
23660
23661
23662 fi
23663 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23664 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23665
23666 if test $wx_cv_type_va_list_lvalue != "yes"; then
23667 cat >>confdefs.h <<\_ACEOF
23668 #define VA_LIST_IS_ARRAY 1
23669 _ACEOF
23670
23671 fi
23672 fi
23673
23674 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23675
23676 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23677 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23678 if test "${wx_cv_have_variadic_macros+set}" = set; then
23679 echo $ECHO_N "(cached) $ECHO_C" >&6
23680 else
23681
23682 ac_ext=cpp
23683 ac_cpp='$CXXCPP $CPPFLAGS'
23684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23687
23688 cat >conftest.$ac_ext <<_ACEOF
23689 /* confdefs.h. */
23690 _ACEOF
23691 cat confdefs.h >>conftest.$ac_ext
23692 cat >>conftest.$ac_ext <<_ACEOF
23693 /* end confdefs.h. */
23694
23695 #include <stdio.h>
23696 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23697
23698 int
23699 main ()
23700 {
23701
23702 test("%s %d %p", "test", 1, 0);
23703
23704
23705 ;
23706 return 0;
23707 }
23708 _ACEOF
23709 rm -f conftest.$ac_objext
23710 if { (ac_try="$ac_compile"
23711 case "(($ac_try" in
23712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23713 *) ac_try_echo=$ac_try;;
23714 esac
23715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23716 (eval "$ac_compile") 2>conftest.er1
23717 ac_status=$?
23718 grep -v '^ *+' conftest.er1 >conftest.err
23719 rm -f conftest.er1
23720 cat conftest.err >&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } && {
23723 test -z "$ac_cxx_werror_flag" ||
23724 test ! -s conftest.err
23725 } && test -s conftest.$ac_objext; then
23726 wx_cv_have_variadic_macros=yes
23727 else
23728 echo "$as_me: failed program was:" >&5
23729 sed 's/^/| /' conftest.$ac_ext >&5
23730
23731 wx_cv_have_variadic_macros=no
23732
23733 fi
23734
23735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23736 ac_ext=c
23737 ac_cpp='$CPP $CPPFLAGS'
23738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23741
23742
23743
23744 fi
23745 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23746 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23747
23748 if test $wx_cv_have_variadic_macros = "yes"; then
23749 cat >>confdefs.h <<\_ACEOF
23750 #define HAVE_VARIADIC_MACROS 1
23751 _ACEOF
23752
23753 fi
23754
23755 fi
23756
23757 LARGEFILE_CPPFLAGS=
23758 # Check whether --enable-largefile was given.
23759 if test "${enable_largefile+set}" = set; then
23760 enableval=$enable_largefile;
23761 fi
23762
23763 if test "$enable_largefile" != no; then
23764 wx_largefile=no
23765
23766 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23767 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23768 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23769 echo $ECHO_N "(cached) $ECHO_C" >&6
23770 else
23771
23772 cat >conftest.$ac_ext <<_ACEOF
23773 /* confdefs.h. */
23774 _ACEOF
23775 cat confdefs.h >>conftest.$ac_ext
23776 cat >>conftest.$ac_ext <<_ACEOF
23777 /* end confdefs.h. */
23778 #define _FILE_OFFSET_BITS 64
23779 #include <sys/types.h>
23780 int
23781 main ()
23782 {
23783 typedef struct {
23784 unsigned int field: sizeof(off_t) == 8;
23785 } wxlf;
23786
23787 ;
23788 return 0;
23789 }
23790 _ACEOF
23791 rm -f conftest.$ac_objext
23792 if { (ac_try="$ac_compile"
23793 case "(($ac_try" in
23794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23795 *) ac_try_echo=$ac_try;;
23796 esac
23797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23798 (eval "$ac_compile") 2>conftest.er1
23799 ac_status=$?
23800 grep -v '^ *+' conftest.er1 >conftest.err
23801 rm -f conftest.er1
23802 cat conftest.err >&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } && {
23805 test -z "$ac_c_werror_flag" ||
23806 test ! -s conftest.err
23807 } && test -s conftest.$ac_objext; then
23808 ac_cv_sys_file_offset_bits=64
23809 else
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23812
23813 ac_cv_sys_file_offset_bits=no
23814 fi
23815
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817
23818
23819 fi
23820 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23821 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23822
23823 if test "$ac_cv_sys_file_offset_bits" != no; then
23824 wx_largefile=yes
23825 cat >>confdefs.h <<_ACEOF
23826 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23827 _ACEOF
23828
23829 fi
23830
23831 if test "x$wx_largefile" != "xyes"; then
23832
23833 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23834 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23835 if test "${ac_cv_sys_large_files+set}" = set; then
23836 echo $ECHO_N "(cached) $ECHO_C" >&6
23837 else
23838
23839 cat >conftest.$ac_ext <<_ACEOF
23840 /* confdefs.h. */
23841 _ACEOF
23842 cat confdefs.h >>conftest.$ac_ext
23843 cat >>conftest.$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23845 #define _LARGE_FILES 1
23846 #include <sys/types.h>
23847 int
23848 main ()
23849 {
23850 typedef struct {
23851 unsigned int field: sizeof(off_t) == 8;
23852 } wxlf;
23853
23854 ;
23855 return 0;
23856 }
23857 _ACEOF
23858 rm -f conftest.$ac_objext
23859 if { (ac_try="$ac_compile"
23860 case "(($ac_try" in
23861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23863 esac
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_compile") 2>conftest.er1
23866 ac_status=$?
23867 grep -v '^ *+' conftest.er1 >conftest.err
23868 rm -f conftest.er1
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } && {
23872 test -z "$ac_c_werror_flag" ||
23873 test ! -s conftest.err
23874 } && test -s conftest.$ac_objext; then
23875 ac_cv_sys_large_files=1
23876 else
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23879
23880 ac_cv_sys_large_files=no
23881 fi
23882
23883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23884
23885
23886 fi
23887 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23888 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23889
23890 if test "$ac_cv_sys_large_files" != no; then
23891 wx_largefile=yes
23892 cat >>confdefs.h <<_ACEOF
23893 #define _LARGE_FILES $ac_cv_sys_large_files
23894 _ACEOF
23895
23896 fi
23897
23898 fi
23899
23900 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23901 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23902 if test "x$wx_largefile" = "xyes"; then
23903 cat >>confdefs.h <<\_ACEOF
23904 #define HAVE_LARGEFILE_SUPPORT 1
23905 _ACEOF
23906
23907 fi
23908 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23909 echo "${ECHO_T}$wx_largefile" >&6; }
23910 fi
23911
23912 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23913 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23914 elif test "$ac_cv_sys_large_files" = 1; then
23915 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23916 fi
23917
23918 if test -n "$LARGEFILE_CPPFLAGS"; then
23919 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23920
23921 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23922 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23923 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23924 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23925 echo $ECHO_N "(cached) $ECHO_C" >&6
23926 else
23927
23928 ac_ext=cpp
23929 ac_cpp='$CXXCPP $CPPFLAGS'
23930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23933
23934 cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h. */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940
23941 int
23942 main ()
23943 {
23944
23945 #ifndef __STDC_EXT__
23946 choke me
23947 #endif
23948
23949 ;
23950 return 0;
23951 }
23952 _ACEOF
23953 rm -f conftest.$ac_objext
23954 if { (ac_try="$ac_compile"
23955 case "(($ac_try" in
23956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23957 *) ac_try_echo=$ac_try;;
23958 esac
23959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23960 (eval "$ac_compile") 2>conftest.er1
23961 ac_status=$?
23962 grep -v '^ *+' conftest.er1 >conftest.err
23963 rm -f conftest.er1
23964 cat conftest.err >&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); } && {
23967 test -z "$ac_cxx_werror_flag" ||
23968 test ! -s conftest.err
23969 } && test -s conftest.$ac_objext; then
23970 wx_cv_STDC_EXT_required=no
23971 else
23972 echo "$as_me: failed program was:" >&5
23973 sed 's/^/| /' conftest.$ac_ext >&5
23974
23975 wx_cv_STDC_EXT_required=yes
23976
23977 fi
23978
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23980 ac_ext=c
23981 ac_cpp='$CPP $CPPFLAGS'
23982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23985
23986
23987
23988 fi
23989 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23990 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23991 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23992 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23993 fi
23994 fi
23995 fi
23996
23997 ac_ext=cpp
23998 ac_cpp='$CXXCPP $CPPFLAGS'
23999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24002
24003 old_CPPFLAGS="$CPPFLAGS"
24004 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24005 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24006 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24007 if test "${ac_cv_sys_largefile_source+set}" = set; then
24008 echo $ECHO_N "(cached) $ECHO_C" >&6
24009 else
24010 while :; do
24011 cat >conftest.$ac_ext <<_ACEOF
24012 /* confdefs.h. */
24013 _ACEOF
24014 cat confdefs.h >>conftest.$ac_ext
24015 cat >>conftest.$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24017 #include <sys/types.h> /* for off_t */
24018 #include <stdio.h>
24019 int
24020 main ()
24021 {
24022 int (*fp) (FILE *, off_t, int) = fseeko;
24023 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24024 ;
24025 return 0;
24026 }
24027 _ACEOF
24028 rm -f conftest.$ac_objext conftest$ac_exeext
24029 if { (ac_try="$ac_link"
24030 case "(($ac_try" in
24031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24032 *) ac_try_echo=$ac_try;;
24033 esac
24034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24035 (eval "$ac_link") 2>conftest.er1
24036 ac_status=$?
24037 grep -v '^ *+' conftest.er1 >conftest.err
24038 rm -f conftest.er1
24039 cat conftest.err >&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); } && {
24042 test -z "$ac_cxx_werror_flag" ||
24043 test ! -s conftest.err
24044 } && test -s conftest$ac_exeext &&
24045 $as_test_x conftest$ac_exeext; then
24046 ac_cv_sys_largefile_source=no; break
24047 else
24048 echo "$as_me: failed program was:" >&5
24049 sed 's/^/| /' conftest.$ac_ext >&5
24050
24051
24052 fi
24053
24054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24055 conftest$ac_exeext conftest.$ac_ext
24056 cat >conftest.$ac_ext <<_ACEOF
24057 /* confdefs.h. */
24058 _ACEOF
24059 cat confdefs.h >>conftest.$ac_ext
24060 cat >>conftest.$ac_ext <<_ACEOF
24061 /* end confdefs.h. */
24062 #define _LARGEFILE_SOURCE 1
24063 #include <sys/types.h> /* for off_t */
24064 #include <stdio.h>
24065 int
24066 main ()
24067 {
24068 int (*fp) (FILE *, off_t, int) = fseeko;
24069 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24070 ;
24071 return 0;
24072 }
24073 _ACEOF
24074 rm -f conftest.$ac_objext conftest$ac_exeext
24075 if { (ac_try="$ac_link"
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_link") 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_exeext &&
24091 $as_test_x conftest$ac_exeext; then
24092 ac_cv_sys_largefile_source=1; break
24093 else
24094 echo "$as_me: failed program was:" >&5
24095 sed 's/^/| /' conftest.$ac_ext >&5
24096
24097
24098 fi
24099
24100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24101 conftest$ac_exeext conftest.$ac_ext
24102 ac_cv_sys_largefile_source=unknown
24103 break
24104 done
24105 fi
24106 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24107 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24108 case $ac_cv_sys_largefile_source in #(
24109 no | unknown) ;;
24110 *)
24111 cat >>confdefs.h <<_ACEOF
24112 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24113 _ACEOF
24114 ;;
24115 esac
24116 rm -f conftest*
24117
24118 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24119 # in glibc 2.1.3, but that breaks too many other things.
24120 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24121 if test $ac_cv_sys_largefile_source != unknown; then
24122
24123 cat >>confdefs.h <<\_ACEOF
24124 #define HAVE_FSEEKO 1
24125 _ACEOF
24126
24127 fi
24128
24129 CPPFLAGS="$old_CPPFLAGS"
24130 ac_ext=c
24131 ac_cpp='$CPP $CPPFLAGS'
24132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24135
24136 if test "$ac_cv_sys_largefile_source" != no; then
24137 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24138 fi
24139
24140 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24141 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24142 if test "${ac_cv_c_bigendian+set}" = set; then
24143 echo $ECHO_N "(cached) $ECHO_C" >&6
24144 else
24145 ac_cv_c_bigendian=unknown
24146 # See if sys/param.h defines the BYTE_ORDER macro.
24147 cat >conftest.$ac_ext <<_ACEOF
24148 /* confdefs.h. */
24149 _ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24153 #include <sys/types.h>
24154 #include <sys/param.h>
24155 int
24156 main ()
24157 {
24158
24159 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24160 bogus endian macros
24161 #endif
24162 ;
24163 return 0;
24164 }
24165 _ACEOF
24166 rm -f conftest.$ac_objext
24167 if { (ac_try="$ac_compile"
24168 case "(($ac_try" in
24169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24170 *) ac_try_echo=$ac_try;;
24171 esac
24172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24173 (eval "$ac_compile") 2>conftest.er1
24174 ac_status=$?
24175 grep -v '^ *+' conftest.er1 >conftest.err
24176 rm -f conftest.er1
24177 cat conftest.err >&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } && {
24180 test -z "$ac_c_werror_flag" ||
24181 test ! -s conftest.err
24182 } && test -s conftest.$ac_objext; then
24183 # It does; now see whether it defined to BIG_ENDIAN or not.
24184 cat >conftest.$ac_ext <<_ACEOF
24185 /* confdefs.h. */
24186 _ACEOF
24187 cat confdefs.h >>conftest.$ac_ext
24188 cat >>conftest.$ac_ext <<_ACEOF
24189 /* end confdefs.h. */
24190 #include <sys/types.h>
24191 #include <sys/param.h>
24192 int
24193 main ()
24194 {
24195
24196 #if BYTE_ORDER != BIG_ENDIAN
24197 not big endian
24198 #endif
24199 ;
24200 return 0;
24201 }
24202 _ACEOF
24203 rm -f conftest.$ac_objext
24204 if { (ac_try="$ac_compile"
24205 case "(($ac_try" in
24206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24207 *) ac_try_echo=$ac_try;;
24208 esac
24209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24210 (eval "$ac_compile") 2>conftest.er1
24211 ac_status=$?
24212 grep -v '^ *+' conftest.er1 >conftest.err
24213 rm -f conftest.er1
24214 cat conftest.err >&5
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); } && {
24217 test -z "$ac_c_werror_flag" ||
24218 test ! -s conftest.err
24219 } && test -s conftest.$ac_objext; then
24220 ac_cv_c_bigendian=yes
24221 else
24222 echo "$as_me: failed program was:" >&5
24223 sed 's/^/| /' conftest.$ac_ext >&5
24224
24225 ac_cv_c_bigendian=no
24226 fi
24227
24228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24229 else
24230 echo "$as_me: failed program was:" >&5
24231 sed 's/^/| /' conftest.$ac_ext >&5
24232
24233
24234 fi
24235
24236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24237 if test $ac_cv_c_bigendian = unknown; then
24238 if test "$cross_compiling" = yes; then
24239 ac_cv_c_bigendian=unknown
24240 else
24241 cat >conftest.$ac_ext <<_ACEOF
24242 /* confdefs.h. */
24243 _ACEOF
24244 cat confdefs.h >>conftest.$ac_ext
24245 cat >>conftest.$ac_ext <<_ACEOF
24246 /* end confdefs.h. */
24247 main () {
24248 /* Are we little or big endian? From Harbison&Steele. */
24249 union
24250 {
24251 long l;
24252 char c[sizeof (long)];
24253 } u;
24254 u.l = 1;
24255 exit (u.c[sizeof (long) - 1] == 1);
24256 }
24257 _ACEOF
24258 rm -f conftest$ac_exeext
24259 if { (ac_try="$ac_link"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24263 esac
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_link") 2>&5
24266 ac_status=$?
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24269 { (case "(($ac_try" in
24270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24271 *) ac_try_echo=$ac_try;;
24272 esac
24273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24274 (eval "$ac_try") 2>&5
24275 ac_status=$?
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); }; }; then
24278 ac_cv_c_bigendian=no
24279 else
24280 echo "$as_me: program exited with status $ac_status" >&5
24281 echo "$as_me: failed program was:" >&5
24282 sed 's/^/| /' conftest.$ac_ext >&5
24283
24284 ( exit $ac_status )
24285 ac_cv_c_bigendian=yes
24286 fi
24287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24288 fi
24289
24290
24291 fi
24292 fi
24293 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24294 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24295 if test $ac_cv_c_bigendian = unknown; then
24296 { 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
24297 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;}
24298 fi
24299 if test $ac_cv_c_bigendian = yes; then
24300 cat >>confdefs.h <<\_ACEOF
24301 #define WORDS_BIGENDIAN 1
24302 _ACEOF
24303
24304 fi
24305
24306
24307
24308
24309 ac_ext=cpp
24310 ac_cpp='$CXXCPP $CPPFLAGS'
24311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24314
24315
24316
24317 for ac_header in iostream
24318 do
24319 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24320 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24322 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 else
24325 cat >conftest.$ac_ext <<_ACEOF
24326 /* confdefs.h. */
24327 _ACEOF
24328 cat confdefs.h >>conftest.$ac_ext
24329 cat >>conftest.$ac_ext <<_ACEOF
24330 /* end confdefs.h. */
24331
24332
24333 #include <$ac_header>
24334 _ACEOF
24335 rm -f conftest.$ac_objext
24336 if { (ac_try="$ac_compile"
24337 case "(($ac_try" in
24338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24339 *) ac_try_echo=$ac_try;;
24340 esac
24341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24342 (eval "$ac_compile") 2>conftest.er1
24343 ac_status=$?
24344 grep -v '^ *+' conftest.er1 >conftest.err
24345 rm -f conftest.er1
24346 cat conftest.err >&5
24347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348 (exit $ac_status); } && {
24349 test -z "$ac_cxx_werror_flag" ||
24350 test ! -s conftest.err
24351 } && test -s conftest.$ac_objext; then
24352 eval "$as_ac_Header=yes"
24353 else
24354 echo "$as_me: failed program was:" >&5
24355 sed 's/^/| /' conftest.$ac_ext >&5
24356
24357 eval "$as_ac_Header=no"
24358 fi
24359
24360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24361 fi
24362 ac_res=`eval echo '${'$as_ac_Header'}'`
24363 { echo "$as_me:$LINENO: result: $ac_res" >&5
24364 echo "${ECHO_T}$ac_res" >&6; }
24365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24366 cat >>confdefs.h <<_ACEOF
24367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24368 _ACEOF
24369
24370 fi
24371
24372 done
24373
24374
24375 if test "$ac_cv_header_iostream" = "yes" ; then
24376 :
24377 else
24378 cat >>confdefs.h <<\_ACEOF
24379 #define wxUSE_IOSTREAMH 1
24380 _ACEOF
24381
24382 fi
24383
24384 ac_ext=c
24385 ac_cpp='$CPP $CPPFLAGS'
24386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24389
24390
24391
24392
24393 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24394 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24395 if test "${wx_cv_explicit+set}" = set; then
24396 echo $ECHO_N "(cached) $ECHO_C" >&6
24397 else
24398
24399
24400 ac_ext=cpp
24401 ac_cpp='$CXXCPP $CPPFLAGS'
24402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24405
24406
24407 cat >conftest.$ac_ext <<_ACEOF
24408 /* confdefs.h. */
24409 _ACEOF
24410 cat confdefs.h >>conftest.$ac_ext
24411 cat >>conftest.$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24413
24414 class Foo { public: explicit Foo(int) {} };
24415
24416 int
24417 main ()
24418 {
24419
24420 return 0;
24421
24422 ;
24423 return 0;
24424 }
24425 _ACEOF
24426 rm -f conftest.$ac_objext
24427 if { (ac_try="$ac_compile"
24428 case "(($ac_try" in
24429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24430 *) ac_try_echo=$ac_try;;
24431 esac
24432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24433 (eval "$ac_compile") 2>conftest.er1
24434 ac_status=$?
24435 grep -v '^ *+' conftest.er1 >conftest.err
24436 rm -f conftest.er1
24437 cat conftest.err >&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } && {
24440 test -z "$ac_cxx_werror_flag" ||
24441 test ! -s conftest.err
24442 } && test -s conftest.$ac_objext; then
24443
24444 cat >conftest.$ac_ext <<_ACEOF
24445 /* confdefs.h. */
24446 _ACEOF
24447 cat confdefs.h >>conftest.$ac_ext
24448 cat >>conftest.$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24450
24451 class Foo { public: explicit Foo(int) {} };
24452 static void TakeFoo(const Foo& foo) { }
24453
24454 int
24455 main ()
24456 {
24457
24458 TakeFoo(17);
24459 return 0;
24460
24461 ;
24462 return 0;
24463 }
24464 _ACEOF
24465 rm -f conftest.$ac_objext
24466 if { (ac_try="$ac_compile"
24467 case "(($ac_try" in
24468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24469 *) ac_try_echo=$ac_try;;
24470 esac
24471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24472 (eval "$ac_compile") 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } && {
24479 test -z "$ac_cxx_werror_flag" ||
24480 test ! -s conftest.err
24481 } && test -s conftest.$ac_objext; then
24482 wx_cv_explicit=no
24483 else
24484 echo "$as_me: failed program was:" >&5
24485 sed 's/^/| /' conftest.$ac_ext >&5
24486
24487 wx_cv_explicit=yes
24488
24489 fi
24490
24491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24492
24493 else
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.$ac_ext >&5
24496
24497 wx_cv_explicit=no
24498
24499 fi
24500
24501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24502
24503 ac_ext=c
24504 ac_cpp='$CPP $CPPFLAGS'
24505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24508
24509
24510 fi
24511 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24512 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24513
24514 if test "$wx_cv_explicit" = "yes"; then
24515 cat >>confdefs.h <<\_ACEOF
24516 #define HAVE_EXPLICIT 1
24517 _ACEOF
24518
24519 fi
24520
24521
24522 if test "x$SUNCXX" = xyes; then
24523 CXXFLAGS="-features=tmplife $CXXFLAGS"
24524 fi
24525
24526 if test "x$SUNCC" = xyes; then
24527 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24528 fi
24529
24530 if test "x$SGICC" = "xyes"; then
24531 CFLAGS="-woff 3970 $CFLAGS"
24532 fi
24533 if test "x$SGICXX" = "xyes"; then
24534 CXXFLAGS="-woff 3970 $CXXFLAGS"
24535 fi
24536
24537 if test "x$HPCC" = "xyes"; then
24538 CFLAGS="+W 2011,2450 $CFLAGS"
24539 fi
24540 if test "x$HPCXX" = "xyes"; then
24541 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24542 fi
24543
24544 if test "x$COMPAQCXX" = "xyes"; then
24545 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24546 fi
24547
24548 ac_ext=cpp
24549 ac_cpp='$CXXCPP $CPPFLAGS'
24550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24553
24554
24555 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24556 if test "$wxUSE_UNICODE" = "yes"; then
24557 std_string="std::wstring"
24558 char_type="wchar_t"
24559 else
24560 std_string="std::string"
24561 char_type="char"
24562 fi
24563
24564 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24565 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24566 if test "${wx_cv_class_stdstring+set}" = set; then
24567 echo $ECHO_N "(cached) $ECHO_C" >&6
24568 else
24569
24570 cat >conftest.$ac_ext <<_ACEOF
24571 /* confdefs.h. */
24572 _ACEOF
24573 cat confdefs.h >>conftest.$ac_ext
24574 cat >>conftest.$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24576 #include <string>
24577 int
24578 main ()
24579 {
24580 $std_string foo;
24581 ;
24582 return 0;
24583 }
24584 _ACEOF
24585 rm -f conftest.$ac_objext
24586 if { (ac_try="$ac_compile"
24587 case "(($ac_try" in
24588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24589 *) ac_try_echo=$ac_try;;
24590 esac
24591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24592 (eval "$ac_compile") 2>conftest.er1
24593 ac_status=$?
24594 grep -v '^ *+' conftest.er1 >conftest.err
24595 rm -f conftest.er1
24596 cat conftest.err >&5
24597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24598 (exit $ac_status); } && {
24599 test -z "$ac_cxx_werror_flag" ||
24600 test ! -s conftest.err
24601 } && test -s conftest.$ac_objext; then
24602 wx_cv_class_stdstring=yes
24603 else
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24606
24607 wx_cv_class_stdstring=no
24608
24609 fi
24610
24611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24612
24613
24614 fi
24615 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24616 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24617
24618 if test "$wx_cv_class_stdstring" = yes; then
24619 if test "$wxUSE_UNICODE" = "yes"; then
24620 cat >>confdefs.h <<\_ACEOF
24621 #define HAVE_STD_WSTRING 1
24622 _ACEOF
24623
24624 fi
24625 else
24626 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24627 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24628 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24629 echo $ECHO_N "(cached) $ECHO_C" >&6
24630 else
24631
24632 cat >conftest.$ac_ext <<_ACEOF
24633 /* confdefs.h. */
24634 _ACEOF
24635 cat confdefs.h >>conftest.$ac_ext
24636 cat >>conftest.$ac_ext <<_ACEOF
24637 /* end confdefs.h. */
24638
24639 #ifdef HAVE_WCHAR_H
24640 # ifdef __CYGWIN__
24641 # include <stddef.h>
24642 # endif
24643 # include <wchar.h>
24644 #endif
24645 #ifdef HAVE_STDLIB_H
24646 # include <stdlib.h>
24647 #endif
24648 #include <stdio.h>
24649 #include <string>
24650
24651 int
24652 main ()
24653 {
24654 std::basic_string<$char_type> foo;
24655 const $char_type* dummy = foo.c_str();
24656 ;
24657 return 0;
24658 }
24659 _ACEOF
24660 rm -f conftest.$ac_objext
24661 if { (ac_try="$ac_compile"
24662 case "(($ac_try" in
24663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24664 *) ac_try_echo=$ac_try;;
24665 esac
24666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24667 (eval "$ac_compile") 2>conftest.er1
24668 ac_status=$?
24669 grep -v '^ *+' conftest.er1 >conftest.err
24670 rm -f conftest.er1
24671 cat conftest.err >&5
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); } && {
24674 test -z "$ac_cxx_werror_flag" ||
24675 test ! -s conftest.err
24676 } && test -s conftest.$ac_objext; then
24677 wx_cv_class_stdbasicstring=yes
24678 else
24679 echo "$as_me: failed program was:" >&5
24680 sed 's/^/| /' conftest.$ac_ext >&5
24681
24682 wx_cv_class_stdbasicstring=no
24683
24684 fi
24685
24686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24687
24688
24689 fi
24690 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24691 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24692
24693 if test "$wx_cv_class_stdbasicstring" != yes; then
24694 if test "$wxUSE_STL" = "yes"; then
24695 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24696 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24697 { (exit 1); exit 1; }; }
24698 elif test "$wxUSE_STD_STRING" = "yes"; then
24699 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24700 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24701 { (exit 1); exit 1; }; }
24702 else
24703 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24704 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24705 wxUSE_STD_STRING=no
24706 fi
24707 fi
24708 fi
24709 fi
24710
24711 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24712 { echo "$as_me:$LINENO: checking for std::istream" >&5
24713 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24714 if test "${ac_cv_type_std__istream+set}" = set; then
24715 echo $ECHO_N "(cached) $ECHO_C" >&6
24716 else
24717 cat >conftest.$ac_ext <<_ACEOF
24718 /* confdefs.h. */
24719 _ACEOF
24720 cat confdefs.h >>conftest.$ac_ext
24721 cat >>conftest.$ac_ext <<_ACEOF
24722 /* end confdefs.h. */
24723 #include <iostream>
24724
24725 typedef std::istream ac__type_new_;
24726 int
24727 main ()
24728 {
24729 if ((ac__type_new_ *) 0)
24730 return 0;
24731 if (sizeof (ac__type_new_))
24732 return 0;
24733 ;
24734 return 0;
24735 }
24736 _ACEOF
24737 rm -f conftest.$ac_objext
24738 if { (ac_try="$ac_compile"
24739 case "(($ac_try" in
24740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24741 *) ac_try_echo=$ac_try;;
24742 esac
24743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24744 (eval "$ac_compile") 2>conftest.er1
24745 ac_status=$?
24746 grep -v '^ *+' conftest.er1 >conftest.err
24747 rm -f conftest.er1
24748 cat conftest.err >&5
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); } && {
24751 test -z "$ac_cxx_werror_flag" ||
24752 test ! -s conftest.err
24753 } && test -s conftest.$ac_objext; then
24754 ac_cv_type_std__istream=yes
24755 else
24756 echo "$as_me: failed program was:" >&5
24757 sed 's/^/| /' conftest.$ac_ext >&5
24758
24759 ac_cv_type_std__istream=no
24760 fi
24761
24762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24763 fi
24764 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24765 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24766 if test $ac_cv_type_std__istream = yes; then
24767
24768 cat >>confdefs.h <<_ACEOF
24769 #define HAVE_STD__ISTREAM 1
24770 _ACEOF
24771
24772
24773 else
24774 wxUSE_STD_IOSTREAM=no
24775 fi
24776 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24777 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24778 if test "${ac_cv_type_std__ostream+set}" = set; then
24779 echo $ECHO_N "(cached) $ECHO_C" >&6
24780 else
24781 cat >conftest.$ac_ext <<_ACEOF
24782 /* confdefs.h. */
24783 _ACEOF
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24787 #include <iostream>
24788
24789 typedef std::ostream ac__type_new_;
24790 int
24791 main ()
24792 {
24793 if ((ac__type_new_ *) 0)
24794 return 0;
24795 if (sizeof (ac__type_new_))
24796 return 0;
24797 ;
24798 return 0;
24799 }
24800 _ACEOF
24801 rm -f conftest.$ac_objext
24802 if { (ac_try="$ac_compile"
24803 case "(($ac_try" in
24804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24805 *) ac_try_echo=$ac_try;;
24806 esac
24807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24808 (eval "$ac_compile") 2>conftest.er1
24809 ac_status=$?
24810 grep -v '^ *+' conftest.er1 >conftest.err
24811 rm -f conftest.er1
24812 cat conftest.err >&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); } && {
24815 test -z "$ac_cxx_werror_flag" ||
24816 test ! -s conftest.err
24817 } && test -s conftest.$ac_objext; then
24818 ac_cv_type_std__ostream=yes
24819 else
24820 echo "$as_me: failed program was:" >&5
24821 sed 's/^/| /' conftest.$ac_ext >&5
24822
24823 ac_cv_type_std__ostream=no
24824 fi
24825
24826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24827 fi
24828 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24829 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24830 if test $ac_cv_type_std__ostream = yes; then
24831
24832 cat >>confdefs.h <<_ACEOF
24833 #define HAVE_STD__OSTREAM 1
24834 _ACEOF
24835
24836
24837 else
24838 wxUSE_STD_IOSTREAM=no
24839 fi
24840
24841
24842 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24843 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24844 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24845 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24846 { (exit 1); exit 1; }; }
24847 else
24848 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24849 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24850 fi
24851 fi
24852 fi
24853
24854 if test "$wxUSE_STL" = "yes"; then
24855 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24856 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24857 if test "${wx_cv_lib_stl+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 else
24860 cat >conftest.$ac_ext <<_ACEOF
24861 /* confdefs.h. */
24862 _ACEOF
24863 cat confdefs.h >>conftest.$ac_ext
24864 cat >>conftest.$ac_ext <<_ACEOF
24865 /* end confdefs.h. */
24866 #include <string>
24867 #include <functional>
24868 #include <algorithm>
24869 #include <vector>
24870 #include <list>
24871 int
24872 main ()
24873 {
24874 std::vector<int> moo;
24875 std::list<int> foo;
24876 std::vector<int>::iterator it =
24877 std::find_if(moo.begin(), moo.end(),
24878 std::bind2nd(std::less<int>(), 3));
24879 ;
24880 return 0;
24881 }
24882 _ACEOF
24883 rm -f conftest.$ac_objext
24884 if { (ac_try="$ac_compile"
24885 case "(($ac_try" in
24886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24887 *) ac_try_echo=$ac_try;;
24888 esac
24889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24890 (eval "$ac_compile") 2>conftest.er1
24891 ac_status=$?
24892 grep -v '^ *+' conftest.er1 >conftest.err
24893 rm -f conftest.er1
24894 cat conftest.err >&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } && {
24897 test -z "$ac_cxx_werror_flag" ||
24898 test ! -s conftest.err
24899 } && test -s conftest.$ac_objext; then
24900 wx_cv_lib_stl=yes
24901 else
24902 echo "$as_me: failed program was:" >&5
24903 sed 's/^/| /' conftest.$ac_ext >&5
24904
24905 wx_cv_lib_stl=no
24906
24907 fi
24908
24909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24910
24911 fi
24912 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24913 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24914
24915 if test "$wx_cv_lib_stl" != yes; then
24916 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24917 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24918 { (exit 1); exit 1; }; }
24919 fi
24920
24921 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24922 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24923 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24924 echo $ECHO_N "(cached) $ECHO_C" >&6
24925 else
24926 cat >conftest.$ac_ext <<_ACEOF
24927 /* confdefs.h. */
24928 _ACEOF
24929 cat confdefs.h >>conftest.$ac_ext
24930 cat >>conftest.$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24932 #include <string>
24933 int
24934 main ()
24935 {
24936 std::string foo, bar;
24937 foo.compare(bar);
24938 foo.compare(1, 1, bar);
24939 foo.compare(1, 1, bar, 1, 1);
24940 foo.compare("");
24941 foo.compare(1, 1, "");
24942 foo.compare(1, 1, "", 2);
24943 ;
24944 return 0;
24945 }
24946 _ACEOF
24947 rm -f conftest.$ac_objext
24948 if { (ac_try="$ac_compile"
24949 case "(($ac_try" in
24950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24951 *) ac_try_echo=$ac_try;;
24952 esac
24953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24954 (eval "$ac_compile") 2>conftest.er1
24955 ac_status=$?
24956 grep -v '^ *+' conftest.er1 >conftest.err
24957 rm -f conftest.er1
24958 cat conftest.err >&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } && {
24961 test -z "$ac_cxx_werror_flag" ||
24962 test ! -s conftest.err
24963 } && test -s conftest.$ac_objext; then
24964 wx_cv_func_stdstring_compare=yes
24965 else
24966 echo "$as_me: failed program was:" >&5
24967 sed 's/^/| /' conftest.$ac_ext >&5
24968
24969 wx_cv_func_stdstring_compare=no
24970
24971 fi
24972
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974
24975 fi
24976 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24977 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24978
24979 if test "$wx_cv_func_stdstring_compare" = yes; then
24980 cat >>confdefs.h <<\_ACEOF
24981 #define HAVE_STD_STRING_COMPARE 1
24982 _ACEOF
24983
24984 fi
24985
24986 if test "$wx_cv_class_gnuhashmapset" = yes; then
24987 cat >>confdefs.h <<\_ACEOF
24988 #define HAVE_EXT_HASH_MAP 1
24989 _ACEOF
24990
24991 cat >>confdefs.h <<\_ACEOF
24992 #define HAVE_GNU_CXX_HASH_MAP 1
24993 _ACEOF
24994
24995 fi
24996
24997 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24998 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24999 if test "${ac_cv_header_unordered_map+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002 cat >conftest.$ac_ext <<_ACEOF
25003 /* confdefs.h. */
25004 _ACEOF
25005 cat confdefs.h >>conftest.$ac_ext
25006 cat >>conftest.$ac_ext <<_ACEOF
25007 /* end confdefs.h. */
25008
25009
25010
25011 #include <unordered_map>
25012 _ACEOF
25013 rm -f conftest.$ac_objext
25014 if { (ac_try="$ac_compile"
25015 case "(($ac_try" in
25016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25017 *) ac_try_echo=$ac_try;;
25018 esac
25019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25020 (eval "$ac_compile") 2>conftest.er1
25021 ac_status=$?
25022 grep -v '^ *+' conftest.er1 >conftest.err
25023 rm -f conftest.er1
25024 cat conftest.err >&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); } && {
25027 test -z "$ac_cxx_werror_flag" ||
25028 test ! -s conftest.err
25029 } && test -s conftest.$ac_objext; then
25030 ac_cv_header_unordered_map=yes
25031 else
25032 echo "$as_me: failed program was:" >&5
25033 sed 's/^/| /' conftest.$ac_ext >&5
25034
25035 ac_cv_header_unordered_map=no
25036 fi
25037
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 fi
25040 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25041 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25042 if test $ac_cv_header_unordered_map = yes; then
25043 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25044 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25045 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25046 echo $ECHO_N "(cached) $ECHO_C" >&6
25047 else
25048 cat >conftest.$ac_ext <<_ACEOF
25049 /* confdefs.h. */
25050 _ACEOF
25051 cat confdefs.h >>conftest.$ac_ext
25052 cat >>conftest.$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25054 #include <unordered_map>
25055 #include <unordered_set>
25056 int
25057 main ()
25058 {
25059 std::unordered_map<double*, char*> test1;
25060 std::unordered_set<char*> test2;
25061 ;
25062 return 0;
25063 }
25064 _ACEOF
25065 rm -f conftest.$ac_objext
25066 if { (ac_try="$ac_compile"
25067 case "(($ac_try" in
25068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25069 *) ac_try_echo=$ac_try;;
25070 esac
25071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25072 (eval "$ac_compile") 2>conftest.er1
25073 ac_status=$?
25074 grep -v '^ *+' conftest.er1 >conftest.err
25075 rm -f conftest.er1
25076 cat conftest.err >&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); } && {
25079 test -z "$ac_cxx_werror_flag" ||
25080 test ! -s conftest.err
25081 } && test -s conftest.$ac_objext; then
25082 wx_cv_class_stdunorderedmapset=yes
25083 else
25084 echo "$as_me: failed program was:" >&5
25085 sed 's/^/| /' conftest.$ac_ext >&5
25086
25087 wx_cv_class_stdunorderedmapset=no
25088 fi
25089
25090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25091
25092
25093 fi
25094 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25095 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25096 fi
25097
25098
25099
25100 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25101 cat >>confdefs.h <<\_ACEOF
25102 #define HAVE_STD_UNORDERED_MAP 1
25103 _ACEOF
25104
25105 cat >>confdefs.h <<\_ACEOF
25106 #define HAVE_STD_UNORDERED_SET 1
25107 _ACEOF
25108
25109 else
25110 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25111 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25112 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25113 echo $ECHO_N "(cached) $ECHO_C" >&6
25114 else
25115 cat >conftest.$ac_ext <<_ACEOF
25116 /* confdefs.h. */
25117 _ACEOF
25118 cat confdefs.h >>conftest.$ac_ext
25119 cat >>conftest.$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25121
25122
25123
25124 #include <tr1/unordered_map>
25125 _ACEOF
25126 rm -f conftest.$ac_objext
25127 if { (ac_try="$ac_compile"
25128 case "(($ac_try" in
25129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25130 *) ac_try_echo=$ac_try;;
25131 esac
25132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25133 (eval "$ac_compile") 2>conftest.er1
25134 ac_status=$?
25135 grep -v '^ *+' conftest.er1 >conftest.err
25136 rm -f conftest.er1
25137 cat conftest.err >&5
25138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139 (exit $ac_status); } && {
25140 test -z "$ac_cxx_werror_flag" ||
25141 test ! -s conftest.err
25142 } && test -s conftest.$ac_objext; then
25143 ac_cv_header_tr1_unordered_map=yes
25144 else
25145 echo "$as_me: failed program was:" >&5
25146 sed 's/^/| /' conftest.$ac_ext >&5
25147
25148 ac_cv_header_tr1_unordered_map=no
25149 fi
25150
25151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25152 fi
25153 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25154 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25155 if test $ac_cv_header_tr1_unordered_map = yes; then
25156 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25157 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25158 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25159 echo $ECHO_N "(cached) $ECHO_C" >&6
25160 else
25161 cat >conftest.$ac_ext <<_ACEOF
25162 /* confdefs.h. */
25163 _ACEOF
25164 cat confdefs.h >>conftest.$ac_ext
25165 cat >>conftest.$ac_ext <<_ACEOF
25166 /* end confdefs.h. */
25167 #include <tr1/unordered_map>
25168 #include <tr1/unordered_set>
25169 int
25170 main ()
25171 {
25172 std::tr1::unordered_map<double*, char*> test1;
25173 std::tr1::unordered_set<char*> test2;
25174 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25175 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25176 #endif
25177 ;
25178 return 0;
25179 }
25180 _ACEOF
25181 rm -f conftest.$ac_objext
25182 if { (ac_try="$ac_compile"
25183 case "(($ac_try" in
25184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25185 *) ac_try_echo=$ac_try;;
25186 esac
25187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25188 (eval "$ac_compile") 2>conftest.er1
25189 ac_status=$?
25190 grep -v '^ *+' conftest.er1 >conftest.err
25191 rm -f conftest.er1
25192 cat conftest.err >&5
25193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25194 (exit $ac_status); } && {
25195 test -z "$ac_cxx_werror_flag" ||
25196 test ! -s conftest.err
25197 } && test -s conftest.$ac_objext; then
25198 wx_cv_class_tr1unorderedmapset=yes
25199 else
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.$ac_ext >&5
25202
25203 wx_cv_class_tr1unorderedmapset=no
25204 fi
25205
25206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25207
25208
25209 fi
25210 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25211 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25212 fi
25213
25214
25215
25216 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25217 cat >>confdefs.h <<\_ACEOF
25218 #define HAVE_TR1_UNORDERED_MAP 1
25219 _ACEOF
25220
25221 cat >>confdefs.h <<\_ACEOF
25222 #define HAVE_TR1_UNORDERED_SET 1
25223 _ACEOF
25224
25225 else
25226 { echo "$as_me:$LINENO: checking for hash_map" >&5
25227 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25228 if test "${ac_cv_header_hash_map+set}" = set; then
25229 echo $ECHO_N "(cached) $ECHO_C" >&6
25230 else
25231 cat >conftest.$ac_ext <<_ACEOF
25232 /* confdefs.h. */
25233 _ACEOF
25234 cat confdefs.h >>conftest.$ac_ext
25235 cat >>conftest.$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25237
25238
25239
25240 #include <hash_map>
25241 _ACEOF
25242 rm -f conftest.$ac_objext
25243 if { (ac_try="$ac_compile"
25244 case "(($ac_try" in
25245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25246 *) ac_try_echo=$ac_try;;
25247 esac
25248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25249 (eval "$ac_compile") 2>conftest.er1
25250 ac_status=$?
25251 grep -v '^ *+' conftest.er1 >conftest.err
25252 rm -f conftest.er1
25253 cat conftest.err >&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); } && {
25256 test -z "$ac_cxx_werror_flag" ||
25257 test ! -s conftest.err
25258 } && test -s conftest.$ac_objext; then
25259 ac_cv_header_hash_map=yes
25260 else
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.$ac_ext >&5
25263
25264 ac_cv_header_hash_map=no
25265 fi
25266
25267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25268 fi
25269 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25270 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25271 if test $ac_cv_header_hash_map = yes; then
25272 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25273 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25274 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25275 echo $ECHO_N "(cached) $ECHO_C" >&6
25276 else
25277 cat >conftest.$ac_ext <<_ACEOF
25278 /* confdefs.h. */
25279 _ACEOF
25280 cat confdefs.h >>conftest.$ac_ext
25281 cat >>conftest.$ac_ext <<_ACEOF
25282 /* end confdefs.h. */
25283 #include <hash_map>
25284 #include <hash_set>
25285 int
25286 main ()
25287 {
25288 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25289 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25290 ;
25291 return 0;
25292 }
25293 _ACEOF
25294 rm -f conftest.$ac_objext
25295 if { (ac_try="$ac_compile"
25296 case "(($ac_try" in
25297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25298 *) ac_try_echo=$ac_try;;
25299 esac
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_compile") 2>conftest.er1
25302 ac_status=$?
25303 grep -v '^ *+' conftest.er1 >conftest.err
25304 rm -f conftest.er1
25305 cat conftest.err >&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } && {
25308 test -z "$ac_cxx_werror_flag" ||
25309 test ! -s conftest.err
25310 } && test -s conftest.$ac_objext; then
25311 wx_cv_class_stdhashmapset=yes
25312 else
25313 echo "$as_me: failed program was:" >&5
25314 sed 's/^/| /' conftest.$ac_ext >&5
25315
25316 wx_cv_class_stdhashmapset=no
25317 fi
25318
25319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25320
25321
25322 fi
25323 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25324 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25325 fi
25326
25327
25328
25329 if test "$wx_cv_class_stdhashmapset" = yes; then
25330 cat >>confdefs.h <<\_ACEOF
25331 #define HAVE_HASH_MAP 1
25332 _ACEOF
25333
25334 cat >>confdefs.h <<\_ACEOF
25335 #define HAVE_STD_HASH_MAP 1
25336 _ACEOF
25337
25338 fi
25339
25340 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25341 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25342 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25343 echo $ECHO_N "(cached) $ECHO_C" >&6
25344 else
25345 cat >conftest.$ac_ext <<_ACEOF
25346 /* confdefs.h. */
25347 _ACEOF
25348 cat confdefs.h >>conftest.$ac_ext
25349 cat >>conftest.$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25351
25352
25353
25354 #include <ext/hash_map>
25355 _ACEOF
25356 rm -f conftest.$ac_objext
25357 if { (ac_try="$ac_compile"
25358 case "(($ac_try" in
25359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25360 *) ac_try_echo=$ac_try;;
25361 esac
25362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25363 (eval "$ac_compile") 2>conftest.er1
25364 ac_status=$?
25365 grep -v '^ *+' conftest.er1 >conftest.err
25366 rm -f conftest.er1
25367 cat conftest.err >&5
25368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369 (exit $ac_status); } && {
25370 test -z "$ac_cxx_werror_flag" ||
25371 test ! -s conftest.err
25372 } && test -s conftest.$ac_objext; then
25373 ac_cv_header_ext_hash_map=yes
25374 else
25375 echo "$as_me: failed program was:" >&5
25376 sed 's/^/| /' conftest.$ac_ext >&5
25377
25378 ac_cv_header_ext_hash_map=no
25379 fi
25380
25381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25382 fi
25383 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25384 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25385 if test $ac_cv_header_ext_hash_map = yes; then
25386 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25387 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25388 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 else
25391 cat >conftest.$ac_ext <<_ACEOF
25392 /* confdefs.h. */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397 #include <ext/hash_map>
25398 #include <ext/hash_set>
25399 int
25400 main ()
25401 {
25402 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25403 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25404 ;
25405 return 0;
25406 }
25407 _ACEOF
25408 rm -f conftest.$ac_objext
25409 if { (ac_try="$ac_compile"
25410 case "(($ac_try" in
25411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25412 *) ac_try_echo=$ac_try;;
25413 esac
25414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25415 (eval "$ac_compile") 2>conftest.er1
25416 ac_status=$?
25417 grep -v '^ *+' conftest.er1 >conftest.err
25418 rm -f conftest.er1
25419 cat conftest.err >&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } && {
25422 test -z "$ac_cxx_werror_flag" ||
25423 test ! -s conftest.err
25424 } && test -s conftest.$ac_objext; then
25425 wx_cv_class_gnuhashmapset=yes
25426 else
25427 echo "$as_me: failed program was:" >&5
25428 sed 's/^/| /' conftest.$ac_ext >&5
25429
25430 wx_cv_class_gnuhashmapset=no
25431 fi
25432
25433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25434
25435
25436 fi
25437 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25438 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25439 fi
25440
25441
25442
25443 fi
25444 fi
25445 fi
25446
25447
25448
25449 if test -n "$GCC"; then
25450 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25451 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25452 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25453 echo $ECHO_N "(cached) $ECHO_C" >&6
25454 else
25455
25456 cat >conftest.$ac_ext <<_ACEOF
25457 /* confdefs.h. */
25458 _ACEOF
25459 cat confdefs.h >>conftest.$ac_ext
25460 cat >>conftest.$ac_ext <<_ACEOF
25461 /* end confdefs.h. */
25462
25463 int
25464 main ()
25465 {
25466
25467 unsigned int value=0;
25468 /* wxAtomicInc doesn't use return value here */
25469 __sync_fetch_and_add(&value, 2);
25470 __sync_sub_and_fetch(&value, 1);
25471 /* but wxAtomicDec does, so mimic that: */
25472 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25473
25474 ;
25475 return 0;
25476 }
25477 _ACEOF
25478 rm -f conftest.$ac_objext conftest$ac_exeext
25479 if { (ac_try="$ac_link"
25480 case "(($ac_try" in
25481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25482 *) ac_try_echo=$ac_try;;
25483 esac
25484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25485 (eval "$ac_link") 2>conftest.er1
25486 ac_status=$?
25487 grep -v '^ *+' conftest.er1 >conftest.err
25488 rm -f conftest.er1
25489 cat conftest.err >&5
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); } && {
25492 test -z "$ac_cxx_werror_flag" ||
25493 test ! -s conftest.err
25494 } && test -s conftest$ac_exeext &&
25495 $as_test_x conftest$ac_exeext; then
25496 wx_cv_cc_gcc_atomic_builtins=yes
25497 else
25498 echo "$as_me: failed program was:" >&5
25499 sed 's/^/| /' conftest.$ac_ext >&5
25500
25501 wx_cv_cc_gcc_atomic_builtins=no
25502 fi
25503
25504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25505 conftest$ac_exeext conftest.$ac_ext
25506
25507 fi
25508
25509 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25510 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25511 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25512 cat >>confdefs.h <<\_ACEOF
25513 #define HAVE_GCC_ATOMIC_BUILTINS 1
25514 _ACEOF
25515
25516 fi
25517 fi
25518
25519
25520 ac_ext=c
25521 ac_cpp='$CPP $CPPFLAGS'
25522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25525
25526
25527
25528 SEARCH_INCLUDE="\
25529 /usr/local/include \
25530 /usr/local/X11/include \
25531 /usr/local/include/X11 \
25532 /usr/local/X11R7/include \
25533 /usr/local/X11R6/include \
25534 /usr/local/include/X11R7 \
25535 /usr/local/include/X11R6 \
25536 \
25537 /usr/Motif-2.1/include \
25538 /usr/Motif-1.2/include \
25539 /usr/include/Motif1.2 \
25540 \
25541 /usr/dt/include \
25542 /usr/openwin/include \
25543 \
25544 /usr/include/Xm \
25545 \
25546 /usr/X11R7/include \
25547 /usr/X11R6/include \
25548 /usr/X11R6.4/include \
25549 \
25550 /usr/include/X11R7 \
25551 /usr/include/X11R6 \
25552 \
25553 /usr/X11/include \
25554 /usr/include/X11 \
25555 \
25556 /usr/XFree86/include/X11 \
25557 /usr/pkg/include \
25558 \
25559 /usr/local/X1R5/include \
25560 /usr/local/include/X11R5 \
25561 /usr/X11R5/include \
25562 /usr/include/X11R5 \
25563 \
25564 /usr/local/X11R4/include \
25565 /usr/local/include/X11R4 \
25566 /usr/X11R4/include \
25567 /usr/include/X11R4 \
25568 \
25569 /usr/openwin/share/include"
25570
25571 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25572 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25573
25574 case "${host}" in
25575 *-*-irix6* )
25576 if test "${wx_cv_std_libpath+set}" = set; then
25577 echo $ECHO_N "(cached) $ECHO_C" >&6
25578 else
25579
25580 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25581 for e in a so sl dylib dll.a; do
25582 libc="$d/libc.$e"
25583 if test -f $libc; then
25584 save_LIBS="$LIBS"
25585 LIBS="$libc"
25586 cat >conftest.$ac_ext <<_ACEOF
25587 int main() { return 0; }
25588 _ACEOF
25589 rm -f conftest.$ac_objext conftest$ac_exeext
25590 if { (ac_try="$ac_link"
25591 case "(($ac_try" in
25592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25593 *) ac_try_echo=$ac_try;;
25594 esac
25595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25596 (eval "$ac_link") 2>conftest.er1
25597 ac_status=$?
25598 grep -v '^ *+' conftest.er1 >conftest.err
25599 rm -f conftest.er1
25600 cat conftest.err >&5
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); } && {
25603 test -z "$ac_c_werror_flag" ||
25604 test ! -s conftest.err
25605 } && test -s conftest$ac_exeext &&
25606 $as_test_x conftest$ac_exeext; then
25607 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25608 else
25609 echo "$as_me: failed program was:" >&5
25610 sed 's/^/| /' conftest.$ac_ext >&5
25611
25612
25613 fi
25614
25615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25616 conftest$ac_exeext conftest.$ac_ext
25617 LIBS="$save_LIBS"
25618 if test "x$wx_cv_std_libpath" != "x"; then
25619 break 2
25620 fi
25621 fi
25622 done
25623 done
25624 if test "x$wx_cv_std_libpath" = "x"; then
25625 wx_cv_std_libpath="lib"
25626 fi
25627
25628
25629 fi
25630
25631 ;;
25632
25633 *-*-solaris2* )
25634 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25635 wx_cv_std_libpath="lib/64"
25636 else
25637 wx_cv_std_libpath="lib"
25638 fi
25639 ;;
25640
25641 *-*-linux* )
25642 if test "$ac_cv_sizeof_void_p" = 8 -a \
25643 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25644 wx_cv_std_libpath="lib64"
25645 else
25646 wx_cv_std_libpath="lib"
25647 fi
25648 ;;
25649
25650 *)
25651 wx_cv_std_libpath="lib";
25652 ;;
25653 esac
25654
25655 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25656 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25657
25658 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25659
25660 if test "$build" != "$host" -a "$GCC" = yes; then
25661 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25662 cross_root=`dirname $cross_root`
25663 cross_root=`dirname $cross_root`
25664
25665 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25666 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25667 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25668
25669 if test -z "$PKG_CONFIG_PATH"; then
25670 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25671 export PKG_CONFIG_PATH
25672 fi
25673
25674 if test -z "$x_includes" -o "$x_includes" = NONE; then
25675
25676 ac_find_includes=
25677 for ac_dir in $SEARCH_INCLUDE /usr/include;
25678 do
25679 if test -f "$ac_dir/X11/Intrinsic.h"; then
25680 ac_find_includes=$ac_dir
25681 break
25682 fi
25683 done
25684
25685 x_includes=$ac_find_includes
25686 fi
25687 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25688
25689 ac_find_libraries=
25690 for ac_dir in $SEARCH_LIB;
25691 do
25692 for ac_extension in a so sl dylib dll.a; do
25693 if test -f "$ac_dir/libXt.$ac_extension"; then
25694 ac_find_libraries=$ac_dir
25695 break 2
25696 fi
25697 done
25698 done
25699
25700 x_libraries=$ac_find_libraries
25701 fi
25702 fi
25703 fi
25704
25705
25706 cat >confcache <<\_ACEOF
25707 # This file is a shell script that caches the results of configure
25708 # tests run on this system so they can be shared between configure
25709 # scripts and configure runs, see configure's option --config-cache.
25710 # It is not useful on other systems. If it contains results you don't
25711 # want to keep, you may remove or edit it.
25712 #
25713 # config.status only pays attention to the cache file if you give it
25714 # the --recheck option to rerun configure.
25715 #
25716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25718 # following values.
25719
25720 _ACEOF
25721
25722 # The following way of writing the cache mishandles newlines in values,
25723 # but we know of no workaround that is simple, portable, and efficient.
25724 # So, we kill variables containing newlines.
25725 # Ultrix sh set writes to stderr and can't be redirected directly,
25726 # and sets the high bit in the cache file unless we assign to the vars.
25727 (
25728 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25729 eval ac_val=\$$ac_var
25730 case $ac_val in #(
25731 *${as_nl}*)
25732 case $ac_var in #(
25733 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25734 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25735 esac
25736 case $ac_var in #(
25737 _ | IFS | as_nl) ;; #(
25738 *) $as_unset $ac_var ;;
25739 esac ;;
25740 esac
25741 done
25742
25743 (set) 2>&1 |
25744 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25745 *${as_nl}ac_space=\ *)
25746 # `set' does not quote correctly, so add quotes (double-quote
25747 # substitution turns \\\\ into \\, and sed turns \\ into \).
25748 sed -n \
25749 "s/'/'\\\\''/g;
25750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25751 ;; #(
25752 *)
25753 # `set' quotes correctly as required by POSIX, so do not add quotes.
25754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25755 ;;
25756 esac |
25757 sort
25758 ) |
25759 sed '
25760 /^ac_cv_env_/b end
25761 t clear
25762 :clear
25763 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25764 t end
25765 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25766 :end' >>confcache
25767 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25768 if test -w "$cache_file"; then
25769 test "x$cache_file" != "x/dev/null" &&
25770 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25771 echo "$as_me: updating cache $cache_file" >&6;}
25772 cat confcache >$cache_file
25773 else
25774 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25775 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25776 fi
25777 fi
25778 rm -f confcache
25779
25780 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25781 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25782 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25783 if test "${wx_cv_lib_glibc21+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 else
25786
25787 cat >conftest.$ac_ext <<_ACEOF
25788 /* confdefs.h. */
25789 _ACEOF
25790 cat confdefs.h >>conftest.$ac_ext
25791 cat >>conftest.$ac_ext <<_ACEOF
25792 /* end confdefs.h. */
25793 #include <features.h>
25794 int
25795 main ()
25796 {
25797
25798 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25799 not glibc 2.1
25800 #endif
25801
25802 ;
25803 return 0;
25804 }
25805 _ACEOF
25806 rm -f conftest.$ac_objext
25807 if { (ac_try="$ac_compile"
25808 case "(($ac_try" in
25809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25810 *) ac_try_echo=$ac_try;;
25811 esac
25812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25813 (eval "$ac_compile") 2>conftest.er1
25814 ac_status=$?
25815 grep -v '^ *+' conftest.er1 >conftest.err
25816 rm -f conftest.er1
25817 cat conftest.err >&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); } && {
25820 test -z "$ac_c_werror_flag" ||
25821 test ! -s conftest.err
25822 } && test -s conftest.$ac_objext; then
25823
25824 wx_cv_lib_glibc21=yes
25825
25826 else
25827 echo "$as_me: failed program was:" >&5
25828 sed 's/^/| /' conftest.$ac_ext >&5
25829
25830
25831 wx_cv_lib_glibc21=no
25832
25833
25834 fi
25835
25836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25837
25838 fi
25839 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25840 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25841 if test "$wx_cv_lib_glibc21" = "yes"; then
25842 cat >>confdefs.h <<\_ACEOF
25843 #define wxHAVE_GLIBC2 1
25844 _ACEOF
25845
25846 fi
25847 fi
25848
25849 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25850 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25851 cat >>confdefs.h <<\_ACEOF
25852 #define _GNU_SOURCE 1
25853 _ACEOF
25854
25855 fi
25856 fi
25857
25858 have_cos=0
25859 have_floor=0
25860
25861 for ac_func in cos
25862 do
25863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25864 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25866 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25867 echo $ECHO_N "(cached) $ECHO_C" >&6
25868 else
25869 cat >conftest.$ac_ext <<_ACEOF
25870 /* confdefs.h. */
25871 _ACEOF
25872 cat confdefs.h >>conftest.$ac_ext
25873 cat >>conftest.$ac_ext <<_ACEOF
25874 /* end confdefs.h. */
25875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25877 #define $ac_func innocuous_$ac_func
25878
25879 /* System header to define __stub macros and hopefully few prototypes,
25880 which can conflict with char $ac_func (); below.
25881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25882 <limits.h> exists even on freestanding compilers. */
25883
25884 #ifdef __STDC__
25885 # include <limits.h>
25886 #else
25887 # include <assert.h>
25888 #endif
25889
25890 #undef $ac_func
25891
25892 /* Override any GCC internal prototype to avoid an error.
25893 Use char because int might match the return type of a GCC
25894 builtin and then its argument prototype would still apply. */
25895 #ifdef __cplusplus
25896 extern "C"
25897 #endif
25898 char $ac_func ();
25899 /* The GNU C library defines this for functions which it implements
25900 to always fail with ENOSYS. Some functions are actually named
25901 something starting with __ and the normal name is an alias. */
25902 #if defined __stub_$ac_func || defined __stub___$ac_func
25903 choke me
25904 #endif
25905
25906 int
25907 main ()
25908 {
25909 return $ac_func ();
25910 ;
25911 return 0;
25912 }
25913 _ACEOF
25914 rm -f conftest.$ac_objext conftest$ac_exeext
25915 if { (ac_try="$ac_link"
25916 case "(($ac_try" in
25917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25918 *) ac_try_echo=$ac_try;;
25919 esac
25920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25921 (eval "$ac_link") 2>conftest.er1
25922 ac_status=$?
25923 grep -v '^ *+' conftest.er1 >conftest.err
25924 rm -f conftest.er1
25925 cat conftest.err >&5
25926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25927 (exit $ac_status); } && {
25928 test -z "$ac_c_werror_flag" ||
25929 test ! -s conftest.err
25930 } && test -s conftest$ac_exeext &&
25931 $as_test_x conftest$ac_exeext; then
25932 eval "$as_ac_var=yes"
25933 else
25934 echo "$as_me: failed program was:" >&5
25935 sed 's/^/| /' conftest.$ac_ext >&5
25936
25937 eval "$as_ac_var=no"
25938 fi
25939
25940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25941 conftest$ac_exeext conftest.$ac_ext
25942 fi
25943 ac_res=`eval echo '${'$as_ac_var'}'`
25944 { echo "$as_me:$LINENO: result: $ac_res" >&5
25945 echo "${ECHO_T}$ac_res" >&6; }
25946 if test `eval echo '${'$as_ac_var'}'` = yes; then
25947 cat >>confdefs.h <<_ACEOF
25948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25949 _ACEOF
25950 have_cos=1
25951 fi
25952 done
25953
25954
25955 for ac_func in floor
25956 do
25957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25958 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25960 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25961 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 else
25963 cat >conftest.$ac_ext <<_ACEOF
25964 /* confdefs.h. */
25965 _ACEOF
25966 cat confdefs.h >>conftest.$ac_ext
25967 cat >>conftest.$ac_ext <<_ACEOF
25968 /* end confdefs.h. */
25969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25971 #define $ac_func innocuous_$ac_func
25972
25973 /* System header to define __stub macros and hopefully few prototypes,
25974 which can conflict with char $ac_func (); below.
25975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25976 <limits.h> exists even on freestanding compilers. */
25977
25978 #ifdef __STDC__
25979 # include <limits.h>
25980 #else
25981 # include <assert.h>
25982 #endif
25983
25984 #undef $ac_func
25985
25986 /* Override any GCC internal prototype to avoid an error.
25987 Use char because int might match the return type of a GCC
25988 builtin and then its argument prototype would still apply. */
25989 #ifdef __cplusplus
25990 extern "C"
25991 #endif
25992 char $ac_func ();
25993 /* The GNU C library defines this for functions which it implements
25994 to always fail with ENOSYS. Some functions are actually named
25995 something starting with __ and the normal name is an alias. */
25996 #if defined __stub_$ac_func || defined __stub___$ac_func
25997 choke me
25998 #endif
25999
26000 int
26001 main ()
26002 {
26003 return $ac_func ();
26004 ;
26005 return 0;
26006 }
26007 _ACEOF
26008 rm -f conftest.$ac_objext conftest$ac_exeext
26009 if { (ac_try="$ac_link"
26010 case "(($ac_try" in
26011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26012 *) ac_try_echo=$ac_try;;
26013 esac
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_link") 2>conftest.er1
26016 ac_status=$?
26017 grep -v '^ *+' conftest.er1 >conftest.err
26018 rm -f conftest.er1
26019 cat conftest.err >&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); } && {
26022 test -z "$ac_c_werror_flag" ||
26023 test ! -s conftest.err
26024 } && test -s conftest$ac_exeext &&
26025 $as_test_x conftest$ac_exeext; then
26026 eval "$as_ac_var=yes"
26027 else
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.$ac_ext >&5
26030
26031 eval "$as_ac_var=no"
26032 fi
26033
26034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26035 conftest$ac_exeext conftest.$ac_ext
26036 fi
26037 ac_res=`eval echo '${'$as_ac_var'}'`
26038 { echo "$as_me:$LINENO: result: $ac_res" >&5
26039 echo "${ECHO_T}$ac_res" >&6; }
26040 if test `eval echo '${'$as_ac_var'}'` = yes; then
26041 cat >>confdefs.h <<_ACEOF
26042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26043 _ACEOF
26044 have_floor=1
26045 fi
26046 done
26047
26048 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26049 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26050 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26051 { echo "$as_me:$LINENO: result: yes" >&5
26052 echo "${ECHO_T}yes" >&6; }
26053 else
26054 { echo "$as_me:$LINENO: result: no" >&5
26055 echo "${ECHO_T}no" >&6; }
26056 LIBS="$LIBS -lm"
26057 # use different functions to avoid configure caching
26058 have_sin=0
26059 have_ceil=0
26060
26061 for ac_func in sin
26062 do
26063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26064 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26066 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26067 echo $ECHO_N "(cached) $ECHO_C" >&6
26068 else
26069 cat >conftest.$ac_ext <<_ACEOF
26070 /* confdefs.h. */
26071 _ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26077 #define $ac_func innocuous_$ac_func
26078
26079 /* System header to define __stub macros and hopefully few prototypes,
26080 which can conflict with char $ac_func (); below.
26081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26082 <limits.h> exists even on freestanding compilers. */
26083
26084 #ifdef __STDC__
26085 # include <limits.h>
26086 #else
26087 # include <assert.h>
26088 #endif
26089
26090 #undef $ac_func
26091
26092 /* Override any GCC internal prototype to avoid an error.
26093 Use char because int might match the return type of a GCC
26094 builtin and then its argument prototype would still apply. */
26095 #ifdef __cplusplus
26096 extern "C"
26097 #endif
26098 char $ac_func ();
26099 /* The GNU C library defines this for functions which it implements
26100 to always fail with ENOSYS. Some functions are actually named
26101 something starting with __ and the normal name is an alias. */
26102 #if defined __stub_$ac_func || defined __stub___$ac_func
26103 choke me
26104 #endif
26105
26106 int
26107 main ()
26108 {
26109 return $ac_func ();
26110 ;
26111 return 0;
26112 }
26113 _ACEOF
26114 rm -f conftest.$ac_objext conftest$ac_exeext
26115 if { (ac_try="$ac_link"
26116 case "(($ac_try" in
26117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26118 *) ac_try_echo=$ac_try;;
26119 esac
26120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26121 (eval "$ac_link") 2>conftest.er1
26122 ac_status=$?
26123 grep -v '^ *+' conftest.er1 >conftest.err
26124 rm -f conftest.er1
26125 cat conftest.err >&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); } && {
26128 test -z "$ac_c_werror_flag" ||
26129 test ! -s conftest.err
26130 } && test -s conftest$ac_exeext &&
26131 $as_test_x conftest$ac_exeext; then
26132 eval "$as_ac_var=yes"
26133 else
26134 echo "$as_me: failed program was:" >&5
26135 sed 's/^/| /' conftest.$ac_ext >&5
26136
26137 eval "$as_ac_var=no"
26138 fi
26139
26140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26141 conftest$ac_exeext conftest.$ac_ext
26142 fi
26143 ac_res=`eval echo '${'$as_ac_var'}'`
26144 { echo "$as_me:$LINENO: result: $ac_res" >&5
26145 echo "${ECHO_T}$ac_res" >&6; }
26146 if test `eval echo '${'$as_ac_var'}'` = yes; then
26147 cat >>confdefs.h <<_ACEOF
26148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26149 _ACEOF
26150 have_sin=1
26151 fi
26152 done
26153
26154
26155 for ac_func in ceil
26156 do
26157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26158 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26160 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26161 echo $ECHO_N "(cached) $ECHO_C" >&6
26162 else
26163 cat >conftest.$ac_ext <<_ACEOF
26164 /* confdefs.h. */
26165 _ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26171 #define $ac_func innocuous_$ac_func
26172
26173 /* System header to define __stub macros and hopefully few prototypes,
26174 which can conflict with char $ac_func (); below.
26175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26176 <limits.h> exists even on freestanding compilers. */
26177
26178 #ifdef __STDC__
26179 # include <limits.h>
26180 #else
26181 # include <assert.h>
26182 #endif
26183
26184 #undef $ac_func
26185
26186 /* Override any GCC internal prototype to avoid an error.
26187 Use char because int might match the return type of a GCC
26188 builtin and then its argument prototype would still apply. */
26189 #ifdef __cplusplus
26190 extern "C"
26191 #endif
26192 char $ac_func ();
26193 /* The GNU C library defines this for functions which it implements
26194 to always fail with ENOSYS. Some functions are actually named
26195 something starting with __ and the normal name is an alias. */
26196 #if defined __stub_$ac_func || defined __stub___$ac_func
26197 choke me
26198 #endif
26199
26200 int
26201 main ()
26202 {
26203 return $ac_func ();
26204 ;
26205 return 0;
26206 }
26207 _ACEOF
26208 rm -f conftest.$ac_objext conftest$ac_exeext
26209 if { (ac_try="$ac_link"
26210 case "(($ac_try" in
26211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26212 *) ac_try_echo=$ac_try;;
26213 esac
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_link") 2>conftest.er1
26216 ac_status=$?
26217 grep -v '^ *+' conftest.er1 >conftest.err
26218 rm -f conftest.er1
26219 cat conftest.err >&5
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); } && {
26222 test -z "$ac_c_werror_flag" ||
26223 test ! -s conftest.err
26224 } && test -s conftest$ac_exeext &&
26225 $as_test_x conftest$ac_exeext; then
26226 eval "$as_ac_var=yes"
26227 else
26228 echo "$as_me: failed program was:" >&5
26229 sed 's/^/| /' conftest.$ac_ext >&5
26230
26231 eval "$as_ac_var=no"
26232 fi
26233
26234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26235 conftest$ac_exeext conftest.$ac_ext
26236 fi
26237 ac_res=`eval echo '${'$as_ac_var'}'`
26238 { echo "$as_me:$LINENO: result: $ac_res" >&5
26239 echo "${ECHO_T}$ac_res" >&6; }
26240 if test `eval echo '${'$as_ac_var'}'` = yes; then
26241 cat >>confdefs.h <<_ACEOF
26242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26243 _ACEOF
26244 have_ceil=1
26245 fi
26246 done
26247
26248 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26249 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26250 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26251 { echo "$as_me:$LINENO: result: yes" >&5
26252 echo "${ECHO_T}yes" >&6; }
26253 else
26254 { echo "$as_me:$LINENO: result: no" >&5
26255 echo "${ECHO_T}no" >&6; }
26256 # not sure we should warn the user, crash, etc.
26257 fi
26258 fi
26259
26260 ac_ext=cpp
26261 ac_cpp='$CXXCPP $CPPFLAGS'
26262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26265
26266 if test "wxUSE_UNICODE" = "yes"; then
26267
26268 for wx_func in wcstoull
26269 do
26270 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26271 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26272 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26275
26276 cat >conftest.$ac_ext <<_ACEOF
26277
26278 /* confdefs.h. */
26279 _ACEOF
26280 cat confdefs.h >>conftest.$ac_ext
26281 cat >>conftest.$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283
26284
26285 $ac_includes_default
26286
26287 int
26288 main ()
26289 {
26290
26291 #ifndef $wx_func
26292 &$wx_func;
26293 #endif
26294
26295
26296 ;
26297 return 0;
26298 }
26299
26300 _ACEOF
26301 rm -f conftest.$ac_objext conftest$ac_exeext
26302 if { (ac_try="$ac_link"
26303 case "(($ac_try" in
26304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26305 *) ac_try_echo=$ac_try;;
26306 esac
26307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26308 (eval "$ac_link") 2>conftest.er1
26309 ac_status=$?
26310 grep -v '^ *+' conftest.er1 >conftest.err
26311 rm -f conftest.er1
26312 cat conftest.err >&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } && {
26315 test -z "$ac_cxx_werror_flag" ||
26316 test ! -s conftest.err
26317 } && test -s conftest$ac_exeext &&
26318 $as_test_x conftest$ac_exeext; then
26319 eval wx_cv_func_$wx_func=yes
26320 else
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.$ac_ext >&5
26323
26324 eval wx_cv_func_$wx_func=no
26325 fi
26326
26327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26328 conftest$ac_exeext conftest.$ac_ext
26329
26330 fi
26331 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26332 { echo "$as_me:$LINENO: result: $ac_res" >&5
26333 echo "${ECHO_T}$ac_res" >&6; }
26334
26335 if eval test \$wx_cv_func_$wx_func = yes
26336 then
26337 cat >>confdefs.h <<_ACEOF
26338 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26339 _ACEOF
26340
26341
26342 else
26343 :
26344
26345 fi
26346 done
26347
26348 else
26349
26350 for wx_func in strtoull
26351 do
26352 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26353 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26354 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26355 echo $ECHO_N "(cached) $ECHO_C" >&6
26356 else
26357
26358 cat >conftest.$ac_ext <<_ACEOF
26359
26360 /* confdefs.h. */
26361 _ACEOF
26362 cat confdefs.h >>conftest.$ac_ext
26363 cat >>conftest.$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26365
26366
26367 $ac_includes_default
26368
26369 int
26370 main ()
26371 {
26372
26373 #ifndef $wx_func
26374 &$wx_func;
26375 #endif
26376
26377
26378 ;
26379 return 0;
26380 }
26381
26382 _ACEOF
26383 rm -f conftest.$ac_objext conftest$ac_exeext
26384 if { (ac_try="$ac_link"
26385 case "(($ac_try" in
26386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26387 *) ac_try_echo=$ac_try;;
26388 esac
26389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26390 (eval "$ac_link") 2>conftest.er1
26391 ac_status=$?
26392 grep -v '^ *+' conftest.er1 >conftest.err
26393 rm -f conftest.er1
26394 cat conftest.err >&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); } && {
26397 test -z "$ac_cxx_werror_flag" ||
26398 test ! -s conftest.err
26399 } && test -s conftest$ac_exeext &&
26400 $as_test_x conftest$ac_exeext; then
26401 eval wx_cv_func_$wx_func=yes
26402 else
26403 echo "$as_me: failed program was:" >&5
26404 sed 's/^/| /' conftest.$ac_ext >&5
26405
26406 eval wx_cv_func_$wx_func=no
26407 fi
26408
26409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26410 conftest$ac_exeext conftest.$ac_ext
26411
26412 fi
26413 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26414 { echo "$as_me:$LINENO: result: $ac_res" >&5
26415 echo "${ECHO_T}$ac_res" >&6; }
26416
26417 if eval test \$wx_cv_func_$wx_func = yes
26418 then
26419 cat >>confdefs.h <<_ACEOF
26420 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26421 _ACEOF
26422
26423
26424 else
26425 :
26426
26427 fi
26428 done
26429
26430 fi
26431 ac_ext=c
26432 ac_cpp='$CPP $CPPFLAGS'
26433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26436
26437
26438
26439
26440 if test "$wxUSE_REGEX" != "no"; then
26441 cat >>confdefs.h <<\_ACEOF
26442 #define wxUSE_REGEX 1
26443 _ACEOF
26444
26445
26446 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26447 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26448 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26449 wxUSE_REGEX=builtin
26450 fi
26451
26452 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26453 { echo "$as_me:$LINENO: checking for regex.h" >&5
26454 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26455 if test "${ac_cv_header_regex_h+set}" = set; then
26456 echo $ECHO_N "(cached) $ECHO_C" >&6
26457 else
26458 cat >conftest.$ac_ext <<_ACEOF
26459 /* confdefs.h. */
26460 _ACEOF
26461 cat confdefs.h >>conftest.$ac_ext
26462 cat >>conftest.$ac_ext <<_ACEOF
26463 /* end confdefs.h. */
26464
26465
26466 #include <regex.h>
26467 _ACEOF
26468 rm -f conftest.$ac_objext
26469 if { (ac_try="$ac_compile"
26470 case "(($ac_try" in
26471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26472 *) ac_try_echo=$ac_try;;
26473 esac
26474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26475 (eval "$ac_compile") 2>conftest.er1
26476 ac_status=$?
26477 grep -v '^ *+' conftest.er1 >conftest.err
26478 rm -f conftest.er1
26479 cat conftest.err >&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } && {
26482 test -z "$ac_c_werror_flag" ||
26483 test ! -s conftest.err
26484 } && test -s conftest.$ac_objext; then
26485 ac_cv_header_regex_h=yes
26486 else
26487 echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26489
26490 ac_cv_header_regex_h=no
26491 fi
26492
26493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26494 fi
26495 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26496 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26497 if test $ac_cv_header_regex_h = yes; then
26498
26499
26500 for ac_func in regcomp re_search
26501 do
26502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26507 else
26508 cat >conftest.$ac_ext <<_ACEOF
26509 /* confdefs.h. */
26510 _ACEOF
26511 cat confdefs.h >>conftest.$ac_ext
26512 cat >>conftest.$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26516 #define $ac_func innocuous_$ac_func
26517
26518 /* System header to define __stub macros and hopefully few prototypes,
26519 which can conflict with char $ac_func (); below.
26520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26521 <limits.h> exists even on freestanding compilers. */
26522
26523 #ifdef __STDC__
26524 # include <limits.h>
26525 #else
26526 # include <assert.h>
26527 #endif
26528
26529 #undef $ac_func
26530
26531 /* Override any GCC internal prototype to avoid an error.
26532 Use char because int might match the return type of a GCC
26533 builtin and then its argument prototype would still apply. */
26534 #ifdef __cplusplus
26535 extern "C"
26536 #endif
26537 char $ac_func ();
26538 /* The GNU C library defines this for functions which it implements
26539 to always fail with ENOSYS. Some functions are actually named
26540 something starting with __ and the normal name is an alias. */
26541 #if defined __stub_$ac_func || defined __stub___$ac_func
26542 choke me
26543 #endif
26544
26545 int
26546 main ()
26547 {
26548 return $ac_func ();
26549 ;
26550 return 0;
26551 }
26552 _ACEOF
26553 rm -f conftest.$ac_objext conftest$ac_exeext
26554 if { (ac_try="$ac_link"
26555 case "(($ac_try" in
26556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26557 *) ac_try_echo=$ac_try;;
26558 esac
26559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26560 (eval "$ac_link") 2>conftest.er1
26561 ac_status=$?
26562 grep -v '^ *+' conftest.er1 >conftest.err
26563 rm -f conftest.er1
26564 cat conftest.err >&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } && {
26567 test -z "$ac_c_werror_flag" ||
26568 test ! -s conftest.err
26569 } && test -s conftest$ac_exeext &&
26570 $as_test_x conftest$ac_exeext; then
26571 eval "$as_ac_var=yes"
26572 else
26573 echo "$as_me: failed program was:" >&5
26574 sed 's/^/| /' conftest.$ac_ext >&5
26575
26576 eval "$as_ac_var=no"
26577 fi
26578
26579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26580 conftest$ac_exeext conftest.$ac_ext
26581 fi
26582 ac_res=`eval echo '${'$as_ac_var'}'`
26583 { echo "$as_me:$LINENO: result: $ac_res" >&5
26584 echo "${ECHO_T}$ac_res" >&6; }
26585 if test `eval echo '${'$as_ac_var'}'` = yes; then
26586 cat >>confdefs.h <<_ACEOF
26587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26588 _ACEOF
26589
26590 fi
26591 done
26592
26593 fi
26594
26595
26596
26597 if test "x$ac_cv_func_regcomp" != "xyes"; then
26598 if test "$wxUSE_REGEX" = "sys" ; then
26599 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26600 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26601 { (exit 1); exit 1; }; }
26602 else
26603 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26604 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26605 wxUSE_REGEX=builtin
26606 fi
26607 else
26608 wxUSE_REGEX=sys
26609 cat >>confdefs.h <<\_ACEOF
26610 #define WX_NO_REGEX_ADVANCED 1
26611 _ACEOF
26612
26613 fi
26614 fi
26615 fi
26616
26617
26618 ZLIB_LINK=
26619 if test "$wxUSE_ZLIB" != "no" ; then
26620 cat >>confdefs.h <<\_ACEOF
26621 #define wxUSE_ZLIB 1
26622 _ACEOF
26623
26624
26625 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26626 if test "$USE_DARWIN" = 1; then
26627 system_zlib_h_ok="yes"
26628 else
26629 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26630 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26631 if test "${ac_cv_header_zlib_h+set}" = set; then
26632 echo $ECHO_N "(cached) $ECHO_C" >&6
26633 else
26634 if test "$cross_compiling" = yes; then
26635 unset ac_cv_header_zlib_h
26636
26637 else
26638 cat >conftest.$ac_ext <<_ACEOF
26639 /* confdefs.h. */
26640 _ACEOF
26641 cat confdefs.h >>conftest.$ac_ext
26642 cat >>conftest.$ac_ext <<_ACEOF
26643 /* end confdefs.h. */
26644
26645 #include <zlib.h>
26646 #include <stdio.h>
26647
26648 int main()
26649 {
26650 FILE *f=fopen("conftestval", "w");
26651 if (!f) exit(1);
26652 fprintf(f, "%s",
26653 ZLIB_VERSION[0] == '1' &&
26654 (ZLIB_VERSION[2] > '1' ||
26655 (ZLIB_VERSION[2] == '1' &&
26656 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26657 exit(0);
26658 }
26659
26660 _ACEOF
26661 rm -f conftest$ac_exeext
26662 if { (ac_try="$ac_link"
26663 case "(($ac_try" in
26664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26665 *) ac_try_echo=$ac_try;;
26666 esac
26667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26668 (eval "$ac_link") 2>&5
26669 ac_status=$?
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
26678 ac_status=$?
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; }; then
26681 ac_cv_header_zlib_h=`cat conftestval`
26682 else
26683 echo "$as_me: program exited with status $ac_status" >&5
26684 echo "$as_me: failed program was:" >&5
26685 sed 's/^/| /' conftest.$ac_ext >&5
26686
26687 ( exit $ac_status )
26688 ac_cv_header_zlib_h=no
26689 fi
26690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26691 fi
26692
26693
26694
26695 fi
26696 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26697 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26698 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26699 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26700 if test "${ac_cv_header_zlib_h+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26703 cat >conftest.$ac_ext <<_ACEOF
26704 /* confdefs.h. */
26705 _ACEOF
26706 cat confdefs.h >>conftest.$ac_ext
26707 cat >>conftest.$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26709
26710
26711 #include <zlib.h>
26712 _ACEOF
26713 rm -f conftest.$ac_objext
26714 if { (ac_try="$ac_compile"
26715 case "(($ac_try" in
26716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26717 *) ac_try_echo=$ac_try;;
26718 esac
26719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26720 (eval "$ac_compile") 2>conftest.er1
26721 ac_status=$?
26722 grep -v '^ *+' conftest.er1 >conftest.err
26723 rm -f conftest.er1
26724 cat conftest.err >&5
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } && {
26727 test -z "$ac_c_werror_flag" ||
26728 test ! -s conftest.err
26729 } && test -s conftest.$ac_objext; then
26730 ac_cv_header_zlib_h=yes
26731 else
26732 echo "$as_me: failed program was:" >&5
26733 sed 's/^/| /' conftest.$ac_ext >&5
26734
26735 ac_cv_header_zlib_h=no
26736 fi
26737
26738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26739 fi
26740 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26741 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26742
26743
26744
26745 system_zlib_h_ok=$ac_cv_header_zlib_h
26746 fi
26747
26748 if test "$system_zlib_h_ok" = "yes"; then
26749 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26750 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26751 if test "${ac_cv_lib_z_deflate+set}" = set; then
26752 echo $ECHO_N "(cached) $ECHO_C" >&6
26753 else
26754 ac_check_lib_save_LIBS=$LIBS
26755 LIBS="-lz $LIBS"
26756 cat >conftest.$ac_ext <<_ACEOF
26757 /* confdefs.h. */
26758 _ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26762
26763 /* Override any GCC internal prototype to avoid an error.
26764 Use char because int might match the return type of a GCC
26765 builtin and then its argument prototype would still apply. */
26766 #ifdef __cplusplus
26767 extern "C"
26768 #endif
26769 char deflate ();
26770 int
26771 main ()
26772 {
26773 return deflate ();
26774 ;
26775 return 0;
26776 }
26777 _ACEOF
26778 rm -f conftest.$ac_objext conftest$ac_exeext
26779 if { (ac_try="$ac_link"
26780 case "(($ac_try" in
26781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26782 *) ac_try_echo=$ac_try;;
26783 esac
26784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26785 (eval "$ac_link") 2>conftest.er1
26786 ac_status=$?
26787 grep -v '^ *+' conftest.er1 >conftest.err
26788 rm -f conftest.er1
26789 cat conftest.err >&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); } && {
26792 test -z "$ac_c_werror_flag" ||
26793 test ! -s conftest.err
26794 } && test -s conftest$ac_exeext &&
26795 $as_test_x conftest$ac_exeext; then
26796 ac_cv_lib_z_deflate=yes
26797 else
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26800
26801 ac_cv_lib_z_deflate=no
26802 fi
26803
26804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26805 conftest$ac_exeext conftest.$ac_ext
26806 LIBS=$ac_check_lib_save_LIBS
26807 fi
26808 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26809 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26810 if test $ac_cv_lib_z_deflate = yes; then
26811 ZLIB_LINK=" -lz"
26812 fi
26813
26814 fi
26815
26816 if test "x$ZLIB_LINK" = "x" ; then
26817 if test "$wxUSE_ZLIB" = "sys" ; then
26818 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26819 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26820 { (exit 1); exit 1; }; }
26821 else
26822 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26823 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26824 wxUSE_ZLIB=builtin
26825 fi
26826 else
26827 wxUSE_ZLIB=sys
26828 fi
26829 fi
26830 fi
26831
26832
26833 PNG_LINK=
26834 if test "$wxUSE_LIBPNG" != "no" ; then
26835 cat >>confdefs.h <<\_ACEOF
26836 #define wxUSE_LIBPNG 1
26837 _ACEOF
26838
26839
26840 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26841 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26842 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26843 wxUSE_LIBPNG=sys
26844 fi
26845
26846 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26847 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26848 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26849 wxUSE_LIBPNG=builtin
26850 fi
26851
26852 if test "$wxUSE_MGL" != 1 ; then
26853 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26854 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26855 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26856 if test "${ac_cv_header_png_h+set}" = set; then
26857 echo $ECHO_N "(cached) $ECHO_C" >&6
26858 else
26859 if test "$cross_compiling" = yes; then
26860 unset ac_cv_header_png_h
26861
26862 else
26863 cat >conftest.$ac_ext <<_ACEOF
26864 /* confdefs.h. */
26865 _ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26869
26870 #include <png.h>
26871 #include <stdio.h>
26872
26873 int main()
26874 {
26875 FILE *f=fopen("conftestval", "w");
26876 if (!f) exit(1);
26877 fprintf(f, "%s",
26878 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26879 exit(0);
26880 }
26881
26882 _ACEOF
26883 rm -f conftest$ac_exeext
26884 if { (ac_try="$ac_link"
26885 case "(($ac_try" in
26886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26887 *) ac_try_echo=$ac_try;;
26888 esac
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_link") 2>&5
26891 ac_status=$?
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26894 { (case "(($ac_try" in
26895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26896 *) ac_try_echo=$ac_try;;
26897 esac
26898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26899 (eval "$ac_try") 2>&5
26900 ac_status=$?
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); }; }; then
26903 ac_cv_header_png_h=`cat conftestval`
26904 else
26905 echo "$as_me: program exited with status $ac_status" >&5
26906 echo "$as_me: failed program was:" >&5
26907 sed 's/^/| /' conftest.$ac_ext >&5
26908
26909 ( exit $ac_status )
26910 ac_cv_header_png_h=no
26911 fi
26912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26913 fi
26914
26915
26916
26917 fi
26918 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26919 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26920 { echo "$as_me:$LINENO: checking for png.h" >&5
26921 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26922 if test "${ac_cv_header_png_h+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 else
26925 cat >conftest.$ac_ext <<_ACEOF
26926 /* confdefs.h. */
26927 _ACEOF
26928 cat confdefs.h >>conftest.$ac_ext
26929 cat >>conftest.$ac_ext <<_ACEOF
26930 /* end confdefs.h. */
26931
26932
26933 #include <png.h>
26934 _ACEOF
26935 rm -f conftest.$ac_objext
26936 if { (ac_try="$ac_compile"
26937 case "(($ac_try" in
26938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26939 *) ac_try_echo=$ac_try;;
26940 esac
26941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26942 (eval "$ac_compile") 2>conftest.er1
26943 ac_status=$?
26944 grep -v '^ *+' conftest.er1 >conftest.err
26945 rm -f conftest.er1
26946 cat conftest.err >&5
26947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26948 (exit $ac_status); } && {
26949 test -z "$ac_c_werror_flag" ||
26950 test ! -s conftest.err
26951 } && test -s conftest.$ac_objext; then
26952 ac_cv_header_png_h=yes
26953 else
26954 echo "$as_me: failed program was:" >&5
26955 sed 's/^/| /' conftest.$ac_ext >&5
26956
26957 ac_cv_header_png_h=no
26958 fi
26959
26960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26961 fi
26962 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26963 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26964
26965
26966
26967 if test "$ac_cv_header_png_h" = "yes"; then
26968 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26969 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26970 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26971 echo $ECHO_N "(cached) $ECHO_C" >&6
26972 else
26973 ac_check_lib_save_LIBS=$LIBS
26974 LIBS="-lpng -lz -lm $LIBS"
26975 cat >conftest.$ac_ext <<_ACEOF
26976 /* confdefs.h. */
26977 _ACEOF
26978 cat confdefs.h >>conftest.$ac_ext
26979 cat >>conftest.$ac_ext <<_ACEOF
26980 /* end confdefs.h. */
26981
26982 /* Override any GCC internal prototype to avoid an error.
26983 Use char because int might match the return type of a GCC
26984 builtin and then its argument prototype would still apply. */
26985 #ifdef __cplusplus
26986 extern "C"
26987 #endif
26988 char png_check_sig ();
26989 int
26990 main ()
26991 {
26992 return png_check_sig ();
26993 ;
26994 return 0;
26995 }
26996 _ACEOF
26997 rm -f conftest.$ac_objext conftest$ac_exeext
26998 if { (ac_try="$ac_link"
26999 case "(($ac_try" in
27000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27001 *) ac_try_echo=$ac_try;;
27002 esac
27003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27004 (eval "$ac_link") 2>conftest.er1
27005 ac_status=$?
27006 grep -v '^ *+' conftest.er1 >conftest.err
27007 rm -f conftest.er1
27008 cat conftest.err >&5
27009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010 (exit $ac_status); } && {
27011 test -z "$ac_c_werror_flag" ||
27012 test ! -s conftest.err
27013 } && test -s conftest$ac_exeext &&
27014 $as_test_x conftest$ac_exeext; then
27015 ac_cv_lib_png_png_check_sig=yes
27016 else
27017 echo "$as_me: failed program was:" >&5
27018 sed 's/^/| /' conftest.$ac_ext >&5
27019
27020 ac_cv_lib_png_png_check_sig=no
27021 fi
27022
27023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27024 conftest$ac_exeext conftest.$ac_ext
27025 LIBS=$ac_check_lib_save_LIBS
27026 fi
27027 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27028 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27029 if test $ac_cv_lib_png_png_check_sig = yes; then
27030 PNG_LINK=" -lpng -lz"
27031 fi
27032
27033 fi
27034
27035 if test "x$PNG_LINK" = "x" ; then
27036 if test "$wxUSE_LIBPNG" = "sys" ; then
27037 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27038 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27039 { (exit 1); exit 1; }; }
27040 else
27041 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27042 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27043 wxUSE_LIBPNG=builtin
27044 fi
27045 else
27046 wxUSE_LIBPNG=sys
27047 fi
27048 fi
27049 fi
27050 fi
27051
27052
27053 JPEG_LINK=
27054 if test "$wxUSE_LIBJPEG" != "no" ; then
27055 cat >>confdefs.h <<\_ACEOF
27056 #define wxUSE_LIBJPEG 1
27057 _ACEOF
27058
27059
27060 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27061 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27062 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27063 wxUSE_LIBJPEG=sys
27064 fi
27065
27066 if test "$wxUSE_MGL" != 1 ; then
27067 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27068 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27069 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27070 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27071 echo $ECHO_N "(cached) $ECHO_C" >&6
27072 else
27073 cat >conftest.$ac_ext <<_ACEOF
27074 /* confdefs.h. */
27075 _ACEOF
27076 cat confdefs.h >>conftest.$ac_ext
27077 cat >>conftest.$ac_ext <<_ACEOF
27078 /* end confdefs.h. */
27079
27080 #undef HAVE_STDLIB_H
27081 #include <stdio.h>
27082 #include <jpeglib.h>
27083
27084 int
27085 main ()
27086 {
27087
27088
27089 ;
27090 return 0;
27091 }
27092 _ACEOF
27093 rm -f conftest.$ac_objext
27094 if { (ac_try="$ac_compile"
27095 case "(($ac_try" in
27096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27097 *) ac_try_echo=$ac_try;;
27098 esac
27099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27100 (eval "$ac_compile") 2>conftest.er1
27101 ac_status=$?
27102 grep -v '^ *+' conftest.er1 >conftest.err
27103 rm -f conftest.er1
27104 cat conftest.err >&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); } && {
27107 test -z "$ac_c_werror_flag" ||
27108 test ! -s conftest.err
27109 } && test -s conftest.$ac_objext; then
27110 ac_cv_header_jpeglib_h=yes
27111 else
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.$ac_ext >&5
27114
27115 ac_cv_header_jpeglib_h=no
27116
27117 fi
27118
27119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27120
27121 fi
27122
27123 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27124 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27125
27126 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27127 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27128 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27129 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27130 echo $ECHO_N "(cached) $ECHO_C" >&6
27131 else
27132 ac_check_lib_save_LIBS=$LIBS
27133 LIBS="-ljpeg $LIBS"
27134 cat >conftest.$ac_ext <<_ACEOF
27135 /* confdefs.h. */
27136 _ACEOF
27137 cat confdefs.h >>conftest.$ac_ext
27138 cat >>conftest.$ac_ext <<_ACEOF
27139 /* end confdefs.h. */
27140
27141 /* Override any GCC internal prototype to avoid an error.
27142 Use char because int might match the return type of a GCC
27143 builtin and then its argument prototype would still apply. */
27144 #ifdef __cplusplus
27145 extern "C"
27146 #endif
27147 char jpeg_read_header ();
27148 int
27149 main ()
27150 {
27151 return jpeg_read_header ();
27152 ;
27153 return 0;
27154 }
27155 _ACEOF
27156 rm -f conftest.$ac_objext conftest$ac_exeext
27157 if { (ac_try="$ac_link"
27158 case "(($ac_try" in
27159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27160 *) ac_try_echo=$ac_try;;
27161 esac
27162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27163 (eval "$ac_link") 2>conftest.er1
27164 ac_status=$?
27165 grep -v '^ *+' conftest.er1 >conftest.err
27166 rm -f conftest.er1
27167 cat conftest.err >&5
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); } && {
27170 test -z "$ac_c_werror_flag" ||
27171 test ! -s conftest.err
27172 } && test -s conftest$ac_exeext &&
27173 $as_test_x conftest$ac_exeext; then
27174 ac_cv_lib_jpeg_jpeg_read_header=yes
27175 else
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.$ac_ext >&5
27178
27179 ac_cv_lib_jpeg_jpeg_read_header=no
27180 fi
27181
27182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27183 conftest$ac_exeext conftest.$ac_ext
27184 LIBS=$ac_check_lib_save_LIBS
27185 fi
27186 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27187 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27188 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27189 JPEG_LINK=" -ljpeg"
27190 fi
27191
27192 fi
27193
27194 if test "x$JPEG_LINK" = "x" ; then
27195 if test "$wxUSE_LIBJPEG" = "sys" ; then
27196 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27197 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27198 { (exit 1); exit 1; }; }
27199 else
27200 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27201 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27202 wxUSE_LIBJPEG=builtin
27203 fi
27204 else
27205 wxUSE_LIBJPEG=sys
27206
27207 if test "$wxUSE_MSW" = 1; then
27208 { echo "$as_me:$LINENO: checking for boolean" >&5
27209 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27210 if test "${ac_cv_type_boolean+set}" = set; then
27211 echo $ECHO_N "(cached) $ECHO_C" >&6
27212 else
27213 cat >conftest.$ac_ext <<_ACEOF
27214 /* confdefs.h. */
27215 _ACEOF
27216 cat confdefs.h >>conftest.$ac_ext
27217 cat >>conftest.$ac_ext <<_ACEOF
27218 /* end confdefs.h. */
27219 #include <windows.h>
27220
27221 typedef boolean ac__type_new_;
27222 int
27223 main ()
27224 {
27225 if ((ac__type_new_ *) 0)
27226 return 0;
27227 if (sizeof (ac__type_new_))
27228 return 0;
27229 ;
27230 return 0;
27231 }
27232 _ACEOF
27233 rm -f conftest.$ac_objext
27234 if { (ac_try="$ac_compile"
27235 case "(($ac_try" in
27236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27237 *) ac_try_echo=$ac_try;;
27238 esac
27239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27240 (eval "$ac_compile") 2>conftest.er1
27241 ac_status=$?
27242 grep -v '^ *+' conftest.er1 >conftest.err
27243 rm -f conftest.er1
27244 cat conftest.err >&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } && {
27247 test -z "$ac_c_werror_flag" ||
27248 test ! -s conftest.err
27249 } && test -s conftest.$ac_objext; then
27250 ac_cv_type_boolean=yes
27251 else
27252 echo "$as_me: failed program was:" >&5
27253 sed 's/^/| /' conftest.$ac_ext >&5
27254
27255 ac_cv_type_boolean=no
27256 fi
27257
27258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27259 fi
27260 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27261 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27262 if test $ac_cv_type_boolean = yes; then
27263
27264 cat >>confdefs.h <<_ACEOF
27265 #define HAVE_BOOLEAN 1
27266 _ACEOF
27267
27268
27269 { echo "$as_me:$LINENO: checking for boolean" >&5
27270 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27271 if test "${ac_cv_type_boolean+set}" = set; then
27272 echo $ECHO_N "(cached) $ECHO_C" >&6
27273 else
27274 cat >conftest.$ac_ext <<_ACEOF
27275 /* confdefs.h. */
27276 _ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27280
27281 #undef HAVE_BOOLEAN
27282 #include <stdio.h>
27283 #include <jpeglib.h>
27284
27285
27286 typedef boolean ac__type_new_;
27287 int
27288 main ()
27289 {
27290 if ((ac__type_new_ *) 0)
27291 return 0;
27292 if (sizeof (ac__type_new_))
27293 return 0;
27294 ;
27295 return 0;
27296 }
27297 _ACEOF
27298 rm -f conftest.$ac_objext
27299 if { (ac_try="$ac_compile"
27300 case "(($ac_try" in
27301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27302 *) ac_try_echo=$ac_try;;
27303 esac
27304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27305 (eval "$ac_compile") 2>conftest.er1
27306 ac_status=$?
27307 grep -v '^ *+' conftest.er1 >conftest.err
27308 rm -f conftest.er1
27309 cat conftest.err >&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); } && {
27312 test -z "$ac_c_werror_flag" ||
27313 test ! -s conftest.err
27314 } && test -s conftest.$ac_objext; then
27315 ac_cv_type_boolean=yes
27316 else
27317 echo "$as_me: failed program was:" >&5
27318 sed 's/^/| /' conftest.$ac_ext >&5
27319
27320 ac_cv_type_boolean=no
27321 fi
27322
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 fi
27325 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27326 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27327
27328 # The cast to long int works around a bug in the HP C Compiler
27329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27331 # This bug is HP SR number 8606223364.
27332 { echo "$as_me:$LINENO: checking size of boolean" >&5
27333 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27334 if test "${ac_cv_sizeof_boolean+set}" = set; then
27335 echo $ECHO_N "(cached) $ECHO_C" >&6
27336 else
27337 if test "$cross_compiling" = yes; then
27338 # Depending upon the size, compute the lo and hi bounds.
27339 cat >conftest.$ac_ext <<_ACEOF
27340 /* confdefs.h. */
27341 _ACEOF
27342 cat confdefs.h >>conftest.$ac_ext
27343 cat >>conftest.$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27345
27346 #undef HAVE_BOOLEAN
27347 #include <stdio.h>
27348 #include <jpeglib.h>
27349
27350
27351 typedef boolean ac__type_sizeof_;
27352 int
27353 main ()
27354 {
27355 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27356 test_array [0] = 0
27357
27358 ;
27359 return 0;
27360 }
27361 _ACEOF
27362 rm -f conftest.$ac_objext
27363 if { (ac_try="$ac_compile"
27364 case "(($ac_try" in
27365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27366 *) ac_try_echo=$ac_try;;
27367 esac
27368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27369 (eval "$ac_compile") 2>conftest.er1
27370 ac_status=$?
27371 grep -v '^ *+' conftest.er1 >conftest.err
27372 rm -f conftest.er1
27373 cat conftest.err >&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } && {
27376 test -z "$ac_c_werror_flag" ||
27377 test ! -s conftest.err
27378 } && test -s conftest.$ac_objext; then
27379 ac_lo=0 ac_mid=0
27380 while :; do
27381 cat >conftest.$ac_ext <<_ACEOF
27382 /* confdefs.h. */
27383 _ACEOF
27384 cat confdefs.h >>conftest.$ac_ext
27385 cat >>conftest.$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387
27388 #undef HAVE_BOOLEAN
27389 #include <stdio.h>
27390 #include <jpeglib.h>
27391
27392
27393 typedef boolean ac__type_sizeof_;
27394 int
27395 main ()
27396 {
27397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27398 test_array [0] = 0
27399
27400 ;
27401 return 0;
27402 }
27403 _ACEOF
27404 rm -f conftest.$ac_objext
27405 if { (ac_try="$ac_compile"
27406 case "(($ac_try" in
27407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27408 *) ac_try_echo=$ac_try;;
27409 esac
27410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27411 (eval "$ac_compile") 2>conftest.er1
27412 ac_status=$?
27413 grep -v '^ *+' conftest.er1 >conftest.err
27414 rm -f conftest.er1
27415 cat conftest.err >&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } && {
27418 test -z "$ac_c_werror_flag" ||
27419 test ! -s conftest.err
27420 } && test -s conftest.$ac_objext; then
27421 ac_hi=$ac_mid; break
27422 else
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.$ac_ext >&5
27425
27426 ac_lo=`expr $ac_mid + 1`
27427 if test $ac_lo -le $ac_mid; then
27428 ac_lo= ac_hi=
27429 break
27430 fi
27431 ac_mid=`expr 2 '*' $ac_mid + 1`
27432 fi
27433
27434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27435 done
27436 else
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.$ac_ext >&5
27439
27440 cat >conftest.$ac_ext <<_ACEOF
27441 /* confdefs.h. */
27442 _ACEOF
27443 cat confdefs.h >>conftest.$ac_ext
27444 cat >>conftest.$ac_ext <<_ACEOF
27445 /* end confdefs.h. */
27446
27447 #undef HAVE_BOOLEAN
27448 #include <stdio.h>
27449 #include <jpeglib.h>
27450
27451
27452 typedef boolean ac__type_sizeof_;
27453 int
27454 main ()
27455 {
27456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27457 test_array [0] = 0
27458
27459 ;
27460 return 0;
27461 }
27462 _ACEOF
27463 rm -f conftest.$ac_objext
27464 if { (ac_try="$ac_compile"
27465 case "(($ac_try" in
27466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27467 *) ac_try_echo=$ac_try;;
27468 esac
27469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27470 (eval "$ac_compile") 2>conftest.er1
27471 ac_status=$?
27472 grep -v '^ *+' conftest.er1 >conftest.err
27473 rm -f conftest.er1
27474 cat conftest.err >&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); } && {
27477 test -z "$ac_c_werror_flag" ||
27478 test ! -s conftest.err
27479 } && test -s conftest.$ac_objext; then
27480 ac_hi=-1 ac_mid=-1
27481 while :; do
27482 cat >conftest.$ac_ext <<_ACEOF
27483 /* confdefs.h. */
27484 _ACEOF
27485 cat confdefs.h >>conftest.$ac_ext
27486 cat >>conftest.$ac_ext <<_ACEOF
27487 /* end confdefs.h. */
27488
27489 #undef HAVE_BOOLEAN
27490 #include <stdio.h>
27491 #include <jpeglib.h>
27492
27493
27494 typedef boolean ac__type_sizeof_;
27495 int
27496 main ()
27497 {
27498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27499 test_array [0] = 0
27500
27501 ;
27502 return 0;
27503 }
27504 _ACEOF
27505 rm -f conftest.$ac_objext
27506 if { (ac_try="$ac_compile"
27507 case "(($ac_try" in
27508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27509 *) ac_try_echo=$ac_try;;
27510 esac
27511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27512 (eval "$ac_compile") 2>conftest.er1
27513 ac_status=$?
27514 grep -v '^ *+' conftest.er1 >conftest.err
27515 rm -f conftest.er1
27516 cat conftest.err >&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } && {
27519 test -z "$ac_c_werror_flag" ||
27520 test ! -s conftest.err
27521 } && test -s conftest.$ac_objext; then
27522 ac_lo=$ac_mid; break
27523 else
27524 echo "$as_me: failed program was:" >&5
27525 sed 's/^/| /' conftest.$ac_ext >&5
27526
27527 ac_hi=`expr '(' $ac_mid ')' - 1`
27528 if test $ac_mid -le $ac_hi; then
27529 ac_lo= ac_hi=
27530 break
27531 fi
27532 ac_mid=`expr 2 '*' $ac_mid`
27533 fi
27534
27535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27536 done
27537 else
27538 echo "$as_me: failed program was:" >&5
27539 sed 's/^/| /' conftest.$ac_ext >&5
27540
27541 ac_lo= ac_hi=
27542 fi
27543
27544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27545 fi
27546
27547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27548 # Binary search between lo and hi bounds.
27549 while test "x$ac_lo" != "x$ac_hi"; do
27550 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27551 cat >conftest.$ac_ext <<_ACEOF
27552 /* confdefs.h. */
27553 _ACEOF
27554 cat confdefs.h >>conftest.$ac_ext
27555 cat >>conftest.$ac_ext <<_ACEOF
27556 /* end confdefs.h. */
27557
27558 #undef HAVE_BOOLEAN
27559 #include <stdio.h>
27560 #include <jpeglib.h>
27561
27562
27563 typedef boolean ac__type_sizeof_;
27564 int
27565 main ()
27566 {
27567 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27568 test_array [0] = 0
27569
27570 ;
27571 return 0;
27572 }
27573 _ACEOF
27574 rm -f conftest.$ac_objext
27575 if { (ac_try="$ac_compile"
27576 case "(($ac_try" in
27577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27578 *) ac_try_echo=$ac_try;;
27579 esac
27580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27581 (eval "$ac_compile") 2>conftest.er1
27582 ac_status=$?
27583 grep -v '^ *+' conftest.er1 >conftest.err
27584 rm -f conftest.er1
27585 cat conftest.err >&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } && {
27588 test -z "$ac_c_werror_flag" ||
27589 test ! -s conftest.err
27590 } && test -s conftest.$ac_objext; then
27591 ac_hi=$ac_mid
27592 else
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.$ac_ext >&5
27595
27596 ac_lo=`expr '(' $ac_mid ')' + 1`
27597 fi
27598
27599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27600 done
27601 case $ac_lo in
27602 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27603 '') if test "$ac_cv_type_boolean" = yes; then
27604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27605 See \`config.log' for more details." >&5
27606 echo "$as_me: error: cannot compute sizeof (boolean)
27607 See \`config.log' for more details." >&2;}
27608 { (exit 77); exit 77; }; }
27609 else
27610 ac_cv_sizeof_boolean=0
27611 fi ;;
27612 esac
27613 else
27614 cat >conftest.$ac_ext <<_ACEOF
27615 /* confdefs.h. */
27616 _ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27620
27621 #undef HAVE_BOOLEAN
27622 #include <stdio.h>
27623 #include <jpeglib.h>
27624
27625
27626 typedef boolean ac__type_sizeof_;
27627 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27628 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27629 #include <stdio.h>
27630 #include <stdlib.h>
27631 int
27632 main ()
27633 {
27634
27635 FILE *f = fopen ("conftest.val", "w");
27636 if (! f)
27637 return 1;
27638 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27639 {
27640 long int i = longval ();
27641 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27642 return 1;
27643 fprintf (f, "%ld\n", i);
27644 }
27645 else
27646 {
27647 unsigned long int i = ulongval ();
27648 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27649 return 1;
27650 fprintf (f, "%lu\n", i);
27651 }
27652 return ferror (f) || fclose (f) != 0;
27653
27654 ;
27655 return 0;
27656 }
27657 _ACEOF
27658 rm -f conftest$ac_exeext
27659 if { (ac_try="$ac_link"
27660 case "(($ac_try" in
27661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27662 *) ac_try_echo=$ac_try;;
27663 esac
27664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27665 (eval "$ac_link") 2>&5
27666 ac_status=$?
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27669 { (case "(($ac_try" in
27670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27671 *) ac_try_echo=$ac_try;;
27672 esac
27673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27674 (eval "$ac_try") 2>&5
27675 ac_status=$?
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); }; }; then
27678 ac_cv_sizeof_boolean=`cat conftest.val`
27679 else
27680 echo "$as_me: program exited with status $ac_status" >&5
27681 echo "$as_me: failed program was:" >&5
27682 sed 's/^/| /' conftest.$ac_ext >&5
27683
27684 ( exit $ac_status )
27685 if test "$ac_cv_type_boolean" = yes; then
27686 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27687 See \`config.log' for more details." >&5
27688 echo "$as_me: error: cannot compute sizeof (boolean)
27689 See \`config.log' for more details." >&2;}
27690 { (exit 77); exit 77; }; }
27691 else
27692 ac_cv_sizeof_boolean=0
27693 fi
27694 fi
27695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27696 fi
27697 rm -f conftest.val
27698 fi
27699 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27700 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27701
27702
27703
27704 cat >>confdefs.h <<_ACEOF
27705 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27706 _ACEOF
27707
27708
27709 cat >>confdefs.h <<_ACEOF
27710 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27711 _ACEOF
27712
27713
27714 fi
27715
27716 fi
27717 fi
27718 fi
27719 fi
27720 fi
27721
27722
27723 TIFF_LINK=
27724 TIFF_PREREQ_LINKS=-lm
27725 if test "$wxUSE_LIBTIFF" != "no" ; then
27726 cat >>confdefs.h <<\_ACEOF
27727 #define wxUSE_LIBTIFF 1
27728 _ACEOF
27729
27730
27731 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27732 if test "$wxUSE_LIBJPEG" = "sys"; then
27733 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27734 fi
27735 if test "$wxUSE_ZLIB" = "sys"; then
27736 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27737 fi
27738 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27739 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27740 if test "${ac_cv_header_tiffio_h+set}" = set; then
27741 echo $ECHO_N "(cached) $ECHO_C" >&6
27742 else
27743 cat >conftest.$ac_ext <<_ACEOF
27744 /* confdefs.h. */
27745 _ACEOF
27746 cat confdefs.h >>conftest.$ac_ext
27747 cat >>conftest.$ac_ext <<_ACEOF
27748 /* end confdefs.h. */
27749
27750
27751
27752 #include <tiffio.h>
27753 _ACEOF
27754 rm -f conftest.$ac_objext
27755 if { (ac_try="$ac_compile"
27756 case "(($ac_try" in
27757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27758 *) ac_try_echo=$ac_try;;
27759 esac
27760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27761 (eval "$ac_compile") 2>conftest.er1
27762 ac_status=$?
27763 grep -v '^ *+' conftest.er1 >conftest.err
27764 rm -f conftest.er1
27765 cat conftest.err >&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } && {
27768 test -z "$ac_c_werror_flag" ||
27769 test ! -s conftest.err
27770 } && test -s conftest.$ac_objext; then
27771 ac_cv_header_tiffio_h=yes
27772 else
27773 echo "$as_me: failed program was:" >&5
27774 sed 's/^/| /' conftest.$ac_ext >&5
27775
27776 ac_cv_header_tiffio_h=no
27777 fi
27778
27779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27780 fi
27781 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27782 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27783 if test $ac_cv_header_tiffio_h = yes; then
27784
27785 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27786 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27787 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27788 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 else
27790 ac_check_lib_save_LIBS=$LIBS
27791 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27792 cat >conftest.$ac_ext <<_ACEOF
27793 /* confdefs.h. */
27794 _ACEOF
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h. */
27798
27799 /* Override any GCC internal prototype to avoid an error.
27800 Use char because int might match the return type of a GCC
27801 builtin and then its argument prototype would still apply. */
27802 #ifdef __cplusplus
27803 extern "C"
27804 #endif
27805 char TIFFError ();
27806 int
27807 main ()
27808 {
27809 return TIFFError ();
27810 ;
27811 return 0;
27812 }
27813 _ACEOF
27814 rm -f conftest.$ac_objext conftest$ac_exeext
27815 if { (ac_try="$ac_link"
27816 case "(($ac_try" in
27817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27818 *) ac_try_echo=$ac_try;;
27819 esac
27820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27821 (eval "$ac_link") 2>conftest.er1
27822 ac_status=$?
27823 grep -v '^ *+' conftest.er1 >conftest.err
27824 rm -f conftest.er1
27825 cat conftest.err >&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } && {
27828 test -z "$ac_c_werror_flag" ||
27829 test ! -s conftest.err
27830 } && test -s conftest$ac_exeext &&
27831 $as_test_x conftest$ac_exeext; then
27832 ac_cv_lib_tiff_TIFFError=yes
27833 else
27834 echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27836
27837 ac_cv_lib_tiff_TIFFError=no
27838 fi
27839
27840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27841 conftest$ac_exeext conftest.$ac_ext
27842 LIBS=$ac_check_lib_save_LIBS
27843 fi
27844 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27845 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27846 if test $ac_cv_lib_tiff_TIFFError = yes; then
27847 TIFF_LINK=" -ltiff"
27848 fi
27849
27850
27851 fi
27852
27853
27854
27855 if test "x$TIFF_LINK" = "x" ; then
27856 if test "$wxUSE_LIBTIFF" = "sys" ; then
27857 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27858 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27859 { (exit 1); exit 1; }; }
27860 else
27861 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27862 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27863 wxUSE_LIBTIFF=builtin
27864 fi
27865 else
27866 wxUSE_LIBTIFF=sys
27867 fi
27868 fi
27869 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27870 if test "$wxUSE_LIBJPEG" = "no"; then
27871 ac_configure_args="$ac_configure_args --disable-jpeg"
27872 fi
27873 subdirs="$subdirs src/tiff"
27874
27875 fi
27876 fi
27877
27878
27879 if test "$wxUSE_WCHAR_T" != "yes"; then
27880 if test "$wxUSE_EXPAT" != "no"; then
27881 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27882 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27883 wxUSE_EXPAT=no
27884 fi
27885 if test "$wxUSE_XML" != "no"; then
27886 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27887 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27888 wxUSE_XML=no
27889 fi
27890 fi
27891
27892 if test "$wxUSE_EXPAT" != "no"; then
27893 wxUSE_XML=yes
27894 cat >>confdefs.h <<\_ACEOF
27895 #define wxUSE_EXPAT 1
27896 _ACEOF
27897
27898 cat >>confdefs.h <<\_ACEOF
27899 #define wxUSE_XML 1
27900 _ACEOF
27901
27902
27903 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27904 { echo "$as_me:$LINENO: checking for expat.h" >&5
27905 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27906 if test "${ac_cv_header_expat_h+set}" = set; then
27907 echo $ECHO_N "(cached) $ECHO_C" >&6
27908 else
27909 cat >conftest.$ac_ext <<_ACEOF
27910 /* confdefs.h. */
27911 _ACEOF
27912 cat confdefs.h >>conftest.$ac_ext
27913 cat >>conftest.$ac_ext <<_ACEOF
27914 /* end confdefs.h. */
27915
27916
27917 #include <expat.h>
27918 _ACEOF
27919 rm -f conftest.$ac_objext
27920 if { (ac_try="$ac_compile"
27921 case "(($ac_try" in
27922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27923 *) ac_try_echo=$ac_try;;
27924 esac
27925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27926 (eval "$ac_compile") 2>conftest.er1
27927 ac_status=$?
27928 grep -v '^ *+' conftest.er1 >conftest.err
27929 rm -f conftest.er1
27930 cat conftest.err >&5
27931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27932 (exit $ac_status); } && {
27933 test -z "$ac_c_werror_flag" ||
27934 test ! -s conftest.err
27935 } && test -s conftest.$ac_objext; then
27936 ac_cv_header_expat_h=yes
27937 else
27938 echo "$as_me: failed program was:" >&5
27939 sed 's/^/| /' conftest.$ac_ext >&5
27940
27941 ac_cv_header_expat_h=no
27942 fi
27943
27944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27945 fi
27946 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27947 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27948 if test $ac_cv_header_expat_h = yes; then
27949 found_expat_h=1
27950 fi
27951
27952
27953 if test "x$found_expat_h" = "x1"; then
27954 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27955 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27956 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959
27960 ac_ext=cpp
27961 ac_cpp='$CXXCPP $CPPFLAGS'
27962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27965
27966 cat >conftest.$ac_ext <<_ACEOF
27967 /* confdefs.h. */
27968 _ACEOF
27969 cat confdefs.h >>conftest.$ac_ext
27970 cat >>conftest.$ac_ext <<_ACEOF
27971 /* end confdefs.h. */
27972 #include <expat.h>
27973 int
27974 main ()
27975 {
27976
27977 ;
27978 return 0;
27979 }
27980 _ACEOF
27981 rm -f conftest.$ac_objext
27982 if { (ac_try="$ac_compile"
27983 case "(($ac_try" in
27984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27985 *) ac_try_echo=$ac_try;;
27986 esac
27987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_compile") 2>conftest.er1
27989 ac_status=$?
27990 grep -v '^ *+' conftest.er1 >conftest.err
27991 rm -f conftest.er1
27992 cat conftest.err >&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } && {
27995 test -z "$ac_cxx_werror_flag" ||
27996 test ! -s conftest.err
27997 } && test -s conftest.$ac_objext; then
27998 wx_cv_expat_is_not_broken=yes
27999 else
28000 echo "$as_me: failed program was:" >&5
28001 sed 's/^/| /' conftest.$ac_ext >&5
28002
28003 wx_cv_expat_is_not_broken=no
28004
28005 fi
28006
28007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28008 ac_ext=c
28009 ac_cpp='$CPP $CPPFLAGS'
28010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28013
28014
28015
28016 fi
28017 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28018 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28019 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28020 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28021 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28022 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28023 echo $ECHO_N "(cached) $ECHO_C" >&6
28024 else
28025 ac_check_lib_save_LIBS=$LIBS
28026 LIBS="-lexpat $LIBS"
28027 cat >conftest.$ac_ext <<_ACEOF
28028 /* confdefs.h. */
28029 _ACEOF
28030 cat confdefs.h >>conftest.$ac_ext
28031 cat >>conftest.$ac_ext <<_ACEOF
28032 /* end confdefs.h. */
28033
28034 /* Override any GCC internal prototype to avoid an error.
28035 Use char because int might match the return type of a GCC
28036 builtin and then its argument prototype would still apply. */
28037 #ifdef __cplusplus
28038 extern "C"
28039 #endif
28040 char XML_ParserCreate ();
28041 int
28042 main ()
28043 {
28044 return XML_ParserCreate ();
28045 ;
28046 return 0;
28047 }
28048 _ACEOF
28049 rm -f conftest.$ac_objext conftest$ac_exeext
28050 if { (ac_try="$ac_link"
28051 case "(($ac_try" in
28052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28053 *) ac_try_echo=$ac_try;;
28054 esac
28055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28056 (eval "$ac_link") 2>conftest.er1
28057 ac_status=$?
28058 grep -v '^ *+' conftest.er1 >conftest.err
28059 rm -f conftest.er1
28060 cat conftest.err >&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); } && {
28063 test -z "$ac_c_werror_flag" ||
28064 test ! -s conftest.err
28065 } && test -s conftest$ac_exeext &&
28066 $as_test_x conftest$ac_exeext; then
28067 ac_cv_lib_expat_XML_ParserCreate=yes
28068 else
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.$ac_ext >&5
28071
28072 ac_cv_lib_expat_XML_ParserCreate=no
28073 fi
28074
28075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28076 conftest$ac_exeext conftest.$ac_ext
28077 LIBS=$ac_check_lib_save_LIBS
28078 fi
28079 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28080 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28081 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28082 EXPAT_LINK=" -lexpat"
28083 fi
28084
28085 fi
28086 fi
28087 if test "x$EXPAT_LINK" = "x" ; then
28088 if test "$wxUSE_EXPAT" = "sys" ; then
28089 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28090 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28091 { (exit 1); exit 1; }; }
28092 else
28093 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28094 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28095 wxUSE_EXPAT=builtin
28096 fi
28097 else
28098 wxUSE_EXPAT=sys
28099 fi
28100 fi
28101 if test "$wxUSE_EXPAT" = "builtin" ; then
28102 subdirs="$subdirs src/expat"
28103
28104 fi
28105 fi
28106
28107
28108
28109 if test "$wxUSE_LIBMSPACK" != "no"; then
28110 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28111 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28112 if test "${ac_cv_header_mspack_h+set}" = set; then
28113 echo $ECHO_N "(cached) $ECHO_C" >&6
28114 else
28115 cat >conftest.$ac_ext <<_ACEOF
28116 /* confdefs.h. */
28117 _ACEOF
28118 cat confdefs.h >>conftest.$ac_ext
28119 cat >>conftest.$ac_ext <<_ACEOF
28120 /* end confdefs.h. */
28121
28122
28123 #include <mspack.h>
28124 _ACEOF
28125 rm -f conftest.$ac_objext
28126 if { (ac_try="$ac_compile"
28127 case "(($ac_try" in
28128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28129 *) ac_try_echo=$ac_try;;
28130 esac
28131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28132 (eval "$ac_compile") 2>conftest.er1
28133 ac_status=$?
28134 grep -v '^ *+' conftest.er1 >conftest.err
28135 rm -f conftest.er1
28136 cat conftest.err >&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); } && {
28139 test -z "$ac_c_werror_flag" ||
28140 test ! -s conftest.err
28141 } && test -s conftest.$ac_objext; then
28142 ac_cv_header_mspack_h=yes
28143 else
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28146
28147 ac_cv_header_mspack_h=no
28148 fi
28149
28150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28151 fi
28152 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28153 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28154 if test $ac_cv_header_mspack_h = yes; then
28155 found_mspack_h=1
28156 fi
28157
28158
28159 if test "x$found_mspack_h" = "x1"; then
28160 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28161 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28162 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28163 echo $ECHO_N "(cached) $ECHO_C" >&6
28164 else
28165 ac_check_lib_save_LIBS=$LIBS
28166 LIBS="-lmspack $LIBS"
28167 cat >conftest.$ac_ext <<_ACEOF
28168 /* confdefs.h. */
28169 _ACEOF
28170 cat confdefs.h >>conftest.$ac_ext
28171 cat >>conftest.$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28173
28174 /* Override any GCC internal prototype to avoid an error.
28175 Use char because int might match the return type of a GCC
28176 builtin and then its argument prototype would still apply. */
28177 #ifdef __cplusplus
28178 extern "C"
28179 #endif
28180 char mspack_create_chm_decompressor ();
28181 int
28182 main ()
28183 {
28184 return mspack_create_chm_decompressor ();
28185 ;
28186 return 0;
28187 }
28188 _ACEOF
28189 rm -f conftest.$ac_objext conftest$ac_exeext
28190 if { (ac_try="$ac_link"
28191 case "(($ac_try" in
28192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28193 *) ac_try_echo=$ac_try;;
28194 esac
28195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28196 (eval "$ac_link") 2>conftest.er1
28197 ac_status=$?
28198 grep -v '^ *+' conftest.er1 >conftest.err
28199 rm -f conftest.er1
28200 cat conftest.err >&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); } && {
28203 test -z "$ac_c_werror_flag" ||
28204 test ! -s conftest.err
28205 } && test -s conftest$ac_exeext &&
28206 $as_test_x conftest$ac_exeext; then
28207 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28208 else
28209 echo "$as_me: failed program was:" >&5
28210 sed 's/^/| /' conftest.$ac_ext >&5
28211
28212 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28213 fi
28214
28215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28216 conftest$ac_exeext conftest.$ac_ext
28217 LIBS=$ac_check_lib_save_LIBS
28218 fi
28219 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28220 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28221 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28222 MSPACK_LINK=" -lmspack"
28223 fi
28224
28225 fi
28226 if test "x$MSPACK_LINK" = "x" ; then
28227 wxUSE_LIBMSPACK=no
28228 fi
28229 fi
28230
28231 if test "$wxUSE_LIBMSPACK" != "no"; then
28232 cat >>confdefs.h <<\_ACEOF
28233 #define wxUSE_LIBMSPACK 1
28234 _ACEOF
28235
28236 fi
28237
28238
28239
28240 AFMINSTALL=
28241 WIN32INSTALL=
28242
28243 TOOLKIT=
28244 TOOLKIT_INCLUDE=
28245 WIDGET_SET=
28246
28247 if test "$USE_WIN32" = 1 ; then
28248
28249 for ac_header in w32api.h
28250 do
28251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28255 echo $ECHO_N "(cached) $ECHO_C" >&6
28256 else
28257 cat >conftest.$ac_ext <<_ACEOF
28258 /* confdefs.h. */
28259 _ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263
28264
28265 #include <$ac_header>
28266 _ACEOF
28267 rm -f conftest.$ac_objext
28268 if { (ac_try="$ac_compile"
28269 case "(($ac_try" in
28270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28271 *) ac_try_echo=$ac_try;;
28272 esac
28273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28274 (eval "$ac_compile") 2>conftest.er1
28275 ac_status=$?
28276 grep -v '^ *+' conftest.er1 >conftest.err
28277 rm -f conftest.er1
28278 cat conftest.err >&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); } && {
28281 test -z "$ac_c_werror_flag" ||
28282 test ! -s conftest.err
28283 } && test -s conftest.$ac_objext; then
28284 eval "$as_ac_Header=yes"
28285 else
28286 echo "$as_me: failed program was:" >&5
28287 sed 's/^/| /' conftest.$ac_ext >&5
28288
28289 eval "$as_ac_Header=no"
28290 fi
28291
28292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28293 fi
28294 ac_res=`eval echo '${'$as_ac_Header'}'`
28295 { echo "$as_me:$LINENO: result: $ac_res" >&5
28296 echo "${ECHO_T}$ac_res" >&6; }
28297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28298 cat >>confdefs.h <<_ACEOF
28299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28300 _ACEOF
28301
28302 fi
28303
28304 done
28305
28306 { echo "$as_me:$LINENO: checking for windows.h" >&5
28307 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28308 if test "${ac_cv_header_windows_h+set}" = set; then
28309 echo $ECHO_N "(cached) $ECHO_C" >&6
28310 else
28311 cat >conftest.$ac_ext <<_ACEOF
28312 /* confdefs.h. */
28313 _ACEOF
28314 cat confdefs.h >>conftest.$ac_ext
28315 cat >>conftest.$ac_ext <<_ACEOF
28316 /* end confdefs.h. */
28317
28318
28319 #include <windows.h>
28320 _ACEOF
28321 rm -f conftest.$ac_objext
28322 if { (ac_try="$ac_compile"
28323 case "(($ac_try" in
28324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28325 *) ac_try_echo=$ac_try;;
28326 esac
28327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28328 (eval "$ac_compile") 2>conftest.er1
28329 ac_status=$?
28330 grep -v '^ *+' conftest.er1 >conftest.err
28331 rm -f conftest.er1
28332 cat conftest.err >&5
28333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334 (exit $ac_status); } && {
28335 test -z "$ac_c_werror_flag" ||
28336 test ! -s conftest.err
28337 } && test -s conftest.$ac_objext; then
28338 ac_cv_header_windows_h=yes
28339 else
28340 echo "$as_me: failed program was:" >&5
28341 sed 's/^/| /' conftest.$ac_ext >&5
28342
28343 ac_cv_header_windows_h=no
28344 fi
28345
28346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28347 fi
28348 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28349 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28350 if test $ac_cv_header_windows_h = yes; then
28351 :
28352 else
28353
28354 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28355 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28356 { (exit 1); exit 1; }; }
28357
28358 fi
28359
28360
28361
28362 case "${host}" in
28363 x86_64-*-mingw32* )
28364 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28365 ;;
28366 * )
28367 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28368 ;;
28369 esac
28370 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28371 LIBS="$LIBS -loleacc"
28372 fi
28373
28374 case "${host}" in
28375 *-*-cygwin* )
28376 LIBS="$LIBS -lkernel32 -luser32"
28377 esac
28378
28379 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28380 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28381
28382 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28383
28384 WIN32INSTALL=win32install
28385
28386 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28387 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28388 if test "${ac_cv_header_pbt_h+set}" = set; then
28389 echo $ECHO_N "(cached) $ECHO_C" >&6
28390 else
28391 cat >conftest.$ac_ext <<_ACEOF
28392 /* confdefs.h. */
28393 _ACEOF
28394 cat confdefs.h >>conftest.$ac_ext
28395 cat >>conftest.$ac_ext <<_ACEOF
28396 /* end confdefs.h. */
28397
28398
28399 #include <pbt.h>
28400 _ACEOF
28401 rm -f conftest.$ac_objext
28402 if { (ac_try="$ac_compile"
28403 case "(($ac_try" in
28404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28405 *) ac_try_echo=$ac_try;;
28406 esac
28407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28408 (eval "$ac_compile") 2>conftest.er1
28409 ac_status=$?
28410 grep -v '^ *+' conftest.er1 >conftest.err
28411 rm -f conftest.er1
28412 cat conftest.err >&5
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); } && {
28415 test -z "$ac_c_werror_flag" ||
28416 test ! -s conftest.err
28417 } && test -s conftest.$ac_objext; then
28418 ac_cv_header_pbt_h=yes
28419 else
28420 echo "$as_me: failed program was:" >&5
28421 sed 's/^/| /' conftest.$ac_ext >&5
28422
28423 ac_cv_header_pbt_h=no
28424 fi
28425
28426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28427 fi
28428 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28429 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28430 if test $ac_cv_header_pbt_h = yes; then
28431 :
28432 else
28433 cat >>confdefs.h <<\_ACEOF
28434 #define NEED_PBT_H 1
28435 _ACEOF
28436
28437 fi
28438
28439
28440 fi
28441
28442 if test "$wxUSE_GUI" = "yes"; then
28443 USE_GUI=1
28444
28445 GUI_TK_LIBRARY=
28446
28447 WXGTK12=
28448 WXGTK127=
28449 WXGTK2=
28450 WXGPE=
28451
28452 if test "$wxUSE_COCOA" = 1 ; then
28453 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28454 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28455 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28456 wxUSE_PRINTING_ARCHITECTURE=no
28457 fi
28458 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28459 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28460 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28461 wxUSE_DRAG_AND_DROP=no
28462 fi
28463 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28464 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28465 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28466 wxUSE_DRAGIMAGE=no
28467 fi
28468 fi
28469
28470 if test "$wxUSE_MSW" = 1 ; then
28471 TOOLKIT=MSW
28472 GUIDIST=MSW_DIST
28473
28474 case "${host}" in
28475 *-*-mingw32* )
28476 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28477 esac
28478 fi
28479
28480 if test "$wxUSE_GTK" = 1; then
28481 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28482 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28483
28484 gtk_version_cached=1
28485 if test "${wx_cv_lib_gtk+set}" = set; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28487 else
28488
28489 gtk_version_cached=0
28490 { echo "$as_me:$LINENO: result: " >&5
28491 echo "${ECHO_T}" >&6; }
28492
28493 GTK_MODULES=
28494 if test "$wxUSE_THREADS" = "yes"; then
28495 GTK_MODULES=gthread
28496 fi
28497
28498 wx_cv_lib_gtk=
28499 if test "x$wxGTK_VERSION" != "x1"
28500 then
28501 case "${host}" in
28502 *-*-solaris2* )
28503 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28504 enable_gtktest=no
28505 fi
28506 esac
28507
28508 # Check whether --enable-gtktest was given.
28509 if test "${enable_gtktest+set}" = set; then
28510 enableval=$enable_gtktest;
28511 else
28512 enable_gtktest=yes
28513 fi
28514
28515
28516 pkg_config_args=gtk+-2.0
28517 for module in . $GTK_MODULES
28518 do
28519 case "$module" in
28520 gthread)
28521 pkg_config_args="$pkg_config_args gthread-2.0"
28522 ;;
28523 esac
28524 done
28525
28526 no_gtk=""
28527
28528 # Extract the first word of "pkg-config", so it can be a program name with args.
28529 set dummy pkg-config; ac_word=$2
28530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28532 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28533 echo $ECHO_N "(cached) $ECHO_C" >&6
28534 else
28535 case $PKG_CONFIG in
28536 [\\/]* | ?:[\\/]*)
28537 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28538 ;;
28539 *)
28540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28541 for as_dir in $PATH
28542 do
28543 IFS=$as_save_IFS
28544 test -z "$as_dir" && as_dir=.
28545 for ac_exec_ext in '' $ac_executable_extensions; do
28546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28547 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28549 break 2
28550 fi
28551 done
28552 done
28553 IFS=$as_save_IFS
28554
28555 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28556 ;;
28557 esac
28558 fi
28559 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28560 if test -n "$PKG_CONFIG"; then
28561 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28562 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28563 else
28564 { echo "$as_me:$LINENO: result: no" >&5
28565 echo "${ECHO_T}no" >&6; }
28566 fi
28567
28568
28569
28570 if test x$PKG_CONFIG != xno ; then
28571 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28572 :
28573 else
28574 echo "*** pkg-config too old; version 0.7 or better required."
28575 no_gtk=yes
28576 PKG_CONFIG=no
28577 fi
28578 else
28579 no_gtk=yes
28580 fi
28581
28582 min_gtk_version=2.4.0
28583 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28584 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28585
28586 if test x$PKG_CONFIG != xno ; then
28587 ## don't try to run the test against uninstalled libtool libs
28588 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28589 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28590 enable_gtktest=no
28591 fi
28592
28593 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28594 :
28595 else
28596 no_gtk=yes
28597 fi
28598 fi
28599
28600 if test x"$no_gtk" = x ; then
28601 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28602 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28603 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28605 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28607 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28608 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28609 if test "x$enable_gtktest" = "xyes" ; then
28610 ac_save_CFLAGS="$CFLAGS"
28611 ac_save_LIBS="$LIBS"
28612 CFLAGS="$CFLAGS $GTK_CFLAGS"
28613 LIBS="$GTK_LIBS $LIBS"
28614 rm -f conf.gtktest
28615 if test "$cross_compiling" = yes; then
28616 echo $ac_n "cross compiling; assumed OK... $ac_c"
28617 else
28618 cat >conftest.$ac_ext <<_ACEOF
28619 /* confdefs.h. */
28620 _ACEOF
28621 cat confdefs.h >>conftest.$ac_ext
28622 cat >>conftest.$ac_ext <<_ACEOF
28623 /* end confdefs.h. */
28624
28625 #include <gtk/gtk.h>
28626 #include <stdio.h>
28627 #include <stdlib.h>
28628
28629 int
28630 main ()
28631 {
28632 int major, minor, micro;
28633 char *tmp_version;
28634
28635 system ("touch conf.gtktest");
28636
28637 /* HP/UX 9 (%@#!) writes to sscanf strings */
28638 tmp_version = g_strdup("$min_gtk_version");
28639 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28640 printf("%s, bad version string\n", "$min_gtk_version");
28641 exit(1);
28642 }
28643
28644 if ((gtk_major_version != $gtk_config_major_version) ||
28645 (gtk_minor_version != $gtk_config_minor_version) ||
28646 (gtk_micro_version != $gtk_config_micro_version))
28647 {
28648 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28649 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28650 gtk_major_version, gtk_minor_version, gtk_micro_version);
28651 printf ("*** was found! If pkg-config was correct, then it is best\n");
28652 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28653 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28654 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28655 printf("*** required on your system.\n");
28656 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28657 printf("*** to point to the correct configuration files\n");
28658 }
28659 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28660 (gtk_minor_version != GTK_MINOR_VERSION) ||
28661 (gtk_micro_version != GTK_MICRO_VERSION))
28662 {
28663 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28664 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28665 printf("*** library (version %d.%d.%d)\n",
28666 gtk_major_version, gtk_minor_version, gtk_micro_version);
28667 }
28668 else
28669 {
28670 if ((gtk_major_version > major) ||
28671 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28672 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28673 {
28674 return 0;
28675 }
28676 else
28677 {
28678 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28679 gtk_major_version, gtk_minor_version, gtk_micro_version);
28680 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28681 major, minor, micro);
28682 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28683 printf("***\n");
28684 printf("*** If you have already installed a sufficiently new version, this error\n");
28685 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28686 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28687 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28688 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28689 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28690 printf("*** so that the correct libraries are found at run-time))\n");
28691 }
28692 }
28693 return 1;
28694 }
28695
28696 _ACEOF
28697 rm -f conftest$ac_exeext
28698 if { (ac_try="$ac_link"
28699 case "(($ac_try" in
28700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28701 *) ac_try_echo=$ac_try;;
28702 esac
28703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28704 (eval "$ac_link") 2>&5
28705 ac_status=$?
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28708 { (case "(($ac_try" in
28709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28710 *) ac_try_echo=$ac_try;;
28711 esac
28712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28713 (eval "$ac_try") 2>&5
28714 ac_status=$?
28715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716 (exit $ac_status); }; }; then
28717 :
28718 else
28719 echo "$as_me: program exited with status $ac_status" >&5
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.$ac_ext >&5
28722
28723 ( exit $ac_status )
28724 no_gtk=yes
28725 fi
28726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28727 fi
28728
28729
28730 CFLAGS="$ac_save_CFLAGS"
28731 LIBS="$ac_save_LIBS"
28732 fi
28733 fi
28734 if test "x$no_gtk" = x ; then
28735 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28736 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28737 wx_cv_lib_gtk=2.0
28738 else
28739 { echo "$as_me:$LINENO: result: no" >&5
28740 echo "${ECHO_T}no" >&6; }
28741 if test "$PKG_CONFIG" = "no" ; then
28742 echo "*** A new enough version of pkg-config was not found."
28743 echo "*** See http://pkgconfig.sourceforge.net"
28744 else
28745 if test -f conf.gtktest ; then
28746 :
28747 else
28748 echo "*** Could not run GTK+ test program, checking why..."
28749 ac_save_CFLAGS="$CFLAGS"
28750 ac_save_LIBS="$LIBS"
28751 CFLAGS="$CFLAGS $GTK_CFLAGS"
28752 LIBS="$LIBS $GTK_LIBS"
28753 cat >conftest.$ac_ext <<_ACEOF
28754 /* confdefs.h. */
28755 _ACEOF
28756 cat confdefs.h >>conftest.$ac_ext
28757 cat >>conftest.$ac_ext <<_ACEOF
28758 /* end confdefs.h. */
28759
28760 #include <gtk/gtk.h>
28761 #include <stdio.h>
28762
28763 int
28764 main ()
28765 {
28766 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28767 ;
28768 return 0;
28769 }
28770 _ACEOF
28771 rm -f conftest.$ac_objext conftest$ac_exeext
28772 if { (ac_try="$ac_link"
28773 case "(($ac_try" in
28774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28775 *) ac_try_echo=$ac_try;;
28776 esac
28777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28778 (eval "$ac_link") 2>conftest.er1
28779 ac_status=$?
28780 grep -v '^ *+' conftest.er1 >conftest.err
28781 rm -f conftest.er1
28782 cat conftest.err >&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); } && {
28785 test -z "$ac_c_werror_flag" ||
28786 test ! -s conftest.err
28787 } && test -s conftest$ac_exeext &&
28788 $as_test_x conftest$ac_exeext; then
28789 echo "*** The test program compiled, but did not run. This usually means"
28790 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28791 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28792 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28793 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28794 echo "*** is required on your system"
28795 echo "***"
28796 echo "*** If you have an old version installed, it is best to remove it, although"
28797 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28798 else
28799 echo "$as_me: failed program was:" >&5
28800 sed 's/^/| /' conftest.$ac_ext >&5
28801
28802 echo "*** The test program failed to compile or link. See the file config.log for the"
28803 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28804 fi
28805
28806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28807 conftest$ac_exeext conftest.$ac_ext
28808 CFLAGS="$ac_save_CFLAGS"
28809 LIBS="$ac_save_LIBS"
28810 fi
28811 fi
28812 GTK_CFLAGS=""
28813 GTK_LIBS=""
28814 :
28815 fi
28816
28817
28818 rm -f conf.gtktest
28819
28820
28821 case "${host}" in
28822 *-*-solaris2* )
28823 if test "$wxUSE_SHARED" != "yes"; then
28824 GTK_LIBS="$GTK_LIBS -lX11"
28825 fi
28826 esac
28827 fi
28828
28829 if test -z "$wx_cv_lib_gtk"; then
28830 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28831
28832 # Check whether --with-gtk-prefix was given.
28833 if test "${with_gtk_prefix+set}" = set; then
28834 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28835 else
28836 gtk_config_prefix=""
28837 fi
28838
28839
28840 # Check whether --with-gtk-exec-prefix was given.
28841 if test "${with_gtk_exec_prefix+set}" = set; then
28842 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28843 else
28844 gtk_config_exec_prefix=""
28845 fi
28846
28847 # Check whether --enable-gtktest was given.
28848 if test "${enable_gtktest+set}" = set; then
28849 enableval=$enable_gtktest;
28850 else
28851 enable_gtktest=yes
28852 fi
28853
28854
28855 for module in . $GTK_MODULES
28856 do
28857 case "$module" in
28858 gthread)
28859 gtk_config_args="$gtk_config_args gthread"
28860 ;;
28861 esac
28862 done
28863
28864 if test x$gtk_config_exec_prefix != x ; then
28865 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28866 if test x${GTK_CONFIG+set} != xset ; then
28867 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28868 fi
28869 fi
28870 if test x$gtk_config_prefix != x ; then
28871 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28872 if test x${GTK_CONFIG+set} != xset ; then
28873 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28874 fi
28875 fi
28876
28877 # Extract the first word of "gtk-config", so it can be a program name with args.
28878 set dummy gtk-config; ac_word=$2
28879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28881 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28882 echo $ECHO_N "(cached) $ECHO_C" >&6
28883 else
28884 case $GTK_CONFIG in
28885 [\\/]* | ?:[\\/]*)
28886 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28887 ;;
28888 *)
28889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28890 for as_dir in $PATH
28891 do
28892 IFS=$as_save_IFS
28893 test -z "$as_dir" && as_dir=.
28894 for ac_exec_ext in '' $ac_executable_extensions; do
28895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28896 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28898 break 2
28899 fi
28900 done
28901 done
28902 IFS=$as_save_IFS
28903
28904 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28905 ;;
28906 esac
28907 fi
28908 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28909 if test -n "$GTK_CONFIG"; then
28910 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28911 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28912 else
28913 { echo "$as_me:$LINENO: result: no" >&5
28914 echo "${ECHO_T}no" >&6; }
28915 fi
28916
28917
28918 min_gtk_version=1.2.7
28919 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28920 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28921 no_gtk=""
28922 if test "$GTK_CONFIG" = "no" ; then
28923 no_gtk=yes
28924 else
28925 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28926 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28927 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28929 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28931 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28933 if test "x$enable_gtktest" = "xyes" ; then
28934 ac_save_CFLAGS="$CFLAGS"
28935 ac_save_LIBS="$LIBS"
28936 CFLAGS="$CFLAGS $GTK_CFLAGS"
28937 LIBS="$GTK_LIBS $LIBS"
28938 rm -f conf.gtktest
28939 if test "$cross_compiling" = yes; then
28940 echo $ac_n "cross compiling; assumed OK... $ac_c"
28941 else
28942 cat >conftest.$ac_ext <<_ACEOF
28943 /* confdefs.h. */
28944 _ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28948
28949 #include <gtk/gtk.h>
28950 #include <stdio.h>
28951 #include <stdlib.h>
28952
28953 int
28954 main ()
28955 {
28956 int major, minor, micro;
28957 char *tmp_version;
28958
28959 system ("touch conf.gtktest");
28960
28961 /* HP/UX 9 (%@#!) writes to sscanf strings */
28962 tmp_version = g_strdup("$min_gtk_version");
28963 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28964 printf("%s, bad version string\n", "$min_gtk_version");
28965 exit(1);
28966 }
28967
28968 if ((gtk_major_version != $gtk_config_major_version) ||
28969 (gtk_minor_version != $gtk_config_minor_version) ||
28970 (gtk_micro_version != $gtk_config_micro_version))
28971 {
28972 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28973 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28974 gtk_major_version, gtk_minor_version, gtk_micro_version);
28975 printf ("*** was found! If gtk-config was correct, then it is best\n");
28976 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28977 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28978 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28979 printf("*** required on your system.\n");
28980 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28981 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28982 printf("*** before re-running configure\n");
28983 }
28984 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28985 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28986 (gtk_minor_version != GTK_MINOR_VERSION) ||
28987 (gtk_micro_version != GTK_MICRO_VERSION))
28988 {
28989 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28990 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28991 printf("*** library (version %d.%d.%d)\n",
28992 gtk_major_version, gtk_minor_version, gtk_micro_version);
28993 }
28994 #endif /* defined (GTK_MAJOR_VERSION) ... */
28995 else
28996 {
28997 if ((gtk_major_version > major) ||
28998 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28999 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29000 {
29001 return 0;
29002 }
29003 else
29004 {
29005 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29006 gtk_major_version, gtk_minor_version, gtk_micro_version);
29007 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29008 major, minor, micro);
29009 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29010 printf("***\n");
29011 printf("*** If you have already installed a sufficiently new version, this error\n");
29012 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29013 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29014 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29015 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29016 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29017 printf("*** so that the correct libraries are found at run-time))\n");
29018 }
29019 }
29020 return 1;
29021 }
29022
29023 _ACEOF
29024 rm -f conftest$ac_exeext
29025 if { (ac_try="$ac_link"
29026 case "(($ac_try" in
29027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29029 esac
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_link") 2>&5
29032 ac_status=$?
29033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29035 { (case "(($ac_try" in
29036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29037 *) ac_try_echo=$ac_try;;
29038 esac
29039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29040 (eval "$ac_try") 2>&5
29041 ac_status=$?
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); }; }; then
29044 :
29045 else
29046 echo "$as_me: program exited with status $ac_status" >&5
29047 echo "$as_me: failed program was:" >&5
29048 sed 's/^/| /' conftest.$ac_ext >&5
29049
29050 ( exit $ac_status )
29051 no_gtk=yes
29052 fi
29053 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29054 fi
29055
29056
29057 CFLAGS="$ac_save_CFLAGS"
29058 LIBS="$ac_save_LIBS"
29059 fi
29060 fi
29061 if test "x$no_gtk" = x ; then
29062 { echo "$as_me:$LINENO: result: yes" >&5
29063 echo "${ECHO_T}yes" >&6; }
29064 wx_cv_lib_gtk=1.2.7
29065 else
29066 { echo "$as_me:$LINENO: result: no" >&5
29067 echo "${ECHO_T}no" >&6; }
29068 if test "$GTK_CONFIG" = "no" ; then
29069 echo "*** The gtk-config script installed by GTK could not be found"
29070 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29071 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29072 echo "*** full path to gtk-config."
29073 else
29074 if test -f conf.gtktest ; then
29075 :
29076 else
29077 echo "*** Could not run GTK test program, checking why..."
29078 CFLAGS="$CFLAGS $GTK_CFLAGS"
29079 LIBS="$LIBS $GTK_LIBS"
29080 cat >conftest.$ac_ext <<_ACEOF
29081 /* confdefs.h. */
29082 _ACEOF
29083 cat confdefs.h >>conftest.$ac_ext
29084 cat >>conftest.$ac_ext <<_ACEOF
29085 /* end confdefs.h. */
29086
29087 #include <gtk/gtk.h>
29088 #include <stdio.h>
29089
29090 int
29091 main ()
29092 {
29093 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29094 ;
29095 return 0;
29096 }
29097 _ACEOF
29098 rm -f conftest.$ac_objext conftest$ac_exeext
29099 if { (ac_try="$ac_link"
29100 case "(($ac_try" in
29101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29102 *) ac_try_echo=$ac_try;;
29103 esac
29104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29105 (eval "$ac_link") 2>conftest.er1
29106 ac_status=$?
29107 grep -v '^ *+' conftest.er1 >conftest.err
29108 rm -f conftest.er1
29109 cat conftest.err >&5
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); } && {
29112 test -z "$ac_c_werror_flag" ||
29113 test ! -s conftest.err
29114 } && test -s conftest$ac_exeext &&
29115 $as_test_x conftest$ac_exeext; then
29116 echo "*** The test program compiled, but did not run. This usually means"
29117 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29118 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29119 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29120 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29121 echo "*** is required on your system"
29122 echo "***"
29123 echo "*** If you have an old version installed, it is best to remove it, although"
29124 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29125 echo "***"
29126 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29127 echo "*** came with the system with the command"
29128 echo "***"
29129 echo "*** rpm --erase --nodeps gtk gtk-devel"
29130 else
29131 echo "$as_me: failed program was:" >&5
29132 sed 's/^/| /' conftest.$ac_ext >&5
29133
29134 echo "*** The test program failed to compile or link. See the file config.log for the"
29135 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29136 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29137 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29138 fi
29139
29140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29141 conftest$ac_exeext conftest.$ac_ext
29142 CFLAGS="$ac_save_CFLAGS"
29143 LIBS="$ac_save_LIBS"
29144 fi
29145 fi
29146 GTK_CFLAGS=""
29147 GTK_LIBS=""
29148 :
29149 fi
29150
29151
29152 rm -f conf.gtktest
29153
29154
29155 if test -z "$wx_cv_lib_gtk"; then
29156
29157 # Check whether --with-gtk-prefix was given.
29158 if test "${with_gtk_prefix+set}" = set; then
29159 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29160 else
29161 gtk_config_prefix=""
29162 fi
29163
29164
29165 # Check whether --with-gtk-exec-prefix was given.
29166 if test "${with_gtk_exec_prefix+set}" = set; then
29167 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29168 else
29169 gtk_config_exec_prefix=""
29170 fi
29171
29172 # Check whether --enable-gtktest was given.
29173 if test "${enable_gtktest+set}" = set; then
29174 enableval=$enable_gtktest;
29175 else
29176 enable_gtktest=yes
29177 fi
29178
29179
29180 for module in . $GTK_MODULES
29181 do
29182 case "$module" in
29183 gthread)
29184 gtk_config_args="$gtk_config_args gthread"
29185 ;;
29186 esac
29187 done
29188
29189 if test x$gtk_config_exec_prefix != x ; then
29190 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29191 if test x${GTK_CONFIG+set} != xset ; then
29192 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29193 fi
29194 fi
29195 if test x$gtk_config_prefix != x ; then
29196 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29197 if test x${GTK_CONFIG+set} != xset ; then
29198 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29199 fi
29200 fi
29201
29202 # Extract the first word of "gtk-config", so it can be a program name with args.
29203 set dummy gtk-config; ac_word=$2
29204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29206 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29207 echo $ECHO_N "(cached) $ECHO_C" >&6
29208 else
29209 case $GTK_CONFIG in
29210 [\\/]* | ?:[\\/]*)
29211 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29212 ;;
29213 *)
29214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29215 for as_dir in $PATH
29216 do
29217 IFS=$as_save_IFS
29218 test -z "$as_dir" && as_dir=.
29219 for ac_exec_ext in '' $ac_executable_extensions; do
29220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29221 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29223 break 2
29224 fi
29225 done
29226 done
29227 IFS=$as_save_IFS
29228
29229 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29230 ;;
29231 esac
29232 fi
29233 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29234 if test -n "$GTK_CONFIG"; then
29235 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29236 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29237 else
29238 { echo "$as_me:$LINENO: result: no" >&5
29239 echo "${ECHO_T}no" >&6; }
29240 fi
29241
29242
29243 min_gtk_version=1.2.3
29244 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29245 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29246 no_gtk=""
29247 if test "$GTK_CONFIG" = "no" ; then
29248 no_gtk=yes
29249 else
29250 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29251 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29252 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29253 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29254 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29255 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29256 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29257 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29258 if test "x$enable_gtktest" = "xyes" ; then
29259 ac_save_CFLAGS="$CFLAGS"
29260 ac_save_LIBS="$LIBS"
29261 CFLAGS="$CFLAGS $GTK_CFLAGS"
29262 LIBS="$GTK_LIBS $LIBS"
29263 rm -f conf.gtktest
29264 if test "$cross_compiling" = yes; then
29265 echo $ac_n "cross compiling; assumed OK... $ac_c"
29266 else
29267 cat >conftest.$ac_ext <<_ACEOF
29268 /* confdefs.h. */
29269 _ACEOF
29270 cat confdefs.h >>conftest.$ac_ext
29271 cat >>conftest.$ac_ext <<_ACEOF
29272 /* end confdefs.h. */
29273
29274 #include <gtk/gtk.h>
29275 #include <stdio.h>
29276 #include <stdlib.h>
29277
29278 int
29279 main ()
29280 {
29281 int major, minor, micro;
29282 char *tmp_version;
29283
29284 system ("touch conf.gtktest");
29285
29286 /* HP/UX 9 (%@#!) writes to sscanf strings */
29287 tmp_version = g_strdup("$min_gtk_version");
29288 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29289 printf("%s, bad version string\n", "$min_gtk_version");
29290 exit(1);
29291 }
29292
29293 if ((gtk_major_version != $gtk_config_major_version) ||
29294 (gtk_minor_version != $gtk_config_minor_version) ||
29295 (gtk_micro_version != $gtk_config_micro_version))
29296 {
29297 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29298 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29299 gtk_major_version, gtk_minor_version, gtk_micro_version);
29300 printf ("*** was found! If gtk-config was correct, then it is best\n");
29301 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29302 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29303 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29304 printf("*** required on your system.\n");
29305 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29306 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29307 printf("*** before re-running configure\n");
29308 }
29309 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29310 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29311 (gtk_minor_version != GTK_MINOR_VERSION) ||
29312 (gtk_micro_version != GTK_MICRO_VERSION))
29313 {
29314 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29315 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29316 printf("*** library (version %d.%d.%d)\n",
29317 gtk_major_version, gtk_minor_version, gtk_micro_version);
29318 }
29319 #endif /* defined (GTK_MAJOR_VERSION) ... */
29320 else
29321 {
29322 if ((gtk_major_version > major) ||
29323 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29324 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29325 {
29326 return 0;
29327 }
29328 else
29329 {
29330 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29331 gtk_major_version, gtk_minor_version, gtk_micro_version);
29332 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29333 major, minor, micro);
29334 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29335 printf("***\n");
29336 printf("*** If you have already installed a sufficiently new version, this error\n");
29337 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29338 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29339 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29340 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29341 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29342 printf("*** so that the correct libraries are found at run-time))\n");
29343 }
29344 }
29345 return 1;
29346 }
29347
29348 _ACEOF
29349 rm -f conftest$ac_exeext
29350 if { (ac_try="$ac_link"
29351 case "(($ac_try" in
29352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29353 *) ac_try_echo=$ac_try;;
29354 esac
29355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29356 (eval "$ac_link") 2>&5
29357 ac_status=$?
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29360 { (case "(($ac_try" in
29361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29362 *) ac_try_echo=$ac_try;;
29363 esac
29364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29365 (eval "$ac_try") 2>&5
29366 ac_status=$?
29367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29368 (exit $ac_status); }; }; then
29369 :
29370 else
29371 echo "$as_me: program exited with status $ac_status" >&5
29372 echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.$ac_ext >&5
29374
29375 ( exit $ac_status )
29376 no_gtk=yes
29377 fi
29378 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29379 fi
29380
29381
29382 CFLAGS="$ac_save_CFLAGS"
29383 LIBS="$ac_save_LIBS"
29384 fi
29385 fi
29386 if test "x$no_gtk" = x ; then
29387 { echo "$as_me:$LINENO: result: yes" >&5
29388 echo "${ECHO_T}yes" >&6; }
29389 wx_cv_lib_gtk=1.2.3
29390 else
29391 { echo "$as_me:$LINENO: result: no" >&5
29392 echo "${ECHO_T}no" >&6; }
29393 if test "$GTK_CONFIG" = "no" ; then
29394 echo "*** The gtk-config script installed by GTK could not be found"
29395 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29396 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29397 echo "*** full path to gtk-config."
29398 else
29399 if test -f conf.gtktest ; then
29400 :
29401 else
29402 echo "*** Could not run GTK test program, checking why..."
29403 CFLAGS="$CFLAGS $GTK_CFLAGS"
29404 LIBS="$LIBS $GTK_LIBS"
29405 cat >conftest.$ac_ext <<_ACEOF
29406 /* confdefs.h. */
29407 _ACEOF
29408 cat confdefs.h >>conftest.$ac_ext
29409 cat >>conftest.$ac_ext <<_ACEOF
29410 /* end confdefs.h. */
29411
29412 #include <gtk/gtk.h>
29413 #include <stdio.h>
29414
29415 int
29416 main ()
29417 {
29418 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29419 ;
29420 return 0;
29421 }
29422 _ACEOF
29423 rm -f conftest.$ac_objext conftest$ac_exeext
29424 if { (ac_try="$ac_link"
29425 case "(($ac_try" in
29426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29427 *) ac_try_echo=$ac_try;;
29428 esac
29429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29430 (eval "$ac_link") 2>conftest.er1
29431 ac_status=$?
29432 grep -v '^ *+' conftest.er1 >conftest.err
29433 rm -f conftest.er1
29434 cat conftest.err >&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); } && {
29437 test -z "$ac_c_werror_flag" ||
29438 test ! -s conftest.err
29439 } && test -s conftest$ac_exeext &&
29440 $as_test_x conftest$ac_exeext; then
29441 echo "*** The test program compiled, but did not run. This usually means"
29442 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29443 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29444 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29445 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29446 echo "*** is required on your system"
29447 echo "***"
29448 echo "*** If you have an old version installed, it is best to remove it, although"
29449 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29450 echo "***"
29451 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29452 echo "*** came with the system with the command"
29453 echo "***"
29454 echo "*** rpm --erase --nodeps gtk gtk-devel"
29455 else
29456 echo "$as_me: failed program was:" >&5
29457 sed 's/^/| /' conftest.$ac_ext >&5
29458
29459 echo "*** The test program failed to compile or link. See the file config.log for the"
29460 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29461 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29462 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29463 fi
29464
29465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29466 conftest$ac_exeext conftest.$ac_ext
29467 CFLAGS="$ac_save_CFLAGS"
29468 LIBS="$ac_save_LIBS"
29469 fi
29470 fi
29471 GTK_CFLAGS=""
29472 GTK_LIBS=""
29473 :
29474 fi
29475
29476
29477 rm -f conf.gtktest
29478
29479 fi
29480 fi
29481 fi
29482
29483 if test -z "$wx_cv_lib_gtk"; then
29484 wx_cv_lib_gtk=none
29485 else
29486 wx_cv_cflags_gtk=$GTK_CFLAGS
29487 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29488 fi
29489
29490
29491 fi
29492
29493
29494 if test "$gtk_version_cached" = 1; then
29495 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29496 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29497 fi
29498
29499 case "$wx_cv_lib_gtk" in
29500 2.0) WXGTK2=1
29501 TOOLKIT_VERSION=2
29502 ;;
29503 1.2.7) WXGTK127=1
29504 WXGTK12=1
29505 ;;
29506 1.2.3) WXGTK12=1
29507 ;;
29508 *) { { echo "$as_me:$LINENO: error:
29509 The development files for GTK+ were not found. For GTK+ 2, please
29510 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29511 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29512 and that the version is 1.2.3 or above. Also check that the
29513 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29514 --libs' are in the LD_LIBRARY_PATH or equivalent.
29515 " >&5
29516 echo "$as_me: error:
29517 The development files for GTK+ were not found. For GTK+ 2, please
29518 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29519 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29520 and that the version is 1.2.3 or above. Also check that the
29521 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29522 --libs' are in the LD_LIBRARY_PATH or equivalent.
29523 " >&2;}
29524 { (exit 1); exit 1; }; }
29525 ;;
29526 esac
29527
29528 if test "$WXGTK2" = 1; then
29529 save_CFLAGS="$CFLAGS"
29530 save_LIBS="$LIBS"
29531 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29532 LIBS="$LIBS $wx_cv_libs_gtk"
29533
29534 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29535 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29536 cat >conftest.$ac_ext <<_ACEOF
29537 /* confdefs.h. */
29538 _ACEOF
29539 cat confdefs.h >>conftest.$ac_ext
29540 cat >>conftest.$ac_ext <<_ACEOF
29541 /* end confdefs.h. */
29542
29543 #include <gtk/gtk.h>
29544
29545 int
29546 main ()
29547 {
29548
29549 #if !GTK_CHECK_VERSION(2,10,0)
29550 Not GTK+ 2.10
29551 #endif
29552
29553 ;
29554 return 0;
29555 }
29556 _ACEOF
29557 rm -f conftest.$ac_objext
29558 if { (ac_try="$ac_compile"
29559 case "(($ac_try" in
29560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29561 *) ac_try_echo=$ac_try;;
29562 esac
29563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29564 (eval "$ac_compile") 2>conftest.er1
29565 ac_status=$?
29566 grep -v '^ *+' conftest.er1 >conftest.err
29567 rm -f conftest.er1
29568 cat conftest.err >&5
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); } && {
29571 test -z "$ac_c_werror_flag" ||
29572 test ! -s conftest.err
29573 } && test -s conftest.$ac_objext; then
29574
29575 cat >>confdefs.h <<\_ACEOF
29576 #define __WXGTK210__ 1
29577 _ACEOF
29578
29579 cat >>confdefs.h <<\_ACEOF
29580 #define __WXGTK26__ 1
29581 _ACEOF
29582
29583 { echo "$as_me:$LINENO: result: yes" >&5
29584 echo "${ECHO_T}yes" >&6; }
29585 ac_wxgtk210=1
29586
29587 else
29588 echo "$as_me: failed program was:" >&5
29589 sed 's/^/| /' conftest.$ac_ext >&5
29590
29591
29592 { echo "$as_me:$LINENO: result: no" >&5
29593 echo "${ECHO_T}no" >&6; }
29594 ac_wxgtk210=0
29595
29596 fi
29597
29598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29599
29600 if test "$ac_wxgtk210" = 0; then
29601 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29602 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29603 cat >conftest.$ac_ext <<_ACEOF
29604 /* confdefs.h. */
29605 _ACEOF
29606 cat confdefs.h >>conftest.$ac_ext
29607 cat >>conftest.$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29609
29610 #include <gtk/gtk.h>
29611
29612 int
29613 main ()
29614 {
29615
29616 #if !GTK_CHECK_VERSION(2,6,0)
29617 Not GTK+ 2.6
29618 #endif
29619
29620 ;
29621 return 0;
29622 }
29623 _ACEOF
29624 rm -f conftest.$ac_objext
29625 if { (ac_try="$ac_compile"
29626 case "(($ac_try" in
29627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29628 *) ac_try_echo=$ac_try;;
29629 esac
29630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29631 (eval "$ac_compile") 2>conftest.er1
29632 ac_status=$?
29633 grep -v '^ *+' conftest.er1 >conftest.err
29634 rm -f conftest.er1
29635 cat conftest.err >&5
29636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29637 (exit $ac_status); } && {
29638 test -z "$ac_c_werror_flag" ||
29639 test ! -s conftest.err
29640 } && test -s conftest.$ac_objext; then
29641
29642 cat >>confdefs.h <<\_ACEOF
29643 #define __WXGTK26__ 1
29644 _ACEOF
29645
29646 { echo "$as_me:$LINENO: result: yes" >&5
29647 echo "${ECHO_T}yes" >&6; }
29648 ac_wxgtk26=1
29649
29650 else
29651 echo "$as_me: failed program was:" >&5
29652 sed 's/^/| /' conftest.$ac_ext >&5
29653
29654
29655 { echo "$as_me:$LINENO: result: no" >&5
29656 echo "${ECHO_T}no" >&6; }
29657 ac_wxgtk26=0
29658
29659 fi
29660
29661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29662 fi
29663
29664 CFLAGS="$save_CFLAGS"
29665 LIBS="$save_LIBS"
29666 else
29667 if test "$wxUSE_UNICODE" = "yes"; then
29668 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29669 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29670 wxUSE_UNICODE=no
29671 fi
29672
29673 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29674 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29675 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29676 echo $ECHO_N "(cached) $ECHO_C" >&6
29677 else
29678 ac_check_lib_save_LIBS=$LIBS
29679 LIBS="-lgdk $LIBS"
29680 cat >conftest.$ac_ext <<_ACEOF
29681 /* confdefs.h. */
29682 _ACEOF
29683 cat confdefs.h >>conftest.$ac_ext
29684 cat >>conftest.$ac_ext <<_ACEOF
29685 /* end confdefs.h. */
29686
29687 /* Override any GCC internal prototype to avoid an error.
29688 Use char because int might match the return type of a GCC
29689 builtin and then its argument prototype would still apply. */
29690 #ifdef __cplusplus
29691 extern "C"
29692 #endif
29693 char gdk_im_open ();
29694 int
29695 main ()
29696 {
29697 return gdk_im_open ();
29698 ;
29699 return 0;
29700 }
29701 _ACEOF
29702 rm -f conftest.$ac_objext conftest$ac_exeext
29703 if { (ac_try="$ac_link"
29704 case "(($ac_try" in
29705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29706 *) ac_try_echo=$ac_try;;
29707 esac
29708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29709 (eval "$ac_link") 2>conftest.er1
29710 ac_status=$?
29711 grep -v '^ *+' conftest.er1 >conftest.err
29712 rm -f conftest.er1
29713 cat conftest.err >&5
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); } && {
29716 test -z "$ac_c_werror_flag" ||
29717 test ! -s conftest.err
29718 } && test -s conftest$ac_exeext &&
29719 $as_test_x conftest$ac_exeext; then
29720 ac_cv_lib_gdk_gdk_im_open=yes
29721 else
29722 echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.$ac_ext >&5
29724
29725 ac_cv_lib_gdk_gdk_im_open=no
29726 fi
29727
29728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29729 conftest$ac_exeext conftest.$ac_ext
29730 LIBS=$ac_check_lib_save_LIBS
29731 fi
29732 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29733 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29734 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29735 cat >>confdefs.h <<\_ACEOF
29736 #define HAVE_XIM 1
29737 _ACEOF
29738
29739 fi
29740
29741
29742 if test "$USE_DARWIN" != 1; then
29743
29744 for ac_func in poll
29745 do
29746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29747 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29749 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29750 echo $ECHO_N "(cached) $ECHO_C" >&6
29751 else
29752 cat >conftest.$ac_ext <<_ACEOF
29753 /* confdefs.h. */
29754 _ACEOF
29755 cat confdefs.h >>conftest.$ac_ext
29756 cat >>conftest.$ac_ext <<_ACEOF
29757 /* end confdefs.h. */
29758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29760 #define $ac_func innocuous_$ac_func
29761
29762 /* System header to define __stub macros and hopefully few prototypes,
29763 which can conflict with char $ac_func (); below.
29764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29765 <limits.h> exists even on freestanding compilers. */
29766
29767 #ifdef __STDC__
29768 # include <limits.h>
29769 #else
29770 # include <assert.h>
29771 #endif
29772
29773 #undef $ac_func
29774
29775 /* Override any GCC internal prototype to avoid an error.
29776 Use char because int might match the return type of a GCC
29777 builtin and then its argument prototype would still apply. */
29778 #ifdef __cplusplus
29779 extern "C"
29780 #endif
29781 char $ac_func ();
29782 /* The GNU C library defines this for functions which it implements
29783 to always fail with ENOSYS. Some functions are actually named
29784 something starting with __ and the normal name is an alias. */
29785 #if defined __stub_$ac_func || defined __stub___$ac_func
29786 choke me
29787 #endif
29788
29789 int
29790 main ()
29791 {
29792 return $ac_func ();
29793 ;
29794 return 0;
29795 }
29796 _ACEOF
29797 rm -f conftest.$ac_objext conftest$ac_exeext
29798 if { (ac_try="$ac_link"
29799 case "(($ac_try" in
29800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29801 *) ac_try_echo=$ac_try;;
29802 esac
29803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29804 (eval "$ac_link") 2>conftest.er1
29805 ac_status=$?
29806 grep -v '^ *+' conftest.er1 >conftest.err
29807 rm -f conftest.er1
29808 cat conftest.err >&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); } && {
29811 test -z "$ac_c_werror_flag" ||
29812 test ! -s conftest.err
29813 } && test -s conftest$ac_exeext &&
29814 $as_test_x conftest$ac_exeext; then
29815 eval "$as_ac_var=yes"
29816 else
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.$ac_ext >&5
29819
29820 eval "$as_ac_var=no"
29821 fi
29822
29823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29824 conftest$ac_exeext conftest.$ac_ext
29825 fi
29826 ac_res=`eval echo '${'$as_ac_var'}'`
29827 { echo "$as_me:$LINENO: result: $ac_res" >&5
29828 echo "${ECHO_T}$ac_res" >&6; }
29829 if test `eval echo '${'$as_ac_var'}'` = yes; then
29830 cat >>confdefs.h <<_ACEOF
29831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29832 _ACEOF
29833
29834 fi
29835 done
29836
29837 fi
29838 fi
29839
29840 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29841 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29842
29843 AFMINSTALL=afminstall
29844 TOOLKIT=GTK
29845 GUIDIST=GTK_DIST
29846
29847 if test "$wxUSE_GPE" = "yes"; then
29848 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29849 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29850
29851 ac_find_libraries=
29852 for ac_dir in $SEARCH_LIB;
29853 do
29854 for ac_extension in a so sl dylib dll.a; do
29855 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29856 ac_find_libraries=$ac_dir
29857 break 2
29858 fi
29859 done
29860 done
29861
29862 if test "$ac_find_libraries" != "" ; then
29863
29864 if test "$ac_find_libraries" = "default location"; then
29865 ac_path_to_link=""
29866 else
29867 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29868 result=$?
29869 if test $result = 0; then
29870 ac_path_to_link=""
29871 else
29872 ac_path_to_link=" -L$ac_find_libraries"
29873 fi
29874 fi
29875
29876 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29877 WXGPE=1
29878 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29879 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29880 else
29881 { echo "$as_me:$LINENO: result: not found" >&5
29882 echo "${ECHO_T}not found" >&6; }
29883 fi
29884
29885 fi
29886 fi
29887
29888 if test "$wxUSE_MGL" = 1; then
29889 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29890 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29891 if test "x$MGL_ROOT" = x ; then
29892 { echo "$as_me:$LINENO: result: not found" >&5
29893 echo "${ECHO_T}not found" >&6; }
29894 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29895 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29896 { (exit 1); exit 1; }; }
29897 else
29898 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29899 echo "${ECHO_T}$MGL_ROOT" >&6; }
29900 fi
29901
29902 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29903 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29904 case "${host}" in
29905 *-*-linux* )
29906 if test "x$wxUSE_SHARED" = xyes ; then
29907 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29908 else
29909 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29910 fi
29911 ;;
29912 *-pc-msdosdjgpp )
29913 mgl_os_candidates="dos32/dj2"
29914 ;;
29915 *)
29916 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29917 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29918 { (exit 1); exit 1; }; }
29919 esac
29920
29921 mgl_lib_type=""
29922 mgl_os=""
29923
29924 for mgl_os_i in $mgl_os_candidates ; do
29925 if test "x$mgl_os" = x ; then
29926 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29927 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29928 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29929 mgl_lib_type=debug
29930 mgl_os=$mgl_os_i
29931 fi
29932 fi
29933 if test "x$mgl_lib_type" = x ; then
29934 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29935 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29936 mgl_lib_type=release
29937 mgl_os=$mgl_os_i
29938 fi
29939 fi
29940 fi
29941 done
29942
29943 if test "x$mgl_os" = x ; then
29944 { echo "$as_me:$LINENO: result: not found" >&5
29945 echo "${ECHO_T}not found" >&6; }
29946 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29947 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29948 { (exit 1); exit 1; }; }
29949 fi
29950 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29951 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29952
29953 wxUSE_UNIVERSAL="yes"
29954
29955 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29956 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29957
29958 AFMINSTALL=afminstall
29959 TOOLKIT=MGL
29960 GUIDIST=MGL_DIST
29961 fi
29962
29963 if test "$wxUSE_DFB" = 1; then
29964
29965
29966 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29967 if test -n "$ac_tool_prefix"; then
29968 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29969 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29972 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29973 echo $ECHO_N "(cached) $ECHO_C" >&6
29974 else
29975 case $PKG_CONFIG in
29976 [\\/]* | ?:[\\/]*)
29977 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29978 ;;
29979 *)
29980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29981 for as_dir in $PATH
29982 do
29983 IFS=$as_save_IFS
29984 test -z "$as_dir" && as_dir=.
29985 for ac_exec_ext in '' $ac_executable_extensions; do
29986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29987 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29989 break 2
29990 fi
29991 done
29992 done
29993 IFS=$as_save_IFS
29994
29995 ;;
29996 esac
29997 fi
29998 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29999 if test -n "$PKG_CONFIG"; then
30000 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30001 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30002 else
30003 { echo "$as_me:$LINENO: result: no" >&5
30004 echo "${ECHO_T}no" >&6; }
30005 fi
30006
30007
30008 fi
30009 if test -z "$ac_cv_path_PKG_CONFIG"; then
30010 ac_pt_PKG_CONFIG=$PKG_CONFIG
30011 # Extract the first word of "pkg-config", so it can be a program name with args.
30012 set dummy pkg-config; ac_word=$2
30013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30015 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30016 echo $ECHO_N "(cached) $ECHO_C" >&6
30017 else
30018 case $ac_pt_PKG_CONFIG in
30019 [\\/]* | ?:[\\/]*)
30020 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30021 ;;
30022 *)
30023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30024 for as_dir in $PATH
30025 do
30026 IFS=$as_save_IFS
30027 test -z "$as_dir" && as_dir=.
30028 for ac_exec_ext in '' $ac_executable_extensions; do
30029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30030 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30032 break 2
30033 fi
30034 done
30035 done
30036 IFS=$as_save_IFS
30037
30038 ;;
30039 esac
30040 fi
30041 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30042 if test -n "$ac_pt_PKG_CONFIG"; then
30043 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30044 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30045 else
30046 { echo "$as_me:$LINENO: result: no" >&5
30047 echo "${ECHO_T}no" >&6; }
30048 fi
30049
30050 if test "x$ac_pt_PKG_CONFIG" = x; then
30051 PKG_CONFIG=""
30052 else
30053 case $cross_compiling:$ac_tool_warned in
30054 yes:)
30055 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30056 whose name does not start with the host triplet. If you think this
30057 configuration is useful to you, please write to autoconf@gnu.org." >&5
30058 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30059 whose name does not start with the host triplet. If you think this
30060 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30061 ac_tool_warned=yes ;;
30062 esac
30063 PKG_CONFIG=$ac_pt_PKG_CONFIG
30064 fi
30065 else
30066 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30067 fi
30068
30069 fi
30070 if test -n "$PKG_CONFIG"; then
30071 _pkg_min_version=0.9.0
30072 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30073 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30074 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30075 { echo "$as_me:$LINENO: result: yes" >&5
30076 echo "${ECHO_T}yes" >&6; }
30077 else
30078 { echo "$as_me:$LINENO: result: no" >&5
30079 echo "${ECHO_T}no" >&6; }
30080 PKG_CONFIG=""
30081 fi
30082
30083 fi
30084
30085
30086 pkg_failed=no
30087 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30088 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30089
30090 if test -n "$PKG_CONFIG"; then
30091 if test -n "$DIRECTFB_CFLAGS"; then
30092 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30093 else
30094 if test -n "$PKG_CONFIG" && \
30095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30096 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30097 ac_status=$?
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); }; then
30100 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30101 else
30102 pkg_failed=yes
30103 fi
30104 fi
30105 else
30106 pkg_failed=untried
30107 fi
30108 if test -n "$PKG_CONFIG"; then
30109 if test -n "$DIRECTFB_LIBS"; then
30110 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30111 else
30112 if test -n "$PKG_CONFIG" && \
30113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30114 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30115 ac_status=$?
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; then
30118 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30119 else
30120 pkg_failed=yes
30121 fi
30122 fi
30123 else
30124 pkg_failed=untried
30125 fi
30126
30127
30128
30129 if test $pkg_failed = yes; then
30130
30131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30132 _pkg_short_errors_supported=yes
30133 else
30134 _pkg_short_errors_supported=no
30135 fi
30136 if test $_pkg_short_errors_supported = yes; then
30137 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30138 else
30139 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30140 fi
30141 # Put the nasty error message in config.log where it belongs
30142 echo "$DIRECTFB_PKG_ERRORS" >&5
30143
30144
30145 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30146 echo "$as_me: error: DirectFB not found." >&2;}
30147 { (exit 1); exit 1; }; }
30148
30149
30150 elif test $pkg_failed = untried; then
30151
30152 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30153 echo "$as_me: error: DirectFB not found." >&2;}
30154 { (exit 1); exit 1; }; }
30155
30156
30157 else
30158 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30159 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30160 { echo "$as_me:$LINENO: result: yes" >&5
30161 echo "${ECHO_T}yes" >&6; }
30162
30163 wxUSE_UNIVERSAL="yes"
30164 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30165 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30166 TOOLKIT=DFB
30167 GUIDIST=DFB_DIST
30168
30169 fi
30170 fi
30171
30172 if test "$wxUSE_MICROWIN" = 1; then
30173 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30174 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30175 if test "x$MICROWINDOWS" = x ; then
30176 { echo "$as_me:$LINENO: result: not found" >&5
30177 echo "${ECHO_T}not found" >&6; }
30178 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30179 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30180 { (exit 1); exit 1; }; }
30181 else
30182 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30183 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30184 fi
30185
30186 if test -f $MICROWINDOWS/lib/libmwin.a; then
30187 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30188 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30189 else
30190 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30191 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30192 { (exit 1); exit 1; }; }
30193 fi
30194
30195 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30196 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30197
30198 wxUSE_UNIVERSAL="yes"
30199
30200 AFMINSTALL=afminstall
30201 TOOLKIT=MICROWIN
30202 GUIDIST=MICROWIN_DIST
30203
30204 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30205 fi
30206
30207 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30208 { echo "$as_me:$LINENO: checking for X" >&5
30209 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30210
30211
30212 # Check whether --with-x was given.
30213 if test "${with_x+set}" = set; then
30214 withval=$with_x;
30215 fi
30216
30217 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30218 if test "x$with_x" = xno; then
30219 # The user explicitly disabled X.
30220 have_x=disabled
30221 else
30222 case $x_includes,$x_libraries in #(
30223 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30224 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30225 { (exit 1); exit 1; }; };; #(
30226 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30227 echo $ECHO_N "(cached) $ECHO_C" >&6
30228 else
30229 # One or both of the vars are not set, and there is no cached value.
30230 ac_x_includes=no ac_x_libraries=no
30231 rm -f -r conftest.dir
30232 if mkdir conftest.dir; then
30233 cd conftest.dir
30234 cat >Imakefile <<'_ACEOF'
30235 incroot:
30236 @echo incroot='${INCROOT}'
30237 usrlibdir:
30238 @echo usrlibdir='${USRLIBDIR}'
30239 libdir:
30240 @echo libdir='${LIBDIR}'
30241 _ACEOF
30242 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30243 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30244 for ac_var in incroot usrlibdir libdir; do
30245 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30246 done
30247 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30248 for ac_extension in a so sl; do
30249 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30250 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30251 ac_im_usrlibdir=$ac_im_libdir; break
30252 fi
30253 done
30254 # Screen out bogus values from the imake configuration. They are
30255 # bogus both because they are the default anyway, and because
30256 # using them would break gcc on systems where it needs fixed includes.
30257 case $ac_im_incroot in
30258 /usr/include) ac_x_includes= ;;
30259 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30260 esac
30261 case $ac_im_usrlibdir in
30262 /usr/lib | /lib) ;;
30263 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30264 esac
30265 fi
30266 cd ..
30267 rm -f -r conftest.dir
30268 fi
30269
30270 # Standard set of common directories for X headers.
30271 # Check X11 before X11Rn because it is often a symlink to the current release.
30272 ac_x_header_dirs='
30273 /usr/X11/include
30274 /usr/X11R6/include
30275 /usr/X11R5/include
30276 /usr/X11R4/include
30277
30278 /usr/include/X11
30279 /usr/include/X11R6
30280 /usr/include/X11R5
30281 /usr/include/X11R4
30282
30283 /usr/local/X11/include
30284 /usr/local/X11R6/include
30285 /usr/local/X11R5/include
30286 /usr/local/X11R4/include
30287
30288 /usr/local/include/X11
30289 /usr/local/include/X11R6
30290 /usr/local/include/X11R5
30291 /usr/local/include/X11R4
30292
30293 /usr/X386/include
30294 /usr/x386/include
30295 /usr/XFree86/include/X11
30296
30297 /usr/include
30298 /usr/local/include
30299 /usr/unsupported/include
30300 /usr/athena/include
30301 /usr/local/x11r5/include
30302 /usr/lpp/Xamples/include
30303
30304 /usr/openwin/include
30305 /usr/openwin/share/include'
30306
30307 if test "$ac_x_includes" = no; then
30308 # Guess where to find include files, by looking for Xlib.h.
30309 # First, try using that file with no special directory specified.
30310 cat >conftest.$ac_ext <<_ACEOF
30311 /* confdefs.h. */
30312 _ACEOF
30313 cat confdefs.h >>conftest.$ac_ext
30314 cat >>conftest.$ac_ext <<_ACEOF
30315 /* end confdefs.h. */
30316 #include <X11/Xlib.h>
30317 _ACEOF
30318 if { (ac_try="$ac_cpp conftest.$ac_ext"
30319 case "(($ac_try" in
30320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30321 *) ac_try_echo=$ac_try;;
30322 esac
30323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30324 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30325 ac_status=$?
30326 grep -v '^ *+' conftest.er1 >conftest.err
30327 rm -f conftest.er1
30328 cat conftest.err >&5
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); } >/dev/null && {
30331 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30332 test ! -s conftest.err
30333 }; then
30334 # We can compile using X headers with no special include directory.
30335 ac_x_includes=
30336 else
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.$ac_ext >&5
30339
30340 for ac_dir in $ac_x_header_dirs; do
30341 if test -r "$ac_dir/X11/Xlib.h"; then
30342 ac_x_includes=$ac_dir
30343 break
30344 fi
30345 done
30346 fi
30347
30348 rm -f conftest.err conftest.$ac_ext
30349 fi # $ac_x_includes = no
30350
30351 if test "$ac_x_libraries" = no; then
30352 # Check for the libraries.
30353 # See if we find them without any special options.
30354 # Don't add to $LIBS permanently.
30355 ac_save_LIBS=$LIBS
30356 LIBS="-lX11 $LIBS"
30357 cat >conftest.$ac_ext <<_ACEOF
30358 /* confdefs.h. */
30359 _ACEOF
30360 cat confdefs.h >>conftest.$ac_ext
30361 cat >>conftest.$ac_ext <<_ACEOF
30362 /* end confdefs.h. */
30363 #include <X11/Xlib.h>
30364 int
30365 main ()
30366 {
30367 XrmInitialize ()
30368 ;
30369 return 0;
30370 }
30371 _ACEOF
30372 rm -f conftest.$ac_objext conftest$ac_exeext
30373 if { (ac_try="$ac_link"
30374 case "(($ac_try" in
30375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30376 *) ac_try_echo=$ac_try;;
30377 esac
30378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30379 (eval "$ac_link") 2>conftest.er1
30380 ac_status=$?
30381 grep -v '^ *+' conftest.er1 >conftest.err
30382 rm -f conftest.er1
30383 cat conftest.err >&5
30384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30385 (exit $ac_status); } && {
30386 test -z "$ac_c_werror_flag" ||
30387 test ! -s conftest.err
30388 } && test -s conftest$ac_exeext &&
30389 $as_test_x conftest$ac_exeext; then
30390 LIBS=$ac_save_LIBS
30391 # We can link X programs with no special library path.
30392 ac_x_libraries=
30393 else
30394 echo "$as_me: failed program was:" >&5
30395 sed 's/^/| /' conftest.$ac_ext >&5
30396
30397 LIBS=$ac_save_LIBS
30398 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30399 do
30400 # Don't even attempt the hair of trying to link an X program!
30401 for ac_extension in a so sl; do
30402 if test -r "$ac_dir/libX11.$ac_extension"; then
30403 ac_x_libraries=$ac_dir
30404 break 2
30405 fi
30406 done
30407 done
30408 fi
30409
30410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30411 conftest$ac_exeext conftest.$ac_ext
30412 fi # $ac_x_libraries = no
30413
30414 case $ac_x_includes,$ac_x_libraries in #(
30415 no,* | *,no | *\'*)
30416 # Didn't find X, or a directory has "'" in its name.
30417 ac_cv_have_x="have_x=no";; #(
30418 *)
30419 # Record where we found X for the cache.
30420 ac_cv_have_x="have_x=yes\
30421 ac_x_includes='$ac_x_includes'\
30422 ac_x_libraries='$ac_x_libraries'"
30423 esac
30424 fi
30425 ;; #(
30426 *) have_x=yes;;
30427 esac
30428 eval "$ac_cv_have_x"
30429 fi # $with_x != no
30430
30431 if test "$have_x" != yes; then
30432 { echo "$as_me:$LINENO: result: $have_x" >&5
30433 echo "${ECHO_T}$have_x" >&6; }
30434 no_x=yes
30435 else
30436 # If each of the values was on the command line, it overrides each guess.
30437 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30438 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30439 # Update the cache value to reflect the command line values.
30440 ac_cv_have_x="have_x=yes\
30441 ac_x_includes='$x_includes'\
30442 ac_x_libraries='$x_libraries'"
30443 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30444 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30445 fi
30446
30447 if test "$no_x" = yes; then
30448 # Not all programs may use this symbol, but it does not hurt to define it.
30449
30450 cat >>confdefs.h <<\_ACEOF
30451 #define X_DISPLAY_MISSING 1
30452 _ACEOF
30453
30454 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30455 else
30456 if test -n "$x_includes"; then
30457 X_CFLAGS="$X_CFLAGS -I$x_includes"
30458 fi
30459
30460 # It would also be nice to do this for all -L options, not just this one.
30461 if test -n "$x_libraries"; then
30462 X_LIBS="$X_LIBS -L$x_libraries"
30463 # For Solaris; some versions of Sun CC require a space after -R and
30464 # others require no space. Words are not sufficient . . . .
30465 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30466 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30467 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30468 ac_xsave_c_werror_flag=$ac_c_werror_flag
30469 ac_c_werror_flag=yes
30470 cat >conftest.$ac_ext <<_ACEOF
30471 /* confdefs.h. */
30472 _ACEOF
30473 cat confdefs.h >>conftest.$ac_ext
30474 cat >>conftest.$ac_ext <<_ACEOF
30475 /* end confdefs.h. */
30476
30477 int
30478 main ()
30479 {
30480
30481 ;
30482 return 0;
30483 }
30484 _ACEOF
30485 rm -f conftest.$ac_objext conftest$ac_exeext
30486 if { (ac_try="$ac_link"
30487 case "(($ac_try" in
30488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30489 *) ac_try_echo=$ac_try;;
30490 esac
30491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30492 (eval "$ac_link") 2>conftest.er1
30493 ac_status=$?
30494 grep -v '^ *+' conftest.er1 >conftest.err
30495 rm -f conftest.er1
30496 cat conftest.err >&5
30497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30498 (exit $ac_status); } && {
30499 test -z "$ac_c_werror_flag" ||
30500 test ! -s conftest.err
30501 } && test -s conftest$ac_exeext &&
30502 $as_test_x conftest$ac_exeext; then
30503 { echo "$as_me:$LINENO: result: no" >&5
30504 echo "${ECHO_T}no" >&6; }
30505 X_LIBS="$X_LIBS -R$x_libraries"
30506 else
30507 echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30509
30510 LIBS="$ac_xsave_LIBS -R $x_libraries"
30511 cat >conftest.$ac_ext <<_ACEOF
30512 /* confdefs.h. */
30513 _ACEOF
30514 cat confdefs.h >>conftest.$ac_ext
30515 cat >>conftest.$ac_ext <<_ACEOF
30516 /* end confdefs.h. */
30517
30518 int
30519 main ()
30520 {
30521
30522 ;
30523 return 0;
30524 }
30525 _ACEOF
30526 rm -f conftest.$ac_objext conftest$ac_exeext
30527 if { (ac_try="$ac_link"
30528 case "(($ac_try" in
30529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30530 *) ac_try_echo=$ac_try;;
30531 esac
30532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30533 (eval "$ac_link") 2>conftest.er1
30534 ac_status=$?
30535 grep -v '^ *+' conftest.er1 >conftest.err
30536 rm -f conftest.er1
30537 cat conftest.err >&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } && {
30540 test -z "$ac_c_werror_flag" ||
30541 test ! -s conftest.err
30542 } && test -s conftest$ac_exeext &&
30543 $as_test_x conftest$ac_exeext; then
30544 { echo "$as_me:$LINENO: result: yes" >&5
30545 echo "${ECHO_T}yes" >&6; }
30546 X_LIBS="$X_LIBS -R $x_libraries"
30547 else
30548 echo "$as_me: failed program was:" >&5
30549 sed 's/^/| /' conftest.$ac_ext >&5
30550
30551 { echo "$as_me:$LINENO: result: neither works" >&5
30552 echo "${ECHO_T}neither works" >&6; }
30553 fi
30554
30555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30556 conftest$ac_exeext conftest.$ac_ext
30557 fi
30558
30559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30560 conftest$ac_exeext conftest.$ac_ext
30561 ac_c_werror_flag=$ac_xsave_c_werror_flag
30562 LIBS=$ac_xsave_LIBS
30563 fi
30564
30565 # Check for system-dependent libraries X programs must link with.
30566 # Do this before checking for the system-independent R6 libraries
30567 # (-lICE), since we may need -lsocket or whatever for X linking.
30568
30569 if test "$ISC" = yes; then
30570 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30571 else
30572 # Martyn Johnson says this is needed for Ultrix, if the X
30573 # libraries were built with DECnet support. And Karl Berry says
30574 # the Alpha needs dnet_stub (dnet does not exist).
30575 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30576 cat >conftest.$ac_ext <<_ACEOF
30577 /* confdefs.h. */
30578 _ACEOF
30579 cat confdefs.h >>conftest.$ac_ext
30580 cat >>conftest.$ac_ext <<_ACEOF
30581 /* end confdefs.h. */
30582
30583 /* Override any GCC internal prototype to avoid an error.
30584 Use char because int might match the return type of a GCC
30585 builtin and then its argument prototype would still apply. */
30586 #ifdef __cplusplus
30587 extern "C"
30588 #endif
30589 char XOpenDisplay ();
30590 int
30591 main ()
30592 {
30593 return XOpenDisplay ();
30594 ;
30595 return 0;
30596 }
30597 _ACEOF
30598 rm -f conftest.$ac_objext conftest$ac_exeext
30599 if { (ac_try="$ac_link"
30600 case "(($ac_try" in
30601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30602 *) ac_try_echo=$ac_try;;
30603 esac
30604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30605 (eval "$ac_link") 2>conftest.er1
30606 ac_status=$?
30607 grep -v '^ *+' conftest.er1 >conftest.err
30608 rm -f conftest.er1
30609 cat conftest.err >&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); } && {
30612 test -z "$ac_c_werror_flag" ||
30613 test ! -s conftest.err
30614 } && test -s conftest$ac_exeext &&
30615 $as_test_x conftest$ac_exeext; then
30616 :
30617 else
30618 echo "$as_me: failed program was:" >&5
30619 sed 's/^/| /' conftest.$ac_ext >&5
30620
30621 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30622 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30623 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30625 else
30626 ac_check_lib_save_LIBS=$LIBS
30627 LIBS="-ldnet $LIBS"
30628 cat >conftest.$ac_ext <<_ACEOF
30629 /* confdefs.h. */
30630 _ACEOF
30631 cat confdefs.h >>conftest.$ac_ext
30632 cat >>conftest.$ac_ext <<_ACEOF
30633 /* end confdefs.h. */
30634
30635 /* Override any GCC internal prototype to avoid an error.
30636 Use char because int might match the return type of a GCC
30637 builtin and then its argument prototype would still apply. */
30638 #ifdef __cplusplus
30639 extern "C"
30640 #endif
30641 char dnet_ntoa ();
30642 int
30643 main ()
30644 {
30645 return dnet_ntoa ();
30646 ;
30647 return 0;
30648 }
30649 _ACEOF
30650 rm -f conftest.$ac_objext conftest$ac_exeext
30651 if { (ac_try="$ac_link"
30652 case "(($ac_try" in
30653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30654 *) ac_try_echo=$ac_try;;
30655 esac
30656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30657 (eval "$ac_link") 2>conftest.er1
30658 ac_status=$?
30659 grep -v '^ *+' conftest.er1 >conftest.err
30660 rm -f conftest.er1
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } && {
30664 test -z "$ac_c_werror_flag" ||
30665 test ! -s conftest.err
30666 } && test -s conftest$ac_exeext &&
30667 $as_test_x conftest$ac_exeext; then
30668 ac_cv_lib_dnet_dnet_ntoa=yes
30669 else
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30672
30673 ac_cv_lib_dnet_dnet_ntoa=no
30674 fi
30675
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30678 LIBS=$ac_check_lib_save_LIBS
30679 fi
30680 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30681 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30682 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30683 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30684 fi
30685
30686 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30687 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30688 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30689 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30690 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 else
30692 ac_check_lib_save_LIBS=$LIBS
30693 LIBS="-ldnet_stub $LIBS"
30694 cat >conftest.$ac_ext <<_ACEOF
30695 /* confdefs.h. */
30696 _ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30700
30701 /* Override any GCC internal prototype to avoid an error.
30702 Use char because int might match the return type of a GCC
30703 builtin and then its argument prototype would still apply. */
30704 #ifdef __cplusplus
30705 extern "C"
30706 #endif
30707 char dnet_ntoa ();
30708 int
30709 main ()
30710 {
30711 return dnet_ntoa ();
30712 ;
30713 return 0;
30714 }
30715 _ACEOF
30716 rm -f conftest.$ac_objext conftest$ac_exeext
30717 if { (ac_try="$ac_link"
30718 case "(($ac_try" in
30719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30720 *) ac_try_echo=$ac_try;;
30721 esac
30722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30723 (eval "$ac_link") 2>conftest.er1
30724 ac_status=$?
30725 grep -v '^ *+' conftest.er1 >conftest.err
30726 rm -f conftest.er1
30727 cat conftest.err >&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); } && {
30730 test -z "$ac_c_werror_flag" ||
30731 test ! -s conftest.err
30732 } && test -s conftest$ac_exeext &&
30733 $as_test_x conftest$ac_exeext; then
30734 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30735 else
30736 echo "$as_me: failed program was:" >&5
30737 sed 's/^/| /' conftest.$ac_ext >&5
30738
30739 ac_cv_lib_dnet_stub_dnet_ntoa=no
30740 fi
30741
30742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30743 conftest$ac_exeext conftest.$ac_ext
30744 LIBS=$ac_check_lib_save_LIBS
30745 fi
30746 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30747 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30748 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30749 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30750 fi
30751
30752 fi
30753 fi
30754
30755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30756 conftest$ac_exeext conftest.$ac_ext
30757 LIBS="$ac_xsave_LIBS"
30758
30759 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30760 # to get the SysV transport functions.
30761 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30762 # needs -lnsl.
30763 # The nsl library prevents programs from opening the X display
30764 # on Irix 5.2, according to T.E. Dickey.
30765 # The functions gethostbyname, getservbyname, and inet_addr are
30766 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30767 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30768 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30769 if test "${ac_cv_func_gethostbyname+set}" = set; then
30770 echo $ECHO_N "(cached) $ECHO_C" >&6
30771 else
30772 cat >conftest.$ac_ext <<_ACEOF
30773 /* confdefs.h. */
30774 _ACEOF
30775 cat confdefs.h >>conftest.$ac_ext
30776 cat >>conftest.$ac_ext <<_ACEOF
30777 /* end confdefs.h. */
30778 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30780 #define gethostbyname innocuous_gethostbyname
30781
30782 /* System header to define __stub macros and hopefully few prototypes,
30783 which can conflict with char gethostbyname (); below.
30784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30785 <limits.h> exists even on freestanding compilers. */
30786
30787 #ifdef __STDC__
30788 # include <limits.h>
30789 #else
30790 # include <assert.h>
30791 #endif
30792
30793 #undef gethostbyname
30794
30795 /* Override any GCC internal prototype to avoid an error.
30796 Use char because int might match the return type of a GCC
30797 builtin and then its argument prototype would still apply. */
30798 #ifdef __cplusplus
30799 extern "C"
30800 #endif
30801 char gethostbyname ();
30802 /* The GNU C library defines this for functions which it implements
30803 to always fail with ENOSYS. Some functions are actually named
30804 something starting with __ and the normal name is an alias. */
30805 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30806 choke me
30807 #endif
30808
30809 int
30810 main ()
30811 {
30812 return gethostbyname ();
30813 ;
30814 return 0;
30815 }
30816 _ACEOF
30817 rm -f conftest.$ac_objext conftest$ac_exeext
30818 if { (ac_try="$ac_link"
30819 case "(($ac_try" in
30820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30821 *) ac_try_echo=$ac_try;;
30822 esac
30823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30824 (eval "$ac_link") 2>conftest.er1
30825 ac_status=$?
30826 grep -v '^ *+' conftest.er1 >conftest.err
30827 rm -f conftest.er1
30828 cat conftest.err >&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); } && {
30831 test -z "$ac_c_werror_flag" ||
30832 test ! -s conftest.err
30833 } && test -s conftest$ac_exeext &&
30834 $as_test_x conftest$ac_exeext; then
30835 ac_cv_func_gethostbyname=yes
30836 else
30837 echo "$as_me: failed program was:" >&5
30838 sed 's/^/| /' conftest.$ac_ext >&5
30839
30840 ac_cv_func_gethostbyname=no
30841 fi
30842
30843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30844 conftest$ac_exeext conftest.$ac_ext
30845 fi
30846 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30847 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30848
30849 if test $ac_cv_func_gethostbyname = no; then
30850 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30851 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30852 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30853 echo $ECHO_N "(cached) $ECHO_C" >&6
30854 else
30855 ac_check_lib_save_LIBS=$LIBS
30856 LIBS="-lnsl $LIBS"
30857 cat >conftest.$ac_ext <<_ACEOF
30858 /* confdefs.h. */
30859 _ACEOF
30860 cat confdefs.h >>conftest.$ac_ext
30861 cat >>conftest.$ac_ext <<_ACEOF
30862 /* end confdefs.h. */
30863
30864 /* Override any GCC internal prototype to avoid an error.
30865 Use char because int might match the return type of a GCC
30866 builtin and then its argument prototype would still apply. */
30867 #ifdef __cplusplus
30868 extern "C"
30869 #endif
30870 char gethostbyname ();
30871 int
30872 main ()
30873 {
30874 return gethostbyname ();
30875 ;
30876 return 0;
30877 }
30878 _ACEOF
30879 rm -f conftest.$ac_objext conftest$ac_exeext
30880 if { (ac_try="$ac_link"
30881 case "(($ac_try" in
30882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30883 *) ac_try_echo=$ac_try;;
30884 esac
30885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30886 (eval "$ac_link") 2>conftest.er1
30887 ac_status=$?
30888 grep -v '^ *+' conftest.er1 >conftest.err
30889 rm -f conftest.er1
30890 cat conftest.err >&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } && {
30893 test -z "$ac_c_werror_flag" ||
30894 test ! -s conftest.err
30895 } && test -s conftest$ac_exeext &&
30896 $as_test_x conftest$ac_exeext; then
30897 ac_cv_lib_nsl_gethostbyname=yes
30898 else
30899 echo "$as_me: failed program was:" >&5
30900 sed 's/^/| /' conftest.$ac_ext >&5
30901
30902 ac_cv_lib_nsl_gethostbyname=no
30903 fi
30904
30905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30906 conftest$ac_exeext conftest.$ac_ext
30907 LIBS=$ac_check_lib_save_LIBS
30908 fi
30909 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30910 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30911 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30912 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30913 fi
30914
30915 if test $ac_cv_lib_nsl_gethostbyname = no; then
30916 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30917 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30918 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30919 echo $ECHO_N "(cached) $ECHO_C" >&6
30920 else
30921 ac_check_lib_save_LIBS=$LIBS
30922 LIBS="-lbsd $LIBS"
30923 cat >conftest.$ac_ext <<_ACEOF
30924 /* confdefs.h. */
30925 _ACEOF
30926 cat confdefs.h >>conftest.$ac_ext
30927 cat >>conftest.$ac_ext <<_ACEOF
30928 /* end confdefs.h. */
30929
30930 /* Override any GCC internal prototype to avoid an error.
30931 Use char because int might match the return type of a GCC
30932 builtin and then its argument prototype would still apply. */
30933 #ifdef __cplusplus
30934 extern "C"
30935 #endif
30936 char gethostbyname ();
30937 int
30938 main ()
30939 {
30940 return gethostbyname ();
30941 ;
30942 return 0;
30943 }
30944 _ACEOF
30945 rm -f conftest.$ac_objext conftest$ac_exeext
30946 if { (ac_try="$ac_link"
30947 case "(($ac_try" in
30948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30949 *) ac_try_echo=$ac_try;;
30950 esac
30951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30952 (eval "$ac_link") 2>conftest.er1
30953 ac_status=$?
30954 grep -v '^ *+' conftest.er1 >conftest.err
30955 rm -f conftest.er1
30956 cat conftest.err >&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } && {
30959 test -z "$ac_c_werror_flag" ||
30960 test ! -s conftest.err
30961 } && test -s conftest$ac_exeext &&
30962 $as_test_x conftest$ac_exeext; then
30963 ac_cv_lib_bsd_gethostbyname=yes
30964 else
30965 echo "$as_me: failed program was:" >&5
30966 sed 's/^/| /' conftest.$ac_ext >&5
30967
30968 ac_cv_lib_bsd_gethostbyname=no
30969 fi
30970
30971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30972 conftest$ac_exeext conftest.$ac_ext
30973 LIBS=$ac_check_lib_save_LIBS
30974 fi
30975 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30976 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30977 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30978 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30979 fi
30980
30981 fi
30982 fi
30983
30984 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30985 # socket/setsockopt and other routines are undefined under SCO ODT
30986 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30987 # on later versions), says Simon Leinen: it contains gethostby*
30988 # variants that don't use the name server (or something). -lsocket
30989 # must be given before -lnsl if both are needed. We assume that
30990 # if connect needs -lnsl, so does gethostbyname.
30991 { echo "$as_me:$LINENO: checking for connect" >&5
30992 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30993 if test "${ac_cv_func_connect+set}" = set; then
30994 echo $ECHO_N "(cached) $ECHO_C" >&6
30995 else
30996 cat >conftest.$ac_ext <<_ACEOF
30997 /* confdefs.h. */
30998 _ACEOF
30999 cat confdefs.h >>conftest.$ac_ext
31000 cat >>conftest.$ac_ext <<_ACEOF
31001 /* end confdefs.h. */
31002 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31004 #define connect innocuous_connect
31005
31006 /* System header to define __stub macros and hopefully few prototypes,
31007 which can conflict with char connect (); below.
31008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31009 <limits.h> exists even on freestanding compilers. */
31010
31011 #ifdef __STDC__
31012 # include <limits.h>
31013 #else
31014 # include <assert.h>
31015 #endif
31016
31017 #undef connect
31018
31019 /* Override any GCC internal prototype to avoid an error.
31020 Use char because int might match the return type of a GCC
31021 builtin and then its argument prototype would still apply. */
31022 #ifdef __cplusplus
31023 extern "C"
31024 #endif
31025 char connect ();
31026 /* The GNU C library defines this for functions which it implements
31027 to always fail with ENOSYS. Some functions are actually named
31028 something starting with __ and the normal name is an alias. */
31029 #if defined __stub_connect || defined __stub___connect
31030 choke me
31031 #endif
31032
31033 int
31034 main ()
31035 {
31036 return connect ();
31037 ;
31038 return 0;
31039 }
31040 _ACEOF
31041 rm -f conftest.$ac_objext conftest$ac_exeext
31042 if { (ac_try="$ac_link"
31043 case "(($ac_try" in
31044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31045 *) ac_try_echo=$ac_try;;
31046 esac
31047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31048 (eval "$ac_link") 2>conftest.er1
31049 ac_status=$?
31050 grep -v '^ *+' conftest.er1 >conftest.err
31051 rm -f conftest.er1
31052 cat conftest.err >&5
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); } && {
31055 test -z "$ac_c_werror_flag" ||
31056 test ! -s conftest.err
31057 } && test -s conftest$ac_exeext &&
31058 $as_test_x conftest$ac_exeext; then
31059 ac_cv_func_connect=yes
31060 else
31061 echo "$as_me: failed program was:" >&5
31062 sed 's/^/| /' conftest.$ac_ext >&5
31063
31064 ac_cv_func_connect=no
31065 fi
31066
31067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31068 conftest$ac_exeext conftest.$ac_ext
31069 fi
31070 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31071 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31072
31073 if test $ac_cv_func_connect = no; then
31074 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31075 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31076 if test "${ac_cv_lib_socket_connect+set}" = set; then
31077 echo $ECHO_N "(cached) $ECHO_C" >&6
31078 else
31079 ac_check_lib_save_LIBS=$LIBS
31080 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31081 cat >conftest.$ac_ext <<_ACEOF
31082 /* confdefs.h. */
31083 _ACEOF
31084 cat confdefs.h >>conftest.$ac_ext
31085 cat >>conftest.$ac_ext <<_ACEOF
31086 /* end confdefs.h. */
31087
31088 /* Override any GCC internal prototype to avoid an error.
31089 Use char because int might match the return type of a GCC
31090 builtin and then its argument prototype would still apply. */
31091 #ifdef __cplusplus
31092 extern "C"
31093 #endif
31094 char connect ();
31095 int
31096 main ()
31097 {
31098 return connect ();
31099 ;
31100 return 0;
31101 }
31102 _ACEOF
31103 rm -f conftest.$ac_objext conftest$ac_exeext
31104 if { (ac_try="$ac_link"
31105 case "(($ac_try" in
31106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31107 *) ac_try_echo=$ac_try;;
31108 esac
31109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31110 (eval "$ac_link") 2>conftest.er1
31111 ac_status=$?
31112 grep -v '^ *+' conftest.er1 >conftest.err
31113 rm -f conftest.er1
31114 cat conftest.err >&5
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); } && {
31117 test -z "$ac_c_werror_flag" ||
31118 test ! -s conftest.err
31119 } && test -s conftest$ac_exeext &&
31120 $as_test_x conftest$ac_exeext; then
31121 ac_cv_lib_socket_connect=yes
31122 else
31123 echo "$as_me: failed program was:" >&5
31124 sed 's/^/| /' conftest.$ac_ext >&5
31125
31126 ac_cv_lib_socket_connect=no
31127 fi
31128
31129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31130 conftest$ac_exeext conftest.$ac_ext
31131 LIBS=$ac_check_lib_save_LIBS
31132 fi
31133 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31134 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31135 if test $ac_cv_lib_socket_connect = yes; then
31136 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31137 fi
31138
31139 fi
31140
31141 # Guillermo Gomez says -lposix is necessary on A/UX.
31142 { echo "$as_me:$LINENO: checking for remove" >&5
31143 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31144 if test "${ac_cv_func_remove+set}" = set; then
31145 echo $ECHO_N "(cached) $ECHO_C" >&6
31146 else
31147 cat >conftest.$ac_ext <<_ACEOF
31148 /* confdefs.h. */
31149 _ACEOF
31150 cat confdefs.h >>conftest.$ac_ext
31151 cat >>conftest.$ac_ext <<_ACEOF
31152 /* end confdefs.h. */
31153 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31155 #define remove innocuous_remove
31156
31157 /* System header to define __stub macros and hopefully few prototypes,
31158 which can conflict with char remove (); below.
31159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31160 <limits.h> exists even on freestanding compilers. */
31161
31162 #ifdef __STDC__
31163 # include <limits.h>
31164 #else
31165 # include <assert.h>
31166 #endif
31167
31168 #undef remove
31169
31170 /* Override any GCC internal prototype to avoid an error.
31171 Use char because int might match the return type of a GCC
31172 builtin and then its argument prototype would still apply. */
31173 #ifdef __cplusplus
31174 extern "C"
31175 #endif
31176 char remove ();
31177 /* The GNU C library defines this for functions which it implements
31178 to always fail with ENOSYS. Some functions are actually named
31179 something starting with __ and the normal name is an alias. */
31180 #if defined __stub_remove || defined __stub___remove
31181 choke me
31182 #endif
31183
31184 int
31185 main ()
31186 {
31187 return remove ();
31188 ;
31189 return 0;
31190 }
31191 _ACEOF
31192 rm -f conftest.$ac_objext conftest$ac_exeext
31193 if { (ac_try="$ac_link"
31194 case "(($ac_try" in
31195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31196 *) ac_try_echo=$ac_try;;
31197 esac
31198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31199 (eval "$ac_link") 2>conftest.er1
31200 ac_status=$?
31201 grep -v '^ *+' conftest.er1 >conftest.err
31202 rm -f conftest.er1
31203 cat conftest.err >&5
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); } && {
31206 test -z "$ac_c_werror_flag" ||
31207 test ! -s conftest.err
31208 } && test -s conftest$ac_exeext &&
31209 $as_test_x conftest$ac_exeext; then
31210 ac_cv_func_remove=yes
31211 else
31212 echo "$as_me: failed program was:" >&5
31213 sed 's/^/| /' conftest.$ac_ext >&5
31214
31215 ac_cv_func_remove=no
31216 fi
31217
31218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31219 conftest$ac_exeext conftest.$ac_ext
31220 fi
31221 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31222 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31223
31224 if test $ac_cv_func_remove = no; then
31225 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31226 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31227 if test "${ac_cv_lib_posix_remove+set}" = set; then
31228 echo $ECHO_N "(cached) $ECHO_C" >&6
31229 else
31230 ac_check_lib_save_LIBS=$LIBS
31231 LIBS="-lposix $LIBS"
31232 cat >conftest.$ac_ext <<_ACEOF
31233 /* confdefs.h. */
31234 _ACEOF
31235 cat confdefs.h >>conftest.$ac_ext
31236 cat >>conftest.$ac_ext <<_ACEOF
31237 /* end confdefs.h. */
31238
31239 /* Override any GCC internal prototype to avoid an error.
31240 Use char because int might match the return type of a GCC
31241 builtin and then its argument prototype would still apply. */
31242 #ifdef __cplusplus
31243 extern "C"
31244 #endif
31245 char remove ();
31246 int
31247 main ()
31248 {
31249 return remove ();
31250 ;
31251 return 0;
31252 }
31253 _ACEOF
31254 rm -f conftest.$ac_objext conftest$ac_exeext
31255 if { (ac_try="$ac_link"
31256 case "(($ac_try" in
31257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31258 *) ac_try_echo=$ac_try;;
31259 esac
31260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31261 (eval "$ac_link") 2>conftest.er1
31262 ac_status=$?
31263 grep -v '^ *+' conftest.er1 >conftest.err
31264 rm -f conftest.er1
31265 cat conftest.err >&5
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); } && {
31268 test -z "$ac_c_werror_flag" ||
31269 test ! -s conftest.err
31270 } && test -s conftest$ac_exeext &&
31271 $as_test_x conftest$ac_exeext; then
31272 ac_cv_lib_posix_remove=yes
31273 else
31274 echo "$as_me: failed program was:" >&5
31275 sed 's/^/| /' conftest.$ac_ext >&5
31276
31277 ac_cv_lib_posix_remove=no
31278 fi
31279
31280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31281 conftest$ac_exeext conftest.$ac_ext
31282 LIBS=$ac_check_lib_save_LIBS
31283 fi
31284 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31285 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31286 if test $ac_cv_lib_posix_remove = yes; then
31287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31288 fi
31289
31290 fi
31291
31292 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31293 { echo "$as_me:$LINENO: checking for shmat" >&5
31294 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31295 if test "${ac_cv_func_shmat+set}" = set; then
31296 echo $ECHO_N "(cached) $ECHO_C" >&6
31297 else
31298 cat >conftest.$ac_ext <<_ACEOF
31299 /* confdefs.h. */
31300 _ACEOF
31301 cat confdefs.h >>conftest.$ac_ext
31302 cat >>conftest.$ac_ext <<_ACEOF
31303 /* end confdefs.h. */
31304 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31306 #define shmat innocuous_shmat
31307
31308 /* System header to define __stub macros and hopefully few prototypes,
31309 which can conflict with char shmat (); below.
31310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31311 <limits.h> exists even on freestanding compilers. */
31312
31313 #ifdef __STDC__
31314 # include <limits.h>
31315 #else
31316 # include <assert.h>
31317 #endif
31318
31319 #undef shmat
31320
31321 /* Override any GCC internal prototype to avoid an error.
31322 Use char because int might match the return type of a GCC
31323 builtin and then its argument prototype would still apply. */
31324 #ifdef __cplusplus
31325 extern "C"
31326 #endif
31327 char shmat ();
31328 /* The GNU C library defines this for functions which it implements
31329 to always fail with ENOSYS. Some functions are actually named
31330 something starting with __ and the normal name is an alias. */
31331 #if defined __stub_shmat || defined __stub___shmat
31332 choke me
31333 #endif
31334
31335 int
31336 main ()
31337 {
31338 return shmat ();
31339 ;
31340 return 0;
31341 }
31342 _ACEOF
31343 rm -f conftest.$ac_objext conftest$ac_exeext
31344 if { (ac_try="$ac_link"
31345 case "(($ac_try" in
31346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31347 *) ac_try_echo=$ac_try;;
31348 esac
31349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31350 (eval "$ac_link") 2>conftest.er1
31351 ac_status=$?
31352 grep -v '^ *+' conftest.er1 >conftest.err
31353 rm -f conftest.er1
31354 cat conftest.err >&5
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); } && {
31357 test -z "$ac_c_werror_flag" ||
31358 test ! -s conftest.err
31359 } && test -s conftest$ac_exeext &&
31360 $as_test_x conftest$ac_exeext; then
31361 ac_cv_func_shmat=yes
31362 else
31363 echo "$as_me: failed program was:" >&5
31364 sed 's/^/| /' conftest.$ac_ext >&5
31365
31366 ac_cv_func_shmat=no
31367 fi
31368
31369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31370 conftest$ac_exeext conftest.$ac_ext
31371 fi
31372 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31373 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31374
31375 if test $ac_cv_func_shmat = no; then
31376 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31377 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31378 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31379 echo $ECHO_N "(cached) $ECHO_C" >&6
31380 else
31381 ac_check_lib_save_LIBS=$LIBS
31382 LIBS="-lipc $LIBS"
31383 cat >conftest.$ac_ext <<_ACEOF
31384 /* confdefs.h. */
31385 _ACEOF
31386 cat confdefs.h >>conftest.$ac_ext
31387 cat >>conftest.$ac_ext <<_ACEOF
31388 /* end confdefs.h. */
31389
31390 /* Override any GCC internal prototype to avoid an error.
31391 Use char because int might match the return type of a GCC
31392 builtin and then its argument prototype would still apply. */
31393 #ifdef __cplusplus
31394 extern "C"
31395 #endif
31396 char shmat ();
31397 int
31398 main ()
31399 {
31400 return shmat ();
31401 ;
31402 return 0;
31403 }
31404 _ACEOF
31405 rm -f conftest.$ac_objext conftest$ac_exeext
31406 if { (ac_try="$ac_link"
31407 case "(($ac_try" in
31408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31409 *) ac_try_echo=$ac_try;;
31410 esac
31411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31412 (eval "$ac_link") 2>conftest.er1
31413 ac_status=$?
31414 grep -v '^ *+' conftest.er1 >conftest.err
31415 rm -f conftest.er1
31416 cat conftest.err >&5
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); } && {
31419 test -z "$ac_c_werror_flag" ||
31420 test ! -s conftest.err
31421 } && test -s conftest$ac_exeext &&
31422 $as_test_x conftest$ac_exeext; then
31423 ac_cv_lib_ipc_shmat=yes
31424 else
31425 echo "$as_me: failed program was:" >&5
31426 sed 's/^/| /' conftest.$ac_ext >&5
31427
31428 ac_cv_lib_ipc_shmat=no
31429 fi
31430
31431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31432 conftest$ac_exeext conftest.$ac_ext
31433 LIBS=$ac_check_lib_save_LIBS
31434 fi
31435 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31436 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31437 if test $ac_cv_lib_ipc_shmat = yes; then
31438 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31439 fi
31440
31441 fi
31442 fi
31443
31444 # Check for libraries that X11R6 Xt/Xaw programs need.
31445 ac_save_LDFLAGS=$LDFLAGS
31446 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31447 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31448 # check for ICE first), but we must link in the order -lSM -lICE or
31449 # we get undefined symbols. So assume we have SM if we have ICE.
31450 # These have to be linked with before -lX11, unlike the other
31451 # libraries we check for below, so use a different variable.
31452 # John Interrante, Karl Berry
31453 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31454 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31455 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31456 echo $ECHO_N "(cached) $ECHO_C" >&6
31457 else
31458 ac_check_lib_save_LIBS=$LIBS
31459 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31460 cat >conftest.$ac_ext <<_ACEOF
31461 /* confdefs.h. */
31462 _ACEOF
31463 cat confdefs.h >>conftest.$ac_ext
31464 cat >>conftest.$ac_ext <<_ACEOF
31465 /* end confdefs.h. */
31466
31467 /* Override any GCC internal prototype to avoid an error.
31468 Use char because int might match the return type of a GCC
31469 builtin and then its argument prototype would still apply. */
31470 #ifdef __cplusplus
31471 extern "C"
31472 #endif
31473 char IceConnectionNumber ();
31474 int
31475 main ()
31476 {
31477 return IceConnectionNumber ();
31478 ;
31479 return 0;
31480 }
31481 _ACEOF
31482 rm -f conftest.$ac_objext conftest$ac_exeext
31483 if { (ac_try="$ac_link"
31484 case "(($ac_try" in
31485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31486 *) ac_try_echo=$ac_try;;
31487 esac
31488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31489 (eval "$ac_link") 2>conftest.er1
31490 ac_status=$?
31491 grep -v '^ *+' conftest.er1 >conftest.err
31492 rm -f conftest.er1
31493 cat conftest.err >&5
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); } && {
31496 test -z "$ac_c_werror_flag" ||
31497 test ! -s conftest.err
31498 } && test -s conftest$ac_exeext &&
31499 $as_test_x conftest$ac_exeext; then
31500 ac_cv_lib_ICE_IceConnectionNumber=yes
31501 else
31502 echo "$as_me: failed program was:" >&5
31503 sed 's/^/| /' conftest.$ac_ext >&5
31504
31505 ac_cv_lib_ICE_IceConnectionNumber=no
31506 fi
31507
31508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31509 conftest$ac_exeext conftest.$ac_ext
31510 LIBS=$ac_check_lib_save_LIBS
31511 fi
31512 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31513 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31514 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31515 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31516 fi
31517
31518 LDFLAGS=$ac_save_LDFLAGS
31519
31520 fi
31521
31522
31523 if test "$no_x" = "yes"; then
31524 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31525 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31526 { (exit 1); exit 1; }; }
31527 fi
31528
31529 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31530 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31531 AFMINSTALL=afminstall
31532 COMPILED_X_PROGRAM=0
31533
31534 fi
31535
31536 if test "$wxUSE_X11" = 1; then
31537 if test "$wxUSE_NANOX" = "yes"; then
31538 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31539 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31540 if test "x$MICROWIN" = x ; then
31541 { echo "$as_me:$LINENO: result: not found" >&5
31542 echo "${ECHO_T}not found" >&6; }
31543 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31544 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31545 { (exit 1); exit 1; }; }
31546 else
31547 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31548 echo "${ECHO_T}$MICROWIN" >&6; }
31549 cat >>confdefs.h <<\_ACEOF
31550 #define wxUSE_NANOX 1
31551 _ACEOF
31552
31553 fi
31554 fi
31555
31556 if test "$wxUSE_UNICODE" = "yes"; then
31557
31558
31559 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31560 if test -n "$ac_tool_prefix"; then
31561 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31562 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31565 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31566 echo $ECHO_N "(cached) $ECHO_C" >&6
31567 else
31568 case $PKG_CONFIG in
31569 [\\/]* | ?:[\\/]*)
31570 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31571 ;;
31572 *)
31573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31574 for as_dir in $PATH
31575 do
31576 IFS=$as_save_IFS
31577 test -z "$as_dir" && as_dir=.
31578 for ac_exec_ext in '' $ac_executable_extensions; do
31579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31580 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31582 break 2
31583 fi
31584 done
31585 done
31586 IFS=$as_save_IFS
31587
31588 ;;
31589 esac
31590 fi
31591 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31592 if test -n "$PKG_CONFIG"; then
31593 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31594 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31595 else
31596 { echo "$as_me:$LINENO: result: no" >&5
31597 echo "${ECHO_T}no" >&6; }
31598 fi
31599
31600
31601 fi
31602 if test -z "$ac_cv_path_PKG_CONFIG"; then
31603 ac_pt_PKG_CONFIG=$PKG_CONFIG
31604 # Extract the first word of "pkg-config", so it can be a program name with args.
31605 set dummy pkg-config; ac_word=$2
31606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31608 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31609 echo $ECHO_N "(cached) $ECHO_C" >&6
31610 else
31611 case $ac_pt_PKG_CONFIG in
31612 [\\/]* | ?:[\\/]*)
31613 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31614 ;;
31615 *)
31616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31617 for as_dir in $PATH
31618 do
31619 IFS=$as_save_IFS
31620 test -z "$as_dir" && as_dir=.
31621 for ac_exec_ext in '' $ac_executable_extensions; do
31622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31623 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31625 break 2
31626 fi
31627 done
31628 done
31629 IFS=$as_save_IFS
31630
31631 ;;
31632 esac
31633 fi
31634 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31635 if test -n "$ac_pt_PKG_CONFIG"; then
31636 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31637 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31638 else
31639 { echo "$as_me:$LINENO: result: no" >&5
31640 echo "${ECHO_T}no" >&6; }
31641 fi
31642
31643 if test "x$ac_pt_PKG_CONFIG" = x; then
31644 PKG_CONFIG=""
31645 else
31646 case $cross_compiling:$ac_tool_warned in
31647 yes:)
31648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31649 whose name does not start with the host triplet. If you think this
31650 configuration is useful to you, please write to autoconf@gnu.org." >&5
31651 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31652 whose name does not start with the host triplet. If you think this
31653 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31654 ac_tool_warned=yes ;;
31655 esac
31656 PKG_CONFIG=$ac_pt_PKG_CONFIG
31657 fi
31658 else
31659 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31660 fi
31661
31662 fi
31663 if test -n "$PKG_CONFIG"; then
31664 _pkg_min_version=0.9.0
31665 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31666 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31667 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31668 { echo "$as_me:$LINENO: result: yes" >&5
31669 echo "${ECHO_T}yes" >&6; }
31670 else
31671 { echo "$as_me:$LINENO: result: no" >&5
31672 echo "${ECHO_T}no" >&6; }
31673 PKG_CONFIG=""
31674 fi
31675
31676 fi
31677
31678
31679 pkg_failed=no
31680 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31681 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31682
31683 if test -n "$PKG_CONFIG"; then
31684 if test -n "$PANGOX_CFLAGS"; then
31685 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31686 else
31687 if test -n "$PKG_CONFIG" && \
31688 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31689 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31690 ac_status=$?
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); }; then
31693 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31694 else
31695 pkg_failed=yes
31696 fi
31697 fi
31698 else
31699 pkg_failed=untried
31700 fi
31701 if test -n "$PKG_CONFIG"; then
31702 if test -n "$PANGOX_LIBS"; then
31703 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31704 else
31705 if test -n "$PKG_CONFIG" && \
31706 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31707 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31708 ac_status=$?
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); }; then
31711 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31712 else
31713 pkg_failed=yes
31714 fi
31715 fi
31716 else
31717 pkg_failed=untried
31718 fi
31719
31720
31721
31722 if test $pkg_failed = yes; then
31723
31724 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31725 _pkg_short_errors_supported=yes
31726 else
31727 _pkg_short_errors_supported=no
31728 fi
31729 if test $_pkg_short_errors_supported = yes; then
31730 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31731 else
31732 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31733 fi
31734 # Put the nasty error message in config.log where it belongs
31735 echo "$PANGOX_PKG_ERRORS" >&5
31736
31737
31738 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31739 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31740 { (exit 1); exit 1; }; }
31741
31742
31743 elif test $pkg_failed = untried; then
31744
31745 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31746 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31747 { (exit 1); exit 1; }; }
31748
31749
31750 else
31751 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31752 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31753 { echo "$as_me:$LINENO: result: yes" >&5
31754 echo "${ECHO_T}yes" >&6; }
31755
31756 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31757 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31758 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31759
31760 fi
31761
31762 pkg_failed=no
31763 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31764 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31765
31766 if test -n "$PKG_CONFIG"; then
31767 if test -n "$PANGOFT2_CFLAGS"; then
31768 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31769 else
31770 if test -n "$PKG_CONFIG" && \
31771 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31772 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31773 ac_status=$?
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); }; then
31776 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31777 else
31778 pkg_failed=yes
31779 fi
31780 fi
31781 else
31782 pkg_failed=untried
31783 fi
31784 if test -n "$PKG_CONFIG"; then
31785 if test -n "$PANGOFT2_LIBS"; then
31786 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31787 else
31788 if test -n "$PKG_CONFIG" && \
31789 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31790 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31791 ac_status=$?
31792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31793 (exit $ac_status); }; then
31794 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31795 else
31796 pkg_failed=yes
31797 fi
31798 fi
31799 else
31800 pkg_failed=untried
31801 fi
31802
31803
31804
31805 if test $pkg_failed = yes; then
31806
31807 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31808 _pkg_short_errors_supported=yes
31809 else
31810 _pkg_short_errors_supported=no
31811 fi
31812 if test $_pkg_short_errors_supported = yes; then
31813 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31814 else
31815 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31816 fi
31817 # Put the nasty error message in config.log where it belongs
31818 echo "$PANGOFT2_PKG_ERRORS" >&5
31819
31820
31821 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31822 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31823 wxUSE_PRINTING_ARCHITECTURE="no"
31824
31825
31826 elif test $pkg_failed = untried; then
31827
31828 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31829 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31830 wxUSE_PRINTING_ARCHITECTURE="no"
31831
31832
31833 else
31834 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31835 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31836 { echo "$as_me:$LINENO: result: yes" >&5
31837 echo "${ECHO_T}yes" >&6; }
31838
31839 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31840 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31841 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31842
31843 fi
31844
31845 pkg_failed=no
31846 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31847 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31848
31849 if test -n "$PKG_CONFIG"; then
31850 if test -n "$PANGOXFT_CFLAGS"; then
31851 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31852 else
31853 if test -n "$PKG_CONFIG" && \
31854 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31855 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31856 ac_status=$?
31857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31858 (exit $ac_status); }; then
31859 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31860 else
31861 pkg_failed=yes
31862 fi
31863 fi
31864 else
31865 pkg_failed=untried
31866 fi
31867 if test -n "$PKG_CONFIG"; then
31868 if test -n "$PANGOXFT_LIBS"; then
31869 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31870 else
31871 if test -n "$PKG_CONFIG" && \
31872 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31873 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31874 ac_status=$?
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); }; then
31877 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31878 else
31879 pkg_failed=yes
31880 fi
31881 fi
31882 else
31883 pkg_failed=untried
31884 fi
31885
31886
31887
31888 if test $pkg_failed = yes; then
31889
31890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31891 _pkg_short_errors_supported=yes
31892 else
31893 _pkg_short_errors_supported=no
31894 fi
31895 if test $_pkg_short_errors_supported = yes; then
31896 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31897 else
31898 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31899 fi
31900 # Put the nasty error message in config.log where it belongs
31901 echo "$PANGOXFT_PKG_ERRORS" >&5
31902
31903
31904 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31905 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31906
31907
31908 elif test $pkg_failed = untried; then
31909
31910 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31911 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31912
31913
31914 else
31915 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31916 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31917 { echo "$as_me:$LINENO: result: yes" >&5
31918 echo "${ECHO_T}yes" >&6; }
31919
31920 cat >>confdefs.h <<\_ACEOF
31921 #define HAVE_PANGO_XFT 1
31922 _ACEOF
31923
31924 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31925 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31926 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31927
31928 fi
31929 save_LIBS="$LIBS"
31930 LIBS="$LIBS $PANGOX_LIBS"
31931
31932 for ac_func in pango_font_family_is_monospace
31933 do
31934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31938 echo $ECHO_N "(cached) $ECHO_C" >&6
31939 else
31940 cat >conftest.$ac_ext <<_ACEOF
31941 /* confdefs.h. */
31942 _ACEOF
31943 cat confdefs.h >>conftest.$ac_ext
31944 cat >>conftest.$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31948 #define $ac_func innocuous_$ac_func
31949
31950 /* System header to define __stub macros and hopefully few prototypes,
31951 which can conflict with char $ac_func (); below.
31952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31953 <limits.h> exists even on freestanding compilers. */
31954
31955 #ifdef __STDC__
31956 # include <limits.h>
31957 #else
31958 # include <assert.h>
31959 #endif
31960
31961 #undef $ac_func
31962
31963 /* Override any GCC internal prototype to avoid an error.
31964 Use char because int might match the return type of a GCC
31965 builtin and then its argument prototype would still apply. */
31966 #ifdef __cplusplus
31967 extern "C"
31968 #endif
31969 char $ac_func ();
31970 /* The GNU C library defines this for functions which it implements
31971 to always fail with ENOSYS. Some functions are actually named
31972 something starting with __ and the normal name is an alias. */
31973 #if defined __stub_$ac_func || defined __stub___$ac_func
31974 choke me
31975 #endif
31976
31977 int
31978 main ()
31979 {
31980 return $ac_func ();
31981 ;
31982 return 0;
31983 }
31984 _ACEOF
31985 rm -f conftest.$ac_objext conftest$ac_exeext
31986 if { (ac_try="$ac_link"
31987 case "(($ac_try" in
31988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31989 *) ac_try_echo=$ac_try;;
31990 esac
31991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31992 (eval "$ac_link") 2>conftest.er1
31993 ac_status=$?
31994 grep -v '^ *+' conftest.er1 >conftest.err
31995 rm -f conftest.er1
31996 cat conftest.err >&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); } && {
31999 test -z "$ac_c_werror_flag" ||
32000 test ! -s conftest.err
32001 } && test -s conftest$ac_exeext &&
32002 $as_test_x conftest$ac_exeext; then
32003 eval "$as_ac_var=yes"
32004 else
32005 echo "$as_me: failed program was:" >&5
32006 sed 's/^/| /' conftest.$ac_ext >&5
32007
32008 eval "$as_ac_var=no"
32009 fi
32010
32011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32012 conftest$ac_exeext conftest.$ac_ext
32013 fi
32014 ac_res=`eval echo '${'$as_ac_var'}'`
32015 { echo "$as_me:$LINENO: result: $ac_res" >&5
32016 echo "${ECHO_T}$ac_res" >&6; }
32017 if test `eval echo '${'$as_ac_var'}'` = yes; then
32018 cat >>confdefs.h <<_ACEOF
32019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32020 _ACEOF
32021
32022 fi
32023 done
32024
32025 LIBS="$save_LIBS"
32026 fi
32027
32028 wxUSE_UNIVERSAL="yes"
32029
32030 if test "$wxUSE_NANOX" = "yes"; then
32031 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32032 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"
32033 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32034 else
32035 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32036 fi
32037
32038 TOOLKIT=X11
32039 GUIDIST=X11_DIST
32040 fi
32041
32042 if test "$wxUSE_MOTIF" = 1; then
32043 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32044 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32045
32046 ac_find_includes=
32047 for ac_dir in $SEARCH_INCLUDE /usr/include;
32048 do
32049 if test -f "$ac_dir/Xm/Xm.h"; then
32050 ac_find_includes=$ac_dir
32051 break
32052 fi
32053 done
32054
32055 if test "$ac_find_includes" != "" ; then
32056 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32057 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32058
32059 if test "x$ac_find_includes" = "x/usr/include"; then
32060 ac_path_to_include=""
32061 else
32062 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32063 result=$?
32064 if test $result = 0; then
32065 ac_path_to_include=""
32066 else
32067 ac_path_to_include=" -I$ac_find_includes"
32068 fi
32069 fi
32070
32071 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32072 else
32073 save_CFLAGS=$CFLAGS
32074 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32075
32076 cat >conftest.$ac_ext <<_ACEOF
32077 /* confdefs.h. */
32078 _ACEOF
32079 cat confdefs.h >>conftest.$ac_ext
32080 cat >>conftest.$ac_ext <<_ACEOF
32081 /* end confdefs.h. */
32082
32083 #include <Xm/Xm.h>
32084
32085 int
32086 main ()
32087 {
32088
32089 int version;
32090 version = xmUseVersion;
32091
32092 ;
32093 return 0;
32094 }
32095 _ACEOF
32096 rm -f conftest.$ac_objext
32097 if { (ac_try="$ac_compile"
32098 case "(($ac_try" in
32099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32100 *) ac_try_echo=$ac_try;;
32101 esac
32102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32103 (eval "$ac_compile") 2>conftest.er1
32104 ac_status=$?
32105 grep -v '^ *+' conftest.er1 >conftest.err
32106 rm -f conftest.er1
32107 cat conftest.err >&5
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); } && {
32110 test -z "$ac_c_werror_flag" ||
32111 test ! -s conftest.err
32112 } && test -s conftest.$ac_objext; then
32113
32114 { echo "$as_me:$LINENO: result: found in default search path" >&5
32115 echo "${ECHO_T}found in default search path" >&6; }
32116 COMPILED_X_PROGRAM=1
32117
32118 else
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.$ac_ext >&5
32121
32122
32123 { echo "$as_me:$LINENO: result: no" >&5
32124 echo "${ECHO_T}no" >&6; }
32125 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32126 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32127 { (exit 1); exit 1; }; }
32128
32129
32130 fi
32131
32132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32133
32134 CFLAGS=$save_CFLAGS
32135 fi
32136
32137
32138 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32139 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32140
32141 ac_find_libraries=
32142 for ac_dir in $SEARCH_LIB;
32143 do
32144 for ac_extension in a so sl dylib dll.a; do
32145 if test -f "$ac_dir/libXm.$ac_extension"; then
32146 ac_find_libraries=$ac_dir
32147 break 2
32148 fi
32149 done
32150 done
32151
32152
32153 if test "x$ac_find_libraries" != "x" ; then
32154 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32155 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32156
32157
32158 if test "$ac_find_libraries" = "default location"; then
32159 ac_path_to_link=""
32160 else
32161 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32162 result=$?
32163 if test $result = 0; then
32164 ac_path_to_link=""
32165 else
32166 ac_path_to_link=" -L$ac_find_libraries"
32167 fi
32168 fi
32169
32170 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32171 else
32172 save_CFLAGS=$CFLAGS
32173 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32174 save_LIBS="$LIBS"
32175 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32176
32177 cat >conftest.$ac_ext <<_ACEOF
32178 /* confdefs.h. */
32179 _ACEOF
32180 cat confdefs.h >>conftest.$ac_ext
32181 cat >>conftest.$ac_ext <<_ACEOF
32182 /* end confdefs.h. */
32183
32184 #include <Xm/Xm.h>
32185
32186 int
32187 main ()
32188 {
32189
32190 int version;
32191 version = xmUseVersion;
32192
32193 ;
32194 return 0;
32195 }
32196 _ACEOF
32197 rm -f conftest.$ac_objext conftest$ac_exeext
32198 if { (ac_try="$ac_link"
32199 case "(($ac_try" in
32200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32201 *) ac_try_echo=$ac_try;;
32202 esac
32203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32204 (eval "$ac_link") 2>conftest.er1
32205 ac_status=$?
32206 grep -v '^ *+' conftest.er1 >conftest.err
32207 rm -f conftest.er1
32208 cat conftest.err >&5
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); } && {
32211 test -z "$ac_c_werror_flag" ||
32212 test ! -s conftest.err
32213 } && test -s conftest$ac_exeext &&
32214 $as_test_x conftest$ac_exeext; then
32215
32216 { echo "$as_me:$LINENO: result: found in default search path" >&5
32217 echo "${ECHO_T}found in default search path" >&6; }
32218 COMPILED_X_PROGRAM=1
32219
32220 else
32221 echo "$as_me: failed program was:" >&5
32222 sed 's/^/| /' conftest.$ac_ext >&5
32223
32224
32225 { echo "$as_me:$LINENO: result: no" >&5
32226 echo "${ECHO_T}no" >&6; }
32227 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32228 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32229 { (exit 1); exit 1; }; }
32230
32231
32232 fi
32233
32234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32235 conftest$ac_exeext conftest.$ac_ext
32236
32237 CFLAGS=$save_CFLAGS
32238 LIBS="$save_LIBS"
32239 fi
32240
32241 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32242 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32243 libp_link=""
32244 libsm_ice_link=""
32245 libs_found=0
32246 for libp in "" " -lXp"; do
32247 if test "$libs_found" = 0; then
32248 for libsm_ice in "" " -lSM -lICE"; do
32249 if test "$libs_found" = 0; then
32250 save_LIBS="$LIBS"
32251 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32252 save_CFLAGS=$CFLAGS
32253 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32254
32255 cat >conftest.$ac_ext <<_ACEOF
32256 /* confdefs.h. */
32257 _ACEOF
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h. */
32261
32262 #include <Xm/Xm.h>
32263 #include <Xm/List.h>
32264
32265 int
32266 main ()
32267 {
32268
32269 XmString string = NULL;
32270 Widget w = NULL;
32271 int position = 0;
32272 XmListAddItem(w, string, position);
32273
32274 ;
32275 return 0;
32276 }
32277 _ACEOF
32278 rm -f conftest.$ac_objext conftest$ac_exeext
32279 if { (ac_try="$ac_link"
32280 case "(($ac_try" in
32281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32282 *) ac_try_echo=$ac_try;;
32283 esac
32284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32285 (eval "$ac_link") 2>conftest.er1
32286 ac_status=$?
32287 grep -v '^ *+' conftest.er1 >conftest.err
32288 rm -f conftest.er1
32289 cat conftest.err >&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); } && {
32292 test -z "$ac_c_werror_flag" ||
32293 test ! -s conftest.err
32294 } && test -s conftest$ac_exeext &&
32295 $as_test_x conftest$ac_exeext; then
32296
32297 libp_link="$libp"
32298 libsm_ice_link="$libsm_ice"
32299 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32300 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32301 libs_found=1
32302
32303 else
32304 echo "$as_me: failed program was:" >&5
32305 sed 's/^/| /' conftest.$ac_ext >&5
32306
32307
32308
32309 fi
32310
32311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32312 conftest$ac_exeext conftest.$ac_ext
32313
32314 LIBS="$save_LIBS"
32315 CFLAGS=$save_CFLAGS
32316 fi
32317 done
32318 fi
32319 done
32320
32321 if test "$libs_found" = 0; then
32322 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32323 echo "${ECHO_T}can't find the right libraries" >&6; }
32324 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32325 echo "$as_me: error: can't link a simple motif program" >&2;}
32326 { (exit 1); exit 1; }; }
32327 fi
32328
32329 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32330 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32331 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32332 echo $ECHO_N "(cached) $ECHO_C" >&6
32333 else
32334 ac_check_lib_save_LIBS=$LIBS
32335 LIBS="-lSgm $LIBS"
32336 cat >conftest.$ac_ext <<_ACEOF
32337 /* confdefs.h. */
32338 _ACEOF
32339 cat confdefs.h >>conftest.$ac_ext
32340 cat >>conftest.$ac_ext <<_ACEOF
32341 /* end confdefs.h. */
32342
32343 /* Override any GCC internal prototype to avoid an error.
32344 Use char because int might match the return type of a GCC
32345 builtin and then its argument prototype would still apply. */
32346 #ifdef __cplusplus
32347 extern "C"
32348 #endif
32349 char SgCreateList ();
32350 int
32351 main ()
32352 {
32353 return SgCreateList ();
32354 ;
32355 return 0;
32356 }
32357 _ACEOF
32358 rm -f conftest.$ac_objext conftest$ac_exeext
32359 if { (ac_try="$ac_link"
32360 case "(($ac_try" in
32361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32362 *) ac_try_echo=$ac_try;;
32363 esac
32364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32365 (eval "$ac_link") 2>conftest.er1
32366 ac_status=$?
32367 grep -v '^ *+' conftest.er1 >conftest.err
32368 rm -f conftest.er1
32369 cat conftest.err >&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } && {
32372 test -z "$ac_c_werror_flag" ||
32373 test ! -s conftest.err
32374 } && test -s conftest$ac_exeext &&
32375 $as_test_x conftest$ac_exeext; then
32376 ac_cv_lib_Sgm_SgCreateList=yes
32377 else
32378 echo "$as_me: failed program was:" >&5
32379 sed 's/^/| /' conftest.$ac_ext >&5
32380
32381 ac_cv_lib_Sgm_SgCreateList=no
32382 fi
32383
32384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32385 conftest$ac_exeext conftest.$ac_ext
32386 LIBS=$ac_check_lib_save_LIBS
32387 fi
32388 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32389 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32390 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32391 libsgm_link=" -lSgm"
32392 fi
32393
32394
32395 save_CFLAGS=$CFLAGS
32396 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32397
32398 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32399 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32400 if test "${wx_cv_lib_motif2+set}" = set; then
32401 echo $ECHO_N "(cached) $ECHO_C" >&6
32402 else
32403 cat >conftest.$ac_ext <<_ACEOF
32404 /* confdefs.h. */
32405 _ACEOF
32406 cat confdefs.h >>conftest.$ac_ext
32407 cat >>conftest.$ac_ext <<_ACEOF
32408 /* end confdefs.h. */
32409
32410 #include <Xm/Xm.h>
32411
32412 int
32413 main ()
32414 {
32415
32416 #if XmVersion < 2000
32417 Not Motif 2
32418 #endif
32419
32420 ;
32421 return 0;
32422 }
32423 _ACEOF
32424 rm -f conftest.$ac_objext
32425 if { (ac_try="$ac_compile"
32426 case "(($ac_try" in
32427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32428 *) ac_try_echo=$ac_try;;
32429 esac
32430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32431 (eval "$ac_compile") 2>conftest.er1
32432 ac_status=$?
32433 grep -v '^ *+' conftest.er1 >conftest.err
32434 rm -f conftest.er1
32435 cat conftest.err >&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); } && {
32438 test -z "$ac_c_werror_flag" ||
32439 test ! -s conftest.err
32440 } && test -s conftest.$ac_objext; then
32441 wx_cv_lib_motif2="yes"
32442 else
32443 echo "$as_me: failed program was:" >&5
32444 sed 's/^/| /' conftest.$ac_ext >&5
32445
32446 wx_cv_lib_motif2="no"
32447 fi
32448
32449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32450 fi
32451 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32452 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32453 if test "$wx_cv_lib_motif2" = "yes"; then
32454 cat >>confdefs.h <<\_ACEOF
32455 #define __WXMOTIF20__ 1
32456 _ACEOF
32457
32458 else
32459 cat >>confdefs.h <<\_ACEOF
32460 #define __WXMOTIF20__ 0
32461 _ACEOF
32462
32463 fi
32464
32465 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32466 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32467 if test "${wx_cv_lib_lesstif+set}" = set; then
32468 echo $ECHO_N "(cached) $ECHO_C" >&6
32469 else
32470 cat >conftest.$ac_ext <<_ACEOF
32471 /* confdefs.h. */
32472 _ACEOF
32473 cat confdefs.h >>conftest.$ac_ext
32474 cat >>conftest.$ac_ext <<_ACEOF
32475 /* end confdefs.h. */
32476
32477 #include <Xm/Xm.h>
32478
32479 int
32480 main ()
32481 {
32482
32483 #if !defined(LesstifVersion) || LesstifVersion <= 0
32484 Not Lesstif
32485 #endif
32486
32487 ;
32488 return 0;
32489 }
32490 _ACEOF
32491 rm -f conftest.$ac_objext
32492 if { (ac_try="$ac_compile"
32493 case "(($ac_try" in
32494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32495 *) ac_try_echo=$ac_try;;
32496 esac
32497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32498 (eval "$ac_compile") 2>conftest.er1
32499 ac_status=$?
32500 grep -v '^ *+' conftest.er1 >conftest.err
32501 rm -f conftest.er1
32502 cat conftest.err >&5
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); } && {
32505 test -z "$ac_c_werror_flag" ||
32506 test ! -s conftest.err
32507 } && test -s conftest.$ac_objext; then
32508 wx_cv_lib_lesstif="yes"
32509 else
32510 echo "$as_me: failed program was:" >&5
32511 sed 's/^/| /' conftest.$ac_ext >&5
32512
32513 wx_cv_lib_lesstif="no"
32514 fi
32515
32516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32517
32518 fi
32519 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32520 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32521 if test "$wx_cv_lib_lesstif" = "yes"; then
32522 cat >>confdefs.h <<\_ACEOF
32523 #define __WXLESSTIF__ 1
32524 _ACEOF
32525
32526 else
32527 cat >>confdefs.h <<\_ACEOF
32528 #define __WXLESSTIF__ 0
32529 _ACEOF
32530
32531 fi
32532
32533 CFLAGS=$save_CFLAGS
32534
32535 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32536 TOOLKIT=MOTIF
32537 GUIDIST=MOTIF_DIST
32538 fi
32539
32540 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32541 if test "$wxUSE_LIBXPM" = "sys"; then
32542 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32543 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32544
32545 ac_find_libraries=
32546 for ac_dir in $SEARCH_LIB;
32547 do
32548 for ac_extension in a so sl dylib dll.a; do
32549 if test -f "$ac_dir/libXpm.$ac_extension"; then
32550 ac_find_libraries=$ac_dir
32551 break 2
32552 fi
32553 done
32554 done
32555
32556 if test "$ac_find_libraries" != "" ; then
32557
32558 if test "$ac_find_libraries" = "default location"; then
32559 ac_path_to_link=""
32560 else
32561 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32562 result=$?
32563 if test $result = 0; then
32564 ac_path_to_link=""
32565 else
32566 ac_path_to_link=" -L$ac_find_libraries"
32567 fi
32568 fi
32569
32570 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32571 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32572 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32573
32574 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32575 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32576 if test "${wx_cv_x11_xpm_h+set}" = set; then
32577 echo $ECHO_N "(cached) $ECHO_C" >&6
32578 else
32579
32580 save_CFLAGS=$CFLAGS
32581 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32582
32583 cat >conftest.$ac_ext <<_ACEOF
32584 /* confdefs.h. */
32585 _ACEOF
32586 cat confdefs.h >>conftest.$ac_ext
32587 cat >>conftest.$ac_ext <<_ACEOF
32588 /* end confdefs.h. */
32589
32590 #include <X11/xpm.h>
32591
32592 int
32593 main ()
32594 {
32595
32596 int version;
32597 version = XpmLibraryVersion();
32598
32599 ;
32600 return 0;
32601 }
32602 _ACEOF
32603 rm -f conftest.$ac_objext
32604 if { (ac_try="$ac_compile"
32605 case "(($ac_try" in
32606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32607 *) ac_try_echo=$ac_try;;
32608 esac
32609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32610 (eval "$ac_compile") 2>conftest.er1
32611 ac_status=$?
32612 grep -v '^ *+' conftest.er1 >conftest.err
32613 rm -f conftest.er1
32614 cat conftest.err >&5
32615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32616 (exit $ac_status); } && {
32617 test -z "$ac_c_werror_flag" ||
32618 test ! -s conftest.err
32619 } && test -s conftest.$ac_objext; then
32620 wx_cv_x11_xpm_h=yes
32621 else
32622 echo "$as_me: failed program was:" >&5
32623 sed 's/^/| /' conftest.$ac_ext >&5
32624
32625 wx_cv_x11_xpm_h=no
32626
32627 fi
32628
32629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32630
32631 CFLAGS=$save_CFLAGS
32632
32633
32634 fi
32635 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32636 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32637
32638 if test $wx_cv_x11_xpm_h = "yes"; then
32639 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32640 cat >>confdefs.h <<\_ACEOF
32641 #define wxHAVE_LIB_XPM 1
32642 _ACEOF
32643
32644 else
32645 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32646 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32647 fi
32648 fi
32649
32650 fi
32651
32652 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32653 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32654 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32655 echo $ECHO_N "(cached) $ECHO_C" >&6
32656 else
32657 ac_check_lib_save_LIBS=$LIBS
32658 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32659 cat >conftest.$ac_ext <<_ACEOF
32660 /* confdefs.h. */
32661 _ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32665
32666 /* Override any GCC internal prototype to avoid an error.
32667 Use char because int might match the return type of a GCC
32668 builtin and then its argument prototype would still apply. */
32669 #ifdef __cplusplus
32670 extern "C"
32671 #endif
32672 char XShapeQueryExtension ();
32673 int
32674 main ()
32675 {
32676 return XShapeQueryExtension ();
32677 ;
32678 return 0;
32679 }
32680 _ACEOF
32681 rm -f conftest.$ac_objext conftest$ac_exeext
32682 if { (ac_try="$ac_link"
32683 case "(($ac_try" in
32684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32685 *) ac_try_echo=$ac_try;;
32686 esac
32687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32688 (eval "$ac_link") 2>conftest.er1
32689 ac_status=$?
32690 grep -v '^ *+' conftest.er1 >conftest.err
32691 rm -f conftest.er1
32692 cat conftest.err >&5
32693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694 (exit $ac_status); } && {
32695 test -z "$ac_c_werror_flag" ||
32696 test ! -s conftest.err
32697 } && test -s conftest$ac_exeext &&
32698 $as_test_x conftest$ac_exeext; then
32699 ac_cv_lib_Xext_XShapeQueryExtension=yes
32700 else
32701 echo "$as_me: failed program was:" >&5
32702 sed 's/^/| /' conftest.$ac_ext >&5
32703
32704 ac_cv_lib_Xext_XShapeQueryExtension=no
32705 fi
32706
32707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32708 conftest$ac_exeext conftest.$ac_ext
32709 LIBS=$ac_check_lib_save_LIBS
32710 fi
32711 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32712 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32713 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32714
32715 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32716 wxHAVE_XEXT_LIB=1
32717
32718 fi
32719
32720
32721 if test "$wxHAVE_XEXT_LIB" = 1; then
32722 save_CFLAGS="$CFLAGS"
32723 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32724
32725 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32726 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32727 cat >conftest.$ac_ext <<_ACEOF
32728 /* confdefs.h. */
32729 _ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32733
32734 #include <X11/Xlib.h>
32735 #include <X11/extensions/shape.h>
32736
32737 int
32738 main ()
32739 {
32740
32741 int dummy1, dummy2;
32742 XShapeQueryExtension((Display*)NULL,
32743 (int*)NULL, (int*)NULL);
32744
32745 ;
32746 return 0;
32747 }
32748 _ACEOF
32749 rm -f conftest.$ac_objext
32750 if { (ac_try="$ac_compile"
32751 case "(($ac_try" in
32752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32753 *) ac_try_echo=$ac_try;;
32754 esac
32755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32756 (eval "$ac_compile") 2>conftest.er1
32757 ac_status=$?
32758 grep -v '^ *+' conftest.er1 >conftest.err
32759 rm -f conftest.er1
32760 cat conftest.err >&5
32761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 (exit $ac_status); } && {
32763 test -z "$ac_c_werror_flag" ||
32764 test ! -s conftest.err
32765 } && test -s conftest.$ac_objext; then
32766
32767 cat >>confdefs.h <<\_ACEOF
32768 #define HAVE_XSHAPE 1
32769 _ACEOF
32770
32771 { echo "$as_me:$LINENO: result: found" >&5
32772 echo "${ECHO_T}found" >&6; }
32773
32774 else
32775 echo "$as_me: failed program was:" >&5
32776 sed 's/^/| /' conftest.$ac_ext >&5
32777
32778
32779 { echo "$as_me:$LINENO: result: not found" >&5
32780 echo "${ECHO_T}not found" >&6; }
32781
32782 fi
32783
32784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32785 CFLAGS="$save_CFLAGS"
32786
32787 fi
32788 fi
32789
32790 if test "$wxUSE_OSX_CARBON" = 1; then
32791 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32792 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32793 if test "$GCC" = yes; then
32794 { echo "$as_me:$LINENO: result: gcc" >&5
32795 echo "${ECHO_T}gcc" >&6; }
32796 CPPFLAGS_PASCAL="-fpascal-strings"
32797 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32798 { echo "$as_me:$LINENO: result: xlc" >&5
32799 echo "${ECHO_T}xlc" >&6; }
32800 CPPFLAGS_PASCAL="-qmacpstr"
32801 else
32802 { echo "$as_me:$LINENO: result: none" >&5
32803 echo "${ECHO_T}none" >&6; }
32804 fi
32805
32806 if test "x$wxUSE_UNIX" = "xyes"; then
32807 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32808 else
32809 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32810 fi
32811
32812 TOOLKIT=OSX_CARBON
32813 GUIDIST=OSX_CARBON_DIST
32814 WXBASEPORT="_carbon"
32815 fi
32816
32817 if test "$wxUSE_OSX_COCOA" = 1; then
32818 TOOLKIT=OSX_COCOA
32819 GUIDIST=OSX_COCOA_DIST
32820 fi
32821
32822 if test "$wxUSE_COCOA" = 1; then
32823 TOOLKIT=COCOA
32824 GUIDIST=COCOA_DIST
32825 fi
32826
32827 if test "$wxUSE_PM" = 1; then
32828 TOOLKIT=PM
32829 GUIDIST=PM_DIST
32830 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32831 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32832 if test "${wx_cv_spbcdata+set}" = set; then
32833 echo $ECHO_N "(cached) $ECHO_C" >&6
32834 else
32835
32836 cat >conftest.$ac_ext <<_ACEOF
32837 /* confdefs.h. */
32838 _ACEOF
32839 cat confdefs.h >>conftest.$ac_ext
32840 cat >>conftest.$ac_ext <<_ACEOF
32841 /* end confdefs.h. */
32842
32843 #define INCL_PM
32844 #include <os2.h>
32845
32846 int
32847 main ()
32848 {
32849
32850 SPBCDATA test;
32851
32852 ;
32853 return 0;
32854 }
32855 _ACEOF
32856 rm -f conftest.$ac_objext
32857 if { (ac_try="$ac_compile"
32858 case "(($ac_try" in
32859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32860 *) ac_try_echo=$ac_try;;
32861 esac
32862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32863 (eval "$ac_compile") 2>conftest.er1
32864 ac_status=$?
32865 grep -v '^ *+' conftest.er1 >conftest.err
32866 rm -f conftest.er1
32867 cat conftest.err >&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } && {
32870 test -z "$ac_c_werror_flag" ||
32871 test ! -s conftest.err
32872 } && test -s conftest.$ac_objext; then
32873 wx_cv_spbcdata=yes
32874 else
32875 echo "$as_me: failed program was:" >&5
32876 sed 's/^/| /' conftest.$ac_ext >&5
32877
32878 wx_cv_spbcdata=no
32879
32880 fi
32881
32882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32883
32884
32885 fi
32886 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32887 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32888
32889 if test $wx_cv_spbcdata = "yes"; then
32890 cat >>confdefs.h <<\_ACEOF
32891 #define HAVE_SPBCDATA 1
32892 _ACEOF
32893
32894 fi
32895 fi
32896
32897 if test "$TOOLKIT" = "PM" ; then
32898 TOOLKIT_DIR="os2"
32899 else
32900 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32901 fi
32902
32903 if test "$wxUSE_UNIVERSAL" = "yes"; then
32904 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32905 WIDGET_SET=univ
32906 fi
32907
32908 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32909 DISTDIR="wx\$(TOOLKIT)"
32910 else
32911 USE_GUI=0
32912
32913 TOOLKIT_DIR="base"
32914
32915 if test "$USE_WIN32" = 1 ; then
32916 TOOLKIT="MSW"
32917 fi
32918
32919 GUIDIST="BASE_DIST"
32920 DISTDIR="wxBase"
32921 fi
32922
32923
32924
32925 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32926 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32927 wxUSE_UNICODE_UTF8=yes
32928 elif test "$USE_OS2" = 1 ; then
32929 wxUSE_UNICODE_UTF8=yes
32930 else
32931 wxUSE_UNICODE_UTF8=no
32932 fi
32933 fi
32934
32935
32936 if test "$wxUSE_GUI" = "yes"; then
32937 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32938
32939 for ac_header in X11/Xlib.h
32940 do
32941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32942 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32945 echo $ECHO_N "(cached) $ECHO_C" >&6
32946 else
32947 cat >conftest.$ac_ext <<_ACEOF
32948 /* confdefs.h. */
32949 _ACEOF
32950 cat confdefs.h >>conftest.$ac_ext
32951 cat >>conftest.$ac_ext <<_ACEOF
32952 /* end confdefs.h. */
32953
32954
32955 #include <$ac_header>
32956 _ACEOF
32957 rm -f conftest.$ac_objext
32958 if { (ac_try="$ac_compile"
32959 case "(($ac_try" in
32960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32961 *) ac_try_echo=$ac_try;;
32962 esac
32963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32964 (eval "$ac_compile") 2>conftest.er1
32965 ac_status=$?
32966 grep -v '^ *+' conftest.er1 >conftest.err
32967 rm -f conftest.er1
32968 cat conftest.err >&5
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); } && {
32971 test -z "$ac_c_werror_flag" ||
32972 test ! -s conftest.err
32973 } && test -s conftest.$ac_objext; then
32974 eval "$as_ac_Header=yes"
32975 else
32976 echo "$as_me: failed program was:" >&5
32977 sed 's/^/| /' conftest.$ac_ext >&5
32978
32979 eval "$as_ac_Header=no"
32980 fi
32981
32982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32983 fi
32984 ac_res=`eval echo '${'$as_ac_Header'}'`
32985 { echo "$as_me:$LINENO: result: $ac_res" >&5
32986 echo "${ECHO_T}$ac_res" >&6; }
32987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32988 cat >>confdefs.h <<_ACEOF
32989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32990 _ACEOF
32991
32992 fi
32993
32994 done
32995
32996
32997 for ac_header in X11/XKBlib.h
32998 do
32999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33000 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33003 echo $ECHO_N "(cached) $ECHO_C" >&6
33004 else
33005 cat >conftest.$ac_ext <<_ACEOF
33006 /* confdefs.h. */
33007 _ACEOF
33008 cat confdefs.h >>conftest.$ac_ext
33009 cat >>conftest.$ac_ext <<_ACEOF
33010 /* end confdefs.h. */
33011
33012 #if HAVE_X11_XLIB_H
33013 #include <X11/Xlib.h>
33014 #endif
33015
33016
33017 #include <$ac_header>
33018 _ACEOF
33019 rm -f conftest.$ac_objext
33020 if { (ac_try="$ac_compile"
33021 case "(($ac_try" in
33022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33023 *) ac_try_echo=$ac_try;;
33024 esac
33025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33026 (eval "$ac_compile") 2>conftest.er1
33027 ac_status=$?
33028 grep -v '^ *+' conftest.er1 >conftest.err
33029 rm -f conftest.er1
33030 cat conftest.err >&5
33031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33032 (exit $ac_status); } && {
33033 test -z "$ac_c_werror_flag" ||
33034 test ! -s conftest.err
33035 } && test -s conftest.$ac_objext; then
33036 eval "$as_ac_Header=yes"
33037 else
33038 echo "$as_me: failed program was:" >&5
33039 sed 's/^/| /' conftest.$ac_ext >&5
33040
33041 eval "$as_ac_Header=no"
33042 fi
33043
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045 fi
33046 ac_res=`eval echo '${'$as_ac_Header'}'`
33047 { echo "$as_me:$LINENO: result: $ac_res" >&5
33048 echo "${ECHO_T}$ac_res" >&6; }
33049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33050 cat >>confdefs.h <<_ACEOF
33051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33052 _ACEOF
33053
33054 fi
33055
33056 done
33057
33058 fi
33059 fi
33060
33061
33062
33063 if test "$wxUSE_DISPLAY" = "yes"; then
33064 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33065 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33066 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33067
33068 ac_find_libraries=
33069 for ac_dir in $SEARCH_LIB;
33070 do
33071 for ac_extension in a so sl dylib dll.a; do
33072 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33073 ac_find_libraries=$ac_dir
33074 break 2
33075 fi
33076 done
33077 done
33078
33079 if test "$ac_find_libraries" != "" ; then
33080
33081 if test "$ac_find_libraries" = "default location"; then
33082 ac_path_to_link=""
33083 else
33084 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33085 result=$?
33086 if test $result = 0; then
33087 ac_path_to_link=""
33088 else
33089 ac_path_to_link=" -L$ac_find_libraries"
33090 fi
33091 fi
33092
33093 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33094 LDFLAGS="$LDFLAGS $ac_path_to_link"
33095 fi
33096 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33097 { echo "$as_me:$LINENO: result: yes" >&5
33098 echo "${ECHO_T}yes" >&6; }
33099
33100 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33101 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33102
33103 ac_find_libraries=
33104 for ac_dir in $SEARCH_LIB;
33105 do
33106 for ac_extension in a so sl dylib dll.a; do
33107 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33108 ac_find_libraries=$ac_dir
33109 break 2
33110 fi
33111 done
33112 done
33113
33114 if test "$ac_find_libraries" != "" ; then
33115 { echo "$as_me:$LINENO: result: yes" >&5
33116 echo "${ECHO_T}yes" >&6; }
33117
33118 for ac_header in X11/extensions/xf86vmode.h
33119 do
33120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33121 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33124 echo $ECHO_N "(cached) $ECHO_C" >&6
33125 else
33126 cat >conftest.$ac_ext <<_ACEOF
33127 /* confdefs.h. */
33128 _ACEOF
33129 cat confdefs.h >>conftest.$ac_ext
33130 cat >>conftest.$ac_ext <<_ACEOF
33131 /* end confdefs.h. */
33132
33133 #if HAVE_X11_XLIB_H
33134 #include <X11/Xlib.h>
33135 #endif
33136
33137
33138 #include <$ac_header>
33139 _ACEOF
33140 rm -f conftest.$ac_objext
33141 if { (ac_try="$ac_compile"
33142 case "(($ac_try" in
33143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33144 *) ac_try_echo=$ac_try;;
33145 esac
33146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33147 (eval "$ac_compile") 2>conftest.er1
33148 ac_status=$?
33149 grep -v '^ *+' conftest.er1 >conftest.err
33150 rm -f conftest.er1
33151 cat conftest.err >&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } && {
33154 test -z "$ac_c_werror_flag" ||
33155 test ! -s conftest.err
33156 } && test -s conftest.$ac_objext; then
33157 eval "$as_ac_Header=yes"
33158 else
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33161
33162 eval "$as_ac_Header=no"
33163 fi
33164
33165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33166 fi
33167 ac_res=`eval echo '${'$as_ac_Header'}'`
33168 { echo "$as_me:$LINENO: result: $ac_res" >&5
33169 echo "${ECHO_T}$ac_res" >&6; }
33170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33171 cat >>confdefs.h <<_ACEOF
33172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33173 _ACEOF
33174
33175 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33176
33177 fi
33178
33179 done
33180
33181 else
33182 { echo "$as_me:$LINENO: result: no" >&5
33183 echo "${ECHO_T}no" >&6; }
33184 fi
33185
33186 else
33187 { echo "$as_me:$LINENO: result: no" >&5
33188 echo "${ECHO_T}no" >&6; }
33189 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33190 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33191 wxUSE_DISPLAY="no"
33192 fi
33193 elif test "$wxUSE_MSW" = 1; then
33194 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33195 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33196 if test "${ac_cv_header_ddraw_h+set}" = set; then
33197 echo $ECHO_N "(cached) $ECHO_C" >&6
33198 else
33199 cat >conftest.$ac_ext <<_ACEOF
33200 /* confdefs.h. */
33201 _ACEOF
33202 cat confdefs.h >>conftest.$ac_ext
33203 cat >>conftest.$ac_ext <<_ACEOF
33204 /* end confdefs.h. */
33205 #include <windows.h>
33206
33207 #include <ddraw.h>
33208 _ACEOF
33209 rm -f conftest.$ac_objext
33210 if { (ac_try="$ac_compile"
33211 case "(($ac_try" in
33212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33213 *) ac_try_echo=$ac_try;;
33214 esac
33215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33216 (eval "$ac_compile") 2>conftest.er1
33217 ac_status=$?
33218 grep -v '^ *+' conftest.er1 >conftest.err
33219 rm -f conftest.er1
33220 cat conftest.err >&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); } && {
33223 test -z "$ac_c_werror_flag" ||
33224 test ! -s conftest.err
33225 } && test -s conftest.$ac_objext; then
33226 ac_cv_header_ddraw_h=yes
33227 else
33228 echo "$as_me: failed program was:" >&5
33229 sed 's/^/| /' conftest.$ac_ext >&5
33230
33231 ac_cv_header_ddraw_h=no
33232 fi
33233
33234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33235 fi
33236 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33237 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33238
33239
33240 fi
33241 fi
33242
33243 if test "$wxUSE_DETECT_SM" = "yes"; then
33244 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33245 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33246 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33247
33248 ac_find_libraries=
33249 for ac_dir in $SEARCH_LIB;
33250 do
33251 for ac_extension in a so sl dylib dll.a; do
33252 if test -f "$ac_dir/libSM.$ac_extension"; then
33253 ac_find_libraries=$ac_dir
33254 break 2
33255 fi
33256 done
33257 done
33258
33259 if test "$ac_find_libraries" != "" ; then
33260
33261 if test "$ac_find_libraries" = "default location"; then
33262 ac_path_to_link=""
33263 else
33264 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33265 result=$?
33266 if test $result = 0; then
33267 ac_path_to_link=""
33268 else
33269 ac_path_to_link=" -L$ac_find_libraries"
33270 fi
33271 fi
33272
33273 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33274 LDFLAGS="$LDFLAGS $ac_path_to_link"
33275 fi
33276 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33277 { echo "$as_me:$LINENO: result: yes" >&5
33278 echo "${ECHO_T}yes" >&6; }
33279 else
33280 { echo "$as_me:$LINENO: result: no" >&5
33281 echo "${ECHO_T}no" >&6; }
33282 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33283 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33284 wxUSE_DETECT_SM="no"
33285 fi
33286 else
33287 wxUSE_DETECT_SM="no"
33288 fi
33289 fi
33290
33291
33292
33293 USE_OPENGL=0
33294 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33295
33296
33297 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33298 OPENGL_LIBS="-framework OpenGL -framework AGL"
33299 elif test "$wxUSE_MSW" = 1; then
33300 OPENGL_LIBS="-lopengl32 -lglu32"
33301 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33302
33303 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33304 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33305
33306 ac_find_includes=
33307 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33308 do
33309 if test -f "$ac_dir/GL/gl.h"; then
33310 ac_find_includes=$ac_dir
33311 break
33312 fi
33313 done
33314
33315 if test "$ac_find_includes" != "" ; then
33316 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33317 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33318
33319 if test "x$ac_find_includes" = "x/usr/include"; then
33320 ac_path_to_include=""
33321 else
33322 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33323 result=$?
33324 if test $result = 0; then
33325 ac_path_to_include=""
33326 else
33327 ac_path_to_include=" -I$ac_find_includes"
33328 fi
33329 fi
33330
33331 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33332 else
33333 { echo "$as_me:$LINENO: result: not found" >&5
33334 echo "${ECHO_T}not found" >&6; }
33335 fi
33336
33337 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33338 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33339 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33340 echo $ECHO_N "(cached) $ECHO_C" >&6
33341 else
33342 cat >conftest.$ac_ext <<_ACEOF
33343 /* confdefs.h. */
33344 _ACEOF
33345 cat confdefs.h >>conftest.$ac_ext
33346 cat >>conftest.$ac_ext <<_ACEOF
33347 /* end confdefs.h. */
33348
33349
33350 #include <GL/gl.h>
33351 _ACEOF
33352 rm -f conftest.$ac_objext
33353 if { (ac_try="$ac_compile"
33354 case "(($ac_try" in
33355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33356 *) ac_try_echo=$ac_try;;
33357 esac
33358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33359 (eval "$ac_compile") 2>conftest.er1
33360 ac_status=$?
33361 grep -v '^ *+' conftest.er1 >conftest.err
33362 rm -f conftest.er1
33363 cat conftest.err >&5
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); } && {
33366 test -z "$ac_c_werror_flag" ||
33367 test ! -s conftest.err
33368 } && test -s conftest.$ac_objext; then
33369 ac_cv_header_GL_gl_h=yes
33370 else
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.$ac_ext >&5
33373
33374 ac_cv_header_GL_gl_h=no
33375 fi
33376
33377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33378 fi
33379 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33380 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33381 if test $ac_cv_header_GL_gl_h = yes; then
33382
33383 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33384 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33385 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33386 echo $ECHO_N "(cached) $ECHO_C" >&6
33387 else
33388 cat >conftest.$ac_ext <<_ACEOF
33389 /* confdefs.h. */
33390 _ACEOF
33391 cat confdefs.h >>conftest.$ac_ext
33392 cat >>conftest.$ac_ext <<_ACEOF
33393 /* end confdefs.h. */
33394
33395
33396 #include <GL/glu.h>
33397 _ACEOF
33398 rm -f conftest.$ac_objext
33399 if { (ac_try="$ac_compile"
33400 case "(($ac_try" in
33401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33402 *) ac_try_echo=$ac_try;;
33403 esac
33404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33405 (eval "$ac_compile") 2>conftest.er1
33406 ac_status=$?
33407 grep -v '^ *+' conftest.er1 >conftest.err
33408 rm -f conftest.er1
33409 cat conftest.err >&5
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); } && {
33412 test -z "$ac_c_werror_flag" ||
33413 test ! -s conftest.err
33414 } && test -s conftest.$ac_objext; then
33415 ac_cv_header_GL_glu_h=yes
33416 else
33417 echo "$as_me: failed program was:" >&5
33418 sed 's/^/| /' conftest.$ac_ext >&5
33419
33420 ac_cv_header_GL_glu_h=no
33421 fi
33422
33423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33424 fi
33425 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33426 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33427 if test $ac_cv_header_GL_glu_h = yes; then
33428
33429 found_gl=0
33430
33431 { echo "$as_me:$LINENO: checking for -lGL" >&5
33432 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33433
33434 ac_find_libraries=
33435 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33436 do
33437 for ac_extension in a so sl dylib dll.a; do
33438 if test -f "$ac_dir/libGL.$ac_extension"; then
33439 ac_find_libraries=$ac_dir
33440 break 2
33441 fi
33442 done
33443 done
33444
33445 if test "$ac_find_libraries" != "" ; then
33446 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33447 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33448
33449
33450 if test "$ac_find_libraries" = "default location"; then
33451 ac_path_to_link=""
33452 else
33453 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33454 result=$?
33455 if test $result = 0; then
33456 ac_path_to_link=""
33457 else
33458 ac_path_to_link=" -L$ac_find_libraries"
33459 fi
33460 fi
33461
33462 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33463 LDFLAGS_GL="$ac_path_to_link"
33464 fi
33465
33466 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33467 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33468
33469 ac_find_libraries=
33470 for ac_dir in $SEARCH_LIB;
33471 do
33472 for ac_extension in a so sl dylib dll.a; do
33473 if test -f "$ac_dir/libGLU.$ac_extension"; then
33474 ac_find_libraries=$ac_dir
33475 break 2
33476 fi
33477 done
33478 done
33479
33480 if test "$ac_find_libraries" != "" ; then
33481
33482 if test "$ac_find_libraries" = "default location"; then
33483 ac_path_to_link=""
33484 else
33485 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33486 result=$?
33487 if test $result = 0; then
33488 ac_path_to_link=""
33489 else
33490 ac_path_to_link=" -L$ac_find_libraries"
33491 fi
33492 fi
33493
33494 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33495 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33496 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33497 fi
33498
33499 found_gl=1
33500 OPENGL_LIBS="-lGL -lGLU"
33501 { echo "$as_me:$LINENO: result: yes" >&5
33502 echo "${ECHO_T}yes" >&6; }
33503 else
33504 { echo "$as_me:$LINENO: result: no" >&5
33505 echo "${ECHO_T}no" >&6; }
33506 fi
33507 else
33508 { echo "$as_me:$LINENO: result: no" >&5
33509 echo "${ECHO_T}no" >&6; }
33510 fi
33511
33512 if test "$found_gl" != 1; then
33513 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33514 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33515
33516 ac_find_libraries=
33517 for ac_dir in $SEARCH_LIB;
33518 do
33519 for ac_extension in a so sl dylib dll.a; do
33520 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33521 ac_find_libraries=$ac_dir
33522 break 2
33523 fi
33524 done
33525 done
33526
33527 if test "$ac_find_libraries" != "" ; then
33528
33529 if test "$ac_find_libraries" = "default location"; then
33530 ac_path_to_link=""
33531 else
33532 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33533 result=$?
33534 if test $result = 0; then
33535 ac_path_to_link=""
33536 else
33537 ac_path_to_link=" -L$ac_find_libraries"
33538 fi
33539 fi
33540
33541 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33542 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33543 { echo "$as_me:$LINENO: result: yes" >&5
33544 echo "${ECHO_T}yes" >&6; }
33545 else
33546 { echo "$as_me:$LINENO: result: no" >&5
33547 echo "${ECHO_T}no" >&6; }
33548 fi
33549 fi
33550
33551 fi
33552
33553
33554
33555 fi
33556
33557
33558
33559 if test "x$OPENGL_LIBS" = "x"; then
33560 if test "$wxUSE_OPENGL" = "yes"; then
33561 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33562 echo "$as_me: error: OpenGL libraries not available" >&2;}
33563 { (exit 1); exit 1; }; }
33564 else
33565 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33566 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33567 wxUSE_OPENGL=no
33568 USE_OPENGL=0
33569 fi
33570 fi
33571 else
33572 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33573 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33574 wxUSE_OPENGL="no"
33575 fi
33576
33577 if test "$wxUSE_OPENGL" = "auto"; then
33578 wxUSE_OPENGL=yes
33579 fi
33580
33581 if test "$wxUSE_OPENGL" = "yes"; then
33582 USE_OPENGL=1
33583 cat >>confdefs.h <<\_ACEOF
33584 #define wxUSE_OPENGL 1
33585 _ACEOF
33586
33587 cat >>confdefs.h <<\_ACEOF
33588 #define wxUSE_GLCANVAS 1
33589 _ACEOF
33590
33591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33592 fi
33593 fi
33594
33595
33596 if test -n "$TOOLKIT" ; then
33597 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33598 fi
33599
33600
33601
33602 if test "$wxUSE_SHARED" = "yes"; then
33603 case "${host}" in
33604 *-pc-msdosdjgpp )
33605 wxUSE_SHARED=no
33606 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33607 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33608 ;;
33609 esac
33610 fi
33611
33612 if test "$wxUSE_SHARED" = "yes"; then
33613
33614
33615 case "${host}" in
33616 *-*-cygwin* | *-*-mingw* )
33617 wx_cv_version_script=no
33618 ;;
33619
33620 *)
33621 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33622 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33623 if test "${wx_cv_version_script+set}" = set; then
33624 echo $ECHO_N "(cached) $ECHO_C" >&6
33625 else
33626
33627 echo "VER_1 { *; };" >conftest.sym
33628 echo "int main() { return 0; }" >conftest.cpp
33629
33630 if { ac_try='
33631 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33632 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33634 (eval $ac_try) 2>&5
33635 ac_status=$?
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); }; } ; then
33638 if test -s conftest.stderr ; then
33639 wx_cv_version_script=no
33640 else
33641 wx_cv_version_script=yes
33642 fi
33643 else
33644 wx_cv_version_script=no
33645 fi
33646
33647 if test $wx_cv_version_script = yes
33648 then
33649 echo "struct B { virtual ~B() { } }; \
33650 struct D : public B { }; \
33651 void F() { D d; }" > conftest.cpp
33652
33653 if { ac_try='
33654 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33655 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33658 ac_status=$?
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; } &&
33661 { ac_try='
33662 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33663 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33665 (eval $ac_try) 2>&5
33666 ac_status=$?
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); }; }
33669 then
33670 if { ac_try='
33671 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33672 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33675 ac_status=$?
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; }
33678 then
33679 wx_cv_version_script=yes
33680 else
33681 wx_cv_version_script=no
33682 fi
33683 fi
33684 fi
33685
33686 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33687 rm -f conftest1.output conftest2.output conftest3.output
33688
33689 fi
33690 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33691 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33692
33693 if test $wx_cv_version_script = yes ; then
33694 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33695 fi
33696 ;;
33697 esac
33698
33699
33700 if test "$wxUSE_VISIBILITY" != "no"; then
33701
33702
33703 if test -n "$GCC"; then
33704 CFLAGS_VISIBILITY="-fvisibility=hidden"
33705 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33706 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33707 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33708 if test "${wx_cv_cc_visibility+set}" = set; then
33709 echo $ECHO_N "(cached) $ECHO_C" >&6
33710 else
33711
33712 wx_save_CXXFLAGS="$CXXFLAGS"
33713 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33714 ac_ext=cpp
33715 ac_cpp='$CXXCPP $CPPFLAGS'
33716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33719
33720 cat >conftest.$ac_ext <<_ACEOF
33721 /* confdefs.h. */
33722 _ACEOF
33723 cat confdefs.h >>conftest.$ac_ext
33724 cat >>conftest.$ac_ext <<_ACEOF
33725 /* end confdefs.h. */
33726
33727 /* we need gcc >= 4.0, older versions with visibility support
33728 didn't have class visibility: */
33729 #if defined(__GNUC__) && __GNUC__ < 4
33730 error this gcc is too old;
33731 #endif
33732
33733 /* visibility only makes sense for ELF shared libs: */
33734 #if !defined(__ELF__) && !defined(__APPLE__)
33735 error this platform has no visibility;
33736 #endif
33737
33738 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33739 extern __attribute__((__visibility__("default"))) int exportedvar;
33740 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33741 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33742 class __attribute__((__visibility__("default"))) Foo {
33743 Foo() {}
33744 };
33745
33746 int
33747 main ()
33748 {
33749
33750 ;
33751 return 0;
33752 }
33753 _ACEOF
33754 rm -f conftest.$ac_objext
33755 if { (ac_try="$ac_compile"
33756 case "(($ac_try" in
33757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33758 *) ac_try_echo=$ac_try;;
33759 esac
33760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33761 (eval "$ac_compile") 2>conftest.er1
33762 ac_status=$?
33763 grep -v '^ *+' conftest.er1 >conftest.err
33764 rm -f conftest.er1
33765 cat conftest.err >&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); } && {
33768 test -z "$ac_cxx_werror_flag" ||
33769 test ! -s conftest.err
33770 } && test -s conftest.$ac_objext; then
33771 wx_cv_cc_visibility=yes
33772 else
33773 echo "$as_me: failed program was:" >&5
33774 sed 's/^/| /' conftest.$ac_ext >&5
33775
33776 wx_cv_cc_visibility=no
33777 fi
33778
33779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33780 ac_ext=c
33781 ac_cpp='$CPP $CPPFLAGS'
33782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33785
33786 CXXFLAGS="$wx_save_CXXFLAGS"
33787 fi
33788
33789 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33790 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33791 if test $wx_cv_cc_visibility = yes; then
33792 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33793 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33794 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33795 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 else
33797
33798 wx_save_CXXFLAGS="$CXXFLAGS"
33799 wx_save_LDFLAGS="$LDFLAGS"
33800 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33801 LDFLAGS="$LDFLAGS -shared -fPIC"
33802 ac_ext=cpp
33803 ac_cpp='$CXXCPP $CPPFLAGS'
33804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33807
33808 cat >conftest.$ac_ext <<_ACEOF
33809 /* confdefs.h. */
33810 _ACEOF
33811 cat confdefs.h >>conftest.$ac_ext
33812 cat >>conftest.$ac_ext <<_ACEOF
33813 /* end confdefs.h. */
33814
33815 #include <string>
33816
33817 int
33818 main ()
33819 {
33820
33821 std::string s("hello");
33822 return s.length();
33823
33824 ;
33825 return 0;
33826 }
33827 _ACEOF
33828 rm -f conftest.$ac_objext conftest$ac_exeext
33829 if { (ac_try="$ac_link"
33830 case "(($ac_try" in
33831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33832 *) ac_try_echo=$ac_try;;
33833 esac
33834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33835 (eval "$ac_link") 2>conftest.er1
33836 ac_status=$?
33837 grep -v '^ *+' conftest.er1 >conftest.err
33838 rm -f conftest.er1
33839 cat conftest.err >&5
33840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33841 (exit $ac_status); } && {
33842 test -z "$ac_cxx_werror_flag" ||
33843 test ! -s conftest.err
33844 } && test -s conftest$ac_exeext &&
33845 $as_test_x conftest$ac_exeext; then
33846 wx_cv_cc_broken_libstdcxx_visibility=no
33847 else
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.$ac_ext >&5
33850
33851 wx_cv_cc_broken_libstdcxx_visibility=yes
33852 fi
33853
33854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33855 conftest$ac_exeext conftest.$ac_ext
33856 ac_ext=c
33857 ac_cpp='$CPP $CPPFLAGS'
33858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33861
33862 CXXFLAGS="$wx_save_CXXFLAGS"
33863 LDFLAGS="$wx_save_LDFLAGS"
33864 fi
33865
33866 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33867 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33868
33869 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33870 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33871 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33872 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33873 echo $ECHO_N "(cached) $ECHO_C" >&6
33874 else
33875
33876 ac_ext=cpp
33877 ac_cpp='$CXXCPP $CPPFLAGS'
33878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33881
33882 cat >conftest.$ac_ext <<_ACEOF
33883 /* confdefs.h. */
33884 _ACEOF
33885 cat confdefs.h >>conftest.$ac_ext
33886 cat >>conftest.$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33888
33889 #pragma GCC visibility push(default)
33890 #include <string>
33891 #pragma GCC visibility pop
33892
33893 int
33894 main ()
33895 {
33896
33897 std::string s("hello");
33898 return s.length();
33899
33900 ;
33901 return 0;
33902 }
33903 _ACEOF
33904 rm -f conftest.$ac_objext conftest$ac_exeext
33905 if { (ac_try="$ac_link"
33906 case "(($ac_try" in
33907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33908 *) ac_try_echo=$ac_try;;
33909 esac
33910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33911 (eval "$ac_link") 2>conftest.er1
33912 ac_status=$?
33913 grep -v '^ *+' conftest.er1 >conftest.err
33914 rm -f conftest.er1
33915 cat conftest.err >&5
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); } && {
33918 test -z "$ac_cxx_werror_flag" ||
33919 test ! -s conftest.err
33920 } && test -s conftest$ac_exeext &&
33921 $as_test_x conftest$ac_exeext; then
33922 wx_cv_cc_visibility_workaround=no
33923 else
33924 echo "$as_me: failed program was:" >&5
33925 sed 's/^/| /' conftest.$ac_ext >&5
33926
33927 wx_cv_cc_visibility_workaround=yes
33928 fi
33929
33930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33931 conftest$ac_exeext conftest.$ac_ext
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
33939 fi
33940
33941 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33942 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33943
33944 if test $wx_cv_cc_visibility_workaround = no; then
33945 wx_cv_cc_visibility=no
33946 fi
33947 fi
33948 fi
33949
33950 if test $wx_cv_cc_visibility = yes; then
33951 cat >>confdefs.h <<\_ACEOF
33952 #define HAVE_VISIBILITY 1
33953 _ACEOF
33954
33955 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33956 cat >>confdefs.h <<\_ACEOF
33957 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33958 _ACEOF
33959
33960 fi
33961 else
33962 CFLAGS_VISIBILITY=""
33963 CXXFLAGS_VISIBILITY=""
33964 fi
33965
33966
33967 fi
33968
33969 fi
33970
33971 if test "x$SUNCXX" = xyes; then
33972 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33973 WXCONFIG_RPATH="-R\$libdir"
33974 else
33975 case "${host}" in
33976 *-*-linux* | *-*-gnu* )
33977 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33978 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33979 ;;
33980
33981 *-*-solaris2* )
33982
33983 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33984
33985 saveLdflags="$LDFLAGS"
33986 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33987 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33988 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33989 cat >conftest.$ac_ext <<_ACEOF
33990 /* confdefs.h. */
33991 _ACEOF
33992 cat confdefs.h >>conftest.$ac_ext
33993 cat >>conftest.$ac_ext <<_ACEOF
33994 /* end confdefs.h. */
33995
33996 int
33997 main ()
33998 {
33999
34000 ;
34001 return 0;
34002 }
34003 _ACEOF
34004 rm -f conftest.$ac_objext conftest$ac_exeext
34005 if { (ac_try="$ac_link"
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_link") 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_exeext &&
34021 $as_test_x conftest$ac_exeext; then
34022
34023 { echo "$as_me:$LINENO: result: yes" >&5
34024 echo "${ECHO_T}yes" >&6; }
34025 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34026 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34027
34028 else
34029 echo "$as_me: failed program was:" >&5
34030 sed 's/^/| /' conftest.$ac_ext >&5
34031
34032
34033 { echo "$as_me:$LINENO: result: no" >&5
34034 echo "${ECHO_T}no" >&6; }
34035 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34036 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34037 LDFLAGS="$saveLdflags -Wl,-R,/"
34038 cat >conftest.$ac_ext <<_ACEOF
34039 /* confdefs.h. */
34040 _ACEOF
34041 cat confdefs.h >>conftest.$ac_ext
34042 cat >>conftest.$ac_ext <<_ACEOF
34043 /* end confdefs.h. */
34044
34045 int
34046 main ()
34047 {
34048
34049 ;
34050 return 0;
34051 }
34052 _ACEOF
34053 rm -f conftest.$ac_objext conftest$ac_exeext
34054 if { (ac_try="$ac_link"
34055 case "(($ac_try" in
34056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34057 *) ac_try_echo=$ac_try;;
34058 esac
34059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34060 (eval "$ac_link") 2>conftest.er1
34061 ac_status=$?
34062 grep -v '^ *+' conftest.er1 >conftest.err
34063 rm -f conftest.er1
34064 cat conftest.err >&5
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); } && {
34067 test -z "$ac_c_werror_flag" ||
34068 test ! -s conftest.err
34069 } && test -s conftest$ac_exeext &&
34070 $as_test_x conftest$ac_exeext; then
34071
34072 { echo "$as_me:$LINENO: result: yes" >&5
34073 echo "${ECHO_T}yes" >&6; }
34074 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34075 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34076
34077 else
34078 echo "$as_me: failed program was:" >&5
34079 sed 's/^/| /' conftest.$ac_ext >&5
34080
34081
34082 { echo "$as_me:$LINENO: result: no" >&5
34083 echo "${ECHO_T}no" >&6; }
34084
34085 fi
34086
34087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34088 conftest$ac_exeext conftest.$ac_ext
34089
34090 fi
34091
34092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34093 conftest$ac_exeext conftest.$ac_ext
34094 LDFLAGS="$saveLdflags"
34095 ;;
34096
34097 *-*-darwin* )
34098 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34099 if test "$install_name_tool" -a -x "$install_name_tool"; then
34100 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34101 cat <<EOF >change-install-names
34102 #!/bin/sh
34103 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34104 for i in \${libnames} ; do
34105 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34106 for dep in \${libnames} ; do
34107 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34108 done
34109 done
34110 EOF
34111 chmod +x change-install-names
34112 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34113 fi
34114
34115 HEADER_PAD_OPTION="-headerpad_max_install_names"
34116 ;;
34117
34118 *-*-cygwin* | *-*-mingw32* )
34119 ;;
34120
34121 *-*-hpux* )
34122 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34123 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34124 ;;
34125
34126 esac
34127 fi
34128
34129 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34130
34131 if test $wxUSE_RPATH = "no"; then
34132 SAMPLES_RPATH_FLAG=''
34133 DYLIB_PATH_POSTLINK=''
34134 WXCONFIG_RPATH=''
34135 fi
34136
34137 SHARED=1
34138
34139 else
34140
34141 config_linkage_component="-static"
34142 SHARED=0
34143
34144 fi
34145
34146
34147 UNICODE=0
34148 lib_unicode_suffix=
34149 WX_CHARTYPE="ansi"
34150 if test "$wxUSE_UNICODE" = "yes"; then
34151 lib_unicode_suffix=u
34152 WX_CHARTYPE="unicode"
34153 UNICODE=1
34154 fi
34155
34156 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34157 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34158
34159 DEBUG_INFO=0
34160 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34161 DEBUG_INFO=1
34162 fi
34163
34164 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34165
34166 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34167
34168 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34169
34170
34171 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34172 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34173 else
34174 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34175 fi
34176 if test "${TOOLKIT_DIR}" = "os2"; then
34177 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34178 else
34179 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34180 fi
34181
34182
34183
34184 if test "$wxUSE_COCOA" = 1; then
34185
34186 ac_ext=c
34187 ac_cpp='$CPP $CPPFLAGS'
34188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34191
34192 ac_ext=m
34193
34194 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34195 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34196 cat >conftest.$ac_ext <<_ACEOF
34197 /* confdefs.h. */
34198 _ACEOF
34199 cat confdefs.h >>conftest.$ac_ext
34200 cat >>conftest.$ac_ext <<_ACEOF
34201 /* end confdefs.h. */
34202 #include <AppKit/NSEvent.h>
34203 #include <CoreFoundation/CoreFoundation.h>
34204
34205 int
34206 main ()
34207 {
34208
34209 ;
34210 return 0;
34211 }
34212 _ACEOF
34213 rm -f conftest.$ac_objext
34214 if { (ac_try="$ac_compile"
34215 case "(($ac_try" in
34216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34217 *) ac_try_echo=$ac_try;;
34218 esac
34219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34220 (eval "$ac_compile") 2>conftest.er1
34221 ac_status=$?
34222 grep -v '^ *+' conftest.er1 >conftest.err
34223 rm -f conftest.er1
34224 cat conftest.err >&5
34225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34226 (exit $ac_status); } && {
34227 test -z "$ac_c_werror_flag" ||
34228 test ! -s conftest.err
34229 } && test -s conftest.$ac_objext; then
34230 { echo "$as_me:$LINENO: result: no" >&5
34231 echo "${ECHO_T}no" >&6; }
34232 else
34233 echo "$as_me: failed program was:" >&5
34234 sed 's/^/| /' conftest.$ac_ext >&5
34235
34236 { echo "$as_me:$LINENO: result: yes" >&5
34237 echo "${ECHO_T}yes" >&6; }
34238 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34239 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34240 cat >conftest.$ac_ext <<_ACEOF
34241 /* confdefs.h. */
34242 _ACEOF
34243 cat confdefs.h >>conftest.$ac_ext
34244 cat >>conftest.$ac_ext <<_ACEOF
34245 /* end confdefs.h. */
34246 #define __Point__ 1
34247 #include <AppKit/NSEvent.h>
34248 #include <CoreFoundation/CoreFoundation.h>
34249
34250 int
34251 main ()
34252 {
34253
34254 ;
34255 return 0;
34256 }
34257 _ACEOF
34258 rm -f conftest.$ac_objext
34259 if { (ac_try="$ac_compile"
34260 case "(($ac_try" in
34261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34262 *) ac_try_echo=$ac_try;;
34263 esac
34264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34265 (eval "$ac_compile") 2>conftest.er1
34266 ac_status=$?
34267 grep -v '^ *+' conftest.er1 >conftest.err
34268 rm -f conftest.er1
34269 cat conftest.err >&5
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); } && {
34272 test -z "$ac_c_werror_flag" ||
34273 test ! -s conftest.err
34274 } && test -s conftest.$ac_objext; then
34275 { echo "$as_me:$LINENO: result: yes" >&5
34276 echo "${ECHO_T}yes" >&6; }
34277 cat >>confdefs.h <<\_ACEOF
34278 #define __Point__ 1
34279 _ACEOF
34280
34281
34282 else
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34285
34286 { { echo "$as_me:$LINENO: error: no
34287 See \`config.log' for more details." >&5
34288 echo "$as_me: error: no
34289 See \`config.log' for more details." >&2;}
34290 { (exit 1); exit 1; }; }
34291
34292 fi
34293
34294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34295
34296 fi
34297
34298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34299 ac_ext=c
34300 ac_cpp='$CPP $CPPFLAGS'
34301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34304
34305 fi
34306
34307
34308 { echo "$as_me:$LINENO: checking for mode_t" >&5
34309 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34310 if test "${ac_cv_type_mode_t+set}" = set; then
34311 echo $ECHO_N "(cached) $ECHO_C" >&6
34312 else
34313 cat >conftest.$ac_ext <<_ACEOF
34314 /* confdefs.h. */
34315 _ACEOF
34316 cat confdefs.h >>conftest.$ac_ext
34317 cat >>conftest.$ac_ext <<_ACEOF
34318 /* end confdefs.h. */
34319 $ac_includes_default
34320 typedef mode_t ac__type_new_;
34321 int
34322 main ()
34323 {
34324 if ((ac__type_new_ *) 0)
34325 return 0;
34326 if (sizeof (ac__type_new_))
34327 return 0;
34328 ;
34329 return 0;
34330 }
34331 _ACEOF
34332 rm -f conftest.$ac_objext
34333 if { (ac_try="$ac_compile"
34334 case "(($ac_try" in
34335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34336 *) ac_try_echo=$ac_try;;
34337 esac
34338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34339 (eval "$ac_compile") 2>conftest.er1
34340 ac_status=$?
34341 grep -v '^ *+' conftest.er1 >conftest.err
34342 rm -f conftest.er1
34343 cat conftest.err >&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } && {
34346 test -z "$ac_c_werror_flag" ||
34347 test ! -s conftest.err
34348 } && test -s conftest.$ac_objext; then
34349 ac_cv_type_mode_t=yes
34350 else
34351 echo "$as_me: failed program was:" >&5
34352 sed 's/^/| /' conftest.$ac_ext >&5
34353
34354 ac_cv_type_mode_t=no
34355 fi
34356
34357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34358 fi
34359 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34360 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34361 if test $ac_cv_type_mode_t = yes; then
34362 :
34363 else
34364
34365 cat >>confdefs.h <<_ACEOF
34366 #define mode_t int
34367 _ACEOF
34368
34369 fi
34370
34371 { echo "$as_me:$LINENO: checking for off_t" >&5
34372 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34373 if test "${ac_cv_type_off_t+set}" = set; then
34374 echo $ECHO_N "(cached) $ECHO_C" >&6
34375 else
34376 cat >conftest.$ac_ext <<_ACEOF
34377 /* confdefs.h. */
34378 _ACEOF
34379 cat confdefs.h >>conftest.$ac_ext
34380 cat >>conftest.$ac_ext <<_ACEOF
34381 /* end confdefs.h. */
34382 $ac_includes_default
34383 typedef off_t ac__type_new_;
34384 int
34385 main ()
34386 {
34387 if ((ac__type_new_ *) 0)
34388 return 0;
34389 if (sizeof (ac__type_new_))
34390 return 0;
34391 ;
34392 return 0;
34393 }
34394 _ACEOF
34395 rm -f conftest.$ac_objext
34396 if { (ac_try="$ac_compile"
34397 case "(($ac_try" in
34398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34399 *) ac_try_echo=$ac_try;;
34400 esac
34401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34402 (eval "$ac_compile") 2>conftest.er1
34403 ac_status=$?
34404 grep -v '^ *+' conftest.er1 >conftest.err
34405 rm -f conftest.er1
34406 cat conftest.err >&5
34407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34408 (exit $ac_status); } && {
34409 test -z "$ac_c_werror_flag" ||
34410 test ! -s conftest.err
34411 } && test -s conftest.$ac_objext; then
34412 ac_cv_type_off_t=yes
34413 else
34414 echo "$as_me: failed program was:" >&5
34415 sed 's/^/| /' conftest.$ac_ext >&5
34416
34417 ac_cv_type_off_t=no
34418 fi
34419
34420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34421 fi
34422 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34423 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34424 if test $ac_cv_type_off_t = yes; then
34425 :
34426 else
34427
34428 cat >>confdefs.h <<_ACEOF
34429 #define off_t long int
34430 _ACEOF
34431
34432 fi
34433
34434 { echo "$as_me:$LINENO: checking for pid_t" >&5
34435 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34436 if test "${ac_cv_type_pid_t+set}" = set; then
34437 echo $ECHO_N "(cached) $ECHO_C" >&6
34438 else
34439 cat >conftest.$ac_ext <<_ACEOF
34440 /* confdefs.h. */
34441 _ACEOF
34442 cat confdefs.h >>conftest.$ac_ext
34443 cat >>conftest.$ac_ext <<_ACEOF
34444 /* end confdefs.h. */
34445 $ac_includes_default
34446 typedef pid_t ac__type_new_;
34447 int
34448 main ()
34449 {
34450 if ((ac__type_new_ *) 0)
34451 return 0;
34452 if (sizeof (ac__type_new_))
34453 return 0;
34454 ;
34455 return 0;
34456 }
34457 _ACEOF
34458 rm -f conftest.$ac_objext
34459 if { (ac_try="$ac_compile"
34460 case "(($ac_try" in
34461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34462 *) ac_try_echo=$ac_try;;
34463 esac
34464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34465 (eval "$ac_compile") 2>conftest.er1
34466 ac_status=$?
34467 grep -v '^ *+' conftest.er1 >conftest.err
34468 rm -f conftest.er1
34469 cat conftest.err >&5
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); } && {
34472 test -z "$ac_c_werror_flag" ||
34473 test ! -s conftest.err
34474 } && test -s conftest.$ac_objext; then
34475 ac_cv_type_pid_t=yes
34476 else
34477 echo "$as_me: failed program was:" >&5
34478 sed 's/^/| /' conftest.$ac_ext >&5
34479
34480 ac_cv_type_pid_t=no
34481 fi
34482
34483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34484 fi
34485 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34486 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34487 if test $ac_cv_type_pid_t = yes; then
34488 :
34489 else
34490
34491 cat >>confdefs.h <<_ACEOF
34492 #define pid_t int
34493 _ACEOF
34494
34495 fi
34496
34497 { echo "$as_me:$LINENO: checking for size_t" >&5
34498 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34499 if test "${ac_cv_type_size_t+set}" = set; then
34500 echo $ECHO_N "(cached) $ECHO_C" >&6
34501 else
34502 cat >conftest.$ac_ext <<_ACEOF
34503 /* confdefs.h. */
34504 _ACEOF
34505 cat confdefs.h >>conftest.$ac_ext
34506 cat >>conftest.$ac_ext <<_ACEOF
34507 /* end confdefs.h. */
34508 $ac_includes_default
34509 typedef size_t ac__type_new_;
34510 int
34511 main ()
34512 {
34513 if ((ac__type_new_ *) 0)
34514 return 0;
34515 if (sizeof (ac__type_new_))
34516 return 0;
34517 ;
34518 return 0;
34519 }
34520 _ACEOF
34521 rm -f conftest.$ac_objext
34522 if { (ac_try="$ac_compile"
34523 case "(($ac_try" in
34524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34525 *) ac_try_echo=$ac_try;;
34526 esac
34527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34528 (eval "$ac_compile") 2>conftest.er1
34529 ac_status=$?
34530 grep -v '^ *+' conftest.er1 >conftest.err
34531 rm -f conftest.er1
34532 cat conftest.err >&5
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); } && {
34535 test -z "$ac_c_werror_flag" ||
34536 test ! -s conftest.err
34537 } && test -s conftest.$ac_objext; then
34538 ac_cv_type_size_t=yes
34539 else
34540 echo "$as_me: failed program was:" >&5
34541 sed 's/^/| /' conftest.$ac_ext >&5
34542
34543 ac_cv_type_size_t=no
34544 fi
34545
34546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34547 fi
34548 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34549 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34550 if test $ac_cv_type_size_t = yes; then
34551 :
34552 else
34553
34554 cat >>confdefs.h <<_ACEOF
34555 #define size_t unsigned int
34556 _ACEOF
34557
34558 fi
34559
34560
34561 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34562 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34563 if test "${ac_cv_type_ssize_t+set}" = set; then
34564 echo $ECHO_N "(cached) $ECHO_C" >&6
34565 else
34566 cat >conftest.$ac_ext <<_ACEOF
34567 /* confdefs.h. */
34568 _ACEOF
34569 cat confdefs.h >>conftest.$ac_ext
34570 cat >>conftest.$ac_ext <<_ACEOF
34571 /* end confdefs.h. */
34572 $ac_includes_default
34573 typedef ssize_t ac__type_new_;
34574 int
34575 main ()
34576 {
34577 if ((ac__type_new_ *) 0)
34578 return 0;
34579 if (sizeof (ac__type_new_))
34580 return 0;
34581 ;
34582 return 0;
34583 }
34584 _ACEOF
34585 rm -f conftest.$ac_objext
34586 if { (ac_try="$ac_compile"
34587 case "(($ac_try" in
34588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34589 *) ac_try_echo=$ac_try;;
34590 esac
34591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34592 (eval "$ac_compile") 2>conftest.er1
34593 ac_status=$?
34594 grep -v '^ *+' conftest.er1 >conftest.err
34595 rm -f conftest.er1
34596 cat conftest.err >&5
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); } && {
34599 test -z "$ac_c_werror_flag" ||
34600 test ! -s conftest.err
34601 } && test -s conftest.$ac_objext; then
34602 ac_cv_type_ssize_t=yes
34603 else
34604 echo "$as_me: failed program was:" >&5
34605 sed 's/^/| /' conftest.$ac_ext >&5
34606
34607 ac_cv_type_ssize_t=no
34608 fi
34609
34610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34611 fi
34612 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34613 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34614 if test $ac_cv_type_ssize_t = yes; then
34615
34616 cat >>confdefs.h <<_ACEOF
34617 #define HAVE_SSIZE_T 1
34618 _ACEOF
34619
34620
34621 fi
34622
34623
34624 ac_ext=cpp
34625 ac_cpp='$CXXCPP $CPPFLAGS'
34626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34629 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34630 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34631 if test "${wx_cv_size_t_is_uint+set}" = set; then
34632 echo $ECHO_N "(cached) $ECHO_C" >&6
34633 else
34634
34635 cat >conftest.$ac_ext <<_ACEOF
34636 /* confdefs.h. */
34637 _ACEOF
34638 cat confdefs.h >>conftest.$ac_ext
34639 cat >>conftest.$ac_ext <<_ACEOF
34640 /* end confdefs.h. */
34641 #include <stddef.h>
34642 int
34643 main ()
34644 {
34645
34646 return 0; }
34647
34648 struct Foo { void foo(size_t); void foo(unsigned int); };
34649
34650 int bar() {
34651
34652 ;
34653 return 0;
34654 }
34655 _ACEOF
34656 rm -f conftest.$ac_objext
34657 if { (ac_try="$ac_compile"
34658 case "(($ac_try" in
34659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34660 *) ac_try_echo=$ac_try;;
34661 esac
34662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34663 (eval "$ac_compile") 2>conftest.er1
34664 ac_status=$?
34665 grep -v '^ *+' conftest.er1 >conftest.err
34666 rm -f conftest.er1
34667 cat conftest.err >&5
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); } && {
34670 test -z "$ac_cxx_werror_flag" ||
34671 test ! -s conftest.err
34672 } && test -s conftest.$ac_objext; then
34673 wx_cv_size_t_is_uint=no
34674 else
34675 echo "$as_me: failed program was:" >&5
34676 sed 's/^/| /' conftest.$ac_ext >&5
34677
34678 wx_cv_size_t_is_uint=yes
34679
34680 fi
34681
34682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34683
34684
34685 fi
34686 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34687 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34688
34689 if test "$wx_cv_size_t_is_uint" = "yes"; then
34690 cat >>confdefs.h <<\_ACEOF
34691 #define wxSIZE_T_IS_UINT 1
34692 _ACEOF
34693
34694 else
34695 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34696 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34697 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34698 echo $ECHO_N "(cached) $ECHO_C" >&6
34699 else
34700 cat >conftest.$ac_ext <<_ACEOF
34701 /* confdefs.h. */
34702 _ACEOF
34703 cat confdefs.h >>conftest.$ac_ext
34704 cat >>conftest.$ac_ext <<_ACEOF
34705 /* end confdefs.h. */
34706 #include <stddef.h>
34707 int
34708 main ()
34709 {
34710
34711 return 0; }
34712
34713 struct Foo { void foo(size_t); void foo(unsigned long); };
34714
34715 int bar() {
34716
34717 ;
34718 return 0;
34719 }
34720 _ACEOF
34721 rm -f conftest.$ac_objext
34722 if { (ac_try="$ac_compile"
34723 case "(($ac_try" in
34724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34725 *) ac_try_echo=$ac_try;;
34726 esac
34727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34728 (eval "$ac_compile") 2>conftest.er1
34729 ac_status=$?
34730 grep -v '^ *+' conftest.er1 >conftest.err
34731 rm -f conftest.er1
34732 cat conftest.err >&5
34733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34734 (exit $ac_status); } && {
34735 test -z "$ac_cxx_werror_flag" ||
34736 test ! -s conftest.err
34737 } && test -s conftest.$ac_objext; then
34738 wx_cv_size_t_is_ulong=no
34739 else
34740 echo "$as_me: failed program was:" >&5
34741 sed 's/^/| /' conftest.$ac_ext >&5
34742
34743 wx_cv_size_t_is_ulong=yes
34744
34745 fi
34746
34747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34748
34749 fi
34750 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34751 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34752
34753 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34754 cat >>confdefs.h <<\_ACEOF
34755 #define wxSIZE_T_IS_ULONG 1
34756 _ACEOF
34757
34758 fi
34759 fi
34760
34761 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34762 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34763 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34764 echo $ECHO_N "(cached) $ECHO_C" >&6
34765 else
34766 cat >conftest.$ac_ext <<_ACEOF
34767 /* confdefs.h. */
34768 _ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h. */
34772 #include <wchar.h>
34773 int
34774 main ()
34775 {
34776
34777 return 0; }
34778
34779 struct Foo { void foo(wchar_t);
34780 void foo(unsigned short);
34781 void foo(unsigned int);
34782 void foo(unsigned long); };
34783
34784 int bar() {
34785
34786 ;
34787 return 0;
34788 }
34789 _ACEOF
34790 rm -f conftest.$ac_objext
34791 if { (ac_try="$ac_compile"
34792 case "(($ac_try" in
34793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34794 *) ac_try_echo=$ac_try;;
34795 esac
34796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34797 (eval "$ac_compile") 2>conftest.er1
34798 ac_status=$?
34799 grep -v '^ *+' conftest.er1 >conftest.err
34800 rm -f conftest.er1
34801 cat conftest.err >&5
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); } && {
34804 test -z "$ac_cxx_werror_flag" ||
34805 test ! -s conftest.err
34806 } && test -s conftest.$ac_objext; then
34807 wx_cv_wchar_t_is_separate_type=yes
34808 else
34809 echo "$as_me: failed program was:" >&5
34810 sed 's/^/| /' conftest.$ac_ext >&5
34811
34812 wx_cv_wchar_t_is_separate_type=no
34813
34814 fi
34815
34816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34817
34818 fi
34819 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34820 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34821
34822 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34823 cat >>confdefs.h <<\_ACEOF
34824 #define wxWCHAR_T_IS_REAL_TYPE 1
34825 _ACEOF
34826
34827 else
34828 cat >>confdefs.h <<\_ACEOF
34829 #define wxWCHAR_T_IS_REAL_TYPE 0
34830 _ACEOF
34831
34832 fi
34833
34834 ac_ext=c
34835 ac_cpp='$CPP $CPPFLAGS'
34836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34839
34840
34841 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34842 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34843 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34844 echo $ECHO_N "(cached) $ECHO_C" >&6
34845 else
34846
34847 cat >conftest.$ac_ext <<_ACEOF
34848 /* confdefs.h. */
34849 _ACEOF
34850 cat confdefs.h >>conftest.$ac_ext
34851 cat >>conftest.$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34853 #include <pwd.h>
34854 int
34855 main ()
34856 {
34857
34858 char *p;
34859 struct passwd *pw;
34860 p = pw->pw_gecos;
34861
34862 ;
34863 return 0;
34864 }
34865 _ACEOF
34866 rm -f conftest.$ac_objext
34867 if { (ac_try="$ac_compile"
34868 case "(($ac_try" in
34869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34870 *) ac_try_echo=$ac_try;;
34871 esac
34872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34873 (eval "$ac_compile") 2>conftest.er1
34874 ac_status=$?
34875 grep -v '^ *+' conftest.er1 >conftest.err
34876 rm -f conftest.er1
34877 cat conftest.err >&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); } && {
34880 test -z "$ac_c_werror_flag" ||
34881 test ! -s conftest.err
34882 } && test -s conftest.$ac_objext; then
34883
34884 wx_cv_struct_pw_gecos=yes
34885
34886 else
34887 echo "$as_me: failed program was:" >&5
34888 sed 's/^/| /' conftest.$ac_ext >&5
34889
34890
34891 wx_cv_struct_pw_gecos=no
34892
34893
34894 fi
34895
34896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34897
34898
34899 fi
34900 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34901 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34902
34903 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34904 cat >>confdefs.h <<\_ACEOF
34905 #define HAVE_PW_GECOS 1
34906 _ACEOF
34907
34908 fi
34909
34910
34911 if test "$wxUSE_WCHAR_T" = "yes"; then
34912 cat >>confdefs.h <<\_ACEOF
34913 #define wxUSE_WCHAR_T 1
34914 _ACEOF
34915
34916
34917 WCSLEN_FOUND=0
34918 WCHAR_LINK=
34919
34920 for ac_func in wcslen
34921 do
34922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34926 echo $ECHO_N "(cached) $ECHO_C" >&6
34927 else
34928 cat >conftest.$ac_ext <<_ACEOF
34929 /* confdefs.h. */
34930 _ACEOF
34931 cat confdefs.h >>conftest.$ac_ext
34932 cat >>conftest.$ac_ext <<_ACEOF
34933 /* end confdefs.h. */
34934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34936 #define $ac_func innocuous_$ac_func
34937
34938 /* System header to define __stub macros and hopefully few prototypes,
34939 which can conflict with char $ac_func (); below.
34940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34941 <limits.h> exists even on freestanding compilers. */
34942
34943 #ifdef __STDC__
34944 # include <limits.h>
34945 #else
34946 # include <assert.h>
34947 #endif
34948
34949 #undef $ac_func
34950
34951 /* Override any GCC internal prototype to avoid an error.
34952 Use char because int might match the return type of a GCC
34953 builtin and then its argument prototype would still apply. */
34954 #ifdef __cplusplus
34955 extern "C"
34956 #endif
34957 char $ac_func ();
34958 /* The GNU C library defines this for functions which it implements
34959 to always fail with ENOSYS. Some functions are actually named
34960 something starting with __ and the normal name is an alias. */
34961 #if defined __stub_$ac_func || defined __stub___$ac_func
34962 choke me
34963 #endif
34964
34965 int
34966 main ()
34967 {
34968 return $ac_func ();
34969 ;
34970 return 0;
34971 }
34972 _ACEOF
34973 rm -f conftest.$ac_objext conftest$ac_exeext
34974 if { (ac_try="$ac_link"
34975 case "(($ac_try" in
34976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34977 *) ac_try_echo=$ac_try;;
34978 esac
34979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34980 (eval "$ac_link") 2>conftest.er1
34981 ac_status=$?
34982 grep -v '^ *+' conftest.er1 >conftest.err
34983 rm -f conftest.er1
34984 cat conftest.err >&5
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); } && {
34987 test -z "$ac_c_werror_flag" ||
34988 test ! -s conftest.err
34989 } && test -s conftest$ac_exeext &&
34990 $as_test_x conftest$ac_exeext; then
34991 eval "$as_ac_var=yes"
34992 else
34993 echo "$as_me: failed program was:" >&5
34994 sed 's/^/| /' conftest.$ac_ext >&5
34995
34996 eval "$as_ac_var=no"
34997 fi
34998
34999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35000 conftest$ac_exeext conftest.$ac_ext
35001 fi
35002 ac_res=`eval echo '${'$as_ac_var'}'`
35003 { echo "$as_me:$LINENO: result: $ac_res" >&5
35004 echo "${ECHO_T}$ac_res" >&6; }
35005 if test `eval echo '${'$as_ac_var'}'` = yes; then
35006 cat >>confdefs.h <<_ACEOF
35007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35008 _ACEOF
35009 WCSLEN_FOUND=1
35010 fi
35011 done
35012
35013
35014 if test "$WCSLEN_FOUND" = 0; then
35015 if test "$TOOLKIT" = "MSW"; then
35016 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35017 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35018 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35020 else
35021 ac_check_lib_save_LIBS=$LIBS
35022 LIBS="-lmsvcrt $LIBS"
35023 cat >conftest.$ac_ext <<_ACEOF
35024 /* confdefs.h. */
35025 _ACEOF
35026 cat confdefs.h >>conftest.$ac_ext
35027 cat >>conftest.$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35029
35030 /* Override any GCC internal prototype to avoid an error.
35031 Use char because int might match the return type of a GCC
35032 builtin and then its argument prototype would still apply. */
35033 #ifdef __cplusplus
35034 extern "C"
35035 #endif
35036 char wcslen ();
35037 int
35038 main ()
35039 {
35040 return wcslen ();
35041 ;
35042 return 0;
35043 }
35044 _ACEOF
35045 rm -f conftest.$ac_objext conftest$ac_exeext
35046 if { (ac_try="$ac_link"
35047 case "(($ac_try" in
35048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35049 *) ac_try_echo=$ac_try;;
35050 esac
35051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35052 (eval "$ac_link") 2>conftest.er1
35053 ac_status=$?
35054 grep -v '^ *+' conftest.er1 >conftest.err
35055 rm -f conftest.er1
35056 cat conftest.err >&5
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); } && {
35059 test -z "$ac_c_werror_flag" ||
35060 test ! -s conftest.err
35061 } && test -s conftest$ac_exeext &&
35062 $as_test_x conftest$ac_exeext; then
35063 ac_cv_lib_msvcrt_wcslen=yes
35064 else
35065 echo "$as_me: failed program was:" >&5
35066 sed 's/^/| /' conftest.$ac_ext >&5
35067
35068 ac_cv_lib_msvcrt_wcslen=no
35069 fi
35070
35071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35072 conftest$ac_exeext conftest.$ac_ext
35073 LIBS=$ac_check_lib_save_LIBS
35074 fi
35075 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35076 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35077 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35078 WCHAR_OK=1
35079 fi
35080
35081 else
35082 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35083 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35084 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35086 else
35087 ac_check_lib_save_LIBS=$LIBS
35088 LIBS="-lw $LIBS"
35089 cat >conftest.$ac_ext <<_ACEOF
35090 /* confdefs.h. */
35091 _ACEOF
35092 cat confdefs.h >>conftest.$ac_ext
35093 cat >>conftest.$ac_ext <<_ACEOF
35094 /* end confdefs.h. */
35095
35096 /* Override any GCC internal prototype to avoid an error.
35097 Use char because int might match the return type of a GCC
35098 builtin and then its argument prototype would still apply. */
35099 #ifdef __cplusplus
35100 extern "C"
35101 #endif
35102 char wcslen ();
35103 int
35104 main ()
35105 {
35106 return wcslen ();
35107 ;
35108 return 0;
35109 }
35110 _ACEOF
35111 rm -f conftest.$ac_objext conftest$ac_exeext
35112 if { (ac_try="$ac_link"
35113 case "(($ac_try" in
35114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35115 *) ac_try_echo=$ac_try;;
35116 esac
35117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35118 (eval "$ac_link") 2>conftest.er1
35119 ac_status=$?
35120 grep -v '^ *+' conftest.er1 >conftest.err
35121 rm -f conftest.er1
35122 cat conftest.err >&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); } && {
35125 test -z "$ac_c_werror_flag" ||
35126 test ! -s conftest.err
35127 } && test -s conftest$ac_exeext &&
35128 $as_test_x conftest$ac_exeext; then
35129 ac_cv_lib_w_wcslen=yes
35130 else
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.$ac_ext >&5
35133
35134 ac_cv_lib_w_wcslen=no
35135 fi
35136
35137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35138 conftest$ac_exeext conftest.$ac_ext
35139 LIBS=$ac_check_lib_save_LIBS
35140 fi
35141 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35142 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35143 if test $ac_cv_lib_w_wcslen = yes; then
35144
35145 WCHAR_LINK=" -lw"
35146 WCSLEN_FOUND=1
35147
35148 fi
35149
35150 fi
35151 fi
35152
35153 if test "$WCSLEN_FOUND" = 1; then
35154 cat >>confdefs.h <<\_ACEOF
35155 #define HAVE_WCSLEN 1
35156 _ACEOF
35157
35158 fi
35159
35160
35161
35162
35163
35164
35165 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35166 do
35167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35168 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35170 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35171 echo $ECHO_N "(cached) $ECHO_C" >&6
35172 else
35173 cat >conftest.$ac_ext <<_ACEOF
35174 /* confdefs.h. */
35175 _ACEOF
35176 cat confdefs.h >>conftest.$ac_ext
35177 cat >>conftest.$ac_ext <<_ACEOF
35178 /* end confdefs.h. */
35179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35181 #define $ac_func innocuous_$ac_func
35182
35183 /* System header to define __stub macros and hopefully few prototypes,
35184 which can conflict with char $ac_func (); below.
35185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35186 <limits.h> exists even on freestanding compilers. */
35187
35188 #ifdef __STDC__
35189 # include <limits.h>
35190 #else
35191 # include <assert.h>
35192 #endif
35193
35194 #undef $ac_func
35195
35196 /* Override any GCC internal prototype to avoid an error.
35197 Use char because int might match the return type of a GCC
35198 builtin and then its argument prototype would still apply. */
35199 #ifdef __cplusplus
35200 extern "C"
35201 #endif
35202 char $ac_func ();
35203 /* The GNU C library defines this for functions which it implements
35204 to always fail with ENOSYS. Some functions are actually named
35205 something starting with __ and the normal name is an alias. */
35206 #if defined __stub_$ac_func || defined __stub___$ac_func
35207 choke me
35208 #endif
35209
35210 int
35211 main ()
35212 {
35213 return $ac_func ();
35214 ;
35215 return 0;
35216 }
35217 _ACEOF
35218 rm -f conftest.$ac_objext conftest$ac_exeext
35219 if { (ac_try="$ac_link"
35220 case "(($ac_try" in
35221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35222 *) ac_try_echo=$ac_try;;
35223 esac
35224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35225 (eval "$ac_link") 2>conftest.er1
35226 ac_status=$?
35227 grep -v '^ *+' conftest.er1 >conftest.err
35228 rm -f conftest.er1
35229 cat conftest.err >&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); } && {
35232 test -z "$ac_c_werror_flag" ||
35233 test ! -s conftest.err
35234 } && test -s conftest$ac_exeext &&
35235 $as_test_x conftest$ac_exeext; then
35236 eval "$as_ac_var=yes"
35237 else
35238 echo "$as_me: failed program was:" >&5
35239 sed 's/^/| /' conftest.$ac_ext >&5
35240
35241 eval "$as_ac_var=no"
35242 fi
35243
35244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35245 conftest$ac_exeext conftest.$ac_ext
35246 fi
35247 ac_res=`eval echo '${'$as_ac_var'}'`
35248 { echo "$as_me:$LINENO: result: $ac_res" >&5
35249 echo "${ECHO_T}$ac_res" >&6; }
35250 if test `eval echo '${'$as_ac_var'}'` = yes; then
35251 cat >>confdefs.h <<_ACEOF
35252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35253 _ACEOF
35254
35255 fi
35256 done
35257
35258
35259 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35260 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35261 fi
35262
35263 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35264 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35265 if test "${ac_cv_type_mbstate_t+set}" = set; then
35266 echo $ECHO_N "(cached) $ECHO_C" >&6
35267 else
35268 cat >conftest.$ac_ext <<_ACEOF
35269 /* confdefs.h. */
35270 _ACEOF
35271 cat confdefs.h >>conftest.$ac_ext
35272 cat >>conftest.$ac_ext <<_ACEOF
35273 /* end confdefs.h. */
35274 #include <wchar.h>
35275
35276 typedef mbstate_t ac__type_new_;
35277 int
35278 main ()
35279 {
35280 if ((ac__type_new_ *) 0)
35281 return 0;
35282 if (sizeof (ac__type_new_))
35283 return 0;
35284 ;
35285 return 0;
35286 }
35287 _ACEOF
35288 rm -f conftest.$ac_objext
35289 if { (ac_try="$ac_compile"
35290 case "(($ac_try" in
35291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35292 *) ac_try_echo=$ac_try;;
35293 esac
35294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35295 (eval "$ac_compile") 2>conftest.er1
35296 ac_status=$?
35297 grep -v '^ *+' conftest.er1 >conftest.err
35298 rm -f conftest.er1
35299 cat conftest.err >&5
35300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35301 (exit $ac_status); } && {
35302 test -z "$ac_c_werror_flag" ||
35303 test ! -s conftest.err
35304 } && test -s conftest.$ac_objext; then
35305 ac_cv_type_mbstate_t=yes
35306 else
35307 echo "$as_me: failed program was:" >&5
35308 sed 's/^/| /' conftest.$ac_ext >&5
35309
35310 ac_cv_type_mbstate_t=no
35311 fi
35312
35313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35314 fi
35315 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35316 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35317 if test $ac_cv_type_mbstate_t = yes; then
35318
35319 cat >>confdefs.h <<_ACEOF
35320 #define HAVE_MBSTATE_T 1
35321 _ACEOF
35322
35323
35324 for ac_func in wcsrtombs
35325 do
35326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35327 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35329 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35330 echo $ECHO_N "(cached) $ECHO_C" >&6
35331 else
35332 cat >conftest.$ac_ext <<_ACEOF
35333 /* confdefs.h. */
35334 _ACEOF
35335 cat confdefs.h >>conftest.$ac_ext
35336 cat >>conftest.$ac_ext <<_ACEOF
35337 /* end confdefs.h. */
35338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35340 #define $ac_func innocuous_$ac_func
35341
35342 /* System header to define __stub macros and hopefully few prototypes,
35343 which can conflict with char $ac_func (); below.
35344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35345 <limits.h> exists even on freestanding compilers. */
35346
35347 #ifdef __STDC__
35348 # include <limits.h>
35349 #else
35350 # include <assert.h>
35351 #endif
35352
35353 #undef $ac_func
35354
35355 /* Override any GCC internal prototype to avoid an error.
35356 Use char because int might match the return type of a GCC
35357 builtin and then its argument prototype would still apply. */
35358 #ifdef __cplusplus
35359 extern "C"
35360 #endif
35361 char $ac_func ();
35362 /* The GNU C library defines this for functions which it implements
35363 to always fail with ENOSYS. Some functions are actually named
35364 something starting with __ and the normal name is an alias. */
35365 #if defined __stub_$ac_func || defined __stub___$ac_func
35366 choke me
35367 #endif
35368
35369 int
35370 main ()
35371 {
35372 return $ac_func ();
35373 ;
35374 return 0;
35375 }
35376 _ACEOF
35377 rm -f conftest.$ac_objext conftest$ac_exeext
35378 if { (ac_try="$ac_link"
35379 case "(($ac_try" in
35380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35381 *) ac_try_echo=$ac_try;;
35382 esac
35383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35384 (eval "$ac_link") 2>conftest.er1
35385 ac_status=$?
35386 grep -v '^ *+' conftest.er1 >conftest.err
35387 rm -f conftest.er1
35388 cat conftest.err >&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); } && {
35391 test -z "$ac_c_werror_flag" ||
35392 test ! -s conftest.err
35393 } && test -s conftest$ac_exeext &&
35394 $as_test_x conftest$ac_exeext; then
35395 eval "$as_ac_var=yes"
35396 else
35397 echo "$as_me: failed program was:" >&5
35398 sed 's/^/| /' conftest.$ac_ext >&5
35399
35400 eval "$as_ac_var=no"
35401 fi
35402
35403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35404 conftest$ac_exeext conftest.$ac_ext
35405 fi
35406 ac_res=`eval echo '${'$as_ac_var'}'`
35407 { echo "$as_me:$LINENO: result: $ac_res" >&5
35408 echo "${ECHO_T}$ac_res" >&6; }
35409 if test `eval echo '${'$as_ac_var'}'` = yes; then
35410 cat >>confdefs.h <<_ACEOF
35411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35412 _ACEOF
35413
35414 fi
35415 done
35416
35417 fi
35418
35419 else
35420 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35421 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35422 fi
35423
35424
35425
35426
35427 for ac_func in snprintf vsnprintf vsscanf
35428 do
35429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35433 echo $ECHO_N "(cached) $ECHO_C" >&6
35434 else
35435 cat >conftest.$ac_ext <<_ACEOF
35436 /* confdefs.h. */
35437 _ACEOF
35438 cat confdefs.h >>conftest.$ac_ext
35439 cat >>conftest.$ac_ext <<_ACEOF
35440 /* end confdefs.h. */
35441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35443 #define $ac_func innocuous_$ac_func
35444
35445 /* System header to define __stub macros and hopefully few prototypes,
35446 which can conflict with char $ac_func (); below.
35447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35448 <limits.h> exists even on freestanding compilers. */
35449
35450 #ifdef __STDC__
35451 # include <limits.h>
35452 #else
35453 # include <assert.h>
35454 #endif
35455
35456 #undef $ac_func
35457
35458 /* Override any GCC internal prototype to avoid an error.
35459 Use char because int might match the return type of a GCC
35460 builtin and then its argument prototype would still apply. */
35461 #ifdef __cplusplus
35462 extern "C"
35463 #endif
35464 char $ac_func ();
35465 /* The GNU C library defines this for functions which it implements
35466 to always fail with ENOSYS. Some functions are actually named
35467 something starting with __ and the normal name is an alias. */
35468 #if defined __stub_$ac_func || defined __stub___$ac_func
35469 choke me
35470 #endif
35471
35472 int
35473 main ()
35474 {
35475 return $ac_func ();
35476 ;
35477 return 0;
35478 }
35479 _ACEOF
35480 rm -f conftest.$ac_objext conftest$ac_exeext
35481 if { (ac_try="$ac_link"
35482 case "(($ac_try" in
35483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35484 *) ac_try_echo=$ac_try;;
35485 esac
35486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35487 (eval "$ac_link") 2>conftest.er1
35488 ac_status=$?
35489 grep -v '^ *+' conftest.er1 >conftest.err
35490 rm -f conftest.er1
35491 cat conftest.err >&5
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); } && {
35494 test -z "$ac_c_werror_flag" ||
35495 test ! -s conftest.err
35496 } && test -s conftest$ac_exeext &&
35497 $as_test_x conftest$ac_exeext; then
35498 eval "$as_ac_var=yes"
35499 else
35500 echo "$as_me: failed program was:" >&5
35501 sed 's/^/| /' conftest.$ac_ext >&5
35502
35503 eval "$as_ac_var=no"
35504 fi
35505
35506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35507 conftest$ac_exeext conftest.$ac_ext
35508 fi
35509 ac_res=`eval echo '${'$as_ac_var'}'`
35510 { echo "$as_me:$LINENO: result: $ac_res" >&5
35511 echo "${ECHO_T}$ac_res" >&6; }
35512 if test `eval echo '${'$as_ac_var'}'` = yes; then
35513 cat >>confdefs.h <<_ACEOF
35514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35515 _ACEOF
35516
35517 fi
35518 done
35519
35520
35521 ac_ext=cpp
35522 ac_cpp='$CXXCPP $CPPFLAGS'
35523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35526
35527 if test "$ac_cv_func_vsnprintf" = "yes"; then
35528 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35529 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35530 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35531 echo $ECHO_N "(cached) $ECHO_C" >&6
35532 else
35533
35534 cat >conftest.$ac_ext <<_ACEOF
35535 /* confdefs.h. */
35536 _ACEOF
35537 cat confdefs.h >>conftest.$ac_ext
35538 cat >>conftest.$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540
35541 #include <stdio.h>
35542 #include <stdarg.h>
35543 #ifdef __MSL__
35544 #if __MSL__ >= 0x6000
35545 namespace std {}
35546 using namespace std;
35547 #endif
35548 #endif
35549
35550 int
35551 main ()
35552 {
35553
35554 char *buf;
35555 va_list ap;
35556 vsnprintf(buf, 10u, "%s", ap);
35557
35558 ;
35559 return 0;
35560 }
35561 _ACEOF
35562 rm -f conftest.$ac_objext
35563 if { (ac_try="$ac_compile"
35564 case "(($ac_try" in
35565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35566 *) ac_try_echo=$ac_try;;
35567 esac
35568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35569 (eval "$ac_compile") 2>conftest.er1
35570 ac_status=$?
35571 grep -v '^ *+' conftest.er1 >conftest.err
35572 rm -f conftest.er1
35573 cat conftest.err >&5
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); } && {
35576 test -z "$ac_cxx_werror_flag" ||
35577 test ! -s conftest.err
35578 } && test -s conftest.$ac_objext; then
35579 wx_cv_func_vsnprintf_decl=yes
35580 else
35581 echo "$as_me: failed program was:" >&5
35582 sed 's/^/| /' conftest.$ac_ext >&5
35583
35584 wx_cv_func_vsnprintf_decl=no
35585
35586 fi
35587
35588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35589
35590
35591 fi
35592 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35593 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35594
35595 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35596 cat >>confdefs.h <<\_ACEOF
35597 #define HAVE_VSNPRINTF_DECL 1
35598 _ACEOF
35599
35600
35601 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35602 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35603 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35604 echo $ECHO_N "(cached) $ECHO_C" >&6
35605 else
35606
35607 cat >conftest.$ac_ext <<_ACEOF
35608 /* confdefs.h. */
35609 _ACEOF
35610 cat confdefs.h >>conftest.$ac_ext
35611 cat >>conftest.$ac_ext <<_ACEOF
35612 /* end confdefs.h. */
35613
35614 #include <stdio.h>
35615 #include <stdarg.h>
35616 #ifdef __MSL__
35617 #if __MSL__ >= 0x6000
35618 namespace std {}
35619 using namespace std;
35620 #endif
35621 #endif
35622
35623 int
35624 main ()
35625 {
35626
35627 char *buf;
35628 va_list ap;
35629 const char *fmt = "%s";
35630 vsnprintf(buf, 10u, fmt, ap);
35631
35632 ;
35633 return 0;
35634 }
35635 _ACEOF
35636 rm -f conftest.$ac_objext
35637 if { (ac_try="$ac_compile"
35638 case "(($ac_try" in
35639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35640 *) ac_try_echo=$ac_try;;
35641 esac
35642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35643 (eval "$ac_compile") 2>conftest.er1
35644 ac_status=$?
35645 grep -v '^ *+' conftest.er1 >conftest.err
35646 rm -f conftest.er1
35647 cat conftest.err >&5
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); } && {
35650 test -z "$ac_cxx_werror_flag" ||
35651 test ! -s conftest.err
35652 } && test -s conftest.$ac_objext; then
35653 wx_cv_func_broken_vsnprintf_decl=no
35654 else
35655 echo "$as_me: failed program was:" >&5
35656 sed 's/^/| /' conftest.$ac_ext >&5
35657
35658 wx_cv_func_broken_vsnprintf_decl=yes
35659
35660 fi
35661
35662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35663
35664
35665 fi
35666 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35667 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35668
35669 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35670 cat >>confdefs.h <<\_ACEOF
35671 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35672 _ACEOF
35673
35674 fi
35675 fi
35676 fi
35677
35678 if test "$ac_cv_func_snprintf" = "yes"; then
35679 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35680 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35681 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35683 else
35684
35685 cat >conftest.$ac_ext <<_ACEOF
35686 /* confdefs.h. */
35687 _ACEOF
35688 cat confdefs.h >>conftest.$ac_ext
35689 cat >>conftest.$ac_ext <<_ACEOF
35690 /* end confdefs.h. */
35691
35692 #include <stdio.h>
35693 #include <stdarg.h>
35694 #ifdef __MSL__
35695 #if __MSL__ >= 0x6000
35696 namespace std {}
35697 using namespace std;
35698 #endif
35699 #endif
35700
35701 int
35702 main ()
35703 {
35704
35705 char *buf;
35706 snprintf(buf, 10u, "%s", "wx");
35707
35708 ;
35709 return 0;
35710 }
35711 _ACEOF
35712 rm -f conftest.$ac_objext
35713 if { (ac_try="$ac_compile"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35717 esac
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_compile") 2>conftest.er1
35720 ac_status=$?
35721 grep -v '^ *+' conftest.er1 >conftest.err
35722 rm -f conftest.er1
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_cxx_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest.$ac_objext; then
35729 wx_cv_func_snprintf_decl=yes
35730 else
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.$ac_ext >&5
35733
35734 wx_cv_func_snprintf_decl=no
35735
35736 fi
35737
35738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35739
35740
35741 fi
35742 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35743 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35744
35745 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35746 cat >>confdefs.h <<\_ACEOF
35747 #define HAVE_SNPRINTF_DECL 1
35748 _ACEOF
35749
35750 fi
35751
35752 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35753
35754 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35755 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35756 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 else
35759
35760 if test "$cross_compiling" = yes; then
35761
35762 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35763 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35764 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35765 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35766 wx_cv_func_snprintf_pos_params=no
35767
35768
35769 else
35770 cat >conftest.$ac_ext <<_ACEOF
35771 /* confdefs.h. */
35772 _ACEOF
35773 cat confdefs.h >>conftest.$ac_ext
35774 cat >>conftest.$ac_ext <<_ACEOF
35775 /* end confdefs.h. */
35776
35777 #include <stdio.h>
35778
35779 int main (void)
35780 {
35781 char buffer[128];
35782 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35783 if (strcmp ("2 3 1", buffer) == 0)
35784 exit (0);
35785 exit (1);
35786 }
35787
35788 _ACEOF
35789 rm -f conftest$ac_exeext
35790 if { (ac_try="$ac_link"
35791 case "(($ac_try" in
35792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35793 *) ac_try_echo=$ac_try;;
35794 esac
35795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35796 (eval "$ac_link") 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35800 { (case "(($ac_try" in
35801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35802 *) ac_try_echo=$ac_try;;
35803 esac
35804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35805 (eval "$ac_try") 2>&5
35806 ac_status=$?
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); }; }; then
35809 wx_cv_func_snprintf_pos_params=no
35810 else
35811 echo "$as_me: program exited with status $ac_status" >&5
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.$ac_ext >&5
35814
35815 ( exit $ac_status )
35816 wx_cv_func_snprintf_pos_params=yes
35817 fi
35818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35819 fi
35820
35821
35822
35823
35824 fi
35825 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35826 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35827
35828 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35829 cat >>confdefs.h <<\_ACEOF
35830 #define HAVE_UNIX98_PRINTF 1
35831 _ACEOF
35832
35833 fi
35834 fi
35835 fi
35836
35837 if test "$ac_cv_func_vsscanf" = "yes"; then
35838 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35839 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35840 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35841 echo $ECHO_N "(cached) $ECHO_C" >&6
35842 else
35843
35844 cat >conftest.$ac_ext <<_ACEOF
35845 /* confdefs.h. */
35846 _ACEOF
35847 cat confdefs.h >>conftest.$ac_ext
35848 cat >>conftest.$ac_ext <<_ACEOF
35849 /* end confdefs.h. */
35850
35851 #include <stdio.h>
35852 #include <stdarg.h>
35853 #ifdef __MSL__
35854 #if __MSL__ >= 0x6000
35855 namespace std {}
35856 using namespace std;
35857 #endif
35858 #endif
35859
35860 int
35861 main ()
35862 {
35863
35864 char *buf;
35865 va_list args;
35866 vsscanf(buf, "%s", args);
35867
35868 ;
35869 return 0;
35870 }
35871 _ACEOF
35872 rm -f conftest.$ac_objext
35873 if { (ac_try="$ac_compile"
35874 case "(($ac_try" in
35875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35876 *) ac_try_echo=$ac_try;;
35877 esac
35878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35879 (eval "$ac_compile") 2>conftest.er1
35880 ac_status=$?
35881 grep -v '^ *+' conftest.er1 >conftest.err
35882 rm -f conftest.er1
35883 cat conftest.err >&5
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); } && {
35886 test -z "$ac_cxx_werror_flag" ||
35887 test ! -s conftest.err
35888 } && test -s conftest.$ac_objext; then
35889 wx_cv_func_vsscanf_decl=yes
35890 else
35891 echo "$as_me: failed program was:" >&5
35892 sed 's/^/| /' conftest.$ac_ext >&5
35893
35894 wx_cv_func_vsscanf_decl=no
35895
35896 fi
35897
35898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35899
35900
35901 fi
35902 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35903 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35904
35905 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35906 cat >>confdefs.h <<\_ACEOF
35907 #define HAVE_VSSCANF_DECL 1
35908 _ACEOF
35909
35910 fi
35911 fi
35912 ac_ext=c
35913 ac_cpp='$CPP $CPPFLAGS'
35914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35917
35918
35919 if test "$wxUSE_UNICODE" = yes; then
35920
35921 wchar_headers="#include <stdio.h>
35922 #include <wchar.h>"
35923 case "${host}" in
35924 *-*-solaris2* )
35925
35926 for ac_header in widec.h
35927 do
35928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35932 echo $ECHO_N "(cached) $ECHO_C" >&6
35933 else
35934 cat >conftest.$ac_ext <<_ACEOF
35935 /* confdefs.h. */
35936 _ACEOF
35937 cat confdefs.h >>conftest.$ac_ext
35938 cat >>conftest.$ac_ext <<_ACEOF
35939 /* end confdefs.h. */
35940 $ac_includes_default
35941
35942 #include <$ac_header>
35943 _ACEOF
35944 rm -f conftest.$ac_objext
35945 if { (ac_try="$ac_compile"
35946 case "(($ac_try" in
35947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35948 *) ac_try_echo=$ac_try;;
35949 esac
35950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35951 (eval "$ac_compile") 2>conftest.er1
35952 ac_status=$?
35953 grep -v '^ *+' conftest.er1 >conftest.err
35954 rm -f conftest.er1
35955 cat conftest.err >&5
35956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957 (exit $ac_status); } && {
35958 test -z "$ac_c_werror_flag" ||
35959 test ! -s conftest.err
35960 } && test -s conftest.$ac_objext; then
35961 eval "$as_ac_Header=yes"
35962 else
35963 echo "$as_me: failed program was:" >&5
35964 sed 's/^/| /' conftest.$ac_ext >&5
35965
35966 eval "$as_ac_Header=no"
35967 fi
35968
35969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35970 fi
35971 ac_res=`eval echo '${'$as_ac_Header'}'`
35972 { echo "$as_me:$LINENO: result: $ac_res" >&5
35973 echo "${ECHO_T}$ac_res" >&6; }
35974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35975 cat >>confdefs.h <<_ACEOF
35976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35977 _ACEOF
35978
35979 fi
35980
35981 done
35982
35983 if test "$ac_cv_header_widec_h" = "yes"; then
35984 wchar_headers="$wchar_headers
35985 #include <widec.h>"
35986 fi
35987 esac
35988
35989
35990 for wx_func in putws fputws wprintf vswprintf vswscanf
35991 do
35992 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35993 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35994 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35995 echo $ECHO_N "(cached) $ECHO_C" >&6
35996 else
35997
35998 cat >conftest.$ac_ext <<_ACEOF
35999
36000 /* confdefs.h. */
36001 _ACEOF
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36005
36006 $wchar_headers
36007 $ac_includes_default
36008
36009 int
36010 main ()
36011 {
36012
36013 #ifndef $wx_func
36014 &$wx_func;
36015 #endif
36016
36017
36018 ;
36019 return 0;
36020 }
36021
36022 _ACEOF
36023 rm -f conftest.$ac_objext conftest$ac_exeext
36024 if { (ac_try="$ac_link"
36025 case "(($ac_try" in
36026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36027 *) ac_try_echo=$ac_try;;
36028 esac
36029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36030 (eval "$ac_link") 2>conftest.er1
36031 ac_status=$?
36032 grep -v '^ *+' conftest.er1 >conftest.err
36033 rm -f conftest.er1
36034 cat conftest.err >&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } && {
36037 test -z "$ac_c_werror_flag" ||
36038 test ! -s conftest.err
36039 } && test -s conftest$ac_exeext &&
36040 $as_test_x conftest$ac_exeext; then
36041 eval wx_cv_func_$wx_func=yes
36042 else
36043 echo "$as_me: failed program was:" >&5
36044 sed 's/^/| /' conftest.$ac_ext >&5
36045
36046 eval wx_cv_func_$wx_func=no
36047 fi
36048
36049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36050 conftest$ac_exeext conftest.$ac_ext
36051
36052 fi
36053 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36054 { echo "$as_me:$LINENO: result: $ac_res" >&5
36055 echo "${ECHO_T}$ac_res" >&6; }
36056
36057 if eval test \$wx_cv_func_$wx_func = yes
36058 then
36059 cat >>confdefs.h <<_ACEOF
36060 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36061 _ACEOF
36062
36063
36064 else
36065 :
36066
36067 fi
36068 done
36069
36070
36071 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36072 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36073 cat >conftest.$ac_ext <<_ACEOF
36074 /* confdefs.h. */
36075 _ACEOF
36076 cat confdefs.h >>conftest.$ac_ext
36077 cat >>conftest.$ac_ext <<_ACEOF
36078 /* end confdefs.h. */
36079 #include <wchar.h>
36080 int
36081 main ()
36082 {
36083 &_vsnwprintf;
36084 ;
36085 return 0;
36086 }
36087 _ACEOF
36088 rm -f conftest.$ac_objext
36089 if { (ac_try="$ac_compile"
36090 case "(($ac_try" in
36091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36092 *) ac_try_echo=$ac_try;;
36093 esac
36094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36095 (eval "$ac_compile") 2>conftest.er1
36096 ac_status=$?
36097 grep -v '^ *+' conftest.er1 >conftest.err
36098 rm -f conftest.er1
36099 cat conftest.err >&5
36100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101 (exit $ac_status); } && {
36102 test -z "$ac_c_werror_flag" ||
36103 test ! -s conftest.err
36104 } && test -s conftest.$ac_objext; then
36105 { echo "$as_me:$LINENO: result: yes" >&5
36106 echo "${ECHO_T}yes" >&6; }
36107 cat >>confdefs.h <<\_ACEOF
36108 #define HAVE__VSNWPRINTF 1
36109 _ACEOF
36110
36111 else
36112 echo "$as_me: failed program was:" >&5
36113 sed 's/^/| /' conftest.$ac_ext >&5
36114
36115 { echo "$as_me:$LINENO: result: no" >&5
36116 echo "${ECHO_T}no" >&6; }
36117 fi
36118
36119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36120 fi
36121
36122 if test "$wxUSE_FILE" = "yes"; then
36123
36124 for wx_func in fsync
36125 do
36126 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36127 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36128 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131
36132 cat >conftest.$ac_ext <<_ACEOF
36133
36134 /* confdefs.h. */
36135 _ACEOF
36136 cat confdefs.h >>conftest.$ac_ext
36137 cat >>conftest.$ac_ext <<_ACEOF
36138 /* end confdefs.h. */
36139
36140
36141 $ac_includes_default
36142
36143 int
36144 main ()
36145 {
36146
36147 #ifndef $wx_func
36148 &$wx_func;
36149 #endif
36150
36151
36152 ;
36153 return 0;
36154 }
36155
36156 _ACEOF
36157 rm -f conftest.$ac_objext conftest$ac_exeext
36158 if { (ac_try="$ac_link"
36159 case "(($ac_try" in
36160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36161 *) ac_try_echo=$ac_try;;
36162 esac
36163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36164 (eval "$ac_link") 2>conftest.er1
36165 ac_status=$?
36166 grep -v '^ *+' conftest.er1 >conftest.err
36167 rm -f conftest.er1
36168 cat conftest.err >&5
36169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36170 (exit $ac_status); } && {
36171 test -z "$ac_c_werror_flag" ||
36172 test ! -s conftest.err
36173 } && test -s conftest$ac_exeext &&
36174 $as_test_x conftest$ac_exeext; then
36175 eval wx_cv_func_$wx_func=yes
36176 else
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.$ac_ext >&5
36179
36180 eval wx_cv_func_$wx_func=no
36181 fi
36182
36183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36184 conftest$ac_exeext conftest.$ac_ext
36185
36186 fi
36187 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36188 { echo "$as_me:$LINENO: result: $ac_res" >&5
36189 echo "${ECHO_T}$ac_res" >&6; }
36190
36191 if eval test \$wx_cv_func_$wx_func = yes
36192 then
36193 cat >>confdefs.h <<_ACEOF
36194 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36195 _ACEOF
36196
36197
36198 else
36199 :
36200
36201 fi
36202 done
36203
36204 fi
36205
36206 ac_ext=cpp
36207 ac_cpp='$CXXCPP $CPPFLAGS'
36208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36211
36212
36213 for wx_func in round
36214 do
36215 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36216 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36217 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36218 echo $ECHO_N "(cached) $ECHO_C" >&6
36219 else
36220
36221 cat >conftest.$ac_ext <<_ACEOF
36222
36223 /* confdefs.h. */
36224 _ACEOF
36225 cat confdefs.h >>conftest.$ac_ext
36226 cat >>conftest.$ac_ext <<_ACEOF
36227 /* end confdefs.h. */
36228
36229 #include <math.h>
36230 $ac_includes_default
36231
36232 int
36233 main ()
36234 {
36235
36236 #ifndef $wx_func
36237 &$wx_func;
36238 #endif
36239
36240
36241 ;
36242 return 0;
36243 }
36244
36245 _ACEOF
36246 rm -f conftest.$ac_objext conftest$ac_exeext
36247 if { (ac_try="$ac_link"
36248 case "(($ac_try" in
36249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36250 *) ac_try_echo=$ac_try;;
36251 esac
36252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36253 (eval "$ac_link") 2>conftest.er1
36254 ac_status=$?
36255 grep -v '^ *+' conftest.er1 >conftest.err
36256 rm -f conftest.er1
36257 cat conftest.err >&5
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); } && {
36260 test -z "$ac_cxx_werror_flag" ||
36261 test ! -s conftest.err
36262 } && test -s conftest$ac_exeext &&
36263 $as_test_x conftest$ac_exeext; then
36264 eval wx_cv_func_$wx_func=yes
36265 else
36266 echo "$as_me: failed program was:" >&5
36267 sed 's/^/| /' conftest.$ac_ext >&5
36268
36269 eval wx_cv_func_$wx_func=no
36270 fi
36271
36272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36273 conftest$ac_exeext conftest.$ac_ext
36274
36275 fi
36276 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36277 { echo "$as_me:$LINENO: result: $ac_res" >&5
36278 echo "${ECHO_T}$ac_res" >&6; }
36279
36280 if eval test \$wx_cv_func_$wx_func = yes
36281 then
36282 cat >>confdefs.h <<_ACEOF
36283 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36284 _ACEOF
36285
36286
36287 else
36288 :
36289
36290 fi
36291 done
36292
36293 ac_ext=c
36294 ac_cpp='$CPP $CPPFLAGS'
36295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36298
36299
36300 if test "$TOOLKIT" != "MSW"; then
36301
36302 if test "$wxUSE_LIBICONV" != "no" ; then
36303
36304
36305
36306 # Check whether --with-libiconv-prefix was given.
36307 if test "${with_libiconv_prefix+set}" = set; then
36308 withval=$with_libiconv_prefix;
36309 for dir in `echo "$withval" | tr : ' '`; do
36310 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36311 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36312 done
36313
36314 fi
36315
36316
36317 { echo "$as_me:$LINENO: checking for iconv" >&5
36318 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36319 if test "${am_cv_func_iconv+set}" = set; then
36320 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 else
36322
36323 am_cv_func_iconv="no, consider installing GNU libiconv"
36324 am_cv_lib_iconv=no
36325 cat >conftest.$ac_ext <<_ACEOF
36326 /* confdefs.h. */
36327 _ACEOF
36328 cat confdefs.h >>conftest.$ac_ext
36329 cat >>conftest.$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331 #include <stdlib.h>
36332 #include <iconv.h>
36333 int
36334 main ()
36335 {
36336 iconv_t cd = iconv_open("","");
36337 iconv(cd,NULL,NULL,NULL,NULL);
36338 iconv_close(cd);
36339 ;
36340 return 0;
36341 }
36342 _ACEOF
36343 rm -f conftest.$ac_objext conftest$ac_exeext
36344 if { (ac_try="$ac_link"
36345 case "(($ac_try" in
36346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36347 *) ac_try_echo=$ac_try;;
36348 esac
36349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36350 (eval "$ac_link") 2>conftest.er1
36351 ac_status=$?
36352 grep -v '^ *+' conftest.er1 >conftest.err
36353 rm -f conftest.er1
36354 cat conftest.err >&5
36355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356 (exit $ac_status); } && {
36357 test -z "$ac_c_werror_flag" ||
36358 test ! -s conftest.err
36359 } && test -s conftest$ac_exeext &&
36360 $as_test_x conftest$ac_exeext; then
36361 am_cv_func_iconv=yes
36362 else
36363 echo "$as_me: failed program was:" >&5
36364 sed 's/^/| /' conftest.$ac_ext >&5
36365
36366
36367 fi
36368
36369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36370 conftest$ac_exeext conftest.$ac_ext
36371 if test "$am_cv_func_iconv" != yes; then
36372 am_save_LIBS="$LIBS"
36373 LIBS="$LIBS -liconv"
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 <stdlib.h>
36381 #include <iconv.h>
36382 int
36383 main ()
36384 {
36385 iconv_t cd = iconv_open("","");
36386 iconv(cd,NULL,NULL,NULL,NULL);
36387 iconv_close(cd);
36388 ;
36389 return 0;
36390 }
36391 _ACEOF
36392 rm -f conftest.$ac_objext conftest$ac_exeext
36393 if { (ac_try="$ac_link"
36394 case "(($ac_try" in
36395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36396 *) ac_try_echo=$ac_try;;
36397 esac
36398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36399 (eval "$ac_link") 2>conftest.er1
36400 ac_status=$?
36401 grep -v '^ *+' conftest.er1 >conftest.err
36402 rm -f conftest.er1
36403 cat conftest.err >&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); } && {
36406 test -z "$ac_c_werror_flag" ||
36407 test ! -s conftest.err
36408 } && test -s conftest$ac_exeext &&
36409 $as_test_x conftest$ac_exeext; then
36410 am_cv_lib_iconv=yes
36411 am_cv_func_iconv=yes
36412 else
36413 echo "$as_me: failed program was:" >&5
36414 sed 's/^/| /' conftest.$ac_ext >&5
36415
36416
36417 fi
36418
36419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36420 conftest$ac_exeext conftest.$ac_ext
36421 LIBS="$am_save_LIBS"
36422 fi
36423
36424 fi
36425 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36426 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36427 if test "$am_cv_func_iconv" = yes; then
36428
36429 cat >>confdefs.h <<\_ACEOF
36430 #define HAVE_ICONV 1
36431 _ACEOF
36432
36433 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36434 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36435 if test "${wx_cv_func_iconv_const+set}" = set; then
36436 echo $ECHO_N "(cached) $ECHO_C" >&6
36437 else
36438 cat >conftest.$ac_ext <<_ACEOF
36439 /* confdefs.h. */
36440 _ACEOF
36441 cat confdefs.h >>conftest.$ac_ext
36442 cat >>conftest.$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36444
36445 #include <stdlib.h>
36446 #include <iconv.h>
36447 extern
36448 #ifdef __cplusplus
36449 "C"
36450 #endif
36451 #if defined(__STDC__) || defined(__cplusplus)
36452 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36453 #else
36454 size_t iconv();
36455 #endif
36456
36457 int
36458 main ()
36459 {
36460
36461 ;
36462 return 0;
36463 }
36464 _ACEOF
36465 rm -f conftest.$ac_objext
36466 if { (ac_try="$ac_compile"
36467 case "(($ac_try" in
36468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36469 *) ac_try_echo=$ac_try;;
36470 esac
36471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36472 (eval "$ac_compile") 2>conftest.er1
36473 ac_status=$?
36474 grep -v '^ *+' conftest.er1 >conftest.err
36475 rm -f conftest.er1
36476 cat conftest.err >&5
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); } && {
36479 test -z "$ac_c_werror_flag" ||
36480 test ! -s conftest.err
36481 } && test -s conftest.$ac_objext; then
36482 wx_cv_func_iconv_const="no"
36483 else
36484 echo "$as_me: failed program was:" >&5
36485 sed 's/^/| /' conftest.$ac_ext >&5
36486
36487 wx_cv_func_iconv_const="yes"
36488
36489 fi
36490
36491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36492
36493 fi
36494 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36495 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36496
36497 iconv_const=
36498 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36499 iconv_const="const"
36500 fi
36501
36502
36503 cat >>confdefs.h <<_ACEOF
36504 #define ICONV_CONST $iconv_const
36505 _ACEOF
36506
36507 fi
36508 LIBICONV=
36509 if test "$am_cv_lib_iconv" = yes; then
36510 LIBICONV="-liconv"
36511 fi
36512
36513
36514 LIBS="$LIBICONV $LIBS"
36515 fi
36516
36517 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36518
36519 for ac_func in sigaction
36520 do
36521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36522 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36524 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36525 echo $ECHO_N "(cached) $ECHO_C" >&6
36526 else
36527 cat >conftest.$ac_ext <<_ACEOF
36528 /* confdefs.h. */
36529 _ACEOF
36530 cat confdefs.h >>conftest.$ac_ext
36531 cat >>conftest.$ac_ext <<_ACEOF
36532 /* end confdefs.h. */
36533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36535 #define $ac_func innocuous_$ac_func
36536
36537 /* System header to define __stub macros and hopefully few prototypes,
36538 which can conflict with char $ac_func (); below.
36539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36540 <limits.h> exists even on freestanding compilers. */
36541
36542 #ifdef __STDC__
36543 # include <limits.h>
36544 #else
36545 # include <assert.h>
36546 #endif
36547
36548 #undef $ac_func
36549
36550 /* Override any GCC internal prototype to avoid an error.
36551 Use char because int might match the return type of a GCC
36552 builtin and then its argument prototype would still apply. */
36553 #ifdef __cplusplus
36554 extern "C"
36555 #endif
36556 char $ac_func ();
36557 /* The GNU C library defines this for functions which it implements
36558 to always fail with ENOSYS. Some functions are actually named
36559 something starting with __ and the normal name is an alias. */
36560 #if defined __stub_$ac_func || defined __stub___$ac_func
36561 choke me
36562 #endif
36563
36564 int
36565 main ()
36566 {
36567 return $ac_func ();
36568 ;
36569 return 0;
36570 }
36571 _ACEOF
36572 rm -f conftest.$ac_objext conftest$ac_exeext
36573 if { (ac_try="$ac_link"
36574 case "(($ac_try" in
36575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36576 *) ac_try_echo=$ac_try;;
36577 esac
36578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36579 (eval "$ac_link") 2>conftest.er1
36580 ac_status=$?
36581 grep -v '^ *+' conftest.er1 >conftest.err
36582 rm -f conftest.er1
36583 cat conftest.err >&5
36584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 (exit $ac_status); } && {
36586 test -z "$ac_c_werror_flag" ||
36587 test ! -s conftest.err
36588 } && test -s conftest$ac_exeext &&
36589 $as_test_x conftest$ac_exeext; then
36590 eval "$as_ac_var=yes"
36591 else
36592 echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.$ac_ext >&5
36594
36595 eval "$as_ac_var=no"
36596 fi
36597
36598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36599 conftest$ac_exeext conftest.$ac_ext
36600 fi
36601 ac_res=`eval echo '${'$as_ac_var'}'`
36602 { echo "$as_me:$LINENO: result: $ac_res" >&5
36603 echo "${ECHO_T}$ac_res" >&6; }
36604 if test `eval echo '${'$as_ac_var'}'` = yes; then
36605 cat >>confdefs.h <<_ACEOF
36606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36607 _ACEOF
36608
36609 fi
36610 done
36611
36612
36613 if test "$ac_cv_func_sigaction" = "no"; then
36614 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36615 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36616 wxUSE_ON_FATAL_EXCEPTION=no
36617 fi
36618
36619 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36620 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36621 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36622 if test "${wx_cv_type_sa_handler+set}" = set; then
36623 echo $ECHO_N "(cached) $ECHO_C" >&6
36624 else
36625
36626 ac_ext=cpp
36627 ac_cpp='$CXXCPP $CPPFLAGS'
36628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36631
36632 cat >conftest.$ac_ext <<_ACEOF
36633 /* confdefs.h. */
36634 _ACEOF
36635 cat confdefs.h >>conftest.$ac_ext
36636 cat >>conftest.$ac_ext <<_ACEOF
36637 /* end confdefs.h. */
36638 #include <signal.h>
36639 int
36640 main ()
36641 {
36642
36643 extern void testSigHandler(int);
36644
36645 struct sigaction sa;
36646 sa.sa_handler = testSigHandler;
36647
36648 ;
36649 return 0;
36650 }
36651 _ACEOF
36652 rm -f conftest.$ac_objext
36653 if { (ac_try="$ac_compile"
36654 case "(($ac_try" in
36655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36656 *) ac_try_echo=$ac_try;;
36657 esac
36658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36659 (eval "$ac_compile") 2>conftest.er1
36660 ac_status=$?
36661 grep -v '^ *+' conftest.er1 >conftest.err
36662 rm -f conftest.er1
36663 cat conftest.err >&5
36664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36665 (exit $ac_status); } && {
36666 test -z "$ac_cxx_werror_flag" ||
36667 test ! -s conftest.err
36668 } && test -s conftest.$ac_objext; then
36669
36670 wx_cv_type_sa_handler=int
36671
36672 else
36673 echo "$as_me: failed program was:" >&5
36674 sed 's/^/| /' conftest.$ac_ext >&5
36675
36676
36677 wx_cv_type_sa_handler=void
36678
36679 fi
36680
36681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36682 ac_ext=c
36683 ac_cpp='$CPP $CPPFLAGS'
36684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36687
36688
36689 fi
36690 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36691 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36692
36693 cat >>confdefs.h <<_ACEOF
36694 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36695 _ACEOF
36696
36697 fi
36698 fi
36699
36700 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36701 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36702 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36703 if test "${wx_cv_func_backtrace+set}" = set; then
36704 echo $ECHO_N "(cached) $ECHO_C" >&6
36705 else
36706
36707 ac_ext=cpp
36708 ac_cpp='$CXXCPP $CPPFLAGS'
36709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36712
36713 cat >conftest.$ac_ext <<_ACEOF
36714 /* confdefs.h. */
36715 _ACEOF
36716 cat confdefs.h >>conftest.$ac_ext
36717 cat >>conftest.$ac_ext <<_ACEOF
36718 /* end confdefs.h. */
36719 #include <execinfo.h>
36720 int
36721 main ()
36722 {
36723
36724 void *trace[1];
36725 char **messages;
36726
36727 backtrace(trace, 1);
36728 messages = backtrace_symbols(trace, 1);
36729
36730 ;
36731 return 0;
36732 }
36733 _ACEOF
36734 rm -f conftest.$ac_objext
36735 if { (ac_try="$ac_compile"
36736 case "(($ac_try" in
36737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36738 *) ac_try_echo=$ac_try;;
36739 esac
36740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36741 (eval "$ac_compile") 2>conftest.er1
36742 ac_status=$?
36743 grep -v '^ *+' conftest.er1 >conftest.err
36744 rm -f conftest.er1
36745 cat conftest.err >&5
36746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36747 (exit $ac_status); } && {
36748 test -z "$ac_cxx_werror_flag" ||
36749 test ! -s conftest.err
36750 } && test -s conftest.$ac_objext; then
36751 wx_cv_func_backtrace=yes
36752 else
36753 echo "$as_me: failed program was:" >&5
36754 sed 's/^/| /' conftest.$ac_ext >&5
36755
36756 wx_cv_func_backtrace=no
36757
36758 fi
36759
36760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36761 ac_ext=c
36762 ac_cpp='$CPP $CPPFLAGS'
36763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36766
36767
36768
36769 fi
36770 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36771 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36772
36773
36774 if test "$wx_cv_func_backtrace" = "no"; then
36775 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36776 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36777 wxUSE_STACKWALKER=no
36778 else
36779 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36780 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36781 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36782 echo $ECHO_N "(cached) $ECHO_C" >&6
36783 else
36784
36785 ac_ext=cpp
36786 ac_cpp='$CXXCPP $CPPFLAGS'
36787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36790
36791 cat >conftest.$ac_ext <<_ACEOF
36792 /* confdefs.h. */
36793 _ACEOF
36794 cat confdefs.h >>conftest.$ac_ext
36795 cat >>conftest.$ac_ext <<_ACEOF
36796 /* end confdefs.h. */
36797 #include <cxxabi.h>
36798 int
36799 main ()
36800 {
36801
36802 int rc;
36803 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36804
36805 ;
36806 return 0;
36807 }
36808 _ACEOF
36809 rm -f conftest.$ac_objext conftest$ac_exeext
36810 if { (ac_try="$ac_link"
36811 case "(($ac_try" in
36812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36813 *) ac_try_echo=$ac_try;;
36814 esac
36815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36816 (eval "$ac_link") 2>conftest.er1
36817 ac_status=$?
36818 grep -v '^ *+' conftest.er1 >conftest.err
36819 rm -f conftest.er1
36820 cat conftest.err >&5
36821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36822 (exit $ac_status); } && {
36823 test -z "$ac_cxx_werror_flag" ||
36824 test ! -s conftest.err
36825 } && test -s conftest$ac_exeext &&
36826 $as_test_x conftest$ac_exeext; then
36827 wx_cv_func_cxa_demangle=yes
36828 else
36829 echo "$as_me: failed program was:" >&5
36830 sed 's/^/| /' conftest.$ac_ext >&5
36831
36832 wx_cv_func_cxa_demangle=no
36833
36834 fi
36835
36836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36837 conftest$ac_exeext conftest.$ac_ext
36838 ac_ext=c
36839 ac_cpp='$CPP $CPPFLAGS'
36840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36843
36844
36845
36846 fi
36847 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36848 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36849
36850 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36851 cat >>confdefs.h <<\_ACEOF
36852 #define HAVE_CXA_DEMANGLE 1
36853 _ACEOF
36854
36855 fi
36856 fi
36857 fi
36858
36859 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36860 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36861 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36862 wxUSE_STACKWALKER=no
36863 fi
36864
36865
36866
36867
36868 for ac_func in mkstemp mktemp
36869 do
36870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36873 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36874 echo $ECHO_N "(cached) $ECHO_C" >&6
36875 else
36876 cat >conftest.$ac_ext <<_ACEOF
36877 /* confdefs.h. */
36878 _ACEOF
36879 cat confdefs.h >>conftest.$ac_ext
36880 cat >>conftest.$ac_ext <<_ACEOF
36881 /* end confdefs.h. */
36882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36884 #define $ac_func innocuous_$ac_func
36885
36886 /* System header to define __stub macros and hopefully few prototypes,
36887 which can conflict with char $ac_func (); below.
36888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36889 <limits.h> exists even on freestanding compilers. */
36890
36891 #ifdef __STDC__
36892 # include <limits.h>
36893 #else
36894 # include <assert.h>
36895 #endif
36896
36897 #undef $ac_func
36898
36899 /* Override any GCC internal prototype to avoid an error.
36900 Use char because int might match the return type of a GCC
36901 builtin and then its argument prototype would still apply. */
36902 #ifdef __cplusplus
36903 extern "C"
36904 #endif
36905 char $ac_func ();
36906 /* The GNU C library defines this for functions which it implements
36907 to always fail with ENOSYS. Some functions are actually named
36908 something starting with __ and the normal name is an alias. */
36909 #if defined __stub_$ac_func || defined __stub___$ac_func
36910 choke me
36911 #endif
36912
36913 int
36914 main ()
36915 {
36916 return $ac_func ();
36917 ;
36918 return 0;
36919 }
36920 _ACEOF
36921 rm -f conftest.$ac_objext conftest$ac_exeext
36922 if { (ac_try="$ac_link"
36923 case "(($ac_try" in
36924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36925 *) ac_try_echo=$ac_try;;
36926 esac
36927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36928 (eval "$ac_link") 2>conftest.er1
36929 ac_status=$?
36930 grep -v '^ *+' conftest.er1 >conftest.err
36931 rm -f conftest.er1
36932 cat conftest.err >&5
36933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 (exit $ac_status); } && {
36935 test -z "$ac_c_werror_flag" ||
36936 test ! -s conftest.err
36937 } && test -s conftest$ac_exeext &&
36938 $as_test_x conftest$ac_exeext; then
36939 eval "$as_ac_var=yes"
36940 else
36941 echo "$as_me: failed program was:" >&5
36942 sed 's/^/| /' conftest.$ac_ext >&5
36943
36944 eval "$as_ac_var=no"
36945 fi
36946
36947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36948 conftest$ac_exeext conftest.$ac_ext
36949 fi
36950 ac_res=`eval echo '${'$as_ac_var'}'`
36951 { echo "$as_me:$LINENO: result: $ac_res" >&5
36952 echo "${ECHO_T}$ac_res" >&6; }
36953 if test `eval echo '${'$as_ac_var'}'` = yes; then
36954 cat >>confdefs.h <<_ACEOF
36955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36956 _ACEOF
36957 break
36958 fi
36959 done
36960
36961
36962 { echo "$as_me:$LINENO: checking for statfs" >&5
36963 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36964 if test "${wx_cv_func_statfs+set}" = set; then
36965 echo $ECHO_N "(cached) $ECHO_C" >&6
36966 else
36967 cat >conftest.$ac_ext <<_ACEOF
36968 /* confdefs.h. */
36969 _ACEOF
36970 cat confdefs.h >>conftest.$ac_ext
36971 cat >>conftest.$ac_ext <<_ACEOF
36972 /* end confdefs.h. */
36973
36974 #if defined(__BSD__)
36975 #include <sys/param.h>
36976 #include <sys/mount.h>
36977 #else
36978 #include <sys/vfs.h>
36979 #endif
36980
36981 int
36982 main ()
36983 {
36984
36985 long l;
36986 struct statfs fs;
36987 statfs("/", &fs);
36988 l = fs.f_bsize;
36989 l += fs.f_blocks;
36990 l += fs.f_bavail;
36991
36992 ;
36993 return 0;
36994 }
36995 _ACEOF
36996 rm -f conftest.$ac_objext
36997 if { (ac_try="$ac_compile"
36998 case "(($ac_try" in
36999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37000 *) ac_try_echo=$ac_try;;
37001 esac
37002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37003 (eval "$ac_compile") 2>conftest.er1
37004 ac_status=$?
37005 grep -v '^ *+' conftest.er1 >conftest.err
37006 rm -f conftest.er1
37007 cat conftest.err >&5
37008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37009 (exit $ac_status); } && {
37010 test -z "$ac_c_werror_flag" ||
37011 test ! -s conftest.err
37012 } && test -s conftest.$ac_objext; then
37013 wx_cv_func_statfs=yes
37014 else
37015 echo "$as_me: failed program was:" >&5
37016 sed 's/^/| /' conftest.$ac_ext >&5
37017
37018 wx_cv_func_statfs=no
37019
37020 fi
37021
37022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37023
37024 fi
37025 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37026 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37027
37028 if test "$wx_cv_func_statfs" = "yes"; then
37029 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37030 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37031 if test "${wx_cv_func_statfs_decl+set}" = set; then
37032 echo $ECHO_N "(cached) $ECHO_C" >&6
37033 else
37034 ac_ext=cpp
37035 ac_cpp='$CXXCPP $CPPFLAGS'
37036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37039
37040 cat >conftest.$ac_ext <<_ACEOF
37041 /* confdefs.h. */
37042 _ACEOF
37043 cat confdefs.h >>conftest.$ac_ext
37044 cat >>conftest.$ac_ext <<_ACEOF
37045 /* end confdefs.h. */
37046
37047 #if defined(__BSD__)
37048 #include <sys/param.h>
37049 #include <sys/mount.h>
37050 #else
37051 #include <sys/vfs.h>
37052 #endif
37053
37054 int
37055 main ()
37056 {
37057
37058 struct statfs fs;
37059 statfs("", &fs);
37060
37061 ;
37062 return 0;
37063 }
37064 _ACEOF
37065 rm -f conftest.$ac_objext
37066 if { (ac_try="$ac_compile"
37067 case "(($ac_try" in
37068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37069 *) ac_try_echo=$ac_try;;
37070 esac
37071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37072 (eval "$ac_compile") 2>conftest.er1
37073 ac_status=$?
37074 grep -v '^ *+' conftest.er1 >conftest.err
37075 rm -f conftest.er1
37076 cat conftest.err >&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); } && {
37079 test -z "$ac_cxx_werror_flag" ||
37080 test ! -s conftest.err
37081 } && test -s conftest.$ac_objext; then
37082 wx_cv_func_statfs_decl=yes
37083 else
37084 echo "$as_me: failed program was:" >&5
37085 sed 's/^/| /' conftest.$ac_ext >&5
37086
37087 wx_cv_func_statfs_decl=no
37088
37089 fi
37090
37091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37092 ac_ext=c
37093 ac_cpp='$CPP $CPPFLAGS'
37094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37097
37098
37099 fi
37100 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37101 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37102
37103 if test "$wx_cv_func_statfs_decl" = "yes"; then
37104 cat >>confdefs.h <<\_ACEOF
37105 #define HAVE_STATFS_DECL 1
37106 _ACEOF
37107
37108 fi
37109
37110 wx_cv_type_statvfs_t="struct statfs"
37111 cat >>confdefs.h <<\_ACEOF
37112 #define HAVE_STATFS 1
37113 _ACEOF
37114
37115 else
37116 { echo "$as_me:$LINENO: checking for statvfs" >&5
37117 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37118 if test "${wx_cv_func_statvfs+set}" = set; then
37119 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 else
37121 cat >conftest.$ac_ext <<_ACEOF
37122 /* confdefs.h. */
37123 _ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37127
37128 #include <stddef.h>
37129 #include <sys/statvfs.h>
37130
37131 int
37132 main ()
37133 {
37134
37135 statvfs("/", NULL);
37136
37137 ;
37138 return 0;
37139 }
37140 _ACEOF
37141 rm -f conftest.$ac_objext
37142 if { (ac_try="$ac_compile"
37143 case "(($ac_try" in
37144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37145 *) ac_try_echo=$ac_try;;
37146 esac
37147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37148 (eval "$ac_compile") 2>conftest.er1
37149 ac_status=$?
37150 grep -v '^ *+' conftest.er1 >conftest.err
37151 rm -f conftest.er1
37152 cat conftest.err >&5
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); } && {
37155 test -z "$ac_c_werror_flag" ||
37156 test ! -s conftest.err
37157 } && test -s conftest.$ac_objext; then
37158 wx_cv_func_statvfs=yes
37159 else
37160 echo "$as_me: failed program was:" >&5
37161 sed 's/^/| /' conftest.$ac_ext >&5
37162
37163 wx_cv_func_statvfs=no
37164
37165 fi
37166
37167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37168
37169 fi
37170 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37171 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37172
37173 if test "$wx_cv_func_statvfs" = "yes"; then
37174 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37175 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37176 if test "${wx_cv_type_statvfs_t+set}" = set; then
37177 echo $ECHO_N "(cached) $ECHO_C" >&6
37178 else
37179 ac_ext=cpp
37180 ac_cpp='$CXXCPP $CPPFLAGS'
37181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37184
37185 cat >conftest.$ac_ext <<_ACEOF
37186 /* confdefs.h. */
37187 _ACEOF
37188 cat confdefs.h >>conftest.$ac_ext
37189 cat >>conftest.$ac_ext <<_ACEOF
37190 /* end confdefs.h. */
37191
37192 #include <sys/statvfs.h>
37193
37194 int
37195 main ()
37196 {
37197
37198 long l;
37199 statvfs_t fs;
37200 statvfs("/", &fs);
37201 l = fs.f_bsize;
37202 l += fs.f_blocks;
37203 l += fs.f_bavail;
37204
37205 ;
37206 return 0;
37207 }
37208 _ACEOF
37209 rm -f conftest.$ac_objext
37210 if { (ac_try="$ac_compile"
37211 case "(($ac_try" in
37212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37213 *) ac_try_echo=$ac_try;;
37214 esac
37215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37216 (eval "$ac_compile") 2>conftest.er1
37217 ac_status=$?
37218 grep -v '^ *+' conftest.er1 >conftest.err
37219 rm -f conftest.er1
37220 cat conftest.err >&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); } && {
37223 test -z "$ac_cxx_werror_flag" ||
37224 test ! -s conftest.err
37225 } && test -s conftest.$ac_objext; then
37226 wx_cv_type_statvfs_t=statvfs_t
37227 else
37228 echo "$as_me: failed program was:" >&5
37229 sed 's/^/| /' conftest.$ac_ext >&5
37230
37231
37232 cat >conftest.$ac_ext <<_ACEOF
37233 /* confdefs.h. */
37234 _ACEOF
37235 cat confdefs.h >>conftest.$ac_ext
37236 cat >>conftest.$ac_ext <<_ACEOF
37237 /* end confdefs.h. */
37238
37239 #include <sys/statvfs.h>
37240
37241 int
37242 main ()
37243 {
37244
37245 long l;
37246 struct statvfs fs;
37247 statvfs("/", &fs);
37248 l = fs.f_bsize;
37249 l += fs.f_blocks;
37250 l += fs.f_bavail;
37251
37252 ;
37253 return 0;
37254 }
37255 _ACEOF
37256 rm -f conftest.$ac_objext
37257 if { (ac_try="$ac_compile"
37258 case "(($ac_try" in
37259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37260 *) ac_try_echo=$ac_try;;
37261 esac
37262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37263 (eval "$ac_compile") 2>conftest.er1
37264 ac_status=$?
37265 grep -v '^ *+' conftest.er1 >conftest.err
37266 rm -f conftest.er1
37267 cat conftest.err >&5
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); } && {
37270 test -z "$ac_cxx_werror_flag" ||
37271 test ! -s conftest.err
37272 } && test -s conftest.$ac_objext; then
37273 wx_cv_type_statvfs_t="struct statvfs"
37274 else
37275 echo "$as_me: failed program was:" >&5
37276 sed 's/^/| /' conftest.$ac_ext >&5
37277
37278 wx_cv_type_statvfs_t="unknown"
37279
37280 fi
37281
37282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37283
37284
37285 fi
37286
37287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37288 ac_ext=c
37289 ac_cpp='$CPP $CPPFLAGS'
37290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37293
37294
37295 fi
37296 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37297 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37298
37299 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37300 cat >>confdefs.h <<\_ACEOF
37301 #define HAVE_STATVFS 1
37302 _ACEOF
37303
37304 fi
37305 else
37306 wx_cv_type_statvfs_t="unknown"
37307 fi
37308 fi
37309
37310 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37311 cat >>confdefs.h <<_ACEOF
37312 #define WX_STATFS_T $wx_cv_type_statvfs_t
37313 _ACEOF
37314
37315 else
37316 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37317 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37318 fi
37319
37320 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37321
37322
37323 for ac_func in fcntl flock
37324 do
37325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37329 echo $ECHO_N "(cached) $ECHO_C" >&6
37330 else
37331 cat >conftest.$ac_ext <<_ACEOF
37332 /* confdefs.h. */
37333 _ACEOF
37334 cat confdefs.h >>conftest.$ac_ext
37335 cat >>conftest.$ac_ext <<_ACEOF
37336 /* end confdefs.h. */
37337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37339 #define $ac_func innocuous_$ac_func
37340
37341 /* System header to define __stub macros and hopefully few prototypes,
37342 which can conflict with char $ac_func (); below.
37343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37344 <limits.h> exists even on freestanding compilers. */
37345
37346 #ifdef __STDC__
37347 # include <limits.h>
37348 #else
37349 # include <assert.h>
37350 #endif
37351
37352 #undef $ac_func
37353
37354 /* Override any GCC internal prototype to avoid an error.
37355 Use char because int might match the return type of a GCC
37356 builtin and then its argument prototype would still apply. */
37357 #ifdef __cplusplus
37358 extern "C"
37359 #endif
37360 char $ac_func ();
37361 /* The GNU C library defines this for functions which it implements
37362 to always fail with ENOSYS. Some functions are actually named
37363 something starting with __ and the normal name is an alias. */
37364 #if defined __stub_$ac_func || defined __stub___$ac_func
37365 choke me
37366 #endif
37367
37368 int
37369 main ()
37370 {
37371 return $ac_func ();
37372 ;
37373 return 0;
37374 }
37375 _ACEOF
37376 rm -f conftest.$ac_objext conftest$ac_exeext
37377 if { (ac_try="$ac_link"
37378 case "(($ac_try" in
37379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37380 *) ac_try_echo=$ac_try;;
37381 esac
37382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37383 (eval "$ac_link") 2>conftest.er1
37384 ac_status=$?
37385 grep -v '^ *+' conftest.er1 >conftest.err
37386 rm -f conftest.er1
37387 cat conftest.err >&5
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); } && {
37390 test -z "$ac_c_werror_flag" ||
37391 test ! -s conftest.err
37392 } && test -s conftest$ac_exeext &&
37393 $as_test_x conftest$ac_exeext; then
37394 eval "$as_ac_var=yes"
37395 else
37396 echo "$as_me: failed program was:" >&5
37397 sed 's/^/| /' conftest.$ac_ext >&5
37398
37399 eval "$as_ac_var=no"
37400 fi
37401
37402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37403 conftest$ac_exeext conftest.$ac_ext
37404 fi
37405 ac_res=`eval echo '${'$as_ac_var'}'`
37406 { echo "$as_me:$LINENO: result: $ac_res" >&5
37407 echo "${ECHO_T}$ac_res" >&6; }
37408 if test `eval echo '${'$as_ac_var'}'` = yes; then
37409 cat >>confdefs.h <<_ACEOF
37410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37411 _ACEOF
37412 break
37413 fi
37414 done
37415
37416
37417 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37418 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37419 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37420 wxUSE_SNGLINST_CHECKER=no
37421 fi
37422 fi
37423
37424
37425
37426 for ac_func in setenv putenv
37427 do
37428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37429 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37431 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37432 echo $ECHO_N "(cached) $ECHO_C" >&6
37433 else
37434 cat >conftest.$ac_ext <<_ACEOF
37435 /* confdefs.h. */
37436 _ACEOF
37437 cat confdefs.h >>conftest.$ac_ext
37438 cat >>conftest.$ac_ext <<_ACEOF
37439 /* end confdefs.h. */
37440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37442 #define $ac_func innocuous_$ac_func
37443
37444 /* System header to define __stub macros and hopefully few prototypes,
37445 which can conflict with char $ac_func (); below.
37446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37447 <limits.h> exists even on freestanding compilers. */
37448
37449 #ifdef __STDC__
37450 # include <limits.h>
37451 #else
37452 # include <assert.h>
37453 #endif
37454
37455 #undef $ac_func
37456
37457 /* Override any GCC internal prototype to avoid an error.
37458 Use char because int might match the return type of a GCC
37459 builtin and then its argument prototype would still apply. */
37460 #ifdef __cplusplus
37461 extern "C"
37462 #endif
37463 char $ac_func ();
37464 /* The GNU C library defines this for functions which it implements
37465 to always fail with ENOSYS. Some functions are actually named
37466 something starting with __ and the normal name is an alias. */
37467 #if defined __stub_$ac_func || defined __stub___$ac_func
37468 choke me
37469 #endif
37470
37471 int
37472 main ()
37473 {
37474 return $ac_func ();
37475 ;
37476 return 0;
37477 }
37478 _ACEOF
37479 rm -f conftest.$ac_objext conftest$ac_exeext
37480 if { (ac_try="$ac_link"
37481 case "(($ac_try" in
37482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37483 *) ac_try_echo=$ac_try;;
37484 esac
37485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37486 (eval "$ac_link") 2>conftest.er1
37487 ac_status=$?
37488 grep -v '^ *+' conftest.er1 >conftest.err
37489 rm -f conftest.er1
37490 cat conftest.err >&5
37491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37492 (exit $ac_status); } && {
37493 test -z "$ac_c_werror_flag" ||
37494 test ! -s conftest.err
37495 } && test -s conftest$ac_exeext &&
37496 $as_test_x conftest$ac_exeext; then
37497 eval "$as_ac_var=yes"
37498 else
37499 echo "$as_me: failed program was:" >&5
37500 sed 's/^/| /' conftest.$ac_ext >&5
37501
37502 eval "$as_ac_var=no"
37503 fi
37504
37505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37506 conftest$ac_exeext conftest.$ac_ext
37507 fi
37508 ac_res=`eval echo '${'$as_ac_var'}'`
37509 { echo "$as_me:$LINENO: result: $ac_res" >&5
37510 echo "${ECHO_T}$ac_res" >&6; }
37511 if test `eval echo '${'$as_ac_var'}'` = yes; then
37512 cat >>confdefs.h <<_ACEOF
37513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37514 _ACEOF
37515 break
37516 fi
37517 done
37518
37519 if test "$ac_cv_func_setenv" = "yes"; then
37520
37521 for ac_func in unsetenv
37522 do
37523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37524 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37526 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37527 echo $ECHO_N "(cached) $ECHO_C" >&6
37528 else
37529 cat >conftest.$ac_ext <<_ACEOF
37530 /* confdefs.h. */
37531 _ACEOF
37532 cat confdefs.h >>conftest.$ac_ext
37533 cat >>conftest.$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37537 #define $ac_func innocuous_$ac_func
37538
37539 /* System header to define __stub macros and hopefully few prototypes,
37540 which can conflict with char $ac_func (); below.
37541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37542 <limits.h> exists even on freestanding compilers. */
37543
37544 #ifdef __STDC__
37545 # include <limits.h>
37546 #else
37547 # include <assert.h>
37548 #endif
37549
37550 #undef $ac_func
37551
37552 /* Override any GCC internal prototype to avoid an error.
37553 Use char because int might match the return type of a GCC
37554 builtin and then its argument prototype would still apply. */
37555 #ifdef __cplusplus
37556 extern "C"
37557 #endif
37558 char $ac_func ();
37559 /* The GNU C library defines this for functions which it implements
37560 to always fail with ENOSYS. Some functions are actually named
37561 something starting with __ and the normal name is an alias. */
37562 #if defined __stub_$ac_func || defined __stub___$ac_func
37563 choke me
37564 #endif
37565
37566 int
37567 main ()
37568 {
37569 return $ac_func ();
37570 ;
37571 return 0;
37572 }
37573 _ACEOF
37574 rm -f conftest.$ac_objext conftest$ac_exeext
37575 if { (ac_try="$ac_link"
37576 case "(($ac_try" in
37577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37578 *) ac_try_echo=$ac_try;;
37579 esac
37580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37581 (eval "$ac_link") 2>conftest.er1
37582 ac_status=$?
37583 grep -v '^ *+' conftest.er1 >conftest.err
37584 rm -f conftest.er1
37585 cat conftest.err >&5
37586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587 (exit $ac_status); } && {
37588 test -z "$ac_c_werror_flag" ||
37589 test ! -s conftest.err
37590 } && test -s conftest$ac_exeext &&
37591 $as_test_x conftest$ac_exeext; then
37592 eval "$as_ac_var=yes"
37593 else
37594 echo "$as_me: failed program was:" >&5
37595 sed 's/^/| /' conftest.$ac_ext >&5
37596
37597 eval "$as_ac_var=no"
37598 fi
37599
37600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37601 conftest$ac_exeext conftest.$ac_ext
37602 fi
37603 ac_res=`eval echo '${'$as_ac_var'}'`
37604 { echo "$as_me:$LINENO: result: $ac_res" >&5
37605 echo "${ECHO_T}$ac_res" >&6; }
37606 if test `eval echo '${'$as_ac_var'}'` = yes; then
37607 cat >>confdefs.h <<_ACEOF
37608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37609 _ACEOF
37610
37611 fi
37612 done
37613
37614 fi
37615
37616 HAVE_SOME_SLEEP_FUNC=0
37617 if test "$USE_BEOS" = 1; then
37618 cat >>confdefs.h <<\_ACEOF
37619 #define HAVE_SLEEP 1
37620 _ACEOF
37621
37622 HAVE_SOME_SLEEP_FUNC=1
37623 fi
37624
37625 if test "$USE_DARWIN" = 1; then
37626 cat >>confdefs.h <<\_ACEOF
37627 #define HAVE_USLEEP 1
37628 _ACEOF
37629
37630 HAVE_SOME_SLEEP_FUNC=1
37631 fi
37632
37633 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37634 POSIX4_LINK=
37635
37636 for ac_func in nanosleep
37637 do
37638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37642 echo $ECHO_N "(cached) $ECHO_C" >&6
37643 else
37644 cat >conftest.$ac_ext <<_ACEOF
37645 /* confdefs.h. */
37646 _ACEOF
37647 cat confdefs.h >>conftest.$ac_ext
37648 cat >>conftest.$ac_ext <<_ACEOF
37649 /* end confdefs.h. */
37650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37652 #define $ac_func innocuous_$ac_func
37653
37654 /* System header to define __stub macros and hopefully few prototypes,
37655 which can conflict with char $ac_func (); below.
37656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37657 <limits.h> exists even on freestanding compilers. */
37658
37659 #ifdef __STDC__
37660 # include <limits.h>
37661 #else
37662 # include <assert.h>
37663 #endif
37664
37665 #undef $ac_func
37666
37667 /* Override any GCC internal prototype to avoid an error.
37668 Use char because int might match the return type of a GCC
37669 builtin and then its argument prototype would still apply. */
37670 #ifdef __cplusplus
37671 extern "C"
37672 #endif
37673 char $ac_func ();
37674 /* The GNU C library defines this for functions which it implements
37675 to always fail with ENOSYS. Some functions are actually named
37676 something starting with __ and the normal name is an alias. */
37677 #if defined __stub_$ac_func || defined __stub___$ac_func
37678 choke me
37679 #endif
37680
37681 int
37682 main ()
37683 {
37684 return $ac_func ();
37685 ;
37686 return 0;
37687 }
37688 _ACEOF
37689 rm -f conftest.$ac_objext conftest$ac_exeext
37690 if { (ac_try="$ac_link"
37691 case "(($ac_try" in
37692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37693 *) ac_try_echo=$ac_try;;
37694 esac
37695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37696 (eval "$ac_link") 2>conftest.er1
37697 ac_status=$?
37698 grep -v '^ *+' conftest.er1 >conftest.err
37699 rm -f conftest.er1
37700 cat conftest.err >&5
37701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702 (exit $ac_status); } && {
37703 test -z "$ac_c_werror_flag" ||
37704 test ! -s conftest.err
37705 } && test -s conftest$ac_exeext &&
37706 $as_test_x conftest$ac_exeext; then
37707 eval "$as_ac_var=yes"
37708 else
37709 echo "$as_me: failed program was:" >&5
37710 sed 's/^/| /' conftest.$ac_ext >&5
37711
37712 eval "$as_ac_var=no"
37713 fi
37714
37715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37716 conftest$ac_exeext conftest.$ac_ext
37717 fi
37718 ac_res=`eval echo '${'$as_ac_var'}'`
37719 { echo "$as_me:$LINENO: result: $ac_res" >&5
37720 echo "${ECHO_T}$ac_res" >&6; }
37721 if test `eval echo '${'$as_ac_var'}'` = yes; then
37722 cat >>confdefs.h <<_ACEOF
37723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37724 _ACEOF
37725 cat >>confdefs.h <<\_ACEOF
37726 #define HAVE_NANOSLEEP 1
37727 _ACEOF
37728
37729 else
37730
37731 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37732 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37733 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37734 echo $ECHO_N "(cached) $ECHO_C" >&6
37735 else
37736 ac_check_lib_save_LIBS=$LIBS
37737 LIBS="-lposix4 $LIBS"
37738 cat >conftest.$ac_ext <<_ACEOF
37739 /* confdefs.h. */
37740 _ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h. */
37744
37745 /* Override any GCC internal prototype to avoid an error.
37746 Use char because int might match the return type of a GCC
37747 builtin and then its argument prototype would still apply. */
37748 #ifdef __cplusplus
37749 extern "C"
37750 #endif
37751 char nanosleep ();
37752 int
37753 main ()
37754 {
37755 return nanosleep ();
37756 ;
37757 return 0;
37758 }
37759 _ACEOF
37760 rm -f conftest.$ac_objext conftest$ac_exeext
37761 if { (ac_try="$ac_link"
37762 case "(($ac_try" in
37763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37764 *) ac_try_echo=$ac_try;;
37765 esac
37766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37767 (eval "$ac_link") 2>conftest.er1
37768 ac_status=$?
37769 grep -v '^ *+' conftest.er1 >conftest.err
37770 rm -f conftest.er1
37771 cat conftest.err >&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } && {
37774 test -z "$ac_c_werror_flag" ||
37775 test ! -s conftest.err
37776 } && test -s conftest$ac_exeext &&
37777 $as_test_x conftest$ac_exeext; then
37778 ac_cv_lib_posix4_nanosleep=yes
37779 else
37780 echo "$as_me: failed program was:" >&5
37781 sed 's/^/| /' conftest.$ac_ext >&5
37782
37783 ac_cv_lib_posix4_nanosleep=no
37784 fi
37785
37786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37787 conftest$ac_exeext conftest.$ac_ext
37788 LIBS=$ac_check_lib_save_LIBS
37789 fi
37790 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37791 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37792 if test $ac_cv_lib_posix4_nanosleep = yes; then
37793
37794 cat >>confdefs.h <<\_ACEOF
37795 #define HAVE_NANOSLEEP 1
37796 _ACEOF
37797
37798 POSIX4_LINK=" -lposix4"
37799
37800 else
37801
37802
37803 for wx_func in usleep
37804 do
37805 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37806 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37807 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37808 echo $ECHO_N "(cached) $ECHO_C" >&6
37809 else
37810
37811 cat >conftest.$ac_ext <<_ACEOF
37812
37813 /* confdefs.h. */
37814 _ACEOF
37815 cat confdefs.h >>conftest.$ac_ext
37816 cat >>conftest.$ac_ext <<_ACEOF
37817 /* end confdefs.h. */
37818
37819
37820 $ac_includes_default
37821
37822 int
37823 main ()
37824 {
37825
37826 #ifndef $wx_func
37827 &$wx_func;
37828 #endif
37829
37830
37831 ;
37832 return 0;
37833 }
37834
37835 _ACEOF
37836 rm -f conftest.$ac_objext conftest$ac_exeext
37837 if { (ac_try="$ac_link"
37838 case "(($ac_try" in
37839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37840 *) ac_try_echo=$ac_try;;
37841 esac
37842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37843 (eval "$ac_link") 2>conftest.er1
37844 ac_status=$?
37845 grep -v '^ *+' conftest.er1 >conftest.err
37846 rm -f conftest.er1
37847 cat conftest.err >&5
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); } && {
37850 test -z "$ac_c_werror_flag" ||
37851 test ! -s conftest.err
37852 } && test -s conftest$ac_exeext &&
37853 $as_test_x conftest$ac_exeext; then
37854 eval wx_cv_func_$wx_func=yes
37855 else
37856 echo "$as_me: failed program was:" >&5
37857 sed 's/^/| /' conftest.$ac_ext >&5
37858
37859 eval wx_cv_func_$wx_func=no
37860 fi
37861
37862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37863 conftest$ac_exeext conftest.$ac_ext
37864
37865 fi
37866 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37867 { echo "$as_me:$LINENO: result: $ac_res" >&5
37868 echo "${ECHO_T}$ac_res" >&6; }
37869
37870 if eval test \$wx_cv_func_$wx_func = yes
37871 then
37872 cat >>confdefs.h <<_ACEOF
37873 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37874 _ACEOF
37875
37876
37877 else
37878 :
37879 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37880 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37881
37882 fi
37883 done
37884
37885
37886
37887 fi
37888
37889
37890
37891 fi
37892 done
37893
37894 fi
37895
37896
37897 for wx_func in uname
37898 do
37899 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37900 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37901 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37902 echo $ECHO_N "(cached) $ECHO_C" >&6
37903 else
37904
37905 cat >conftest.$ac_ext <<_ACEOF
37906
37907 /* confdefs.h. */
37908 _ACEOF
37909 cat confdefs.h >>conftest.$ac_ext
37910 cat >>conftest.$ac_ext <<_ACEOF
37911 /* end confdefs.h. */
37912
37913 #include <sys/utsname.h>
37914 $ac_includes_default
37915
37916 int
37917 main ()
37918 {
37919
37920 #ifndef $wx_func
37921 &$wx_func;
37922 #endif
37923
37924
37925 ;
37926 return 0;
37927 }
37928
37929 _ACEOF
37930 rm -f conftest.$ac_objext conftest$ac_exeext
37931 if { (ac_try="$ac_link"
37932 case "(($ac_try" in
37933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37934 *) ac_try_echo=$ac_try;;
37935 esac
37936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37937 (eval "$ac_link") 2>conftest.er1
37938 ac_status=$?
37939 grep -v '^ *+' conftest.er1 >conftest.err
37940 rm -f conftest.er1
37941 cat conftest.err >&5
37942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37943 (exit $ac_status); } && {
37944 test -z "$ac_c_werror_flag" ||
37945 test ! -s conftest.err
37946 } && test -s conftest$ac_exeext &&
37947 $as_test_x conftest$ac_exeext; then
37948 eval wx_cv_func_$wx_func=yes
37949 else
37950 echo "$as_me: failed program was:" >&5
37951 sed 's/^/| /' conftest.$ac_ext >&5
37952
37953 eval wx_cv_func_$wx_func=no
37954 fi
37955
37956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37957 conftest$ac_exeext conftest.$ac_ext
37958
37959 fi
37960 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37961 { echo "$as_me:$LINENO: result: $ac_res" >&5
37962 echo "${ECHO_T}$ac_res" >&6; }
37963
37964 if eval test \$wx_cv_func_$wx_func = yes
37965 then
37966 cat >>confdefs.h <<_ACEOF
37967 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37968 _ACEOF
37969
37970
37971 else
37972 :
37973
37974 fi
37975 done
37976
37977 if test "$wx_cv_func_uname" != yes; then
37978
37979 for wx_func in gethostname
37980 do
37981 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37982 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37983 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37984 echo $ECHO_N "(cached) $ECHO_C" >&6
37985 else
37986
37987 cat >conftest.$ac_ext <<_ACEOF
37988
37989 /* confdefs.h. */
37990 _ACEOF
37991 cat confdefs.h >>conftest.$ac_ext
37992 cat >>conftest.$ac_ext <<_ACEOF
37993 /* end confdefs.h. */
37994
37995
37996 $ac_includes_default
37997
37998 int
37999 main ()
38000 {
38001
38002 #ifndef $wx_func
38003 &$wx_func;
38004 #endif
38005
38006
38007 ;
38008 return 0;
38009 }
38010
38011 _ACEOF
38012 rm -f conftest.$ac_objext conftest$ac_exeext
38013 if { (ac_try="$ac_link"
38014 case "(($ac_try" in
38015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38016 *) ac_try_echo=$ac_try;;
38017 esac
38018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38019 (eval "$ac_link") 2>conftest.er1
38020 ac_status=$?
38021 grep -v '^ *+' conftest.er1 >conftest.err
38022 rm -f conftest.er1
38023 cat conftest.err >&5
38024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38025 (exit $ac_status); } && {
38026 test -z "$ac_c_werror_flag" ||
38027 test ! -s conftest.err
38028 } && test -s conftest$ac_exeext &&
38029 $as_test_x conftest$ac_exeext; then
38030 eval wx_cv_func_$wx_func=yes
38031 else
38032 echo "$as_me: failed program was:" >&5
38033 sed 's/^/| /' conftest.$ac_ext >&5
38034
38035 eval wx_cv_func_$wx_func=no
38036 fi
38037
38038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38039 conftest$ac_exeext conftest.$ac_ext
38040
38041 fi
38042 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38043 { echo "$as_me:$LINENO: result: $ac_res" >&5
38044 echo "${ECHO_T}$ac_res" >&6; }
38045
38046 if eval test \$wx_cv_func_$wx_func = yes
38047 then
38048 cat >>confdefs.h <<_ACEOF
38049 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38050 _ACEOF
38051
38052
38053 else
38054 :
38055
38056 fi
38057 done
38058
38059 fi
38060
38061
38062 for wx_func in strtok_r
38063 do
38064 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38065 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38066 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38067 echo $ECHO_N "(cached) $ECHO_C" >&6
38068 else
38069
38070 cat >conftest.$ac_ext <<_ACEOF
38071
38072 /* confdefs.h. */
38073 _ACEOF
38074 cat confdefs.h >>conftest.$ac_ext
38075 cat >>conftest.$ac_ext <<_ACEOF
38076 /* end confdefs.h. */
38077
38078 #define _REENTRANT
38079 $ac_includes_default
38080
38081 int
38082 main ()
38083 {
38084
38085 #ifndef $wx_func
38086 &$wx_func;
38087 #endif
38088
38089
38090 ;
38091 return 0;
38092 }
38093
38094 _ACEOF
38095 rm -f conftest.$ac_objext conftest$ac_exeext
38096 if { (ac_try="$ac_link"
38097 case "(($ac_try" in
38098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38099 *) ac_try_echo=$ac_try;;
38100 esac
38101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38102 (eval "$ac_link") 2>conftest.er1
38103 ac_status=$?
38104 grep -v '^ *+' conftest.er1 >conftest.err
38105 rm -f conftest.er1
38106 cat conftest.err >&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); } && {
38109 test -z "$ac_c_werror_flag" ||
38110 test ! -s conftest.err
38111 } && test -s conftest$ac_exeext &&
38112 $as_test_x conftest$ac_exeext; then
38113 eval wx_cv_func_$wx_func=yes
38114 else
38115 echo "$as_me: failed program was:" >&5
38116 sed 's/^/| /' conftest.$ac_ext >&5
38117
38118 eval wx_cv_func_$wx_func=no
38119 fi
38120
38121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38122 conftest$ac_exeext conftest.$ac_ext
38123
38124 fi
38125 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38126 { echo "$as_me:$LINENO: result: $ac_res" >&5
38127 echo "${ECHO_T}$ac_res" >&6; }
38128
38129 if eval test \$wx_cv_func_$wx_func = yes
38130 then
38131 cat >>confdefs.h <<_ACEOF
38132 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38133 _ACEOF
38134
38135
38136 else
38137 :
38138
38139 fi
38140 done
38141
38142
38143 INET_LINK=
38144
38145 for ac_func in inet_addr
38146 do
38147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38151 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 else
38153 cat >conftest.$ac_ext <<_ACEOF
38154 /* confdefs.h. */
38155 _ACEOF
38156 cat confdefs.h >>conftest.$ac_ext
38157 cat >>conftest.$ac_ext <<_ACEOF
38158 /* end confdefs.h. */
38159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38161 #define $ac_func innocuous_$ac_func
38162
38163 /* System header to define __stub macros and hopefully few prototypes,
38164 which can conflict with char $ac_func (); below.
38165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38166 <limits.h> exists even on freestanding compilers. */
38167
38168 #ifdef __STDC__
38169 # include <limits.h>
38170 #else
38171 # include <assert.h>
38172 #endif
38173
38174 #undef $ac_func
38175
38176 /* Override any GCC internal prototype to avoid an error.
38177 Use char because int might match the return type of a GCC
38178 builtin and then its argument prototype would still apply. */
38179 #ifdef __cplusplus
38180 extern "C"
38181 #endif
38182 char $ac_func ();
38183 /* The GNU C library defines this for functions which it implements
38184 to always fail with ENOSYS. Some functions are actually named
38185 something starting with __ and the normal name is an alias. */
38186 #if defined __stub_$ac_func || defined __stub___$ac_func
38187 choke me
38188 #endif
38189
38190 int
38191 main ()
38192 {
38193 return $ac_func ();
38194 ;
38195 return 0;
38196 }
38197 _ACEOF
38198 rm -f conftest.$ac_objext conftest$ac_exeext
38199 if { (ac_try="$ac_link"
38200 case "(($ac_try" in
38201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38202 *) ac_try_echo=$ac_try;;
38203 esac
38204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38205 (eval "$ac_link") 2>conftest.er1
38206 ac_status=$?
38207 grep -v '^ *+' conftest.er1 >conftest.err
38208 rm -f conftest.er1
38209 cat conftest.err >&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } && {
38212 test -z "$ac_c_werror_flag" ||
38213 test ! -s conftest.err
38214 } && test -s conftest$ac_exeext &&
38215 $as_test_x conftest$ac_exeext; then
38216 eval "$as_ac_var=yes"
38217 else
38218 echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.$ac_ext >&5
38220
38221 eval "$as_ac_var=no"
38222 fi
38223
38224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38225 conftest$ac_exeext conftest.$ac_ext
38226 fi
38227 ac_res=`eval echo '${'$as_ac_var'}'`
38228 { echo "$as_me:$LINENO: result: $ac_res" >&5
38229 echo "${ECHO_T}$ac_res" >&6; }
38230 if test `eval echo '${'$as_ac_var'}'` = yes; then
38231 cat >>confdefs.h <<_ACEOF
38232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38233 _ACEOF
38234 cat >>confdefs.h <<\_ACEOF
38235 #define HAVE_INET_ADDR 1
38236 _ACEOF
38237
38238 else
38239
38240 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38241 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38242 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38243 echo $ECHO_N "(cached) $ECHO_C" >&6
38244 else
38245 ac_check_lib_save_LIBS=$LIBS
38246 LIBS="-lnsl $LIBS"
38247 cat >conftest.$ac_ext <<_ACEOF
38248 /* confdefs.h. */
38249 _ACEOF
38250 cat confdefs.h >>conftest.$ac_ext
38251 cat >>conftest.$ac_ext <<_ACEOF
38252 /* end confdefs.h. */
38253
38254 /* Override any GCC internal prototype to avoid an error.
38255 Use char because int might match the return type of a GCC
38256 builtin and then its argument prototype would still apply. */
38257 #ifdef __cplusplus
38258 extern "C"
38259 #endif
38260 char inet_addr ();
38261 int
38262 main ()
38263 {
38264 return inet_addr ();
38265 ;
38266 return 0;
38267 }
38268 _ACEOF
38269 rm -f conftest.$ac_objext conftest$ac_exeext
38270 if { (ac_try="$ac_link"
38271 case "(($ac_try" in
38272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38273 *) ac_try_echo=$ac_try;;
38274 esac
38275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38276 (eval "$ac_link") 2>conftest.er1
38277 ac_status=$?
38278 grep -v '^ *+' conftest.er1 >conftest.err
38279 rm -f conftest.er1
38280 cat conftest.err >&5
38281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38282 (exit $ac_status); } && {
38283 test -z "$ac_c_werror_flag" ||
38284 test ! -s conftest.err
38285 } && test -s conftest$ac_exeext &&
38286 $as_test_x conftest$ac_exeext; then
38287 ac_cv_lib_nsl_inet_addr=yes
38288 else
38289 echo "$as_me: failed program was:" >&5
38290 sed 's/^/| /' conftest.$ac_ext >&5
38291
38292 ac_cv_lib_nsl_inet_addr=no
38293 fi
38294
38295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38296 conftest$ac_exeext conftest.$ac_ext
38297 LIBS=$ac_check_lib_save_LIBS
38298 fi
38299 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38300 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38301 if test $ac_cv_lib_nsl_inet_addr = yes; then
38302 INET_LINK="nsl"
38303 else
38304
38305 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38306 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38307 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38308 echo $ECHO_N "(cached) $ECHO_C" >&6
38309 else
38310 ac_check_lib_save_LIBS=$LIBS
38311 LIBS="-lresolv $LIBS"
38312 cat >conftest.$ac_ext <<_ACEOF
38313 /* confdefs.h. */
38314 _ACEOF
38315 cat confdefs.h >>conftest.$ac_ext
38316 cat >>conftest.$ac_ext <<_ACEOF
38317 /* end confdefs.h. */
38318
38319 /* Override any GCC internal prototype to avoid an error.
38320 Use char because int might match the return type of a GCC
38321 builtin and then its argument prototype would still apply. */
38322 #ifdef __cplusplus
38323 extern "C"
38324 #endif
38325 char inet_addr ();
38326 int
38327 main ()
38328 {
38329 return inet_addr ();
38330 ;
38331 return 0;
38332 }
38333 _ACEOF
38334 rm -f conftest.$ac_objext conftest$ac_exeext
38335 if { (ac_try="$ac_link"
38336 case "(($ac_try" in
38337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38338 *) ac_try_echo=$ac_try;;
38339 esac
38340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38341 (eval "$ac_link") 2>conftest.er1
38342 ac_status=$?
38343 grep -v '^ *+' conftest.er1 >conftest.err
38344 rm -f conftest.er1
38345 cat conftest.err >&5
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); } && {
38348 test -z "$ac_c_werror_flag" ||
38349 test ! -s conftest.err
38350 } && test -s conftest$ac_exeext &&
38351 $as_test_x conftest$ac_exeext; then
38352 ac_cv_lib_resolv_inet_addr=yes
38353 else
38354 echo "$as_me: failed program was:" >&5
38355 sed 's/^/| /' conftest.$ac_ext >&5
38356
38357 ac_cv_lib_resolv_inet_addr=no
38358 fi
38359
38360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38361 conftest$ac_exeext conftest.$ac_ext
38362 LIBS=$ac_check_lib_save_LIBS
38363 fi
38364 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38365 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38366 if test $ac_cv_lib_resolv_inet_addr = yes; then
38367 INET_LINK="resolv"
38368 else
38369
38370 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38371 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38372 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38374 else
38375 ac_check_lib_save_LIBS=$LIBS
38376 LIBS="-lsocket $LIBS"
38377 cat >conftest.$ac_ext <<_ACEOF
38378 /* confdefs.h. */
38379 _ACEOF
38380 cat confdefs.h >>conftest.$ac_ext
38381 cat >>conftest.$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38383
38384 /* Override any GCC internal prototype to avoid an error.
38385 Use char because int might match the return type of a GCC
38386 builtin and then its argument prototype would still apply. */
38387 #ifdef __cplusplus
38388 extern "C"
38389 #endif
38390 char inet_addr ();
38391 int
38392 main ()
38393 {
38394 return inet_addr ();
38395 ;
38396 return 0;
38397 }
38398 _ACEOF
38399 rm -f conftest.$ac_objext conftest$ac_exeext
38400 if { (ac_try="$ac_link"
38401 case "(($ac_try" in
38402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38403 *) ac_try_echo=$ac_try;;
38404 esac
38405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38406 (eval "$ac_link") 2>conftest.er1
38407 ac_status=$?
38408 grep -v '^ *+' conftest.er1 >conftest.err
38409 rm -f conftest.er1
38410 cat conftest.err >&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } && {
38413 test -z "$ac_c_werror_flag" ||
38414 test ! -s conftest.err
38415 } && test -s conftest$ac_exeext &&
38416 $as_test_x conftest$ac_exeext; then
38417 ac_cv_lib_socket_inet_addr=yes
38418 else
38419 echo "$as_me: failed program was:" >&5
38420 sed 's/^/| /' conftest.$ac_ext >&5
38421
38422 ac_cv_lib_socket_inet_addr=no
38423 fi
38424
38425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38426 conftest$ac_exeext conftest.$ac_ext
38427 LIBS=$ac_check_lib_save_LIBS
38428 fi
38429 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38430 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38431 if test $ac_cv_lib_socket_inet_addr = yes; then
38432 INET_LINK="socket"
38433
38434 fi
38435
38436
38437
38438 fi
38439
38440
38441
38442 fi
38443
38444
38445
38446 fi
38447 done
38448
38449
38450
38451 for ac_func in inet_aton
38452 do
38453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38454 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38456 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38457 echo $ECHO_N "(cached) $ECHO_C" >&6
38458 else
38459 cat >conftest.$ac_ext <<_ACEOF
38460 /* confdefs.h. */
38461 _ACEOF
38462 cat confdefs.h >>conftest.$ac_ext
38463 cat >>conftest.$ac_ext <<_ACEOF
38464 /* end confdefs.h. */
38465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38467 #define $ac_func innocuous_$ac_func
38468
38469 /* System header to define __stub macros and hopefully few prototypes,
38470 which can conflict with char $ac_func (); below.
38471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38472 <limits.h> exists even on freestanding compilers. */
38473
38474 #ifdef __STDC__
38475 # include <limits.h>
38476 #else
38477 # include <assert.h>
38478 #endif
38479
38480 #undef $ac_func
38481
38482 /* Override any GCC internal prototype to avoid an error.
38483 Use char because int might match the return type of a GCC
38484 builtin and then its argument prototype would still apply. */
38485 #ifdef __cplusplus
38486 extern "C"
38487 #endif
38488 char $ac_func ();
38489 /* The GNU C library defines this for functions which it implements
38490 to always fail with ENOSYS. Some functions are actually named
38491 something starting with __ and the normal name is an alias. */
38492 #if defined __stub_$ac_func || defined __stub___$ac_func
38493 choke me
38494 #endif
38495
38496 int
38497 main ()
38498 {
38499 return $ac_func ();
38500 ;
38501 return 0;
38502 }
38503 _ACEOF
38504 rm -f conftest.$ac_objext conftest$ac_exeext
38505 if { (ac_try="$ac_link"
38506 case "(($ac_try" in
38507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38508 *) ac_try_echo=$ac_try;;
38509 esac
38510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38511 (eval "$ac_link") 2>conftest.er1
38512 ac_status=$?
38513 grep -v '^ *+' conftest.er1 >conftest.err
38514 rm -f conftest.er1
38515 cat conftest.err >&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } && {
38518 test -z "$ac_c_werror_flag" ||
38519 test ! -s conftest.err
38520 } && test -s conftest$ac_exeext &&
38521 $as_test_x conftest$ac_exeext; then
38522 eval "$as_ac_var=yes"
38523 else
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.$ac_ext >&5
38526
38527 eval "$as_ac_var=no"
38528 fi
38529
38530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38531 conftest$ac_exeext conftest.$ac_ext
38532 fi
38533 ac_res=`eval echo '${'$as_ac_var'}'`
38534 { echo "$as_me:$LINENO: result: $ac_res" >&5
38535 echo "${ECHO_T}$ac_res" >&6; }
38536 if test `eval echo '${'$as_ac_var'}'` = yes; then
38537 cat >>confdefs.h <<_ACEOF
38538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38539 _ACEOF
38540 cat >>confdefs.h <<\_ACEOF
38541 #define HAVE_INET_ATON 1
38542 _ACEOF
38543
38544 else
38545
38546 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38547 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38548 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38549 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38550 echo $ECHO_N "(cached) $ECHO_C" >&6
38551 else
38552 ac_check_lib_save_LIBS=$LIBS
38553 LIBS="-l$INET_LINK $LIBS"
38554 cat >conftest.$ac_ext <<_ACEOF
38555 /* confdefs.h. */
38556 _ACEOF
38557 cat confdefs.h >>conftest.$ac_ext
38558 cat >>conftest.$ac_ext <<_ACEOF
38559 /* end confdefs.h. */
38560
38561 /* Override any GCC internal prototype to avoid an error.
38562 Use char because int might match the return type of a GCC
38563 builtin and then its argument prototype would still apply. */
38564 #ifdef __cplusplus
38565 extern "C"
38566 #endif
38567 char inet_aton ();
38568 int
38569 main ()
38570 {
38571 return inet_aton ();
38572 ;
38573 return 0;
38574 }
38575 _ACEOF
38576 rm -f conftest.$ac_objext conftest$ac_exeext
38577 if { (ac_try="$ac_link"
38578 case "(($ac_try" in
38579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38580 *) ac_try_echo=$ac_try;;
38581 esac
38582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38583 (eval "$ac_link") 2>conftest.er1
38584 ac_status=$?
38585 grep -v '^ *+' conftest.er1 >conftest.err
38586 rm -f conftest.er1
38587 cat conftest.err >&5
38588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38589 (exit $ac_status); } && {
38590 test -z "$ac_c_werror_flag" ||
38591 test ! -s conftest.err
38592 } && test -s conftest$ac_exeext &&
38593 $as_test_x conftest$ac_exeext; then
38594 eval "$as_ac_Lib=yes"
38595 else
38596 echo "$as_me: failed program was:" >&5
38597 sed 's/^/| /' conftest.$ac_ext >&5
38598
38599 eval "$as_ac_Lib=no"
38600 fi
38601
38602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38603 conftest$ac_exeext conftest.$ac_ext
38604 LIBS=$ac_check_lib_save_LIBS
38605 fi
38606 ac_res=`eval echo '${'$as_ac_Lib'}'`
38607 { echo "$as_me:$LINENO: result: $ac_res" >&5
38608 echo "${ECHO_T}$ac_res" >&6; }
38609 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38610 cat >>confdefs.h <<\_ACEOF
38611 #define HAVE_INET_ATON 1
38612 _ACEOF
38613
38614 fi
38615
38616
38617 fi
38618 done
38619
38620
38621 if test "x$INET_LINK" != "x"; then
38622 cat >>confdefs.h <<\_ACEOF
38623 #define HAVE_INET_ADDR 1
38624 _ACEOF
38625
38626 INET_LINK=" -l$INET_LINK"
38627 fi
38628
38629
38630 for wx_func in fdopen
38631 do
38632 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38633 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38634 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38635 echo $ECHO_N "(cached) $ECHO_C" >&6
38636 else
38637
38638 cat >conftest.$ac_ext <<_ACEOF
38639
38640 /* confdefs.h. */
38641 _ACEOF
38642 cat confdefs.h >>conftest.$ac_ext
38643 cat >>conftest.$ac_ext <<_ACEOF
38644 /* end confdefs.h. */
38645
38646
38647 $ac_includes_default
38648
38649 int
38650 main ()
38651 {
38652
38653 #ifndef $wx_func
38654 &$wx_func;
38655 #endif
38656
38657
38658 ;
38659 return 0;
38660 }
38661
38662 _ACEOF
38663 rm -f conftest.$ac_objext conftest$ac_exeext
38664 if { (ac_try="$ac_link"
38665 case "(($ac_try" in
38666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38667 *) ac_try_echo=$ac_try;;
38668 esac
38669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38670 (eval "$ac_link") 2>conftest.er1
38671 ac_status=$?
38672 grep -v '^ *+' conftest.er1 >conftest.err
38673 rm -f conftest.er1
38674 cat conftest.err >&5
38675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38676 (exit $ac_status); } && {
38677 test -z "$ac_c_werror_flag" ||
38678 test ! -s conftest.err
38679 } && test -s conftest$ac_exeext &&
38680 $as_test_x conftest$ac_exeext; then
38681 eval wx_cv_func_$wx_func=yes
38682 else
38683 echo "$as_me: failed program was:" >&5
38684 sed 's/^/| /' conftest.$ac_ext >&5
38685
38686 eval wx_cv_func_$wx_func=no
38687 fi
38688
38689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38690 conftest$ac_exeext conftest.$ac_ext
38691
38692 fi
38693 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38694 { echo "$as_me:$LINENO: result: $ac_res" >&5
38695 echo "${ECHO_T}$ac_res" >&6; }
38696
38697 if eval test \$wx_cv_func_$wx_func = yes
38698 then
38699 cat >>confdefs.h <<_ACEOF
38700 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38701 _ACEOF
38702
38703
38704 else
38705 :
38706
38707 fi
38708 done
38709
38710
38711 if test "$wxUSE_TARSTREAM" = "yes"; then
38712
38713 for wx_func in sysconf
38714 do
38715 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38716 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38717 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38718 echo $ECHO_N "(cached) $ECHO_C" >&6
38719 else
38720
38721 cat >conftest.$ac_ext <<_ACEOF
38722
38723 /* confdefs.h. */
38724 _ACEOF
38725 cat confdefs.h >>conftest.$ac_ext
38726 cat >>conftest.$ac_ext <<_ACEOF
38727 /* end confdefs.h. */
38728
38729
38730 $ac_includes_default
38731
38732 int
38733 main ()
38734 {
38735
38736 #ifndef $wx_func
38737 &$wx_func;
38738 #endif
38739
38740
38741 ;
38742 return 0;
38743 }
38744
38745 _ACEOF
38746 rm -f conftest.$ac_objext conftest$ac_exeext
38747 if { (ac_try="$ac_link"
38748 case "(($ac_try" in
38749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38750 *) ac_try_echo=$ac_try;;
38751 esac
38752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38753 (eval "$ac_link") 2>conftest.er1
38754 ac_status=$?
38755 grep -v '^ *+' conftest.er1 >conftest.err
38756 rm -f conftest.er1
38757 cat conftest.err >&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); } && {
38760 test -z "$ac_c_werror_flag" ||
38761 test ! -s conftest.err
38762 } && test -s conftest$ac_exeext &&
38763 $as_test_x conftest$ac_exeext; then
38764 eval wx_cv_func_$wx_func=yes
38765 else
38766 echo "$as_me: failed program was:" >&5
38767 sed 's/^/| /' conftest.$ac_ext >&5
38768
38769 eval wx_cv_func_$wx_func=no
38770 fi
38771
38772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38773 conftest$ac_exeext conftest.$ac_ext
38774
38775 fi
38776 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38777 { echo "$as_me:$LINENO: result: $ac_res" >&5
38778 echo "${ECHO_T}$ac_res" >&6; }
38779
38780 if eval test \$wx_cv_func_$wx_func = yes
38781 then
38782 cat >>confdefs.h <<_ACEOF
38783 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38784 _ACEOF
38785
38786
38787 else
38788 :
38789
38790 fi
38791 done
38792
38793
38794
38795 for wx_func in getpwuid_r
38796 do
38797 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38798 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38799 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38800 echo $ECHO_N "(cached) $ECHO_C" >&6
38801 else
38802
38803 cat >conftest.$ac_ext <<_ACEOF
38804
38805 /* confdefs.h. */
38806 _ACEOF
38807 cat confdefs.h >>conftest.$ac_ext
38808 cat >>conftest.$ac_ext <<_ACEOF
38809 /* end confdefs.h. */
38810
38811
38812 #define _REENTRANT
38813 #include <pwd.h>
38814
38815 $ac_includes_default
38816
38817 int
38818 main ()
38819 {
38820
38821 #ifndef $wx_func
38822 &$wx_func;
38823 #endif
38824
38825 struct passwd pw, *ppw;
38826 char buf[1024];
38827 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38828
38829
38830 ;
38831 return 0;
38832 }
38833
38834 _ACEOF
38835 rm -f conftest.$ac_objext conftest$ac_exeext
38836 if { (ac_try="$ac_link"
38837 case "(($ac_try" in
38838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38839 *) ac_try_echo=$ac_try;;
38840 esac
38841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38842 (eval "$ac_link") 2>conftest.er1
38843 ac_status=$?
38844 grep -v '^ *+' conftest.er1 >conftest.err
38845 rm -f conftest.er1
38846 cat conftest.err >&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } && {
38849 test -z "$ac_c_werror_flag" ||
38850 test ! -s conftest.err
38851 } && test -s conftest$ac_exeext &&
38852 $as_test_x conftest$ac_exeext; then
38853 eval wx_cv_func_$wx_func=yes
38854 else
38855 echo "$as_me: failed program was:" >&5
38856 sed 's/^/| /' conftest.$ac_ext >&5
38857
38858 eval wx_cv_func_$wx_func=no
38859 fi
38860
38861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38862 conftest$ac_exeext conftest.$ac_ext
38863
38864 fi
38865 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38866 { echo "$as_me:$LINENO: result: $ac_res" >&5
38867 echo "${ECHO_T}$ac_res" >&6; }
38868
38869 if eval test \$wx_cv_func_$wx_func = yes
38870 then
38871 cat >>confdefs.h <<_ACEOF
38872 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38873 _ACEOF
38874
38875
38876 else
38877 :
38878
38879 fi
38880 done
38881
38882
38883
38884 for wx_func in getgrgid_r
38885 do
38886 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38887 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38888 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38889 echo $ECHO_N "(cached) $ECHO_C" >&6
38890 else
38891
38892 cat >conftest.$ac_ext <<_ACEOF
38893
38894 /* confdefs.h. */
38895 _ACEOF
38896 cat confdefs.h >>conftest.$ac_ext
38897 cat >>conftest.$ac_ext <<_ACEOF
38898 /* end confdefs.h. */
38899
38900
38901 #define _REENTRANT
38902 #include <grp.h>
38903
38904 $ac_includes_default
38905
38906 int
38907 main ()
38908 {
38909
38910 #ifndef $wx_func
38911 &$wx_func;
38912 #endif
38913
38914 struct group grp, *pgrp;
38915 char buf[1024];
38916 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38917
38918
38919 ;
38920 return 0;
38921 }
38922
38923 _ACEOF
38924 rm -f conftest.$ac_objext conftest$ac_exeext
38925 if { (ac_try="$ac_link"
38926 case "(($ac_try" in
38927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38928 *) ac_try_echo=$ac_try;;
38929 esac
38930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38931 (eval "$ac_link") 2>conftest.er1
38932 ac_status=$?
38933 grep -v '^ *+' conftest.er1 >conftest.err
38934 rm -f conftest.er1
38935 cat conftest.err >&5
38936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38937 (exit $ac_status); } && {
38938 test -z "$ac_c_werror_flag" ||
38939 test ! -s conftest.err
38940 } && test -s conftest$ac_exeext &&
38941 $as_test_x conftest$ac_exeext; then
38942 eval wx_cv_func_$wx_func=yes
38943 else
38944 echo "$as_me: failed program was:" >&5
38945 sed 's/^/| /' conftest.$ac_ext >&5
38946
38947 eval wx_cv_func_$wx_func=no
38948 fi
38949
38950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38951 conftest$ac_exeext conftest.$ac_ext
38952
38953 fi
38954 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38955 { echo "$as_me:$LINENO: result: $ac_res" >&5
38956 echo "${ECHO_T}$ac_res" >&6; }
38957
38958 if eval test \$wx_cv_func_$wx_func = yes
38959 then
38960 cat >>confdefs.h <<_ACEOF
38961 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38962 _ACEOF
38963
38964
38965 else
38966 :
38967
38968 fi
38969 done
38970
38971 fi
38972
38973 fi
38974
38975
38976
38977 cat >confcache <<\_ACEOF
38978 # This file is a shell script that caches the results of configure
38979 # tests run on this system so they can be shared between configure
38980 # scripts and configure runs, see configure's option --config-cache.
38981 # It is not useful on other systems. If it contains results you don't
38982 # want to keep, you may remove or edit it.
38983 #
38984 # config.status only pays attention to the cache file if you give it
38985 # the --recheck option to rerun configure.
38986 #
38987 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38988 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38989 # following values.
38990
38991 _ACEOF
38992
38993 # The following way of writing the cache mishandles newlines in values,
38994 # but we know of no workaround that is simple, portable, and efficient.
38995 # So, we kill variables containing newlines.
38996 # Ultrix sh set writes to stderr and can't be redirected directly,
38997 # and sets the high bit in the cache file unless we assign to the vars.
38998 (
38999 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39000 eval ac_val=\$$ac_var
39001 case $ac_val in #(
39002 *${as_nl}*)
39003 case $ac_var in #(
39004 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39005 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39006 esac
39007 case $ac_var in #(
39008 _ | IFS | as_nl) ;; #(
39009 *) $as_unset $ac_var ;;
39010 esac ;;
39011 esac
39012 done
39013
39014 (set) 2>&1 |
39015 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39016 *${as_nl}ac_space=\ *)
39017 # `set' does not quote correctly, so add quotes (double-quote
39018 # substitution turns \\\\ into \\, and sed turns \\ into \).
39019 sed -n \
39020 "s/'/'\\\\''/g;
39021 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39022 ;; #(
39023 *)
39024 # `set' quotes correctly as required by POSIX, so do not add quotes.
39025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39026 ;;
39027 esac |
39028 sort
39029 ) |
39030 sed '
39031 /^ac_cv_env_/b end
39032 t clear
39033 :clear
39034 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39035 t end
39036 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39037 :end' >>confcache
39038 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39039 if test -w "$cache_file"; then
39040 test "x$cache_file" != "x/dev/null" &&
39041 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39042 echo "$as_me: updating cache $cache_file" >&6;}
39043 cat confcache >$cache_file
39044 else
39045 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39046 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39047 fi
39048 fi
39049 rm -f confcache
39050
39051
39052 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39053
39054
39055 THREADS_LINK=
39056 THREADS_CFLAGS=
39057
39058 if test "$wxUSE_THREADS" = "yes" ; then
39059 if test "$USE_BEOS" = 1; then
39060 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39061 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39062 wxUSE_THREADS="no"
39063 fi
39064 fi
39065
39066 if test "$wxUSE_THREADS" = "yes" ; then
39067
39068
39069 THREAD_OPTS="-pthread"
39070 if test "x$SUNCXX" = xyes; then
39071 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39072 fi
39073
39074 case "${host}" in
39075 *-*-solaris2* | *-*-sunos4* )
39076 if test "x$GCC" = "xyes"; then
39077 THREAD_OPTS="-pthreads $THREAD_OPTS"
39078 fi
39079 ;;
39080 *-*-freebsd*)
39081 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39082 ;;
39083 *-*-darwin* | *-*-cygwin* )
39084 THREAD_OPTS=""
39085 ;;
39086 *-*-aix*)
39087 THREAD_OPTS="pthreads"
39088 ;;
39089 *-hp-hpux* )
39090 if test "x$GCC" = "xyes"; then
39091 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39092 THREAD_OPTS=""
39093 else
39094 THREAD_OPTS="-mt"
39095 fi
39096 ;;
39097
39098 *-*-irix* )
39099 if test "x$GCC" = "xyes"; then
39100 THREAD_OPTS=""
39101 fi
39102 ;;
39103
39104 *-*-*UnixWare*)
39105 if test "x$GCC" != "xyes"; then
39106 THREAD_OPTS="-Ethread"
39107 fi
39108 ;;
39109 esac
39110
39111 THREAD_OPTS="$THREAD_OPTS pthread none"
39112
39113 THREADS_OK=no
39114 for flag in $THREAD_OPTS; do
39115 case $flag in
39116 none)
39117 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39118 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39119 ;;
39120
39121 -*)
39122 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39123 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39124 THREADS_CFLAGS="$flag"
39125 ;;
39126
39127 *)
39128 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39129 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39130 THREADS_LINK="-l$flag"
39131 ;;
39132 esac
39133
39134 save_LIBS="$LIBS"
39135 save_CFLAGS="$CFLAGS"
39136 LIBS="$THREADS_LINK $LIBS"
39137 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39138
39139 cat >conftest.$ac_ext <<_ACEOF
39140 /* confdefs.h. */
39141 _ACEOF
39142 cat confdefs.h >>conftest.$ac_ext
39143 cat >>conftest.$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39145 #include <pthread.h>
39146 int
39147 main ()
39148 {
39149 pthread_create(0,0,0,0);
39150 ;
39151 return 0;
39152 }
39153 _ACEOF
39154 rm -f conftest.$ac_objext conftest$ac_exeext
39155 if { (ac_try="$ac_link"
39156 case "(($ac_try" in
39157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39158 *) ac_try_echo=$ac_try;;
39159 esac
39160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39161 (eval "$ac_link") 2>conftest.er1
39162 ac_status=$?
39163 grep -v '^ *+' conftest.er1 >conftest.err
39164 rm -f conftest.er1
39165 cat conftest.err >&5
39166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39167 (exit $ac_status); } && {
39168 test -z "$ac_c_werror_flag" ||
39169 test ! -s conftest.err
39170 } && test -s conftest$ac_exeext &&
39171 $as_test_x conftest$ac_exeext; then
39172 THREADS_OK=yes
39173 else
39174 echo "$as_me: failed program was:" >&5
39175 sed 's/^/| /' conftest.$ac_ext >&5
39176
39177
39178 fi
39179
39180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39181 conftest$ac_exeext conftest.$ac_ext
39182
39183 LIBS="$save_LIBS"
39184 CFLAGS="$save_CFLAGS"
39185
39186 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39187 echo "${ECHO_T}$THREADS_OK" >&6; }
39188 if test "x$THREADS_OK" = "xyes"; then
39189 break;
39190 fi
39191
39192 THREADS_LINK=""
39193 THREADS_CFLAGS=""
39194 done
39195
39196 if test "x$THREADS_OK" != "xyes"; then
39197 wxUSE_THREADS=no
39198 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39199 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39200 else
39201 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39202 LIBS="$THREADS_LINK $LIBS"
39203
39204 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39205 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39206 flag=no
39207 case "${host}" in
39208 *-aix*)
39209 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39210 flag="-D_THREAD_SAFE"
39211 ;;
39212 *-freebsd*)
39213 flag="-D_THREAD_SAFE"
39214 ;;
39215 *-hp-hpux* )
39216 flag="-D_REENTRANT"
39217 if test "x$GCC" != "xyes"; then
39218 flag="$flag -D_RWSTD_MULTI_THREAD"
39219 fi
39220 ;;
39221 *solaris* | alpha*-osf*)
39222 flag="-D_REENTRANT"
39223 ;;
39224 esac
39225 { echo "$as_me:$LINENO: result: ${flag}" >&5
39226 echo "${ECHO_T}${flag}" >&6; }
39227 if test "x$flag" != xno; then
39228 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39229 fi
39230
39231 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39232 fi
39233 fi
39234
39235 if test "$wxUSE_THREADS" = "yes" ; then
39236
39237 for ac_func in thr_setconcurrency
39238 do
39239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39240 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39242 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39243 echo $ECHO_N "(cached) $ECHO_C" >&6
39244 else
39245 cat >conftest.$ac_ext <<_ACEOF
39246 /* confdefs.h. */
39247 _ACEOF
39248 cat confdefs.h >>conftest.$ac_ext
39249 cat >>conftest.$ac_ext <<_ACEOF
39250 /* end confdefs.h. */
39251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39253 #define $ac_func innocuous_$ac_func
39254
39255 /* System header to define __stub macros and hopefully few prototypes,
39256 which can conflict with char $ac_func (); below.
39257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39258 <limits.h> exists even on freestanding compilers. */
39259
39260 #ifdef __STDC__
39261 # include <limits.h>
39262 #else
39263 # include <assert.h>
39264 #endif
39265
39266 #undef $ac_func
39267
39268 /* Override any GCC internal prototype to avoid an error.
39269 Use char because int might match the return type of a GCC
39270 builtin and then its argument prototype would still apply. */
39271 #ifdef __cplusplus
39272 extern "C"
39273 #endif
39274 char $ac_func ();
39275 /* The GNU C library defines this for functions which it implements
39276 to always fail with ENOSYS. Some functions are actually named
39277 something starting with __ and the normal name is an alias. */
39278 #if defined __stub_$ac_func || defined __stub___$ac_func
39279 choke me
39280 #endif
39281
39282 int
39283 main ()
39284 {
39285 return $ac_func ();
39286 ;
39287 return 0;
39288 }
39289 _ACEOF
39290 rm -f conftest.$ac_objext conftest$ac_exeext
39291 if { (ac_try="$ac_link"
39292 case "(($ac_try" in
39293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39294 *) ac_try_echo=$ac_try;;
39295 esac
39296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39297 (eval "$ac_link") 2>conftest.er1
39298 ac_status=$?
39299 grep -v '^ *+' conftest.er1 >conftest.err
39300 rm -f conftest.er1
39301 cat conftest.err >&5
39302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39303 (exit $ac_status); } && {
39304 test -z "$ac_c_werror_flag" ||
39305 test ! -s conftest.err
39306 } && test -s conftest$ac_exeext &&
39307 $as_test_x conftest$ac_exeext; then
39308 eval "$as_ac_var=yes"
39309 else
39310 echo "$as_me: failed program was:" >&5
39311 sed 's/^/| /' conftest.$ac_ext >&5
39312
39313 eval "$as_ac_var=no"
39314 fi
39315
39316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39317 conftest$ac_exeext conftest.$ac_ext
39318 fi
39319 ac_res=`eval echo '${'$as_ac_var'}'`
39320 { echo "$as_me:$LINENO: result: $ac_res" >&5
39321 echo "${ECHO_T}$ac_res" >&6; }
39322 if test `eval echo '${'$as_ac_var'}'` = yes; then
39323 cat >>confdefs.h <<_ACEOF
39324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39325 _ACEOF
39326
39327 fi
39328 done
39329
39330
39331 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39332 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39333 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 else
39336
39337 ac_ext=cpp
39338 ac_cpp='$CXXCPP $CPPFLAGS'
39339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39342
39343 cat >conftest.$ac_ext <<_ACEOF
39344 /* confdefs.h. */
39345 _ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h. */
39349 #include <pthread.h>
39350 void ThreadCleanupFunc(void *p);
39351
39352 int
39353 main ()
39354 {
39355
39356 void *p;
39357 pthread_cleanup_push(ThreadCleanupFunc, p);
39358 pthread_cleanup_pop(0);
39359
39360 ;
39361 return 0;
39362 }
39363 _ACEOF
39364 rm -f conftest.$ac_objext
39365 if { (ac_try="$ac_compile"
39366 case "(($ac_try" in
39367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39368 *) ac_try_echo=$ac_try;;
39369 esac
39370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39371 (eval "$ac_compile") 2>conftest.er1
39372 ac_status=$?
39373 grep -v '^ *+' conftest.er1 >conftest.err
39374 rm -f conftest.er1
39375 cat conftest.err >&5
39376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377 (exit $ac_status); } && {
39378 test -z "$ac_cxx_werror_flag" ||
39379 test ! -s conftest.err
39380 } && test -s conftest.$ac_objext; then
39381
39382 wx_cv_func_pthread_cleanup=yes
39383
39384 else
39385 echo "$as_me: failed program was:" >&5
39386 sed 's/^/| /' conftest.$ac_ext >&5
39387
39388
39389 wx_cv_func_pthread_cleanup=no
39390
39391
39392 fi
39393
39394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39395 ac_ext=c
39396 ac_cpp='$CPP $CPPFLAGS'
39397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39400
39401
39402 fi
39403 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39404 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39405 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39406 cat >>confdefs.h <<\_ACEOF
39407 #define wxHAVE_PTHREAD_CLEANUP 1
39408 _ACEOF
39409
39410 fi
39411
39412
39413 for ac_header in sched.h
39414 do
39415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39419 echo $ECHO_N "(cached) $ECHO_C" >&6
39420 else
39421 cat >conftest.$ac_ext <<_ACEOF
39422 /* confdefs.h. */
39423 _ACEOF
39424 cat confdefs.h >>conftest.$ac_ext
39425 cat >>conftest.$ac_ext <<_ACEOF
39426 /* end confdefs.h. */
39427 $ac_includes_default
39428
39429 #include <$ac_header>
39430 _ACEOF
39431 rm -f conftest.$ac_objext
39432 if { (ac_try="$ac_compile"
39433 case "(($ac_try" in
39434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39435 *) ac_try_echo=$ac_try;;
39436 esac
39437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39438 (eval "$ac_compile") 2>conftest.er1
39439 ac_status=$?
39440 grep -v '^ *+' conftest.er1 >conftest.err
39441 rm -f conftest.er1
39442 cat conftest.err >&5
39443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39444 (exit $ac_status); } && {
39445 test -z "$ac_c_werror_flag" ||
39446 test ! -s conftest.err
39447 } && test -s conftest.$ac_objext; then
39448 eval "$as_ac_Header=yes"
39449 else
39450 echo "$as_me: failed program was:" >&5
39451 sed 's/^/| /' conftest.$ac_ext >&5
39452
39453 eval "$as_ac_Header=no"
39454 fi
39455
39456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39457 fi
39458 ac_res=`eval echo '${'$as_ac_Header'}'`
39459 { echo "$as_me:$LINENO: result: $ac_res" >&5
39460 echo "${ECHO_T}$ac_res" >&6; }
39461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39462 cat >>confdefs.h <<_ACEOF
39463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39464 _ACEOF
39465
39466 fi
39467
39468 done
39469
39470 if test "$ac_cv_header_sched_h" = "yes"; then
39471 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39472 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39473 if test "${ac_cv_func_sched_yield+set}" = set; then
39474 echo $ECHO_N "(cached) $ECHO_C" >&6
39475 else
39476 cat >conftest.$ac_ext <<_ACEOF
39477 /* confdefs.h. */
39478 _ACEOF
39479 cat confdefs.h >>conftest.$ac_ext
39480 cat >>conftest.$ac_ext <<_ACEOF
39481 /* end confdefs.h. */
39482 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39484 #define sched_yield innocuous_sched_yield
39485
39486 /* System header to define __stub macros and hopefully few prototypes,
39487 which can conflict with char sched_yield (); below.
39488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39489 <limits.h> exists even on freestanding compilers. */
39490
39491 #ifdef __STDC__
39492 # include <limits.h>
39493 #else
39494 # include <assert.h>
39495 #endif
39496
39497 #undef sched_yield
39498
39499 /* Override any GCC internal prototype to avoid an error.
39500 Use char because int might match the return type of a GCC
39501 builtin and then its argument prototype would still apply. */
39502 #ifdef __cplusplus
39503 extern "C"
39504 #endif
39505 char sched_yield ();
39506 /* The GNU C library defines this for functions which it implements
39507 to always fail with ENOSYS. Some functions are actually named
39508 something starting with __ and the normal name is an alias. */
39509 #if defined __stub_sched_yield || defined __stub___sched_yield
39510 choke me
39511 #endif
39512
39513 int
39514 main ()
39515 {
39516 return sched_yield ();
39517 ;
39518 return 0;
39519 }
39520 _ACEOF
39521 rm -f conftest.$ac_objext conftest$ac_exeext
39522 if { (ac_try="$ac_link"
39523 case "(($ac_try" in
39524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39525 *) ac_try_echo=$ac_try;;
39526 esac
39527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39528 (eval "$ac_link") 2>conftest.er1
39529 ac_status=$?
39530 grep -v '^ *+' conftest.er1 >conftest.err
39531 rm -f conftest.er1
39532 cat conftest.err >&5
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); } && {
39535 test -z "$ac_c_werror_flag" ||
39536 test ! -s conftest.err
39537 } && test -s conftest$ac_exeext &&
39538 $as_test_x conftest$ac_exeext; then
39539 ac_cv_func_sched_yield=yes
39540 else
39541 echo "$as_me: failed program was:" >&5
39542 sed 's/^/| /' conftest.$ac_ext >&5
39543
39544 ac_cv_func_sched_yield=no
39545 fi
39546
39547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39548 conftest$ac_exeext conftest.$ac_ext
39549 fi
39550 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39551 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39552 if test $ac_cv_func_sched_yield = yes; then
39553 cat >>confdefs.h <<\_ACEOF
39554 #define HAVE_SCHED_YIELD 1
39555 _ACEOF
39556
39557 else
39558
39559 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39560 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39561 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39562 echo $ECHO_N "(cached) $ECHO_C" >&6
39563 else
39564 ac_check_lib_save_LIBS=$LIBS
39565 LIBS="-lposix4 $LIBS"
39566 cat >conftest.$ac_ext <<_ACEOF
39567 /* confdefs.h. */
39568 _ACEOF
39569 cat confdefs.h >>conftest.$ac_ext
39570 cat >>conftest.$ac_ext <<_ACEOF
39571 /* end confdefs.h. */
39572
39573 /* Override any GCC internal prototype to avoid an error.
39574 Use char because int might match the return type of a GCC
39575 builtin and then its argument prototype would still apply. */
39576 #ifdef __cplusplus
39577 extern "C"
39578 #endif
39579 char sched_yield ();
39580 int
39581 main ()
39582 {
39583 return sched_yield ();
39584 ;
39585 return 0;
39586 }
39587 _ACEOF
39588 rm -f conftest.$ac_objext conftest$ac_exeext
39589 if { (ac_try="$ac_link"
39590 case "(($ac_try" in
39591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39592 *) ac_try_echo=$ac_try;;
39593 esac
39594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39595 (eval "$ac_link") 2>conftest.er1
39596 ac_status=$?
39597 grep -v '^ *+' conftest.er1 >conftest.err
39598 rm -f conftest.er1
39599 cat conftest.err >&5
39600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39601 (exit $ac_status); } && {
39602 test -z "$ac_c_werror_flag" ||
39603 test ! -s conftest.err
39604 } && test -s conftest$ac_exeext &&
39605 $as_test_x conftest$ac_exeext; then
39606 ac_cv_lib_posix4_sched_yield=yes
39607 else
39608 echo "$as_me: failed program was:" >&5
39609 sed 's/^/| /' conftest.$ac_ext >&5
39610
39611 ac_cv_lib_posix4_sched_yield=no
39612 fi
39613
39614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39615 conftest$ac_exeext conftest.$ac_ext
39616 LIBS=$ac_check_lib_save_LIBS
39617 fi
39618 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39619 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39620 if test $ac_cv_lib_posix4_sched_yield = yes; then
39621 cat >>confdefs.h <<\_ACEOF
39622 #define HAVE_SCHED_YIELD 1
39623 _ACEOF
39624 POSIX4_LINK=" -lposix4"
39625 else
39626 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39627 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39628
39629 fi
39630
39631
39632
39633 fi
39634
39635 fi
39636
39637 HAVE_PRIOR_FUNCS=0
39638 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39639 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39640 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39641 echo $ECHO_N "(cached) $ECHO_C" >&6
39642 else
39643 cat >conftest.$ac_ext <<_ACEOF
39644 /* confdefs.h. */
39645 _ACEOF
39646 cat confdefs.h >>conftest.$ac_ext
39647 cat >>conftest.$ac_ext <<_ACEOF
39648 /* end confdefs.h. */
39649 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39651 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39652
39653 /* System header to define __stub macros and hopefully few prototypes,
39654 which can conflict with char pthread_attr_getschedpolicy (); below.
39655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39656 <limits.h> exists even on freestanding compilers. */
39657
39658 #ifdef __STDC__
39659 # include <limits.h>
39660 #else
39661 # include <assert.h>
39662 #endif
39663
39664 #undef pthread_attr_getschedpolicy
39665
39666 /* Override any GCC internal prototype to avoid an error.
39667 Use char because int might match the return type of a GCC
39668 builtin and then its argument prototype would still apply. */
39669 #ifdef __cplusplus
39670 extern "C"
39671 #endif
39672 char pthread_attr_getschedpolicy ();
39673 /* The GNU C library defines this for functions which it implements
39674 to always fail with ENOSYS. Some functions are actually named
39675 something starting with __ and the normal name is an alias. */
39676 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39677 choke me
39678 #endif
39679
39680 int
39681 main ()
39682 {
39683 return pthread_attr_getschedpolicy ();
39684 ;
39685 return 0;
39686 }
39687 _ACEOF
39688 rm -f conftest.$ac_objext conftest$ac_exeext
39689 if { (ac_try="$ac_link"
39690 case "(($ac_try" in
39691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39692 *) ac_try_echo=$ac_try;;
39693 esac
39694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39695 (eval "$ac_link") 2>conftest.er1
39696 ac_status=$?
39697 grep -v '^ *+' conftest.er1 >conftest.err
39698 rm -f conftest.er1
39699 cat conftest.err >&5
39700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701 (exit $ac_status); } && {
39702 test -z "$ac_c_werror_flag" ||
39703 test ! -s conftest.err
39704 } && test -s conftest$ac_exeext &&
39705 $as_test_x conftest$ac_exeext; then
39706 ac_cv_func_pthread_attr_getschedpolicy=yes
39707 else
39708 echo "$as_me: failed program was:" >&5
39709 sed 's/^/| /' conftest.$ac_ext >&5
39710
39711 ac_cv_func_pthread_attr_getschedpolicy=no
39712 fi
39713
39714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39715 conftest$ac_exeext conftest.$ac_ext
39716 fi
39717 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39718 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39719 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39720 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39721 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39722 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39723 echo $ECHO_N "(cached) $ECHO_C" >&6
39724 else
39725 cat >conftest.$ac_ext <<_ACEOF
39726 /* confdefs.h. */
39727 _ACEOF
39728 cat confdefs.h >>conftest.$ac_ext
39729 cat >>conftest.$ac_ext <<_ACEOF
39730 /* end confdefs.h. */
39731 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39733 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39734
39735 /* System header to define __stub macros and hopefully few prototypes,
39736 which can conflict with char pthread_attr_setschedparam (); below.
39737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39738 <limits.h> exists even on freestanding compilers. */
39739
39740 #ifdef __STDC__
39741 # include <limits.h>
39742 #else
39743 # include <assert.h>
39744 #endif
39745
39746 #undef pthread_attr_setschedparam
39747
39748 /* Override any GCC internal prototype to avoid an error.
39749 Use char because int might match the return type of a GCC
39750 builtin and then its argument prototype would still apply. */
39751 #ifdef __cplusplus
39752 extern "C"
39753 #endif
39754 char pthread_attr_setschedparam ();
39755 /* The GNU C library defines this for functions which it implements
39756 to always fail with ENOSYS. Some functions are actually named
39757 something starting with __ and the normal name is an alias. */
39758 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39759 choke me
39760 #endif
39761
39762 int
39763 main ()
39764 {
39765 return pthread_attr_setschedparam ();
39766 ;
39767 return 0;
39768 }
39769 _ACEOF
39770 rm -f conftest.$ac_objext conftest$ac_exeext
39771 if { (ac_try="$ac_link"
39772 case "(($ac_try" in
39773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39774 *) ac_try_echo=$ac_try;;
39775 esac
39776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39777 (eval "$ac_link") 2>conftest.er1
39778 ac_status=$?
39779 grep -v '^ *+' conftest.er1 >conftest.err
39780 rm -f conftest.er1
39781 cat conftest.err >&5
39782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 (exit $ac_status); } && {
39784 test -z "$ac_c_werror_flag" ||
39785 test ! -s conftest.err
39786 } && test -s conftest$ac_exeext &&
39787 $as_test_x conftest$ac_exeext; then
39788 ac_cv_func_pthread_attr_setschedparam=yes
39789 else
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39792
39793 ac_cv_func_pthread_attr_setschedparam=no
39794 fi
39795
39796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39797 conftest$ac_exeext conftest.$ac_ext
39798 fi
39799 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39800 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39801 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39802 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39803 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39804 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39805 echo $ECHO_N "(cached) $ECHO_C" >&6
39806 else
39807 cat >conftest.$ac_ext <<_ACEOF
39808 /* confdefs.h. */
39809 _ACEOF
39810 cat confdefs.h >>conftest.$ac_ext
39811 cat >>conftest.$ac_ext <<_ACEOF
39812 /* end confdefs.h. */
39813 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39815 #define sched_get_priority_max innocuous_sched_get_priority_max
39816
39817 /* System header to define __stub macros and hopefully few prototypes,
39818 which can conflict with char sched_get_priority_max (); below.
39819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39820 <limits.h> exists even on freestanding compilers. */
39821
39822 #ifdef __STDC__
39823 # include <limits.h>
39824 #else
39825 # include <assert.h>
39826 #endif
39827
39828 #undef sched_get_priority_max
39829
39830 /* Override any GCC internal prototype to avoid an error.
39831 Use char because int might match the return type of a GCC
39832 builtin and then its argument prototype would still apply. */
39833 #ifdef __cplusplus
39834 extern "C"
39835 #endif
39836 char sched_get_priority_max ();
39837 /* The GNU C library defines this for functions which it implements
39838 to always fail with ENOSYS. Some functions are actually named
39839 something starting with __ and the normal name is an alias. */
39840 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39841 choke me
39842 #endif
39843
39844 int
39845 main ()
39846 {
39847 return sched_get_priority_max ();
39848 ;
39849 return 0;
39850 }
39851 _ACEOF
39852 rm -f conftest.$ac_objext conftest$ac_exeext
39853 if { (ac_try="$ac_link"
39854 case "(($ac_try" in
39855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39856 *) ac_try_echo=$ac_try;;
39857 esac
39858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39859 (eval "$ac_link") 2>conftest.er1
39860 ac_status=$?
39861 grep -v '^ *+' conftest.er1 >conftest.err
39862 rm -f conftest.er1
39863 cat conftest.err >&5
39864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39865 (exit $ac_status); } && {
39866 test -z "$ac_c_werror_flag" ||
39867 test ! -s conftest.err
39868 } && test -s conftest$ac_exeext &&
39869 $as_test_x conftest$ac_exeext; then
39870 ac_cv_func_sched_get_priority_max=yes
39871 else
39872 echo "$as_me: failed program was:" >&5
39873 sed 's/^/| /' conftest.$ac_ext >&5
39874
39875 ac_cv_func_sched_get_priority_max=no
39876 fi
39877
39878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39879 conftest$ac_exeext conftest.$ac_ext
39880 fi
39881 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39882 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39883 if test $ac_cv_func_sched_get_priority_max = yes; then
39884 HAVE_PRIOR_FUNCS=1
39885 else
39886 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39887 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39888 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39889 echo $ECHO_N "(cached) $ECHO_C" >&6
39890 else
39891 ac_check_lib_save_LIBS=$LIBS
39892 LIBS="-lposix4 $LIBS"
39893 cat >conftest.$ac_ext <<_ACEOF
39894 /* confdefs.h. */
39895 _ACEOF
39896 cat confdefs.h >>conftest.$ac_ext
39897 cat >>conftest.$ac_ext <<_ACEOF
39898 /* end confdefs.h. */
39899
39900 /* Override any GCC internal prototype to avoid an error.
39901 Use char because int might match the return type of a GCC
39902 builtin and then its argument prototype would still apply. */
39903 #ifdef __cplusplus
39904 extern "C"
39905 #endif
39906 char sched_get_priority_max ();
39907 int
39908 main ()
39909 {
39910 return sched_get_priority_max ();
39911 ;
39912 return 0;
39913 }
39914 _ACEOF
39915 rm -f conftest.$ac_objext conftest$ac_exeext
39916 if { (ac_try="$ac_link"
39917 case "(($ac_try" in
39918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39919 *) ac_try_echo=$ac_try;;
39920 esac
39921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39922 (eval "$ac_link") 2>conftest.er1
39923 ac_status=$?
39924 grep -v '^ *+' conftest.er1 >conftest.err
39925 rm -f conftest.er1
39926 cat conftest.err >&5
39927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39928 (exit $ac_status); } && {
39929 test -z "$ac_c_werror_flag" ||
39930 test ! -s conftest.err
39931 } && test -s conftest$ac_exeext &&
39932 $as_test_x conftest$ac_exeext; then
39933 ac_cv_lib_posix4_sched_get_priority_max=yes
39934 else
39935 echo "$as_me: failed program was:" >&5
39936 sed 's/^/| /' conftest.$ac_ext >&5
39937
39938 ac_cv_lib_posix4_sched_get_priority_max=no
39939 fi
39940
39941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39942 conftest$ac_exeext conftest.$ac_ext
39943 LIBS=$ac_check_lib_save_LIBS
39944 fi
39945 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39946 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39947 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39948
39949 HAVE_PRIOR_FUNCS=1
39950 POSIX4_LINK=" -lposix4"
39951
39952 fi
39953
39954
39955 fi
39956
39957
39958 fi
39959
39960
39961 fi
39962
39963
39964 if test "$HAVE_PRIOR_FUNCS" = 1; then
39965 cat >>confdefs.h <<\_ACEOF
39966 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39967 _ACEOF
39968
39969 else
39970 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39971 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39972 fi
39973
39974 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39975 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39976 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39977 echo $ECHO_N "(cached) $ECHO_C" >&6
39978 else
39979 cat >conftest.$ac_ext <<_ACEOF
39980 /* confdefs.h. */
39981 _ACEOF
39982 cat confdefs.h >>conftest.$ac_ext
39983 cat >>conftest.$ac_ext <<_ACEOF
39984 /* end confdefs.h. */
39985 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39987 #define pthread_cancel innocuous_pthread_cancel
39988
39989 /* System header to define __stub macros and hopefully few prototypes,
39990 which can conflict with char pthread_cancel (); below.
39991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39992 <limits.h> exists even on freestanding compilers. */
39993
39994 #ifdef __STDC__
39995 # include <limits.h>
39996 #else
39997 # include <assert.h>
39998 #endif
39999
40000 #undef pthread_cancel
40001
40002 /* Override any GCC internal prototype to avoid an error.
40003 Use char because int might match the return type of a GCC
40004 builtin and then its argument prototype would still apply. */
40005 #ifdef __cplusplus
40006 extern "C"
40007 #endif
40008 char pthread_cancel ();
40009 /* The GNU C library defines this for functions which it implements
40010 to always fail with ENOSYS. Some functions are actually named
40011 something starting with __ and the normal name is an alias. */
40012 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40013 choke me
40014 #endif
40015
40016 int
40017 main ()
40018 {
40019 return pthread_cancel ();
40020 ;
40021 return 0;
40022 }
40023 _ACEOF
40024 rm -f conftest.$ac_objext conftest$ac_exeext
40025 if { (ac_try="$ac_link"
40026 case "(($ac_try" in
40027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40028 *) ac_try_echo=$ac_try;;
40029 esac
40030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40031 (eval "$ac_link") 2>conftest.er1
40032 ac_status=$?
40033 grep -v '^ *+' conftest.er1 >conftest.err
40034 rm -f conftest.er1
40035 cat conftest.err >&5
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); } && {
40038 test -z "$ac_c_werror_flag" ||
40039 test ! -s conftest.err
40040 } && test -s conftest$ac_exeext &&
40041 $as_test_x conftest$ac_exeext; then
40042 ac_cv_func_pthread_cancel=yes
40043 else
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40046
40047 ac_cv_func_pthread_cancel=no
40048 fi
40049
40050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40051 conftest$ac_exeext conftest.$ac_ext
40052 fi
40053 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40054 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40055 if test $ac_cv_func_pthread_cancel = yes; then
40056 cat >>confdefs.h <<\_ACEOF
40057 #define HAVE_PTHREAD_CANCEL 1
40058 _ACEOF
40059
40060 else
40061 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40062 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40063 fi
40064
40065
40066 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40067 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40068 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40069 echo $ECHO_N "(cached) $ECHO_C" >&6
40070 else
40071 cat >conftest.$ac_ext <<_ACEOF
40072 /* confdefs.h. */
40073 _ACEOF
40074 cat confdefs.h >>conftest.$ac_ext
40075 cat >>conftest.$ac_ext <<_ACEOF
40076 /* end confdefs.h. */
40077 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40079 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40080
40081 /* System header to define __stub macros and hopefully few prototypes,
40082 which can conflict with char pthread_mutex_timedlock (); below.
40083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40084 <limits.h> exists even on freestanding compilers. */
40085
40086 #ifdef __STDC__
40087 # include <limits.h>
40088 #else
40089 # include <assert.h>
40090 #endif
40091
40092 #undef pthread_mutex_timedlock
40093
40094 /* Override any GCC internal prototype to avoid an error.
40095 Use char because int might match the return type of a GCC
40096 builtin and then its argument prototype would still apply. */
40097 #ifdef __cplusplus
40098 extern "C"
40099 #endif
40100 char pthread_mutex_timedlock ();
40101 /* The GNU C library defines this for functions which it implements
40102 to always fail with ENOSYS. Some functions are actually named
40103 something starting with __ and the normal name is an alias. */
40104 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40105 choke me
40106 #endif
40107
40108 int
40109 main ()
40110 {
40111 return pthread_mutex_timedlock ();
40112 ;
40113 return 0;
40114 }
40115 _ACEOF
40116 rm -f conftest.$ac_objext conftest$ac_exeext
40117 if { (ac_try="$ac_link"
40118 case "(($ac_try" in
40119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40120 *) ac_try_echo=$ac_try;;
40121 esac
40122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40123 (eval "$ac_link") 2>conftest.er1
40124 ac_status=$?
40125 grep -v '^ *+' conftest.er1 >conftest.err
40126 rm -f conftest.er1
40127 cat conftest.err >&5
40128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129 (exit $ac_status); } && {
40130 test -z "$ac_c_werror_flag" ||
40131 test ! -s conftest.err
40132 } && test -s conftest$ac_exeext &&
40133 $as_test_x conftest$ac_exeext; then
40134 ac_cv_func_pthread_mutex_timedlock=yes
40135 else
40136 echo "$as_me: failed program was:" >&5
40137 sed 's/^/| /' conftest.$ac_ext >&5
40138
40139 ac_cv_func_pthread_mutex_timedlock=no
40140 fi
40141
40142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40143 conftest$ac_exeext conftest.$ac_ext
40144 fi
40145 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40146 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40147 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40148 cat >>confdefs.h <<\_ACEOF
40149 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40150 _ACEOF
40151
40152 else
40153 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40154 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40155 fi
40156
40157
40158 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40159 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40160 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40161 echo $ECHO_N "(cached) $ECHO_C" >&6
40162 else
40163 cat >conftest.$ac_ext <<_ACEOF
40164 /* confdefs.h. */
40165 _ACEOF
40166 cat confdefs.h >>conftest.$ac_ext
40167 cat >>conftest.$ac_ext <<_ACEOF
40168 /* end confdefs.h. */
40169 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40171 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40172
40173 /* System header to define __stub macros and hopefully few prototypes,
40174 which can conflict with char pthread_attr_setstacksize (); below.
40175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40176 <limits.h> exists even on freestanding compilers. */
40177
40178 #ifdef __STDC__
40179 # include <limits.h>
40180 #else
40181 # include <assert.h>
40182 #endif
40183
40184 #undef pthread_attr_setstacksize
40185
40186 /* Override any GCC internal prototype to avoid an error.
40187 Use char because int might match the return type of a GCC
40188 builtin and then its argument prototype would still apply. */
40189 #ifdef __cplusplus
40190 extern "C"
40191 #endif
40192 char pthread_attr_setstacksize ();
40193 /* The GNU C library defines this for functions which it implements
40194 to always fail with ENOSYS. Some functions are actually named
40195 something starting with __ and the normal name is an alias. */
40196 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40197 choke me
40198 #endif
40199
40200 int
40201 main ()
40202 {
40203 return pthread_attr_setstacksize ();
40204 ;
40205 return 0;
40206 }
40207 _ACEOF
40208 rm -f conftest.$ac_objext conftest$ac_exeext
40209 if { (ac_try="$ac_link"
40210 case "(($ac_try" in
40211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40212 *) ac_try_echo=$ac_try;;
40213 esac
40214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40215 (eval "$ac_link") 2>conftest.er1
40216 ac_status=$?
40217 grep -v '^ *+' conftest.er1 >conftest.err
40218 rm -f conftest.er1
40219 cat conftest.err >&5
40220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221 (exit $ac_status); } && {
40222 test -z "$ac_c_werror_flag" ||
40223 test ! -s conftest.err
40224 } && test -s conftest$ac_exeext &&
40225 $as_test_x conftest$ac_exeext; then
40226 ac_cv_func_pthread_attr_setstacksize=yes
40227 else
40228 echo "$as_me: failed program was:" >&5
40229 sed 's/^/| /' conftest.$ac_ext >&5
40230
40231 ac_cv_func_pthread_attr_setstacksize=no
40232 fi
40233
40234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40235 conftest$ac_exeext conftest.$ac_ext
40236 fi
40237 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40238 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40239 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40240 cat >>confdefs.h <<\_ACEOF
40241 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40242 _ACEOF
40243
40244 fi
40245
40246
40247
40248 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40249 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40250 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40251 echo $ECHO_N "(cached) $ECHO_C" >&6
40252 else
40253
40254 cat >conftest.$ac_ext <<_ACEOF
40255 /* confdefs.h. */
40256 _ACEOF
40257 cat confdefs.h >>conftest.$ac_ext
40258 cat >>conftest.$ac_ext <<_ACEOF
40259 /* end confdefs.h. */
40260 #include <pthread.h>
40261 int
40262 main ()
40263 {
40264
40265 pthread_mutexattr_t attr;
40266 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40267
40268 ;
40269 return 0;
40270 }
40271 _ACEOF
40272 rm -f conftest.$ac_objext
40273 if { (ac_try="$ac_compile"
40274 case "(($ac_try" in
40275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40276 *) ac_try_echo=$ac_try;;
40277 esac
40278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40279 (eval "$ac_compile") 2>conftest.er1
40280 ac_status=$?
40281 grep -v '^ *+' conftest.er1 >conftest.err
40282 rm -f conftest.er1
40283 cat conftest.err >&5
40284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40285 (exit $ac_status); } && {
40286 test -z "$ac_c_werror_flag" ||
40287 test ! -s conftest.err
40288 } && test -s conftest.$ac_objext; then
40289 wx_cv_type_pthread_mutexattr_t=yes
40290 else
40291 echo "$as_me: failed program was:" >&5
40292 sed 's/^/| /' conftest.$ac_ext >&5
40293
40294 wx_cv_type_pthread_mutexattr_t=no
40295
40296 fi
40297
40298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40299
40300 fi
40301 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40302 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40303
40304 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40305 cat >>confdefs.h <<\_ACEOF
40306 #define HAVE_PTHREAD_MUTEXATTR_T 1
40307 _ACEOF
40308
40309
40310 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40311 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40312 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40313 echo $ECHO_N "(cached) $ECHO_C" >&6
40314 else
40315
40316 cat >conftest.$ac_ext <<_ACEOF
40317 /* confdefs.h. */
40318 _ACEOF
40319 cat confdefs.h >>conftest.$ac_ext
40320 cat >>conftest.$ac_ext <<_ACEOF
40321 /* end confdefs.h. */
40322 #include <pthread.h>
40323 int
40324 main ()
40325 {
40326
40327 pthread_mutexattr_t attr;
40328 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40329
40330 ;
40331 return 0;
40332 }
40333 _ACEOF
40334 rm -f conftest.$ac_objext
40335 if { (ac_try="$ac_compile"
40336 case "(($ac_try" in
40337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40338 *) ac_try_echo=$ac_try;;
40339 esac
40340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40341 (eval "$ac_compile") 2>conftest.er1
40342 ac_status=$?
40343 grep -v '^ *+' conftest.er1 >conftest.err
40344 rm -f conftest.er1
40345 cat conftest.err >&5
40346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40347 (exit $ac_status); } && {
40348 test -z "$ac_c_werror_flag" ||
40349 test ! -s conftest.err
40350 } && test -s conftest.$ac_objext; then
40351 wx_cv_func_pthread_mutexattr_settype_decl=yes
40352 else
40353 echo "$as_me: failed program was:" >&5
40354 sed 's/^/| /' conftest.$ac_ext >&5
40355
40356 wx_cv_func_pthread_mutexattr_settype_decl=no
40357
40358 fi
40359
40360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40361
40362 fi
40363 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40364 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40365 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40366 cat >>confdefs.h <<\_ACEOF
40367 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40368 _ACEOF
40369
40370 fi
40371 else
40372 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40373 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40374 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40375 echo $ECHO_N "(cached) $ECHO_C" >&6
40376 else
40377
40378 cat >conftest.$ac_ext <<_ACEOF
40379 /* confdefs.h. */
40380 _ACEOF
40381 cat confdefs.h >>conftest.$ac_ext
40382 cat >>conftest.$ac_ext <<_ACEOF
40383 /* end confdefs.h. */
40384 #include <pthread.h>
40385 int
40386 main ()
40387 {
40388
40389 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40390
40391 ;
40392 return 0;
40393 }
40394 _ACEOF
40395 rm -f conftest.$ac_objext
40396 if { (ac_try="$ac_compile"
40397 case "(($ac_try" in
40398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40399 *) ac_try_echo=$ac_try;;
40400 esac
40401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40402 (eval "$ac_compile") 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } && {
40409 test -z "$ac_c_werror_flag" ||
40410 test ! -s conftest.err
40411 } && test -s conftest.$ac_objext; then
40412
40413 wx_cv_type_pthread_rec_mutex_init=yes
40414
40415 else
40416 echo "$as_me: failed program was:" >&5
40417 sed 's/^/| /' conftest.$ac_ext >&5
40418
40419
40420 wx_cv_type_pthread_rec_mutex_init=no
40421
40422
40423 fi
40424
40425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40426
40427 fi
40428 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40429 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40430 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40431 cat >>confdefs.h <<\_ACEOF
40432 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40433 _ACEOF
40434
40435 else
40436 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40437 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40438 fi
40439 fi
40440
40441 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40442 if test "$USE_NETBSD" = 1; then
40443 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40444 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40445 wxUSE_COMPILER_TLS=no
40446 else
40447 wxUSE_COMPILER_TLS=yes
40448 fi
40449 fi
40450
40451 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40452 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40453 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40454 if test "${wx_cv_cc___thread+set}" = set; then
40455 echo $ECHO_N "(cached) $ECHO_C" >&6
40456 else
40457
40458 cat >conftest.$ac_ext <<_ACEOF
40459 /* confdefs.h. */
40460 _ACEOF
40461 cat confdefs.h >>conftest.$ac_ext
40462 cat >>conftest.$ac_ext <<_ACEOF
40463 /* end confdefs.h. */
40464 #include <pthread.h>
40465 int
40466 main ()
40467 {
40468
40469 static __thread int n = 0;
40470 static __thread int *p = 0;
40471
40472 ;
40473 return 0;
40474 }
40475 _ACEOF
40476 rm -f conftest.$ac_objext
40477 if { (ac_try="$ac_compile"
40478 case "(($ac_try" in
40479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40480 *) ac_try_echo=$ac_try;;
40481 esac
40482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40483 (eval "$ac_compile") 2>conftest.er1
40484 ac_status=$?
40485 grep -v '^ *+' conftest.er1 >conftest.err
40486 rm -f conftest.er1
40487 cat conftest.err >&5
40488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40489 (exit $ac_status); } && {
40490 test -z "$ac_c_werror_flag" ||
40491 test ! -s conftest.err
40492 } && test -s conftest.$ac_objext; then
40493 wx_cv_cc___thread=yes
40494 else
40495 echo "$as_me: failed program was:" >&5
40496 sed 's/^/| /' conftest.$ac_ext >&5
40497
40498 wx_cv_cc___thread=no
40499
40500 fi
40501
40502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40503
40504
40505 fi
40506 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40507 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40508
40509 if test "$wx_cv_cc___thread" = "yes"; then
40510
40511 GXX_VERSION=""
40512
40513
40514
40515 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40516 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40517
40518 if test "x$GCC" = "xyes" ; then
40519
40520 if test -z "" ; then
40521
40522 ax_gcc_option_test="int main()
40523 {
40524 return 0;
40525 }"
40526
40527 else
40528
40529 ax_gcc_option_test=""
40530
40531 fi
40532
40533
40534 # Dump the test program to file
40535 cat <<EOF > conftest.c
40536 $ax_gcc_option_test
40537 EOF
40538
40539 # Dump back the file to the log, useful for debugging purposes
40540 { ac_try='cat conftest.c 1>&5'
40541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40542 (eval $ac_try) 2>&5
40543 ac_status=$?
40544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40545 (exit $ac_status); }; }
40546
40547 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40549 (eval $ac_try) 2>&5
40550 ac_status=$?
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); }; } ; then
40553
40554 { echo "$as_me:$LINENO: result: yes" >&5
40555 echo "${ECHO_T}yes" >&6; }
40556
40557 ax_gcc_version_option=yes
40558
40559
40560 else
40561
40562 { echo "$as_me:$LINENO: result: no" >&5
40563 echo "${ECHO_T}no" >&6; }
40564
40565 ax_gcc_version_option=no
40566
40567
40568 fi
40569
40570
40571 else
40572
40573 { echo "$as_me:$LINENO: result: no gcc available" >&5
40574 echo "${ECHO_T}no gcc available" >&6; }
40575
40576 fi
40577
40578
40579 if test "x$GXX" = "xyes"; then
40580
40581 if test "x$ax_gxx_version_option" != "no"; then
40582
40583 { echo "$as_me:$LINENO: checking gxx version" >&5
40584 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40585 if test "${ax_cv_gxx_version+set}" = set; then
40586 echo $ECHO_N "(cached) $ECHO_C" >&6
40587 else
40588
40589 ax_cv_gxx_version="`$CXX -dumpversion`"
40590 if test "x$ax_cv_gxx_version" = "x"; then
40591
40592 ax_cv_gxx_version=""
40593
40594 fi
40595
40596
40597 fi
40598 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40599 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40600 GXX_VERSION=$ax_cv_gxx_version
40601
40602 fi
40603
40604
40605 fi
40606
40607
40608
40609 if test -n "$ax_cv_gxx_version"; then
40610 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40611 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40612 case "$ax_cv_gxx_version" in
40613 1.* | 2.* | 3.* )
40614 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40615 echo "${ECHO_T}no, it's broken" >&6; }
40616 wx_cv_cc___thread=no
40617 ;;
40618 *)
40619 { echo "$as_me:$LINENO: result: yes, it works" >&5
40620 echo "${ECHO_T}yes, it works" >&6; }
40621 ;;
40622 esac
40623 fi
40624 fi
40625
40626 if test "$wx_cv_cc___thread" = "yes"; then
40627 cat >>confdefs.h <<\_ACEOF
40628 #define HAVE___THREAD_KEYWORD 1
40629 _ACEOF
40630
40631 fi
40632 fi
40633 fi
40634
40635 else
40636 if test "$wxUSE_THREADS" = "yes" ; then
40637 case "${host}" in
40638 x86_64-*-mingw32* )
40639 ;;
40640 *-*-mingw32* )
40641 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40642 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40643 if test "${wx_cv_cflags_mthread+set}" = set; then
40644 echo $ECHO_N "(cached) $ECHO_C" >&6
40645 else
40646
40647 CFLAGS_OLD="$CFLAGS"
40648 CFLAGS="-mthreads $CFLAGS"
40649 cat >conftest.$ac_ext <<_ACEOF
40650 /* confdefs.h. */
40651 _ACEOF
40652 cat confdefs.h >>conftest.$ac_ext
40653 cat >>conftest.$ac_ext <<_ACEOF
40654 /* end confdefs.h. */
40655
40656 int
40657 main ()
40658 {
40659
40660 ;
40661 return 0;
40662 }
40663 _ACEOF
40664 rm -f conftest.$ac_objext
40665 if { (ac_try="$ac_compile"
40666 case "(($ac_try" in
40667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40668 *) ac_try_echo=$ac_try;;
40669 esac
40670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40671 (eval "$ac_compile") 2>conftest.er1
40672 ac_status=$?
40673 grep -v '^ *+' conftest.er1 >conftest.err
40674 rm -f conftest.er1
40675 cat conftest.err >&5
40676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40677 (exit $ac_status); } && {
40678 test -z "$ac_c_werror_flag" ||
40679 test ! -s conftest.err
40680 } && test -s conftest.$ac_objext; then
40681 wx_cv_cflags_mthread=yes
40682 else
40683 echo "$as_me: failed program was:" >&5
40684 sed 's/^/| /' conftest.$ac_ext >&5
40685
40686 wx_cv_cflags_mthread=no
40687
40688 fi
40689
40690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40691
40692
40693 fi
40694 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40695 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40696
40697 if test "$wx_cv_cflags_mthread" = "yes"; then
40698 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40699 LDFLAGS="$LDFLAGS -mthreads"
40700 else
40701 CFLAGS="$CFLAGS_OLD"
40702 fi
40703 ;;
40704 *-pc-os2*emx )
40705 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40706 LDFLAGS="$LDFLAGS -Zmt"
40707 ;;
40708 esac
40709 fi
40710 fi
40711
40712 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40713 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40714 if test "${ac_cv_func_localtime_r+set}" = set; then
40715 echo $ECHO_N "(cached) $ECHO_C" >&6
40716 else
40717 cat >conftest.$ac_ext <<_ACEOF
40718 /* confdefs.h. */
40719 _ACEOF
40720 cat confdefs.h >>conftest.$ac_ext
40721 cat >>conftest.$ac_ext <<_ACEOF
40722 /* end confdefs.h. */
40723 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40725 #define localtime_r innocuous_localtime_r
40726
40727 /* System header to define __stub macros and hopefully few prototypes,
40728 which can conflict with char localtime_r (); below.
40729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40730 <limits.h> exists even on freestanding compilers. */
40731
40732 #ifdef __STDC__
40733 # include <limits.h>
40734 #else
40735 # include <assert.h>
40736 #endif
40737
40738 #undef localtime_r
40739
40740 /* Override any GCC internal prototype to avoid an error.
40741 Use char because int might match the return type of a GCC
40742 builtin and then its argument prototype would still apply. */
40743 #ifdef __cplusplus
40744 extern "C"
40745 #endif
40746 char localtime_r ();
40747 /* The GNU C library defines this for functions which it implements
40748 to always fail with ENOSYS. Some functions are actually named
40749 something starting with __ and the normal name is an alias. */
40750 #if defined __stub_localtime_r || defined __stub___localtime_r
40751 choke me
40752 #endif
40753
40754 int
40755 main ()
40756 {
40757 return localtime_r ();
40758 ;
40759 return 0;
40760 }
40761 _ACEOF
40762 rm -f conftest.$ac_objext conftest$ac_exeext
40763 if { (ac_try="$ac_link"
40764 case "(($ac_try" in
40765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40766 *) ac_try_echo=$ac_try;;
40767 esac
40768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40769 (eval "$ac_link") 2>conftest.er1
40770 ac_status=$?
40771 grep -v '^ *+' conftest.er1 >conftest.err
40772 rm -f conftest.er1
40773 cat conftest.err >&5
40774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40775 (exit $ac_status); } && {
40776 test -z "$ac_c_werror_flag" ||
40777 test ! -s conftest.err
40778 } && test -s conftest$ac_exeext &&
40779 $as_test_x conftest$ac_exeext; then
40780 ac_cv_func_localtime_r=yes
40781 else
40782 echo "$as_me: failed program was:" >&5
40783 sed 's/^/| /' conftest.$ac_ext >&5
40784
40785 ac_cv_func_localtime_r=no
40786 fi
40787
40788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40789 conftest$ac_exeext conftest.$ac_ext
40790 fi
40791 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40792 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40793 if test $ac_cv_func_localtime_r = yes; then
40794 cat >>confdefs.h <<\_ACEOF
40795 #define HAVE_LOCALTIME_R 1
40796 _ACEOF
40797
40798 fi
40799
40800 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40801 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40802 if test "${ac_cv_func_gmtime_r+set}" = set; then
40803 echo $ECHO_N "(cached) $ECHO_C" >&6
40804 else
40805 cat >conftest.$ac_ext <<_ACEOF
40806 /* confdefs.h. */
40807 _ACEOF
40808 cat confdefs.h >>conftest.$ac_ext
40809 cat >>conftest.$ac_ext <<_ACEOF
40810 /* end confdefs.h. */
40811 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40813 #define gmtime_r innocuous_gmtime_r
40814
40815 /* System header to define __stub macros and hopefully few prototypes,
40816 which can conflict with char gmtime_r (); below.
40817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40818 <limits.h> exists even on freestanding compilers. */
40819
40820 #ifdef __STDC__
40821 # include <limits.h>
40822 #else
40823 # include <assert.h>
40824 #endif
40825
40826 #undef gmtime_r
40827
40828 /* Override any GCC internal prototype to avoid an error.
40829 Use char because int might match the return type of a GCC
40830 builtin and then its argument prototype would still apply. */
40831 #ifdef __cplusplus
40832 extern "C"
40833 #endif
40834 char gmtime_r ();
40835 /* The GNU C library defines this for functions which it implements
40836 to always fail with ENOSYS. Some functions are actually named
40837 something starting with __ and the normal name is an alias. */
40838 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40839 choke me
40840 #endif
40841
40842 int
40843 main ()
40844 {
40845 return gmtime_r ();
40846 ;
40847 return 0;
40848 }
40849 _ACEOF
40850 rm -f conftest.$ac_objext conftest$ac_exeext
40851 if { (ac_try="$ac_link"
40852 case "(($ac_try" in
40853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40854 *) ac_try_echo=$ac_try;;
40855 esac
40856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40857 (eval "$ac_link") 2>conftest.er1
40858 ac_status=$?
40859 grep -v '^ *+' conftest.er1 >conftest.err
40860 rm -f conftest.er1
40861 cat conftest.err >&5
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); } && {
40864 test -z "$ac_c_werror_flag" ||
40865 test ! -s conftest.err
40866 } && test -s conftest$ac_exeext &&
40867 $as_test_x conftest$ac_exeext; then
40868 ac_cv_func_gmtime_r=yes
40869 else
40870 echo "$as_me: failed program was:" >&5
40871 sed 's/^/| /' conftest.$ac_ext >&5
40872
40873 ac_cv_func_gmtime_r=no
40874 fi
40875
40876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40877 conftest$ac_exeext conftest.$ac_ext
40878 fi
40879 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40880 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40881 if test $ac_cv_func_gmtime_r = yes; then
40882 cat >>confdefs.h <<\_ACEOF
40883 #define HAVE_GMTIME_R 1
40884 _ACEOF
40885
40886 fi
40887
40888
40889
40890
40891 ac_ext=c
40892 ac_cpp='$CPP $CPPFLAGS'
40893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40896
40897 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40898 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40899
40900 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40901 echo $ECHO_N "(cached) $ECHO_C" >&6
40902 else
40903
40904
40905 ################################################################
40906
40907 ac_cv_func_which_gethostbyname_r=unknown
40908
40909 #
40910 # ONE ARGUMENT (sanity check)
40911 #
40912
40913 # This should fail, as there is no variant of gethostbyname_r() that takes
40914 # a single argument. If it actually compiles, then we can assume that
40915 # netdb.h is not declaring the function, and the compiler is thereby
40916 # assuming an implicit prototype. In which case, we're out of luck.
40917 #
40918 cat >conftest.$ac_ext <<_ACEOF
40919 /* confdefs.h. */
40920 _ACEOF
40921 cat confdefs.h >>conftest.$ac_ext
40922 cat >>conftest.$ac_ext <<_ACEOF
40923 /* end confdefs.h. */
40924 #include <netdb.h>
40925 int
40926 main ()
40927 {
40928
40929 char *name = "www.gnu.org";
40930 (void)gethostbyname_r(name) /* ; */
40931
40932 ;
40933 return 0;
40934 }
40935 _ACEOF
40936 rm -f conftest.$ac_objext
40937 if { (ac_try="$ac_compile"
40938 case "(($ac_try" in
40939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40940 *) ac_try_echo=$ac_try;;
40941 esac
40942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40943 (eval "$ac_compile") 2>conftest.er1
40944 ac_status=$?
40945 grep -v '^ *+' conftest.er1 >conftest.err
40946 rm -f conftest.er1
40947 cat conftest.err >&5
40948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40949 (exit $ac_status); } && {
40950 test -z "$ac_c_werror_flag" ||
40951 test ! -s conftest.err
40952 } && test -s conftest.$ac_objext; then
40953 ac_cv_func_which_gethostbyname_r=no
40954 else
40955 echo "$as_me: failed program was:" >&5
40956 sed 's/^/| /' conftest.$ac_ext >&5
40957
40958
40959 fi
40960
40961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40962
40963 #
40964 # SIX ARGUMENTS
40965 # (e.g. Linux)
40966 #
40967
40968 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40969
40970 cat >conftest.$ac_ext <<_ACEOF
40971 /* confdefs.h. */
40972 _ACEOF
40973 cat confdefs.h >>conftest.$ac_ext
40974 cat >>conftest.$ac_ext <<_ACEOF
40975 /* end confdefs.h. */
40976 #include <netdb.h>
40977 int
40978 main ()
40979 {
40980
40981 char *name = "www.gnu.org";
40982 struct hostent ret, *retp;
40983 char buf[1024];
40984 int buflen = 1024;
40985 int my_h_errno;
40986 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40987
40988 ;
40989 return 0;
40990 }
40991 _ACEOF
40992 rm -f conftest.$ac_objext
40993 if { (ac_try="$ac_compile"
40994 case "(($ac_try" in
40995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40996 *) ac_try_echo=$ac_try;;
40997 esac
40998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40999 (eval "$ac_compile") 2>conftest.er1
41000 ac_status=$?
41001 grep -v '^ *+' conftest.er1 >conftest.err
41002 rm -f conftest.er1
41003 cat conftest.err >&5
41004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41005 (exit $ac_status); } && {
41006 test -z "$ac_c_werror_flag" ||
41007 test ! -s conftest.err
41008 } && test -s conftest.$ac_objext; then
41009 ac_cv_func_which_gethostbyname_r=six
41010 else
41011 echo "$as_me: failed program was:" >&5
41012 sed 's/^/| /' conftest.$ac_ext >&5
41013
41014
41015 fi
41016
41017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41018
41019 fi
41020
41021 #
41022 # FIVE ARGUMENTS
41023 # (e.g. Solaris)
41024 #
41025
41026 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
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 = "www.gnu.org";
41040 struct hostent ret;
41041 char buf[1024];
41042 int buflen = 1024;
41043 int my_h_errno;
41044 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
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_c_werror_flag" ||
41065 test ! -s conftest.err
41066 } && test -s conftest.$ac_objext; then
41067 ac_cv_func_which_gethostbyname_r=five
41068 else
41069 echo "$as_me: failed program was:" >&5
41070 sed 's/^/| /' conftest.$ac_ext >&5
41071
41072
41073 fi
41074
41075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41076
41077 fi
41078
41079 #
41080 # THREE ARGUMENTS
41081 # (e.g. AIX, HP-UX, Tru64)
41082 #
41083
41084 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41085
41086 cat >conftest.$ac_ext <<_ACEOF
41087 /* confdefs.h. */
41088 _ACEOF
41089 cat confdefs.h >>conftest.$ac_ext
41090 cat >>conftest.$ac_ext <<_ACEOF
41091 /* end confdefs.h. */
41092 #include <netdb.h>
41093 int
41094 main ()
41095 {
41096
41097 char *name = "www.gnu.org";
41098 struct hostent ret;
41099 struct hostent_data data;
41100 (void)gethostbyname_r(name, &ret, &data) /* ; */
41101
41102 ;
41103 return 0;
41104 }
41105 _ACEOF
41106 rm -f conftest.$ac_objext
41107 if { (ac_try="$ac_compile"
41108 case "(($ac_try" in
41109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41110 *) ac_try_echo=$ac_try;;
41111 esac
41112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41113 (eval "$ac_compile") 2>conftest.er1
41114 ac_status=$?
41115 grep -v '^ *+' conftest.er1 >conftest.err
41116 rm -f conftest.er1
41117 cat conftest.err >&5
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); } && {
41120 test -z "$ac_c_werror_flag" ||
41121 test ! -s conftest.err
41122 } && test -s conftest.$ac_objext; then
41123 ac_cv_func_which_gethostbyname_r=three
41124 else
41125 echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.$ac_ext >&5
41127
41128
41129 fi
41130
41131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41132
41133 fi
41134
41135 ################################################################
41136
41137
41138 fi
41139
41140 case "$ac_cv_func_which_gethostbyname_r" in
41141 three)
41142 { echo "$as_me:$LINENO: result: three" >&5
41143 echo "${ECHO_T}three" >&6; }
41144 cat >>confdefs.h <<\_ACEOF
41145 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41146 _ACEOF
41147
41148 ;;
41149
41150 five)
41151 { echo "$as_me:$LINENO: result: five" >&5
41152 echo "${ECHO_T}five" >&6; }
41153 cat >>confdefs.h <<\_ACEOF
41154 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41155 _ACEOF
41156
41157 ;;
41158
41159 six)
41160 { echo "$as_me:$LINENO: result: six" >&5
41161 echo "${ECHO_T}six" >&6; }
41162 cat >>confdefs.h <<\_ACEOF
41163 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41164 _ACEOF
41165
41166 ;;
41167
41168 no)
41169 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41170 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41171 ;;
41172
41173 unknown)
41174 { echo "$as_me:$LINENO: result: can't tell" >&5
41175 echo "${ECHO_T}can't tell" >&6; }
41176 ;;
41177
41178 *)
41179 { { echo "$as_me:$LINENO: error: internal error" >&5
41180 echo "$as_me: error: internal error" >&2;}
41181 { (exit 1); exit 1; }; }
41182 ;;
41183 esac
41184
41185 ac_ext=c
41186 ac_cpp='$CPP $CPPFLAGS'
41187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41190
41191
41192
41193 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41194 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41195 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41196 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41197 if test "${ac_cv_func_gethostbyname+set}" = set; then
41198 echo $ECHO_N "(cached) $ECHO_C" >&6
41199 else
41200 cat >conftest.$ac_ext <<_ACEOF
41201 /* confdefs.h. */
41202 _ACEOF
41203 cat confdefs.h >>conftest.$ac_ext
41204 cat >>conftest.$ac_ext <<_ACEOF
41205 /* end confdefs.h. */
41206 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41208 #define gethostbyname innocuous_gethostbyname
41209
41210 /* System header to define __stub macros and hopefully few prototypes,
41211 which can conflict with char gethostbyname (); below.
41212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41213 <limits.h> exists even on freestanding compilers. */
41214
41215 #ifdef __STDC__
41216 # include <limits.h>
41217 #else
41218 # include <assert.h>
41219 #endif
41220
41221 #undef gethostbyname
41222
41223 /* Override any GCC internal prototype to avoid an error.
41224 Use char because int might match the return type of a GCC
41225 builtin and then its argument prototype would still apply. */
41226 #ifdef __cplusplus
41227 extern "C"
41228 #endif
41229 char gethostbyname ();
41230 /* The GNU C library defines this for functions which it implements
41231 to always fail with ENOSYS. Some functions are actually named
41232 something starting with __ and the normal name is an alias. */
41233 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41234 choke me
41235 #endif
41236
41237 int
41238 main ()
41239 {
41240 return gethostbyname ();
41241 ;
41242 return 0;
41243 }
41244 _ACEOF
41245 rm -f conftest.$ac_objext conftest$ac_exeext
41246 if { (ac_try="$ac_link"
41247 case "(($ac_try" in
41248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41249 *) ac_try_echo=$ac_try;;
41250 esac
41251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41252 (eval "$ac_link") 2>conftest.er1
41253 ac_status=$?
41254 grep -v '^ *+' conftest.er1 >conftest.err
41255 rm -f conftest.er1
41256 cat conftest.err >&5
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); } && {
41259 test -z "$ac_c_werror_flag" ||
41260 test ! -s conftest.err
41261 } && test -s conftest$ac_exeext &&
41262 $as_test_x conftest$ac_exeext; then
41263 ac_cv_func_gethostbyname=yes
41264 else
41265 echo "$as_me: failed program was:" >&5
41266 sed 's/^/| /' conftest.$ac_ext >&5
41267
41268 ac_cv_func_gethostbyname=no
41269 fi
41270
41271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41272 conftest$ac_exeext conftest.$ac_ext
41273 fi
41274 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41275 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41276 if test $ac_cv_func_gethostbyname = yes; then
41277 cat >>confdefs.h <<\_ACEOF
41278 #define HAVE_GETHOSTBYNAME 1
41279 _ACEOF
41280
41281 fi
41282
41283 fi
41284
41285 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41286 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41287 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41288 echo $ECHO_N "(cached) $ECHO_C" >&6
41289 else
41290
41291 ac_ext=cpp
41292 ac_cpp='$CXXCPP $CPPFLAGS'
41293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41296
41297
41298 cat >conftest.$ac_ext <<_ACEOF
41299 /* confdefs.h. */
41300 _ACEOF
41301 cat confdefs.h >>conftest.$ac_ext
41302 cat >>conftest.$ac_ext <<_ACEOF
41303 /* end confdefs.h. */
41304 #include <netdb.h>
41305 int
41306 main ()
41307 {
41308
41309 char *name;
41310 char *proto;
41311 struct servent *se, *res;
41312 char buffer[2048];
41313 int buflen = 2048;
41314 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41315
41316 ;
41317 return 0;
41318 }
41319 _ACEOF
41320 rm -f conftest.$ac_objext
41321 if { (ac_try="$ac_compile"
41322 case "(($ac_try" in
41323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41324 *) ac_try_echo=$ac_try;;
41325 esac
41326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41327 (eval "$ac_compile") 2>conftest.er1
41328 ac_status=$?
41329 grep -v '^ *+' conftest.er1 >conftest.err
41330 rm -f conftest.er1
41331 cat conftest.err >&5
41332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333 (exit $ac_status); } && {
41334 test -z "$ac_cxx_werror_flag" ||
41335 test ! -s conftest.err
41336 } && test -s conftest.$ac_objext; then
41337 ac_cv_func_which_getservbyname_r=six
41338 else
41339 echo "$as_me: failed program was:" >&5
41340 sed 's/^/| /' conftest.$ac_ext >&5
41341
41342
41343 cat >conftest.$ac_ext <<_ACEOF
41344 /* confdefs.h. */
41345 _ACEOF
41346 cat confdefs.h >>conftest.$ac_ext
41347 cat >>conftest.$ac_ext <<_ACEOF
41348 /* end confdefs.h. */
41349 #include <netdb.h>
41350 int
41351 main ()
41352 {
41353
41354 char *name;
41355 char *proto;
41356 struct servent *se;
41357 char buffer[2048];
41358 int buflen = 2048;
41359 (void) getservbyname_r(name, proto, se, buffer, buflen)
41360
41361 ;
41362 return 0;
41363 }
41364 _ACEOF
41365 rm -f conftest.$ac_objext
41366 if { (ac_try="$ac_compile"
41367 case "(($ac_try" in
41368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41369 *) ac_try_echo=$ac_try;;
41370 esac
41371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41372 (eval "$ac_compile") 2>conftest.er1
41373 ac_status=$?
41374 grep -v '^ *+' conftest.er1 >conftest.err
41375 rm -f conftest.er1
41376 cat conftest.err >&5
41377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41378 (exit $ac_status); } && {
41379 test -z "$ac_cxx_werror_flag" ||
41380 test ! -s conftest.err
41381 } && test -s conftest.$ac_objext; then
41382 ac_cv_func_which_getservbyname_r=five
41383 else
41384 echo "$as_me: failed program was:" >&5
41385 sed 's/^/| /' conftest.$ac_ext >&5
41386
41387
41388 cat >conftest.$ac_ext <<_ACEOF
41389 /* confdefs.h. */
41390 _ACEOF
41391 cat confdefs.h >>conftest.$ac_ext
41392 cat >>conftest.$ac_ext <<_ACEOF
41393 /* end confdefs.h. */
41394 #include <netdb.h>
41395 int
41396 main ()
41397 {
41398
41399 char *name;
41400 char *proto;
41401 struct servent *se;
41402 struct servent_data data;
41403 (void) getservbyname_r(name, proto, se, &data);
41404
41405 ;
41406 return 0;
41407 }
41408 _ACEOF
41409 rm -f conftest.$ac_objext
41410 if { (ac_try="$ac_compile"
41411 case "(($ac_try" in
41412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41413 *) ac_try_echo=$ac_try;;
41414 esac
41415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41416 (eval "$ac_compile") 2>conftest.er1
41417 ac_status=$?
41418 grep -v '^ *+' conftest.er1 >conftest.err
41419 rm -f conftest.er1
41420 cat conftest.err >&5
41421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422 (exit $ac_status); } && {
41423 test -z "$ac_cxx_werror_flag" ||
41424 test ! -s conftest.err
41425 } && test -s conftest.$ac_objext; then
41426 ac_cv_func_which_getservbyname_r=four
41427 else
41428 echo "$as_me: failed program was:" >&5
41429 sed 's/^/| /' conftest.$ac_ext >&5
41430
41431 ac_cv_func_which_getservbyname_r=no
41432
41433 fi
41434
41435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41436
41437
41438 fi
41439
41440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41441
41442
41443 fi
41444
41445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41446 ac_ext=c
41447 ac_cpp='$CPP $CPPFLAGS'
41448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41451
41452
41453
41454 fi
41455 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41456 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41457
41458 if test $ac_cv_func_which_getservbyname_r = six; then
41459 cat >>confdefs.h <<\_ACEOF
41460 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41461 _ACEOF
41462
41463 elif test $ac_cv_func_which_getservbyname_r = five; then
41464 cat >>confdefs.h <<\_ACEOF
41465 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41466 _ACEOF
41467
41468 elif test $ac_cv_func_which_getservbyname_r = four; then
41469 cat >>confdefs.h <<\_ACEOF
41470 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41471 _ACEOF
41472
41473 fi
41474
41475
41476 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41477 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41478
41479 for ac_func in getservbyname
41480 do
41481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41482 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41484 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41485 echo $ECHO_N "(cached) $ECHO_C" >&6
41486 else
41487 cat >conftest.$ac_ext <<_ACEOF
41488 /* confdefs.h. */
41489 _ACEOF
41490 cat confdefs.h >>conftest.$ac_ext
41491 cat >>conftest.$ac_ext <<_ACEOF
41492 /* end confdefs.h. */
41493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41495 #define $ac_func innocuous_$ac_func
41496
41497 /* System header to define __stub macros and hopefully few prototypes,
41498 which can conflict with char $ac_func (); below.
41499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41500 <limits.h> exists even on freestanding compilers. */
41501
41502 #ifdef __STDC__
41503 # include <limits.h>
41504 #else
41505 # include <assert.h>
41506 #endif
41507
41508 #undef $ac_func
41509
41510 /* Override any GCC internal prototype to avoid an error.
41511 Use char because int might match the return type of a GCC
41512 builtin and then its argument prototype would still apply. */
41513 #ifdef __cplusplus
41514 extern "C"
41515 #endif
41516 char $ac_func ();
41517 /* The GNU C library defines this for functions which it implements
41518 to always fail with ENOSYS. Some functions are actually named
41519 something starting with __ and the normal name is an alias. */
41520 #if defined __stub_$ac_func || defined __stub___$ac_func
41521 choke me
41522 #endif
41523
41524 int
41525 main ()
41526 {
41527 return $ac_func ();
41528 ;
41529 return 0;
41530 }
41531 _ACEOF
41532 rm -f conftest.$ac_objext conftest$ac_exeext
41533 if { (ac_try="$ac_link"
41534 case "(($ac_try" in
41535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41536 *) ac_try_echo=$ac_try;;
41537 esac
41538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41539 (eval "$ac_link") 2>conftest.er1
41540 ac_status=$?
41541 grep -v '^ *+' conftest.er1 >conftest.err
41542 rm -f conftest.er1
41543 cat conftest.err >&5
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); } && {
41546 test -z "$ac_c_werror_flag" ||
41547 test ! -s conftest.err
41548 } && test -s conftest$ac_exeext &&
41549 $as_test_x conftest$ac_exeext; then
41550 eval "$as_ac_var=yes"
41551 else
41552 echo "$as_me: failed program was:" >&5
41553 sed 's/^/| /' conftest.$ac_ext >&5
41554
41555 eval "$as_ac_var=no"
41556 fi
41557
41558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41559 conftest$ac_exeext conftest.$ac_ext
41560 fi
41561 ac_res=`eval echo '${'$as_ac_var'}'`
41562 { echo "$as_me:$LINENO: result: $ac_res" >&5
41563 echo "${ECHO_T}$ac_res" >&6; }
41564 if test `eval echo '${'$as_ac_var'}'` = yes; then
41565 cat >>confdefs.h <<_ACEOF
41566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41567 _ACEOF
41568 cat >>confdefs.h <<\_ACEOF
41569 #define HAVE_GETSERVBYNAME 1
41570 _ACEOF
41571
41572 fi
41573 done
41574
41575 fi
41576
41577 if test "$wxUSE_THREADS" = "yes"; then
41578 cat >>confdefs.h <<\_ACEOF
41579 #define wxUSE_THREADS 1
41580 _ACEOF
41581
41582
41583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41584 else
41585 if test "$wx_cv_func_strtok_r" = "yes"; then
41586 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41587 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41588 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41589 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41590 { echo "$as_me:$LINENO: result: yes" >&5
41591 echo "${ECHO_T}yes" >&6; }
41592 else
41593 { echo "$as_me:$LINENO: result: no" >&5
41594 echo "${ECHO_T}no" >&6; }
41595 fi
41596 fi
41597 fi
41598
41599 if test "$WXGTK2" = 1 ; then
41600 cat >>confdefs.h <<_ACEOF
41601 #define __WXGTK20__ $WXGTK2
41602 _ACEOF
41603
41604 WXGTK12=1
41605 fi
41606
41607 if test "$WXGTK12" = 1 ; then
41608 cat >>confdefs.h <<_ACEOF
41609 #define __WXGTK12__ $WXGTK12
41610 _ACEOF
41611
41612 fi
41613
41614 if test "$WXGTK127" = 1 ; then
41615 cat >>confdefs.h <<_ACEOF
41616 #define __WXGTK127__ $WXGTK127
41617 _ACEOF
41618
41619 fi
41620
41621 if test "$WXGPE" = 1 ; then
41622 cat >>confdefs.h <<_ACEOF
41623 #define __WXGPE__ $WXGPE
41624 _ACEOF
41625
41626 fi
41627
41628 DEBUG_CFLAGS=
41629 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41630 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41631 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41632 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41633 DEBUG_CFLAGS="-g"
41634 fi
41635
41636 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41637 wxUSE_DEBUG_INFO=yes
41638 if test "$GCC" = yes; then
41639 DEBUG_CFLAGS="-ggdb"
41640 fi
41641 fi
41642
41643 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41644 if test "$wxUSE_GTK" = 1 ; then
41645 if test "x$wxGTK_VERSION" = "x1" ; then
41646 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41647 fi
41648 fi
41649 fi
41650
41651 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41652 cat >>confdefs.h <<\_ACEOF
41653 #define wxUSE_MEMORY_TRACING 1
41654 _ACEOF
41655
41656 cat >>confdefs.h <<\_ACEOF
41657 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41658 _ACEOF
41659
41660 cat >>confdefs.h <<\_ACEOF
41661 #define wxUSE_DEBUG_NEW_ALWAYS 1
41662 _ACEOF
41663
41664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41665 fi
41666
41667 if test "$wxUSE_DMALLOC" = "yes" ; then
41668 DMALLOC_LIBS="-ldmallocthcxx"
41669 fi
41670
41671 PROFILE_FLAGS=
41672 if test "$wxUSE_PROFILE" = "yes" ; then
41673 PROFILE_FLAGS=" -pg"
41674 fi
41675
41676 if test "$GCC" = "yes" ; then
41677 if test "$wxUSE_NO_RTTI" = "yes" ; then
41678 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41679 fi
41680 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41681 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41682 fi
41683 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41684 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41685 fi
41686
41687 case "${host}" in
41688 powerpc*-*-aix* )
41689 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41690 ;;
41691 *-hppa* )
41692 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41693 ;;
41694 esac
41695 fi
41696
41697 OPTIMISE_CFLAGS=
41698 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41699 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41700 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41701 else
41702 if test "$wxUSE_OPTIMISE" = "no" ; then
41703 if test "$GCC" = yes ; then
41704 OPTIMISE_CFLAGS="-O0"
41705 fi
41706 else
41707 if test "$GCC" = yes ; then
41708 case "${host}" in
41709 *-pc-os2_emx | *-pc-os2-emx )
41710 OPTIMISE_CFLAGS="-O2"
41711 ;;
41712 *)
41713 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41714 ;;
41715 esac
41716 else
41717 OPTIMISE_CFLAGS="-O"
41718 fi
41719 fi
41720 fi
41721
41722
41723 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41724 cat >>confdefs.h <<\_ACEOF
41725 #define WXWIN_COMPATIBILITY_2_6 1
41726 _ACEOF
41727
41728
41729 WXWIN_COMPATIBILITY_2_8="yes"
41730 fi
41731
41732 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41733 cat >>confdefs.h <<\_ACEOF
41734 #define WXWIN_COMPATIBILITY_2_8 1
41735 _ACEOF
41736
41737 fi
41738
41739
41740 if test "$wxUSE_GUI" = "yes"; then
41741 cat >>confdefs.h <<\_ACEOF
41742 #define wxUSE_GUI 1
41743 _ACEOF
41744
41745
41746 fi
41747
41748
41749 if test "$wxUSE_UNIX" = "yes"; then
41750 cat >>confdefs.h <<\_ACEOF
41751 #define wxUSE_UNIX 1
41752 _ACEOF
41753
41754 fi
41755
41756
41757 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41758
41759 HAVE_DL_FUNCS=0
41760 HAVE_SHL_FUNCS=0
41761 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41762 if test "$USE_DOS" = 1; then
41763 HAVE_DL_FUNCS=0
41764 else
41765
41766 for ac_func in dlopen
41767 do
41768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41772 echo $ECHO_N "(cached) $ECHO_C" >&6
41773 else
41774 cat >conftest.$ac_ext <<_ACEOF
41775 /* confdefs.h. */
41776 _ACEOF
41777 cat confdefs.h >>conftest.$ac_ext
41778 cat >>conftest.$ac_ext <<_ACEOF
41779 /* end confdefs.h. */
41780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41782 #define $ac_func innocuous_$ac_func
41783
41784 /* System header to define __stub macros and hopefully few prototypes,
41785 which can conflict with char $ac_func (); below.
41786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41787 <limits.h> exists even on freestanding compilers. */
41788
41789 #ifdef __STDC__
41790 # include <limits.h>
41791 #else
41792 # include <assert.h>
41793 #endif
41794
41795 #undef $ac_func
41796
41797 /* Override any GCC internal prototype to avoid an error.
41798 Use char because int might match the return type of a GCC
41799 builtin and then its argument prototype would still apply. */
41800 #ifdef __cplusplus
41801 extern "C"
41802 #endif
41803 char $ac_func ();
41804 /* The GNU C library defines this for functions which it implements
41805 to always fail with ENOSYS. Some functions are actually named
41806 something starting with __ and the normal name is an alias. */
41807 #if defined __stub_$ac_func || defined __stub___$ac_func
41808 choke me
41809 #endif
41810
41811 int
41812 main ()
41813 {
41814 return $ac_func ();
41815 ;
41816 return 0;
41817 }
41818 _ACEOF
41819 rm -f conftest.$ac_objext conftest$ac_exeext
41820 if { (ac_try="$ac_link"
41821 case "(($ac_try" in
41822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41823 *) ac_try_echo=$ac_try;;
41824 esac
41825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41826 (eval "$ac_link") 2>conftest.er1
41827 ac_status=$?
41828 grep -v '^ *+' conftest.er1 >conftest.err
41829 rm -f conftest.er1
41830 cat conftest.err >&5
41831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41832 (exit $ac_status); } && {
41833 test -z "$ac_c_werror_flag" ||
41834 test ! -s conftest.err
41835 } && test -s conftest$ac_exeext &&
41836 $as_test_x conftest$ac_exeext; then
41837 eval "$as_ac_var=yes"
41838 else
41839 echo "$as_me: failed program was:" >&5
41840 sed 's/^/| /' conftest.$ac_ext >&5
41841
41842 eval "$as_ac_var=no"
41843 fi
41844
41845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41846 conftest$ac_exeext conftest.$ac_ext
41847 fi
41848 ac_res=`eval echo '${'$as_ac_var'}'`
41849 { echo "$as_me:$LINENO: result: $ac_res" >&5
41850 echo "${ECHO_T}$ac_res" >&6; }
41851 if test `eval echo '${'$as_ac_var'}'` = yes; then
41852 cat >>confdefs.h <<_ACEOF
41853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41854 _ACEOF
41855
41856 cat >>confdefs.h <<\_ACEOF
41857 #define HAVE_DLOPEN 1
41858 _ACEOF
41859
41860 HAVE_DL_FUNCS=1
41861
41862 else
41863
41864 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41865 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41866 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41867 echo $ECHO_N "(cached) $ECHO_C" >&6
41868 else
41869 ac_check_lib_save_LIBS=$LIBS
41870 LIBS="-ldl $LIBS"
41871 cat >conftest.$ac_ext <<_ACEOF
41872 /* confdefs.h. */
41873 _ACEOF
41874 cat confdefs.h >>conftest.$ac_ext
41875 cat >>conftest.$ac_ext <<_ACEOF
41876 /* end confdefs.h. */
41877
41878 /* Override any GCC internal prototype to avoid an error.
41879 Use char because int might match the return type of a GCC
41880 builtin and then its argument prototype would still apply. */
41881 #ifdef __cplusplus
41882 extern "C"
41883 #endif
41884 char dlopen ();
41885 int
41886 main ()
41887 {
41888 return dlopen ();
41889 ;
41890 return 0;
41891 }
41892 _ACEOF
41893 rm -f conftest.$ac_objext conftest$ac_exeext
41894 if { (ac_try="$ac_link"
41895 case "(($ac_try" in
41896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41897 *) ac_try_echo=$ac_try;;
41898 esac
41899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41900 (eval "$ac_link") 2>conftest.er1
41901 ac_status=$?
41902 grep -v '^ *+' conftest.er1 >conftest.err
41903 rm -f conftest.er1
41904 cat conftest.err >&5
41905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41906 (exit $ac_status); } && {
41907 test -z "$ac_c_werror_flag" ||
41908 test ! -s conftest.err
41909 } && test -s conftest$ac_exeext &&
41910 $as_test_x conftest$ac_exeext; then
41911 ac_cv_lib_dl_dlopen=yes
41912 else
41913 echo "$as_me: failed program was:" >&5
41914 sed 's/^/| /' conftest.$ac_ext >&5
41915
41916 ac_cv_lib_dl_dlopen=no
41917 fi
41918
41919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41920 conftest$ac_exeext conftest.$ac_ext
41921 LIBS=$ac_check_lib_save_LIBS
41922 fi
41923 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41924 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41925 if test $ac_cv_lib_dl_dlopen = yes; then
41926
41927 cat >>confdefs.h <<\_ACEOF
41928 #define HAVE_DLOPEN 1
41929 _ACEOF
41930
41931 HAVE_DL_FUNCS=1
41932 DL_LINK=" -ldl$DL_LINK"
41933
41934 else
41935
41936
41937 for ac_func in shl_load
41938 do
41939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41943 echo $ECHO_N "(cached) $ECHO_C" >&6
41944 else
41945 cat >conftest.$ac_ext <<_ACEOF
41946 /* confdefs.h. */
41947 _ACEOF
41948 cat confdefs.h >>conftest.$ac_ext
41949 cat >>conftest.$ac_ext <<_ACEOF
41950 /* end confdefs.h. */
41951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41953 #define $ac_func innocuous_$ac_func
41954
41955 /* System header to define __stub macros and hopefully few prototypes,
41956 which can conflict with char $ac_func (); below.
41957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41958 <limits.h> exists even on freestanding compilers. */
41959
41960 #ifdef __STDC__
41961 # include <limits.h>
41962 #else
41963 # include <assert.h>
41964 #endif
41965
41966 #undef $ac_func
41967
41968 /* Override any GCC internal prototype to avoid an error.
41969 Use char because int might match the return type of a GCC
41970 builtin and then its argument prototype would still apply. */
41971 #ifdef __cplusplus
41972 extern "C"
41973 #endif
41974 char $ac_func ();
41975 /* The GNU C library defines this for functions which it implements
41976 to always fail with ENOSYS. Some functions are actually named
41977 something starting with __ and the normal name is an alias. */
41978 #if defined __stub_$ac_func || defined __stub___$ac_func
41979 choke me
41980 #endif
41981
41982 int
41983 main ()
41984 {
41985 return $ac_func ();
41986 ;
41987 return 0;
41988 }
41989 _ACEOF
41990 rm -f conftest.$ac_objext conftest$ac_exeext
41991 if { (ac_try="$ac_link"
41992 case "(($ac_try" in
41993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41994 *) ac_try_echo=$ac_try;;
41995 esac
41996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41997 (eval "$ac_link") 2>conftest.er1
41998 ac_status=$?
41999 grep -v '^ *+' conftest.er1 >conftest.err
42000 rm -f conftest.er1
42001 cat conftest.err >&5
42002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42003 (exit $ac_status); } && {
42004 test -z "$ac_c_werror_flag" ||
42005 test ! -s conftest.err
42006 } && test -s conftest$ac_exeext &&
42007 $as_test_x conftest$ac_exeext; then
42008 eval "$as_ac_var=yes"
42009 else
42010 echo "$as_me: failed program was:" >&5
42011 sed 's/^/| /' conftest.$ac_ext >&5
42012
42013 eval "$as_ac_var=no"
42014 fi
42015
42016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42017 conftest$ac_exeext conftest.$ac_ext
42018 fi
42019 ac_res=`eval echo '${'$as_ac_var'}'`
42020 { echo "$as_me:$LINENO: result: $ac_res" >&5
42021 echo "${ECHO_T}$ac_res" >&6; }
42022 if test `eval echo '${'$as_ac_var'}'` = yes; then
42023 cat >>confdefs.h <<_ACEOF
42024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42025 _ACEOF
42026
42027 cat >>confdefs.h <<\_ACEOF
42028 #define HAVE_SHL_LOAD 1
42029 _ACEOF
42030
42031 HAVE_SHL_FUNCS=1
42032
42033 else
42034
42035 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42036 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42037 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42038 echo $ECHO_N "(cached) $ECHO_C" >&6
42039 else
42040 ac_check_lib_save_LIBS=$LIBS
42041 LIBS="-lshl_load $LIBS"
42042 cat >conftest.$ac_ext <<_ACEOF
42043 /* confdefs.h. */
42044 _ACEOF
42045 cat confdefs.h >>conftest.$ac_ext
42046 cat >>conftest.$ac_ext <<_ACEOF
42047 /* end confdefs.h. */
42048
42049 /* Override any GCC internal prototype to avoid an error.
42050 Use char because int might match the return type of a GCC
42051 builtin and then its argument prototype would still apply. */
42052 #ifdef __cplusplus
42053 extern "C"
42054 #endif
42055 char dld ();
42056 int
42057 main ()
42058 {
42059 return dld ();
42060 ;
42061 return 0;
42062 }
42063 _ACEOF
42064 rm -f conftest.$ac_objext conftest$ac_exeext
42065 if { (ac_try="$ac_link"
42066 case "(($ac_try" in
42067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42068 *) ac_try_echo=$ac_try;;
42069 esac
42070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42071 (eval "$ac_link") 2>conftest.er1
42072 ac_status=$?
42073 grep -v '^ *+' conftest.er1 >conftest.err
42074 rm -f conftest.er1
42075 cat conftest.err >&5
42076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42077 (exit $ac_status); } && {
42078 test -z "$ac_c_werror_flag" ||
42079 test ! -s conftest.err
42080 } && test -s conftest$ac_exeext &&
42081 $as_test_x conftest$ac_exeext; then
42082 ac_cv_lib_shl_load_dld=yes
42083 else
42084 echo "$as_me: failed program was:" >&5
42085 sed 's/^/| /' conftest.$ac_ext >&5
42086
42087 ac_cv_lib_shl_load_dld=no
42088 fi
42089
42090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42091 conftest$ac_exeext conftest.$ac_ext
42092 LIBS=$ac_check_lib_save_LIBS
42093 fi
42094 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42095 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42096 if test $ac_cv_lib_shl_load_dld = yes; then
42097
42098 HAVE_SHL_FUNCS=1
42099 DL_LINK=" -ldld$DL_LINK"
42100
42101 fi
42102
42103
42104 fi
42105 done
42106
42107
42108 fi
42109
42110
42111 fi
42112 done
42113
42114
42115 if test "$HAVE_DL_FUNCS" = 1; then
42116
42117 for ac_func in dlerror
42118 do
42119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42123 echo $ECHO_N "(cached) $ECHO_C" >&6
42124 else
42125 cat >conftest.$ac_ext <<_ACEOF
42126 /* confdefs.h. */
42127 _ACEOF
42128 cat confdefs.h >>conftest.$ac_ext
42129 cat >>conftest.$ac_ext <<_ACEOF
42130 /* end confdefs.h. */
42131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42133 #define $ac_func innocuous_$ac_func
42134
42135 /* System header to define __stub macros and hopefully few prototypes,
42136 which can conflict with char $ac_func (); below.
42137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42138 <limits.h> exists even on freestanding compilers. */
42139
42140 #ifdef __STDC__
42141 # include <limits.h>
42142 #else
42143 # include <assert.h>
42144 #endif
42145
42146 #undef $ac_func
42147
42148 /* Override any GCC internal prototype to avoid an error.
42149 Use char because int might match the return type of a GCC
42150 builtin and then its argument prototype would still apply. */
42151 #ifdef __cplusplus
42152 extern "C"
42153 #endif
42154 char $ac_func ();
42155 /* The GNU C library defines this for functions which it implements
42156 to always fail with ENOSYS. Some functions are actually named
42157 something starting with __ and the normal name is an alias. */
42158 #if defined __stub_$ac_func || defined __stub___$ac_func
42159 choke me
42160 #endif
42161
42162 int
42163 main ()
42164 {
42165 return $ac_func ();
42166 ;
42167 return 0;
42168 }
42169 _ACEOF
42170 rm -f conftest.$ac_objext conftest$ac_exeext
42171 if { (ac_try="$ac_link"
42172 case "(($ac_try" in
42173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42174 *) ac_try_echo=$ac_try;;
42175 esac
42176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42177 (eval "$ac_link") 2>conftest.er1
42178 ac_status=$?
42179 grep -v '^ *+' conftest.er1 >conftest.err
42180 rm -f conftest.er1
42181 cat conftest.err >&5
42182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42183 (exit $ac_status); } && {
42184 test -z "$ac_c_werror_flag" ||
42185 test ! -s conftest.err
42186 } && test -s conftest$ac_exeext &&
42187 $as_test_x conftest$ac_exeext; then
42188 eval "$as_ac_var=yes"
42189 else
42190 echo "$as_me: failed program was:" >&5
42191 sed 's/^/| /' conftest.$ac_ext >&5
42192
42193 eval "$as_ac_var=no"
42194 fi
42195
42196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42197 conftest$ac_exeext conftest.$ac_ext
42198 fi
42199 ac_res=`eval echo '${'$as_ac_var'}'`
42200 { echo "$as_me:$LINENO: result: $ac_res" >&5
42201 echo "${ECHO_T}$ac_res" >&6; }
42202 if test `eval echo '${'$as_ac_var'}'` = yes; then
42203 cat >>confdefs.h <<_ACEOF
42204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42205 _ACEOF
42206 cat >>confdefs.h <<\_ACEOF
42207 #define HAVE_DLERROR 1
42208 _ACEOF
42209
42210 else
42211
42212 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42213 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42214 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42215 echo $ECHO_N "(cached) $ECHO_C" >&6
42216 else
42217 ac_check_lib_save_LIBS=$LIBS
42218 LIBS="-ldl $LIBS"
42219 cat >conftest.$ac_ext <<_ACEOF
42220 /* confdefs.h. */
42221 _ACEOF
42222 cat confdefs.h >>conftest.$ac_ext
42223 cat >>conftest.$ac_ext <<_ACEOF
42224 /* end confdefs.h. */
42225
42226 /* Override any GCC internal prototype to avoid an error.
42227 Use char because int might match the return type of a GCC
42228 builtin and then its argument prototype would still apply. */
42229 #ifdef __cplusplus
42230 extern "C"
42231 #endif
42232 char dlerror ();
42233 int
42234 main ()
42235 {
42236 return dlerror ();
42237 ;
42238 return 0;
42239 }
42240 _ACEOF
42241 rm -f conftest.$ac_objext conftest$ac_exeext
42242 if { (ac_try="$ac_link"
42243 case "(($ac_try" in
42244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42245 *) ac_try_echo=$ac_try;;
42246 esac
42247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42248 (eval "$ac_link") 2>conftest.er1
42249 ac_status=$?
42250 grep -v '^ *+' conftest.er1 >conftest.err
42251 rm -f conftest.er1
42252 cat conftest.err >&5
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); } && {
42255 test -z "$ac_c_werror_flag" ||
42256 test ! -s conftest.err
42257 } && test -s conftest$ac_exeext &&
42258 $as_test_x conftest$ac_exeext; then
42259 ac_cv_lib_dl_dlerror=yes
42260 else
42261 echo "$as_me: failed program was:" >&5
42262 sed 's/^/| /' conftest.$ac_ext >&5
42263
42264 ac_cv_lib_dl_dlerror=no
42265 fi
42266
42267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42268 conftest$ac_exeext conftest.$ac_ext
42269 LIBS=$ac_check_lib_save_LIBS
42270 fi
42271 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42272 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42273 if test $ac_cv_lib_dl_dlerror = yes; then
42274 cat >>confdefs.h <<\_ACEOF
42275 #define HAVE_DLERROR 1
42276 _ACEOF
42277
42278 fi
42279
42280
42281
42282 fi
42283 done
42284
42285 fi
42286 fi
42287
42288 if test "$USE_DARWIN" = 1; then
42289 HAVE_DL_FUNCS=1
42290 fi
42291
42292 if test "$HAVE_DL_FUNCS" = 0; then
42293 if test "$HAVE_SHL_FUNCS" = 0; then
42294 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42295 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42296 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42297 wxUSE_DYNAMIC_LOADER=no
42298 wxUSE_DYNLIB_CLASS=no
42299 else
42300 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42301 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42302 fi
42303 fi
42304 fi
42305 fi
42306 fi
42307
42308 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42309 cat >>confdefs.h <<\_ACEOF
42310 #define wxUSE_DYNAMIC_LOADER 1
42311 _ACEOF
42312
42313 fi
42314 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42315 cat >>confdefs.h <<\_ACEOF
42316 #define wxUSE_DYNLIB_CLASS 1
42317 _ACEOF
42318
42319 fi
42320
42321
42322
42323 if test "$wxUSE_PLUGINS" = "yes" ; then
42324 if test "$wxUSE_SHARED" = "no" ; then
42325 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42326 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42327 wxUSE_PLUGINS=no
42328 fi
42329 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42330 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42331 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42332 wxUSE_PLUGINS=no
42333 fi
42334 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42335 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42336 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42337 wxUSE_PLUGINS=no
42338 fi
42339 if test "$wxUSE_PLUGINS" = "yes" ; then
42340 cat >>confdefs.h <<\_ACEOF
42341 #define wxUSE_PLUGINS 1
42342 _ACEOF
42343
42344 fi
42345 fi
42346
42347
42348 if test "$wxUSE_STL" = "yes"; then
42349 cat >>confdefs.h <<\_ACEOF
42350 #define wxUSE_STL 1
42351 _ACEOF
42352
42353 fi
42354
42355 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42356 cat >>confdefs.h <<\_ACEOF
42357 #define wxUSE_EXTENDED_RTTI 1
42358 _ACEOF
42359
42360 fi
42361
42362 if test "$wxUSE_ANY" = "yes"; then
42363 cat >>confdefs.h <<\_ACEOF
42364 #define wxUSE_ANY 1
42365 _ACEOF
42366
42367 fi
42368
42369 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42370 cat >>confdefs.h <<\_ACEOF
42371 #define wxUSE_APPLE_IEEE 1
42372 _ACEOF
42373
42374 fi
42375
42376 if test "$wxUSE_TIMER" = "yes"; then
42377 cat >>confdefs.h <<\_ACEOF
42378 #define wxUSE_TIMER 1
42379 _ACEOF
42380
42381 fi
42382
42383 if test "$USE_UNIX" = 1 ; then
42384 if test "$wxUSE_MGL" != 1; then
42385 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42386 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42387 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42388 echo $ECHO_N "(cached) $ECHO_C" >&6
42389 else
42390
42391 cat >conftest.$ac_ext <<_ACEOF
42392 /* confdefs.h. */
42393 _ACEOF
42394 cat confdefs.h >>conftest.$ac_ext
42395 cat >>conftest.$ac_ext <<_ACEOF
42396 /* end confdefs.h. */
42397
42398 #include <sys/ioctl.h>
42399 #include <sys/soundcard.h>
42400
42401 int
42402 main ()
42403 {
42404
42405 ioctl(0, SNDCTL_DSP_SPEED, 0);
42406
42407 ;
42408 return 0;
42409 }
42410 _ACEOF
42411 rm -f conftest.$ac_objext conftest$ac_exeext
42412 if { (ac_try="$ac_link"
42413 case "(($ac_try" in
42414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42415 *) ac_try_echo=$ac_try;;
42416 esac
42417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42418 (eval "$ac_link") 2>conftest.er1
42419 ac_status=$?
42420 grep -v '^ *+' conftest.er1 >conftest.err
42421 rm -f conftest.er1
42422 cat conftest.err >&5
42423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42424 (exit $ac_status); } && {
42425 test -z "$ac_c_werror_flag" ||
42426 test ! -s conftest.err
42427 } && test -s conftest$ac_exeext &&
42428 $as_test_x conftest$ac_exeext; then
42429 ac_cv_header_sys_soundcard=yes
42430 else
42431 echo "$as_me: failed program was:" >&5
42432 sed 's/^/| /' conftest.$ac_ext >&5
42433
42434
42435 saveLibs="$LIBS"
42436 LIBS="$saveLibs -lossaudio"
42437 cat >conftest.$ac_ext <<_ACEOF
42438 /* confdefs.h. */
42439 _ACEOF
42440 cat confdefs.h >>conftest.$ac_ext
42441 cat >>conftest.$ac_ext <<_ACEOF
42442 /* end confdefs.h. */
42443
42444 #include <sys/ioctl.h>
42445 #include <sys/soundcard.h>
42446
42447 int
42448 main ()
42449 {
42450
42451 ioctl(0, SNDCTL_DSP_SPEED, 0);
42452
42453 ;
42454 return 0;
42455 }
42456 _ACEOF
42457 rm -f conftest.$ac_objext conftest$ac_exeext
42458 if { (ac_try="$ac_link"
42459 case "(($ac_try" in
42460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42461 *) ac_try_echo=$ac_try;;
42462 esac
42463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42464 (eval "$ac_link") 2>conftest.er1
42465 ac_status=$?
42466 grep -v '^ *+' conftest.er1 >conftest.err
42467 rm -f conftest.er1
42468 cat conftest.err >&5
42469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42470 (exit $ac_status); } && {
42471 test -z "$ac_c_werror_flag" ||
42472 test ! -s conftest.err
42473 } && test -s conftest$ac_exeext &&
42474 $as_test_x conftest$ac_exeext; then
42475 ac_cv_header_sys_soundcard=yes
42476 else
42477 echo "$as_me: failed program was:" >&5
42478 sed 's/^/| /' conftest.$ac_ext >&5
42479
42480
42481 LIBS="$saveLibs"
42482 ac_cv_header_sys_soundcard=no
42483
42484
42485 fi
42486
42487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42488 conftest$ac_exeext conftest.$ac_ext
42489
42490
42491 fi
42492
42493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42494 conftest$ac_exeext conftest.$ac_ext
42495
42496 fi
42497 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42498 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42499 fi
42500
42501 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42502 cat >>confdefs.h <<\_ACEOF
42503 #define HAVE_SYS_SOUNDCARD_H 1
42504 _ACEOF
42505
42506 fi
42507 fi
42508
42509 WITH_PLUGIN_SDL=0
42510 if test "$wxUSE_SOUND" = "yes"; then
42511 if test "$USE_UNIX" = 1 ; then
42512 if test "$wxUSE_LIBSDL" != "no"; then
42513
42514 # Check whether --with-sdl-prefix was given.
42515 if test "${with_sdl_prefix+set}" = set; then
42516 withval=$with_sdl_prefix; sdl_prefix="$withval"
42517 else
42518 sdl_prefix=""
42519 fi
42520
42521
42522 # Check whether --with-sdl-exec-prefix was given.
42523 if test "${with_sdl_exec_prefix+set}" = set; then
42524 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42525 else
42526 sdl_exec_prefix=""
42527 fi
42528
42529 # Check whether --enable-sdltest was given.
42530 if test "${enable_sdltest+set}" = set; then
42531 enableval=$enable_sdltest;
42532 else
42533 enable_sdltest=yes
42534 fi
42535
42536
42537 if test x$sdl_exec_prefix != x ; then
42538 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42539 if test x${SDL_CONFIG+set} != xset ; then
42540 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42541 fi
42542 fi
42543 if test x$sdl_prefix != x ; then
42544 sdl_args="$sdl_args --prefix=$sdl_prefix"
42545 if test x${SDL_CONFIG+set} != xset ; then
42546 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42547 fi
42548 fi
42549
42550 if test "x$prefix" != xNONE; then
42551 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42552 fi
42553 # Extract the first word of "sdl-config", so it can be a program name with args.
42554 set dummy sdl-config; ac_word=$2
42555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42557 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42558 echo $ECHO_N "(cached) $ECHO_C" >&6
42559 else
42560 case $SDL_CONFIG in
42561 [\\/]* | ?:[\\/]*)
42562 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42563 ;;
42564 *)
42565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42566 for as_dir in $PATH
42567 do
42568 IFS=$as_save_IFS
42569 test -z "$as_dir" && as_dir=.
42570 for ac_exec_ext in '' $ac_executable_extensions; do
42571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42572 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42574 break 2
42575 fi
42576 done
42577 done
42578 IFS=$as_save_IFS
42579
42580 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42581 ;;
42582 esac
42583 fi
42584 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42585 if test -n "$SDL_CONFIG"; then
42586 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42587 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42588 else
42589 { echo "$as_me:$LINENO: result: no" >&5
42590 echo "${ECHO_T}no" >&6; }
42591 fi
42592
42593
42594 min_sdl_version=1.2.0
42595 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42596 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42597 no_sdl=""
42598 if test "$SDL_CONFIG" = "no" ; then
42599 no_sdl=yes
42600 else
42601 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42602 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42603
42604 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42605 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42606 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42608 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42610 if test "x$enable_sdltest" = "xyes" ; then
42611 ac_save_CFLAGS="$CFLAGS"
42612 ac_save_CXXFLAGS="$CXXFLAGS"
42613 ac_save_LIBS="$LIBS"
42614 CFLAGS="$CFLAGS $SDL_CFLAGS"
42615 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42616 LIBS="$LIBS $SDL_LIBS"
42617 rm -f conf.sdltest
42618 if test "$cross_compiling" = yes; then
42619 echo $ac_n "cross compiling; assumed OK... $ac_c"
42620 else
42621 cat >conftest.$ac_ext <<_ACEOF
42622 /* confdefs.h. */
42623 _ACEOF
42624 cat confdefs.h >>conftest.$ac_ext
42625 cat >>conftest.$ac_ext <<_ACEOF
42626 /* end confdefs.h. */
42627
42628 #include <stdio.h>
42629 #include <stdlib.h>
42630 #include <string.h>
42631 #include "SDL.h"
42632
42633 char*
42634 my_strdup (char *str)
42635 {
42636 char *new_str;
42637
42638 if (str)
42639 {
42640 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42641 strcpy (new_str, str);
42642 }
42643 else
42644 new_str = NULL;
42645
42646 return new_str;
42647 }
42648
42649 int main (int argc, char *argv[])
42650 {
42651 int major, minor, micro;
42652 char *tmp_version;
42653
42654 /* This hangs on some systems (?)
42655 system ("touch conf.sdltest");
42656 */
42657 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42658
42659 /* HP/UX 9 (%@#!) writes to sscanf strings */
42660 tmp_version = my_strdup("$min_sdl_version");
42661 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42662 printf("%s, bad version string\n", "$min_sdl_version");
42663 exit(1);
42664 }
42665
42666 if (($sdl_major_version > major) ||
42667 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42668 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42669 {
42670 return 0;
42671 }
42672 else
42673 {
42674 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42675 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42676 printf("*** best to upgrade to the required version.\n");
42677 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42678 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42679 printf("*** config.cache before re-running configure\n");
42680 return 1;
42681 }
42682 }
42683
42684
42685 _ACEOF
42686 rm -f conftest$ac_exeext
42687 if { (ac_try="$ac_link"
42688 case "(($ac_try" in
42689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42690 *) ac_try_echo=$ac_try;;
42691 esac
42692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693 (eval "$ac_link") 2>&5
42694 ac_status=$?
42695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42697 { (case "(($ac_try" in
42698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42699 *) ac_try_echo=$ac_try;;
42700 esac
42701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42702 (eval "$ac_try") 2>&5
42703 ac_status=$?
42704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42705 (exit $ac_status); }; }; then
42706 :
42707 else
42708 echo "$as_me: program exited with status $ac_status" >&5
42709 echo "$as_me: failed program was:" >&5
42710 sed 's/^/| /' conftest.$ac_ext >&5
42711
42712 ( exit $ac_status )
42713 no_sdl=yes
42714 fi
42715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42716 fi
42717
42718
42719 CFLAGS="$ac_save_CFLAGS"
42720 CXXFLAGS="$ac_save_CXXFLAGS"
42721 LIBS="$ac_save_LIBS"
42722 fi
42723 fi
42724 if test "x$no_sdl" = x ; then
42725 { echo "$as_me:$LINENO: result: yes" >&5
42726 echo "${ECHO_T}yes" >&6; }
42727
42728 EXTRALIBS_SDL="$SDL_LIBS"
42729 CFLAGS="$SDL_CFLAGS $CFLAGS"
42730 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42731 cat >>confdefs.h <<\_ACEOF
42732 #define wxUSE_LIBSDL 1
42733 _ACEOF
42734
42735
42736 else
42737 { echo "$as_me:$LINENO: result: no" >&5
42738 echo "${ECHO_T}no" >&6; }
42739 if test "$SDL_CONFIG" = "no" ; then
42740 echo "*** The sdl-config script installed by SDL could not be found"
42741 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42742 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42743 echo "*** full path to sdl-config."
42744 else
42745 if test -f conf.sdltest ; then
42746 :
42747 else
42748 echo "*** Could not run SDL test program, checking why..."
42749 CFLAGS="$CFLAGS $SDL_CFLAGS"
42750 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42751 LIBS="$LIBS $SDL_LIBS"
42752 cat >conftest.$ac_ext <<_ACEOF
42753 /* confdefs.h. */
42754 _ACEOF
42755 cat confdefs.h >>conftest.$ac_ext
42756 cat >>conftest.$ac_ext <<_ACEOF
42757 /* end confdefs.h. */
42758
42759 #include <stdio.h>
42760 #include "SDL.h"
42761
42762 int main(int argc, char *argv[])
42763 { return 0; }
42764 #undef main
42765 #define main K_and_R_C_main
42766
42767 int
42768 main ()
42769 {
42770 return 0;
42771 ;
42772 return 0;
42773 }
42774 _ACEOF
42775 rm -f conftest.$ac_objext conftest$ac_exeext
42776 if { (ac_try="$ac_link"
42777 case "(($ac_try" in
42778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42779 *) ac_try_echo=$ac_try;;
42780 esac
42781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42782 (eval "$ac_link") 2>conftest.er1
42783 ac_status=$?
42784 grep -v '^ *+' conftest.er1 >conftest.err
42785 rm -f conftest.er1
42786 cat conftest.err >&5
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); } && {
42789 test -z "$ac_c_werror_flag" ||
42790 test ! -s conftest.err
42791 } && test -s conftest$ac_exeext &&
42792 $as_test_x conftest$ac_exeext; then
42793 echo "*** The test program compiled, but did not run. This usually means"
42794 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42795 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42796 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42797 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42798 echo "*** is required on your system"
42799 echo "***"
42800 echo "*** If you have an old version installed, it is best to remove it, although"
42801 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42802 else
42803 echo "$as_me: failed program was:" >&5
42804 sed 's/^/| /' conftest.$ac_ext >&5
42805
42806 echo "*** The test program failed to compile or link. See the file config.log for the"
42807 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42808 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42809 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42810 fi
42811
42812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42813 conftest$ac_exeext conftest.$ac_ext
42814 CFLAGS="$ac_save_CFLAGS"
42815 CXXFLAGS="$ac_save_CXXFLAGS"
42816 LIBS="$ac_save_LIBS"
42817 fi
42818 fi
42819 SDL_CFLAGS=""
42820 SDL_LIBS=""
42821 wxUSE_LIBSDL="no"
42822 fi
42823
42824
42825 rm -f conf.sdltest
42826
42827 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42828 WITH_PLUGIN_SDL=1
42829 fi
42830 fi
42831 else
42832 if test "$wxUSE_MGL" = 1; then
42833 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42834 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42835 wxUSE_SOUND="no"
42836 fi
42837 fi
42838 fi
42839
42840 if test "$wxUSE_SOUND" = "yes"; then
42841 cat >>confdefs.h <<\_ACEOF
42842 #define wxUSE_SOUND 1
42843 _ACEOF
42844
42845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42846 fi
42847
42848 if test "$WXGTK2" = 1; then
42849
42850
42851 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42852 if test -n "$ac_tool_prefix"; then
42853 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42854 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42857 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42858 echo $ECHO_N "(cached) $ECHO_C" >&6
42859 else
42860 case $PKG_CONFIG in
42861 [\\/]* | ?:[\\/]*)
42862 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42863 ;;
42864 *)
42865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42866 for as_dir in $PATH
42867 do
42868 IFS=$as_save_IFS
42869 test -z "$as_dir" && as_dir=.
42870 for ac_exec_ext in '' $ac_executable_extensions; do
42871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42872 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42874 break 2
42875 fi
42876 done
42877 done
42878 IFS=$as_save_IFS
42879
42880 ;;
42881 esac
42882 fi
42883 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42884 if test -n "$PKG_CONFIG"; then
42885 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42886 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42887 else
42888 { echo "$as_me:$LINENO: result: no" >&5
42889 echo "${ECHO_T}no" >&6; }
42890 fi
42891
42892
42893 fi
42894 if test -z "$ac_cv_path_PKG_CONFIG"; then
42895 ac_pt_PKG_CONFIG=$PKG_CONFIG
42896 # Extract the first word of "pkg-config", so it can be a program name with args.
42897 set dummy pkg-config; ac_word=$2
42898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42900 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42901 echo $ECHO_N "(cached) $ECHO_C" >&6
42902 else
42903 case $ac_pt_PKG_CONFIG in
42904 [\\/]* | ?:[\\/]*)
42905 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42906 ;;
42907 *)
42908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42909 for as_dir in $PATH
42910 do
42911 IFS=$as_save_IFS
42912 test -z "$as_dir" && as_dir=.
42913 for ac_exec_ext in '' $ac_executable_extensions; do
42914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42915 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42917 break 2
42918 fi
42919 done
42920 done
42921 IFS=$as_save_IFS
42922
42923 ;;
42924 esac
42925 fi
42926 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42927 if test -n "$ac_pt_PKG_CONFIG"; then
42928 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42929 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42930 else
42931 { echo "$as_me:$LINENO: result: no" >&5
42932 echo "${ECHO_T}no" >&6; }
42933 fi
42934
42935 if test "x$ac_pt_PKG_CONFIG" = x; then
42936 PKG_CONFIG=""
42937 else
42938 case $cross_compiling:$ac_tool_warned in
42939 yes:)
42940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42941 whose name does not start with the host triplet. If you think this
42942 configuration is useful to you, please write to autoconf@gnu.org." >&5
42943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42944 whose name does not start with the host triplet. If you think this
42945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42946 ac_tool_warned=yes ;;
42947 esac
42948 PKG_CONFIG=$ac_pt_PKG_CONFIG
42949 fi
42950 else
42951 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42952 fi
42953
42954 fi
42955 if test -n "$PKG_CONFIG"; then
42956 _pkg_min_version=0.9.0
42957 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42958 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42959 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42960 { echo "$as_me:$LINENO: result: yes" >&5
42961 echo "${ECHO_T}yes" >&6; }
42962 else
42963 { echo "$as_me:$LINENO: result: no" >&5
42964 echo "${ECHO_T}no" >&6; }
42965 PKG_CONFIG=""
42966 fi
42967
42968 fi
42969
42970 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42971
42972 if test "$wxUSE_GTKPRINT" = "yes" ; then
42973
42974
42975 pkg_failed=no
42976 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42977 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42978
42979 if test -n "$PKG_CONFIG"; then
42980 if test -n "$GTKPRINT_CFLAGS"; then
42981 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42982 else
42983 if test -n "$PKG_CONFIG" && \
42984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42985 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42986 ac_status=$?
42987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42988 (exit $ac_status); }; then
42989 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42990 else
42991 pkg_failed=yes
42992 fi
42993 fi
42994 else
42995 pkg_failed=untried
42996 fi
42997 if test -n "$PKG_CONFIG"; then
42998 if test -n "$GTKPRINT_LIBS"; then
42999 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43000 else
43001 if test -n "$PKG_CONFIG" && \
43002 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43003 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43004 ac_status=$?
43005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43006 (exit $ac_status); }; then
43007 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43008 else
43009 pkg_failed=yes
43010 fi
43011 fi
43012 else
43013 pkg_failed=untried
43014 fi
43015
43016
43017
43018 if test $pkg_failed = yes; then
43019
43020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43021 _pkg_short_errors_supported=yes
43022 else
43023 _pkg_short_errors_supported=no
43024 fi
43025 if test $_pkg_short_errors_supported = yes; then
43026 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43027 else
43028 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43029 fi
43030 # Put the nasty error message in config.log where it belongs
43031 echo "$GTKPRINT_PKG_ERRORS" >&5
43032
43033
43034 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43035 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43036 wxUSE_GTKPRINT="no"
43037
43038
43039 elif test $pkg_failed = untried; then
43040
43041 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43042 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43043 wxUSE_GTKPRINT="no"
43044
43045
43046 else
43047 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43048 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43049 { echo "$as_me:$LINENO: result: yes" >&5
43050 echo "${ECHO_T}yes" >&6; }
43051
43052 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43053 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43054 cat >>confdefs.h <<\_ACEOF
43055 #define wxUSE_GTKPRINT 1
43056 _ACEOF
43057
43058
43059 fi
43060 fi
43061
43062 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43063
43064
43065 pkg_failed=no
43066 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43067 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43068
43069 if test -n "$PKG_CONFIG"; then
43070 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43071 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43072 else
43073 if test -n "$PKG_CONFIG" && \
43074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43075 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43076 ac_status=$?
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); }; then
43079 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43080 else
43081 pkg_failed=yes
43082 fi
43083 fi
43084 else
43085 pkg_failed=untried
43086 fi
43087 if test -n "$PKG_CONFIG"; then
43088 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43089 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43090 else
43091 if test -n "$PKG_CONFIG" && \
43092 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43093 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43094 ac_status=$?
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); }; then
43097 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43098 else
43099 pkg_failed=yes
43100 fi
43101 fi
43102 else
43103 pkg_failed=untried
43104 fi
43105
43106
43107
43108 if test $pkg_failed = yes; then
43109
43110 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43111 _pkg_short_errors_supported=yes
43112 else
43113 _pkg_short_errors_supported=no
43114 fi
43115 if test $_pkg_short_errors_supported = yes; then
43116 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43117 else
43118 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43119 fi
43120 # Put the nasty error message in config.log where it belongs
43121 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43122
43123
43124 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43125 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43126 wxUSE_LIBGNOMEPRINT="no"
43127
43128
43129 elif test $pkg_failed = untried; then
43130
43131 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43132 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43133 wxUSE_LIBGNOMEPRINT="no"
43134
43135
43136 else
43137 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43138 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43139 { echo "$as_me:$LINENO: result: yes" >&5
43140 echo "${ECHO_T}yes" >&6; }
43141
43142 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43143 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43144 cat >>confdefs.h <<\_ACEOF
43145 #define wxUSE_LIBGNOMEPRINT 1
43146 _ACEOF
43147
43148
43149 fi
43150 fi
43151 fi
43152
43153 if test "$wxUSE_MIMETYPE" = "yes" ; then
43154 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43155
43156
43157 pkg_failed=no
43158 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43159 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43160
43161 if test -n "$PKG_CONFIG"; then
43162 if test -n "$GNOMEVFS_CFLAGS"; then
43163 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43164 else
43165 if test -n "$PKG_CONFIG" && \
43166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43167 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43168 ac_status=$?
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); }; then
43171 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43172 else
43173 pkg_failed=yes
43174 fi
43175 fi
43176 else
43177 pkg_failed=untried
43178 fi
43179 if test -n "$PKG_CONFIG"; then
43180 if test -n "$GNOMEVFS_LIBS"; then
43181 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43182 else
43183 if test -n "$PKG_CONFIG" && \
43184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43185 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43186 ac_status=$?
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); }; then
43189 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43190 else
43191 pkg_failed=yes
43192 fi
43193 fi
43194 else
43195 pkg_failed=untried
43196 fi
43197
43198
43199
43200 if test $pkg_failed = yes; then
43201
43202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43203 _pkg_short_errors_supported=yes
43204 else
43205 _pkg_short_errors_supported=no
43206 fi
43207 if test $_pkg_short_errors_supported = yes; then
43208 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43209 else
43210 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43211 fi
43212 # Put the nasty error message in config.log where it belongs
43213 echo "$GNOMEVFS_PKG_ERRORS" >&5
43214
43215
43216 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43217 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43218 wxUSE_LIBGNOMEVFS="no"
43219
43220
43221 elif test $pkg_failed = untried; then
43222
43223 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43224 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43225 wxUSE_LIBGNOMEVFS="no"
43226
43227
43228 else
43229 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43230 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43231 { echo "$as_me:$LINENO: result: yes" >&5
43232 echo "${ECHO_T}yes" >&6; }
43233
43234 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43235 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43236 cat >>confdefs.h <<\_ACEOF
43237 #define wxUSE_LIBGNOMEVFS 1
43238 _ACEOF
43239
43240
43241 fi
43242 fi
43243 fi
43244
43245 if test "$wxUSE_LIBHILDON" = "yes" ; then
43246
43247 pkg_failed=no
43248 { echo "$as_me:$LINENO: checking for HILDON" >&5
43249 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43250
43251 if test -n "$PKG_CONFIG"; then
43252 if test -n "$HILDON_CFLAGS"; then
43253 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43254 else
43255 if test -n "$PKG_CONFIG" && \
43256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43257 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43258 ac_status=$?
43259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43260 (exit $ac_status); }; then
43261 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43262 else
43263 pkg_failed=yes
43264 fi
43265 fi
43266 else
43267 pkg_failed=untried
43268 fi
43269 if test -n "$PKG_CONFIG"; then
43270 if test -n "$HILDON_LIBS"; then
43271 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43272 else
43273 if test -n "$PKG_CONFIG" && \
43274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43275 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43276 ac_status=$?
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); }; then
43279 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43280 else
43281 pkg_failed=yes
43282 fi
43283 fi
43284 else
43285 pkg_failed=untried
43286 fi
43287
43288
43289
43290 if test $pkg_failed = yes; then
43291
43292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43293 _pkg_short_errors_supported=yes
43294 else
43295 _pkg_short_errors_supported=no
43296 fi
43297 if test $_pkg_short_errors_supported = yes; then
43298 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43299 else
43300 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43301 fi
43302 # Put the nasty error message in config.log where it belongs
43303 echo "$HILDON_PKG_ERRORS" >&5
43304
43305
43306 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43307 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43308 wxUSE_LIBHILDON="no"
43309 ac_hildon_lgpl=0
43310
43311
43312 elif test $pkg_failed = untried; then
43313
43314 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43315 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43316 wxUSE_LIBHILDON="no"
43317 ac_hildon_lgpl=0
43318
43319
43320 else
43321 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43322 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43323 { echo "$as_me:$LINENO: result: yes" >&5
43324 echo "${ECHO_T}yes" >&6; }
43325
43326 EXTRALIBS_HILDON="$HILDON_LIBS"
43327 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43328 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43329 cat >>confdefs.h <<\_ACEOF
43330 #define wxUSE_LIBHILDON 1
43331 _ACEOF
43332
43333 ac_hildon_lgpl=1
43334
43335 fi
43336
43337 if test "$ac_hildon_lgpl" = 0 ; then
43338
43339 pkg_failed=no
43340 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43341 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43342
43343 if test -n "$PKG_CONFIG"; then
43344 if test -n "$HILDON2_CFLAGS"; then
43345 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43346 else
43347 if test -n "$PKG_CONFIG" && \
43348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43349 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43350 ac_status=$?
43351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43352 (exit $ac_status); }; then
43353 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43354 else
43355 pkg_failed=yes
43356 fi
43357 fi
43358 else
43359 pkg_failed=untried
43360 fi
43361 if test -n "$PKG_CONFIG"; then
43362 if test -n "$HILDON2_LIBS"; then
43363 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43364 else
43365 if test -n "$PKG_CONFIG" && \
43366 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43367 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43368 ac_status=$?
43369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43370 (exit $ac_status); }; then
43371 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43372 else
43373 pkg_failed=yes
43374 fi
43375 fi
43376 else
43377 pkg_failed=untried
43378 fi
43379
43380
43381
43382 if test $pkg_failed = yes; then
43383
43384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43385 _pkg_short_errors_supported=yes
43386 else
43387 _pkg_short_errors_supported=no
43388 fi
43389 if test $_pkg_short_errors_supported = yes; then
43390 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43391 else
43392 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43393 fi
43394 # Put the nasty error message in config.log where it belongs
43395 echo "$HILDON2_PKG_ERRORS" >&5
43396
43397
43398 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43399 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43400 wxUSE_LIBHILDON2="no"
43401
43402
43403 elif test $pkg_failed = untried; then
43404
43405 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43406 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43407 wxUSE_LIBHILDON2="no"
43408
43409
43410 else
43411 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43412 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43413 { echo "$as_me:$LINENO: result: yes" >&5
43414 echo "${ECHO_T}yes" >&6; }
43415
43416 EXTRALIBS_HILDON="$HILDON2_LIBS"
43417 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43418 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43419 cat >>confdefs.h <<\_ACEOF
43420 #define wxUSE_LIBHILDON2 1
43421 _ACEOF
43422
43423
43424 fi
43425 fi
43426 fi
43427 fi
43428
43429 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43430 cat >>confdefs.h <<\_ACEOF
43431 #define wxUSE_CMDLINE_PARSER 1
43432 _ACEOF
43433
43434 fi
43435
43436 if test "$wxUSE_STOPWATCH" = "yes"; then
43437 cat >>confdefs.h <<\_ACEOF
43438 #define wxUSE_STOPWATCH 1
43439 _ACEOF
43440
43441 fi
43442
43443 if test "$wxUSE_DATETIME" = "yes"; then
43444 cat >>confdefs.h <<\_ACEOF
43445 #define wxUSE_DATETIME 1
43446 _ACEOF
43447
43448 fi
43449
43450 if test "$wxUSE_FILE" = "yes"; then
43451 cat >>confdefs.h <<\_ACEOF
43452 #define wxUSE_FILE 1
43453 _ACEOF
43454
43455 fi
43456
43457 if test "$wxUSE_FFILE" = "yes"; then
43458 cat >>confdefs.h <<\_ACEOF
43459 #define wxUSE_FFILE 1
43460 _ACEOF
43461
43462 fi
43463
43464 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43465 if test "$wxUSE_STREAMS" != yes; then
43466 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43467 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43468 wxUSE_ARCHIVE_STREAMS=no
43469 else
43470 cat >>confdefs.h <<\_ACEOF
43471 #define wxUSE_ARCHIVE_STREAMS 1
43472 _ACEOF
43473
43474 fi
43475 fi
43476
43477 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43478 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43479 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43480 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43481 elif test "$wxUSE_ZLIB" = "no"; then
43482 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43483 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43484 else
43485 cat >>confdefs.h <<\_ACEOF
43486 #define wxUSE_ZIPSTREAM 1
43487 _ACEOF
43488
43489 fi
43490 fi
43491
43492 if test "$wxUSE_TARSTREAM" = "yes"; then
43493 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43494 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43495 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43496 else
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_TARSTREAM 1
43499 _ACEOF
43500
43501 fi
43502 fi
43503
43504 if test "$wxUSE_FILESYSTEM" = "yes"; then
43505 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43506 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43507 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43508 wxUSE_FILESYSTEM=no
43509 else
43510 cat >>confdefs.h <<\_ACEOF
43511 #define wxUSE_FILESYSTEM 1
43512 _ACEOF
43513
43514 fi
43515 fi
43516
43517 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43518 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43519 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43520 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43521 else
43522 cat >>confdefs.h <<\_ACEOF
43523 #define wxUSE_FS_ARCHIVE 1
43524 _ACEOF
43525
43526 fi
43527 fi
43528
43529 if test "$wxUSE_FS_ZIP" = "yes"; then
43530 if test "$wxUSE_FS_ARCHIVE" != yes; then
43531 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43532 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43533 else
43534 cat >>confdefs.h <<\_ACEOF
43535 #define wxUSE_FS_ZIP 1
43536 _ACEOF
43537
43538 fi
43539 fi
43540
43541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43542 if test "$USE_UNIX" != 1; then
43543 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43544 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43545 wxUSE_ON_FATAL_EXCEPTION=no
43546 else
43547 cat >>confdefs.h <<\_ACEOF
43548 #define wxUSE_ON_FATAL_EXCEPTION 1
43549 _ACEOF
43550
43551 fi
43552 fi
43553
43554 if test "$wxUSE_STACKWALKER" = "yes"; then
43555 cat >>confdefs.h <<\_ACEOF
43556 #define wxUSE_STACKWALKER 1
43557 _ACEOF
43558
43559 fi
43560
43561 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43562 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43563 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43564 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43565 wxUSE_DEBUGREPORT=no
43566 else
43567 cat >>confdefs.h <<\_ACEOF
43568 #define wxUSE_DEBUGREPORT 1
43569 _ACEOF
43570
43571 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43573 fi
43574 fi
43575 fi
43576
43577 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43578 cat >>confdefs.h <<\_ACEOF
43579 #define wxUSE_SNGLINST_CHECKER 1
43580 _ACEOF
43581
43582 fi
43583
43584 if test "$wxUSE_BUSYINFO" = "yes"; then
43585 cat >>confdefs.h <<\_ACEOF
43586 #define wxUSE_BUSYINFO 1
43587 _ACEOF
43588
43589 fi
43590
43591 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43592 cat >>confdefs.h <<\_ACEOF
43593 #define wxUSE_STD_IOSTREAM 1
43594 _ACEOF
43595
43596 fi
43597
43598 if test "$wxUSE_STD_STRING" = "yes"; then
43599 cat >>confdefs.h <<\_ACEOF
43600 #define wxUSE_STD_STRING 1
43601 _ACEOF
43602
43603 fi
43604
43605 if test "$wxUSE_STDPATHS" = "yes"; then
43606 cat >>confdefs.h <<\_ACEOF
43607 #define wxUSE_STDPATHS 1
43608 _ACEOF
43609
43610 fi
43611
43612 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43613 cat >>confdefs.h <<\_ACEOF
43614 #define wxUSE_TEXTBUFFER 1
43615 _ACEOF
43616
43617 fi
43618
43619 if test "$wxUSE_TEXTFILE" = "yes"; then
43620 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43621 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43622 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43623 else
43624 cat >>confdefs.h <<\_ACEOF
43625 #define wxUSE_TEXTFILE 1
43626 _ACEOF
43627
43628 fi
43629 fi
43630
43631 if test "$wxUSE_CONFIG" = "yes" ; then
43632 if test "$wxUSE_TEXTFILE" != "yes"; then
43633 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43634 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43635 else
43636 cat >>confdefs.h <<\_ACEOF
43637 #define wxUSE_CONFIG 1
43638 _ACEOF
43639
43640 cat >>confdefs.h <<\_ACEOF
43641 #define wxUSE_CONFIG_NATIVE 1
43642 _ACEOF
43643
43644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43645 fi
43646 fi
43647
43648 if test "$wxUSE_INTL" = "yes" ; then
43649 if test "$wxUSE_FILE" != "yes"; then
43650 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43651 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43652 else
43653 cat >>confdefs.h <<\_ACEOF
43654 #define wxUSE_INTL 1
43655 _ACEOF
43656
43657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43658 GUIDIST="$GUIDIST INTL_DIST"
43659 fi
43660 fi
43661
43662 if test "$wxUSE_XLOCALE" = "yes" ; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define wxUSE_XLOCALE 1
43665 _ACEOF
43666
43667 { echo "$as_me:$LINENO: checking for locale_t" >&5
43668 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43669 if test "${ac_cv_type_locale_t+set}" = set; then
43670 echo $ECHO_N "(cached) $ECHO_C" >&6
43671 else
43672 cat >conftest.$ac_ext <<_ACEOF
43673 /* confdefs.h. */
43674 _ACEOF
43675 cat confdefs.h >>conftest.$ac_ext
43676 cat >>conftest.$ac_ext <<_ACEOF
43677 /* end confdefs.h. */
43678 #include <xlocale.h>
43679 #include <locale.h>
43680
43681 typedef locale_t ac__type_new_;
43682 int
43683 main ()
43684 {
43685 if ((ac__type_new_ *) 0)
43686 return 0;
43687 if (sizeof (ac__type_new_))
43688 return 0;
43689 ;
43690 return 0;
43691 }
43692 _ACEOF
43693 rm -f conftest.$ac_objext
43694 if { (ac_try="$ac_compile"
43695 case "(($ac_try" in
43696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43697 *) ac_try_echo=$ac_try;;
43698 esac
43699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43700 (eval "$ac_compile") 2>conftest.er1
43701 ac_status=$?
43702 grep -v '^ *+' conftest.er1 >conftest.err
43703 rm -f conftest.er1
43704 cat conftest.err >&5
43705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43706 (exit $ac_status); } && {
43707 test -z "$ac_c_werror_flag" ||
43708 test ! -s conftest.err
43709 } && test -s conftest.$ac_objext; then
43710 ac_cv_type_locale_t=yes
43711 else
43712 echo "$as_me: failed program was:" >&5
43713 sed 's/^/| /' conftest.$ac_ext >&5
43714
43715 ac_cv_type_locale_t=no
43716 fi
43717
43718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43719 fi
43720 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43721 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43722 if test $ac_cv_type_locale_t = yes; then
43723
43724 cat >>confdefs.h <<_ACEOF
43725 #define HAVE_LOCALE_T 1
43726 _ACEOF
43727
43728
43729 fi
43730
43731 fi
43732
43733 if test "$wxUSE_LOG" = "yes"; then
43734 cat >>confdefs.h <<\_ACEOF
43735 #define wxUSE_LOG 1
43736 _ACEOF
43737
43738
43739 if test "$wxUSE_LOGGUI" = "yes"; then
43740 cat >>confdefs.h <<\_ACEOF
43741 #define wxUSE_LOGGUI 1
43742 _ACEOF
43743
43744 fi
43745
43746 if test "$wxUSE_LOGWINDOW" = "yes"; then
43747 cat >>confdefs.h <<\_ACEOF
43748 #define wxUSE_LOGWINDOW 1
43749 _ACEOF
43750
43751 fi
43752
43753 if test "$wxUSE_LOGDIALOG" = "yes"; then
43754 cat >>confdefs.h <<\_ACEOF
43755 #define wxUSE_LOG_DIALOG 1
43756 _ACEOF
43757
43758 fi
43759
43760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43761 fi
43762
43763 if test "$wxUSE_LONGLONG" = "yes"; then
43764 cat >>confdefs.h <<\_ACEOF
43765 #define wxUSE_LONGLONG 1
43766 _ACEOF
43767
43768 fi
43769
43770 if test "$wxUSE_GEOMETRY" = "yes"; then
43771 cat >>confdefs.h <<\_ACEOF
43772 #define wxUSE_GEOMETRY 1
43773 _ACEOF
43774
43775 fi
43776
43777 if test "$wxUSE_BASE64" = "yes"; then
43778 cat >>confdefs.h <<\_ACEOF
43779 #define wxUSE_BASE64 1
43780 _ACEOF
43781
43782 fi
43783
43784 if test "$wxUSE_STREAMS" = "yes" ; then
43785 cat >>confdefs.h <<\_ACEOF
43786 #define wxUSE_STREAMS 1
43787 _ACEOF
43788
43789 fi
43790
43791 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43792 cat >>confdefs.h <<\_ACEOF
43793 #define wxUSE_PRINTF_POS_PARAMS 1
43794 _ACEOF
43795
43796 fi
43797
43798 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43799 cat >>confdefs.h <<\_ACEOF
43800 #define wxUSE_OBJC_UNIQUIFYING 1
43801 _ACEOF
43802
43803 fi
43804
43805
43806 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43807 cat >>confdefs.h <<\_ACEOF
43808 #define wxUSE_CONSOLE_EVENTLOOP 1
43809 _ACEOF
43810
43811
43812 if test "$wxUSE_UNIX" = "yes"; then
43813 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43814 cat >>confdefs.h <<\_ACEOF
43815 #define wxUSE_SELECT_DISPATCHER 1
43816 _ACEOF
43817
43818 fi
43819
43820 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43821
43822 for ac_header in sys/epoll.h
43823 do
43824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43825 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43827 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43828 echo $ECHO_N "(cached) $ECHO_C" >&6
43829 else
43830 cat >conftest.$ac_ext <<_ACEOF
43831 /* confdefs.h. */
43832 _ACEOF
43833 cat confdefs.h >>conftest.$ac_ext
43834 cat >>conftest.$ac_ext <<_ACEOF
43835 /* end confdefs.h. */
43836 $ac_includes_default
43837
43838 #include <$ac_header>
43839 _ACEOF
43840 rm -f conftest.$ac_objext
43841 if { (ac_try="$ac_compile"
43842 case "(($ac_try" in
43843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43844 *) ac_try_echo=$ac_try;;
43845 esac
43846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43847 (eval "$ac_compile") 2>conftest.er1
43848 ac_status=$?
43849 grep -v '^ *+' conftest.er1 >conftest.err
43850 rm -f conftest.er1
43851 cat conftest.err >&5
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); } && {
43854 test -z "$ac_c_werror_flag" ||
43855 test ! -s conftest.err
43856 } && test -s conftest.$ac_objext; then
43857 eval "$as_ac_Header=yes"
43858 else
43859 echo "$as_me: failed program was:" >&5
43860 sed 's/^/| /' conftest.$ac_ext >&5
43861
43862 eval "$as_ac_Header=no"
43863 fi
43864
43865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43866 fi
43867 ac_res=`eval echo '${'$as_ac_Header'}'`
43868 { echo "$as_me:$LINENO: result: $ac_res" >&5
43869 echo "${ECHO_T}$ac_res" >&6; }
43870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43871 cat >>confdefs.h <<_ACEOF
43872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43873 _ACEOF
43874
43875 fi
43876
43877 done
43878
43879 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43880 cat >>confdefs.h <<\_ACEOF
43881 #define wxUSE_EPOLL_DISPATCHER 1
43882 _ACEOF
43883
43884 else
43885 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43886 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43887 fi
43888 fi
43889 fi
43890 fi
43891
43892
43893
43894
43895 for ac_func in gettimeofday ftime
43896 do
43897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43898 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43900 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43901 echo $ECHO_N "(cached) $ECHO_C" >&6
43902 else
43903 cat >conftest.$ac_ext <<_ACEOF
43904 /* confdefs.h. */
43905 _ACEOF
43906 cat confdefs.h >>conftest.$ac_ext
43907 cat >>conftest.$ac_ext <<_ACEOF
43908 /* end confdefs.h. */
43909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43911 #define $ac_func innocuous_$ac_func
43912
43913 /* System header to define __stub macros and hopefully few prototypes,
43914 which can conflict with char $ac_func (); below.
43915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43916 <limits.h> exists even on freestanding compilers. */
43917
43918 #ifdef __STDC__
43919 # include <limits.h>
43920 #else
43921 # include <assert.h>
43922 #endif
43923
43924 #undef $ac_func
43925
43926 /* Override any GCC internal prototype to avoid an error.
43927 Use char because int might match the return type of a GCC
43928 builtin and then its argument prototype would still apply. */
43929 #ifdef __cplusplus
43930 extern "C"
43931 #endif
43932 char $ac_func ();
43933 /* The GNU C library defines this for functions which it implements
43934 to always fail with ENOSYS. Some functions are actually named
43935 something starting with __ and the normal name is an alias. */
43936 #if defined __stub_$ac_func || defined __stub___$ac_func
43937 choke me
43938 #endif
43939
43940 int
43941 main ()
43942 {
43943 return $ac_func ();
43944 ;
43945 return 0;
43946 }
43947 _ACEOF
43948 rm -f conftest.$ac_objext conftest$ac_exeext
43949 if { (ac_try="$ac_link"
43950 case "(($ac_try" in
43951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43952 *) ac_try_echo=$ac_try;;
43953 esac
43954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43955 (eval "$ac_link") 2>conftest.er1
43956 ac_status=$?
43957 grep -v '^ *+' conftest.er1 >conftest.err
43958 rm -f conftest.er1
43959 cat conftest.err >&5
43960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43961 (exit $ac_status); } && {
43962 test -z "$ac_c_werror_flag" ||
43963 test ! -s conftest.err
43964 } && test -s conftest$ac_exeext &&
43965 $as_test_x conftest$ac_exeext; then
43966 eval "$as_ac_var=yes"
43967 else
43968 echo "$as_me: failed program was:" >&5
43969 sed 's/^/| /' conftest.$ac_ext >&5
43970
43971 eval "$as_ac_var=no"
43972 fi
43973
43974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43975 conftest$ac_exeext conftest.$ac_ext
43976 fi
43977 ac_res=`eval echo '${'$as_ac_var'}'`
43978 { echo "$as_me:$LINENO: result: $ac_res" >&5
43979 echo "${ECHO_T}$ac_res" >&6; }
43980 if test `eval echo '${'$as_ac_var'}'` = yes; then
43981 cat >>confdefs.h <<_ACEOF
43982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43983 _ACEOF
43984 break
43985 fi
43986 done
43987
43988
43989 if test "$ac_cv_func_gettimeofday" = "yes"; then
43990 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43991 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43992 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43993 echo $ECHO_N "(cached) $ECHO_C" >&6
43994 else
43995
43996 cat >conftest.$ac_ext <<_ACEOF
43997 /* confdefs.h. */
43998 _ACEOF
43999 cat confdefs.h >>conftest.$ac_ext
44000 cat >>conftest.$ac_ext <<_ACEOF
44001 /* end confdefs.h. */
44002
44003 #include <sys/time.h>
44004 #include <unistd.h>
44005
44006 int
44007 main ()
44008 {
44009
44010 struct timeval tv;
44011 gettimeofday(&tv, NULL);
44012
44013 ;
44014 return 0;
44015 }
44016 _ACEOF
44017 rm -f conftest.$ac_objext
44018 if { (ac_try="$ac_compile"
44019 case "(($ac_try" in
44020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44021 *) ac_try_echo=$ac_try;;
44022 esac
44023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44024 (eval "$ac_compile") 2>conftest.er1
44025 ac_status=$?
44026 grep -v '^ *+' conftest.er1 >conftest.err
44027 rm -f conftest.er1
44028 cat conftest.err >&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } && {
44031 test -z "$ac_c_werror_flag" ||
44032 test ! -s conftest.err
44033 } && test -s conftest.$ac_objext; then
44034 wx_cv_func_gettimeofday_has_2_args=yes
44035 else
44036 echo "$as_me: failed program was:" >&5
44037 sed 's/^/| /' conftest.$ac_ext >&5
44038
44039 cat >conftest.$ac_ext <<_ACEOF
44040 /* confdefs.h. */
44041 _ACEOF
44042 cat confdefs.h >>conftest.$ac_ext
44043 cat >>conftest.$ac_ext <<_ACEOF
44044 /* end confdefs.h. */
44045
44046 #include <sys/time.h>
44047 #include <unistd.h>
44048
44049 int
44050 main ()
44051 {
44052
44053 struct timeval tv;
44054 gettimeofday(&tv);
44055
44056 ;
44057 return 0;
44058 }
44059 _ACEOF
44060 rm -f conftest.$ac_objext
44061 if { (ac_try="$ac_compile"
44062 case "(($ac_try" in
44063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44064 *) ac_try_echo=$ac_try;;
44065 esac
44066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44067 (eval "$ac_compile") 2>conftest.er1
44068 ac_status=$?
44069 grep -v '^ *+' conftest.er1 >conftest.err
44070 rm -f conftest.er1
44071 cat conftest.err >&5
44072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44073 (exit $ac_status); } && {
44074 test -z "$ac_c_werror_flag" ||
44075 test ! -s conftest.err
44076 } && test -s conftest.$ac_objext; then
44077 wx_cv_func_gettimeofday_has_2_args=no
44078 else
44079 echo "$as_me: failed program was:" >&5
44080 sed 's/^/| /' conftest.$ac_ext >&5
44081
44082
44083 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44084 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44085 wx_cv_func_gettimeofday_has_2_args=unknown
44086
44087
44088 fi
44089
44090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44091
44092 fi
44093
44094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44095
44096 fi
44097 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44098 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44099
44100 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44101 cat >>confdefs.h <<\_ACEOF
44102 #define WX_GETTIMEOFDAY_NO_TZ 1
44103 _ACEOF
44104
44105 fi
44106 fi
44107
44108 if test "$wxUSE_DATETIME" = "yes"; then
44109 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44110 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44111 if test "${wx_cv_var_timezone+set}" = set; then
44112 echo $ECHO_N "(cached) $ECHO_C" >&6
44113 else
44114
44115 ac_ext=cpp
44116 ac_cpp='$CXXCPP $CPPFLAGS'
44117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44120
44121 cat >conftest.$ac_ext <<_ACEOF
44122 /* confdefs.h. */
44123 _ACEOF
44124 cat confdefs.h >>conftest.$ac_ext
44125 cat >>conftest.$ac_ext <<_ACEOF
44126 /* end confdefs.h. */
44127
44128 #include <time.h>
44129
44130 int
44131 main ()
44132 {
44133
44134 int tz;
44135 tz = timezone;
44136
44137 ;
44138 return 0;
44139 }
44140 _ACEOF
44141 rm -f conftest.$ac_objext
44142 if { (ac_try="$ac_compile"
44143 case "(($ac_try" in
44144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44145 *) ac_try_echo=$ac_try;;
44146 esac
44147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44148 (eval "$ac_compile") 2>conftest.er1
44149 ac_status=$?
44150 grep -v '^ *+' conftest.er1 >conftest.err
44151 rm -f conftest.er1
44152 cat conftest.err >&5
44153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44154 (exit $ac_status); } && {
44155 test -z "$ac_cxx_werror_flag" ||
44156 test ! -s conftest.err
44157 } && test -s conftest.$ac_objext; then
44158
44159 wx_cv_var_timezone=timezone
44160
44161 else
44162 echo "$as_me: failed program was:" >&5
44163 sed 's/^/| /' conftest.$ac_ext >&5
44164
44165
44166 cat >conftest.$ac_ext <<_ACEOF
44167 /* confdefs.h. */
44168 _ACEOF
44169 cat confdefs.h >>conftest.$ac_ext
44170 cat >>conftest.$ac_ext <<_ACEOF
44171 /* end confdefs.h. */
44172
44173 #include <time.h>
44174
44175 int
44176 main ()
44177 {
44178
44179 int tz;
44180 tz = _timezone;
44181
44182 ;
44183 return 0;
44184 }
44185 _ACEOF
44186 rm -f conftest.$ac_objext
44187 if { (ac_try="$ac_compile"
44188 case "(($ac_try" in
44189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44190 *) ac_try_echo=$ac_try;;
44191 esac
44192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44193 (eval "$ac_compile") 2>conftest.er1
44194 ac_status=$?
44195 grep -v '^ *+' conftest.er1 >conftest.err
44196 rm -f conftest.er1
44197 cat conftest.err >&5
44198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44199 (exit $ac_status); } && {
44200 test -z "$ac_cxx_werror_flag" ||
44201 test ! -s conftest.err
44202 } && test -s conftest.$ac_objext; then
44203
44204 wx_cv_var_timezone=_timezone
44205
44206 else
44207 echo "$as_me: failed program was:" >&5
44208 sed 's/^/| /' conftest.$ac_ext >&5
44209
44210
44211 cat >conftest.$ac_ext <<_ACEOF
44212 /* confdefs.h. */
44213 _ACEOF
44214 cat confdefs.h >>conftest.$ac_ext
44215 cat >>conftest.$ac_ext <<_ACEOF
44216 /* end confdefs.h. */
44217
44218 #include <time.h>
44219
44220 int
44221 main ()
44222 {
44223
44224 int tz;
44225 tz = __timezone;
44226
44227 ;
44228 return 0;
44229 }
44230 _ACEOF
44231 rm -f conftest.$ac_objext
44232 if { (ac_try="$ac_compile"
44233 case "(($ac_try" in
44234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44235 *) ac_try_echo=$ac_try;;
44236 esac
44237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44238 (eval "$ac_compile") 2>conftest.er1
44239 ac_status=$?
44240 grep -v '^ *+' conftest.er1 >conftest.err
44241 rm -f conftest.er1
44242 cat conftest.err >&5
44243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44244 (exit $ac_status); } && {
44245 test -z "$ac_cxx_werror_flag" ||
44246 test ! -s conftest.err
44247 } && test -s conftest.$ac_objext; then
44248
44249 wx_cv_var_timezone=__timezone
44250
44251 else
44252 echo "$as_me: failed program was:" >&5
44253 sed 's/^/| /' conftest.$ac_ext >&5
44254
44255
44256 if test "$USE_DOS" = 0 ; then
44257 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44258 echo "$as_me: WARNING: no timezone variable" >&2;}
44259 fi
44260
44261
44262 fi
44263
44264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44265
44266
44267 fi
44268
44269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44270
44271
44272 fi
44273
44274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44275 ac_ext=c
44276 ac_cpp='$CPP $CPPFLAGS'
44277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44280
44281
44282
44283 fi
44284 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44285 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44286
44287 if test "x$wx_cv_var_timezone" != x ; then
44288 cat >>confdefs.h <<_ACEOF
44289 #define WX_TIMEZONE $wx_cv_var_timezone
44290 _ACEOF
44291
44292 fi
44293
44294
44295 for ac_func in localtime
44296 do
44297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44301 echo $ECHO_N "(cached) $ECHO_C" >&6
44302 else
44303 cat >conftest.$ac_ext <<_ACEOF
44304 /* confdefs.h. */
44305 _ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44311 #define $ac_func innocuous_$ac_func
44312
44313 /* System header to define __stub macros and hopefully few prototypes,
44314 which can conflict with char $ac_func (); below.
44315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44316 <limits.h> exists even on freestanding compilers. */
44317
44318 #ifdef __STDC__
44319 # include <limits.h>
44320 #else
44321 # include <assert.h>
44322 #endif
44323
44324 #undef $ac_func
44325
44326 /* Override any GCC internal prototype to avoid an error.
44327 Use char because int might match the return type of a GCC
44328 builtin and then its argument prototype would still apply. */
44329 #ifdef __cplusplus
44330 extern "C"
44331 #endif
44332 char $ac_func ();
44333 /* The GNU C library defines this for functions which it implements
44334 to always fail with ENOSYS. Some functions are actually named
44335 something starting with __ and the normal name is an alias. */
44336 #if defined __stub_$ac_func || defined __stub___$ac_func
44337 choke me
44338 #endif
44339
44340 int
44341 main ()
44342 {
44343 return $ac_func ();
44344 ;
44345 return 0;
44346 }
44347 _ACEOF
44348 rm -f conftest.$ac_objext conftest$ac_exeext
44349 if { (ac_try="$ac_link"
44350 case "(($ac_try" in
44351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44352 *) ac_try_echo=$ac_try;;
44353 esac
44354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44355 (eval "$ac_link") 2>conftest.er1
44356 ac_status=$?
44357 grep -v '^ *+' conftest.er1 >conftest.err
44358 rm -f conftest.er1
44359 cat conftest.err >&5
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); } && {
44362 test -z "$ac_c_werror_flag" ||
44363 test ! -s conftest.err
44364 } && test -s conftest$ac_exeext &&
44365 $as_test_x conftest$ac_exeext; then
44366 eval "$as_ac_var=yes"
44367 else
44368 echo "$as_me: failed program was:" >&5
44369 sed 's/^/| /' conftest.$ac_ext >&5
44370
44371 eval "$as_ac_var=no"
44372 fi
44373
44374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44375 conftest$ac_exeext conftest.$ac_ext
44376 fi
44377 ac_res=`eval echo '${'$as_ac_var'}'`
44378 { echo "$as_me:$LINENO: result: $ac_res" >&5
44379 echo "${ECHO_T}$ac_res" >&6; }
44380 if test `eval echo '${'$as_ac_var'}'` = yes; then
44381 cat >>confdefs.h <<_ACEOF
44382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44383 _ACEOF
44384
44385 fi
44386 done
44387
44388
44389 if test "$ac_cv_func_localtime" = "yes"; then
44390 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44391 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44392 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44393 echo $ECHO_N "(cached) $ECHO_C" >&6
44394 else
44395
44396 cat >conftest.$ac_ext <<_ACEOF
44397 /* confdefs.h. */
44398 _ACEOF
44399 cat confdefs.h >>conftest.$ac_ext
44400 cat >>conftest.$ac_ext <<_ACEOF
44401 /* end confdefs.h. */
44402
44403 #include <time.h>
44404
44405 int
44406 main ()
44407 {
44408
44409 struct tm tm;
44410 tm.tm_gmtoff++;
44411
44412 ;
44413 return 0;
44414 }
44415 _ACEOF
44416 rm -f conftest.$ac_objext
44417 if { (ac_try="$ac_compile"
44418 case "(($ac_try" in
44419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44420 *) ac_try_echo=$ac_try;;
44421 esac
44422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44423 (eval "$ac_compile") 2>conftest.er1
44424 ac_status=$?
44425 grep -v '^ *+' conftest.er1 >conftest.err
44426 rm -f conftest.er1
44427 cat conftest.err >&5
44428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44429 (exit $ac_status); } && {
44430 test -z "$ac_c_werror_flag" ||
44431 test ! -s conftest.err
44432 } && test -s conftest.$ac_objext; then
44433
44434 wx_cv_struct_tm_has_gmtoff=yes
44435
44436 else
44437 echo "$as_me: failed program was:" >&5
44438 sed 's/^/| /' conftest.$ac_ext >&5
44439
44440 wx_cv_struct_tm_has_gmtoff=no
44441
44442 fi
44443
44444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44445
44446 fi
44447 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44448 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44449 fi
44450
44451 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44452 cat >>confdefs.h <<\_ACEOF
44453 #define WX_GMTOFF_IN_TM 1
44454 _ACEOF
44455
44456 fi
44457
44458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44459 fi
44460
44461
44462 if test "$wxUSE_SOCKETS" = "yes"; then
44463 if test "$wxUSE_MGL" = 1; then
44464 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44465 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44466 wxUSE_SOCKETS="no"
44467 fi
44468 fi
44469
44470 if test "$wxUSE_SOCKETS" = "yes"; then
44471 if test "$TOOLKIT" != "MSW"; then
44472 { echo "$as_me:$LINENO: checking for socket" >&5
44473 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44474 if test "${ac_cv_func_socket+set}" = set; then
44475 echo $ECHO_N "(cached) $ECHO_C" >&6
44476 else
44477 cat >conftest.$ac_ext <<_ACEOF
44478 /* confdefs.h. */
44479 _ACEOF
44480 cat confdefs.h >>conftest.$ac_ext
44481 cat >>conftest.$ac_ext <<_ACEOF
44482 /* end confdefs.h. */
44483 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44485 #define socket innocuous_socket
44486
44487 /* System header to define __stub macros and hopefully few prototypes,
44488 which can conflict with char socket (); below.
44489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44490 <limits.h> exists even on freestanding compilers. */
44491
44492 #ifdef __STDC__
44493 # include <limits.h>
44494 #else
44495 # include <assert.h>
44496 #endif
44497
44498 #undef socket
44499
44500 /* Override any GCC internal prototype to avoid an error.
44501 Use char because int might match the return type of a GCC
44502 builtin and then its argument prototype would still apply. */
44503 #ifdef __cplusplus
44504 extern "C"
44505 #endif
44506 char socket ();
44507 /* The GNU C library defines this for functions which it implements
44508 to always fail with ENOSYS. Some functions are actually named
44509 something starting with __ and the normal name is an alias. */
44510 #if defined __stub_socket || defined __stub___socket
44511 choke me
44512 #endif
44513
44514 int
44515 main ()
44516 {
44517 return socket ();
44518 ;
44519 return 0;
44520 }
44521 _ACEOF
44522 rm -f conftest.$ac_objext conftest$ac_exeext
44523 if { (ac_try="$ac_link"
44524 case "(($ac_try" in
44525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44526 *) ac_try_echo=$ac_try;;
44527 esac
44528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44529 (eval "$ac_link") 2>conftest.er1
44530 ac_status=$?
44531 grep -v '^ *+' conftest.er1 >conftest.err
44532 rm -f conftest.er1
44533 cat conftest.err >&5
44534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44535 (exit $ac_status); } && {
44536 test -z "$ac_c_werror_flag" ||
44537 test ! -s conftest.err
44538 } && test -s conftest$ac_exeext &&
44539 $as_test_x conftest$ac_exeext; then
44540 ac_cv_func_socket=yes
44541 else
44542 echo "$as_me: failed program was:" >&5
44543 sed 's/^/| /' conftest.$ac_ext >&5
44544
44545 ac_cv_func_socket=no
44546 fi
44547
44548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44549 conftest$ac_exeext conftest.$ac_ext
44550 fi
44551 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44552 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44553 if test $ac_cv_func_socket = yes; then
44554 :
44555 else
44556
44557 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44558 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44559 if test "${ac_cv_lib_socket_socket+set}" = set; then
44560 echo $ECHO_N "(cached) $ECHO_C" >&6
44561 else
44562 ac_check_lib_save_LIBS=$LIBS
44563 LIBS="-lsocket $LIBS"
44564 cat >conftest.$ac_ext <<_ACEOF
44565 /* confdefs.h. */
44566 _ACEOF
44567 cat confdefs.h >>conftest.$ac_ext
44568 cat >>conftest.$ac_ext <<_ACEOF
44569 /* end confdefs.h. */
44570
44571 /* Override any GCC internal prototype to avoid an error.
44572 Use char because int might match the return type of a GCC
44573 builtin and then its argument prototype would still apply. */
44574 #ifdef __cplusplus
44575 extern "C"
44576 #endif
44577 char socket ();
44578 int
44579 main ()
44580 {
44581 return socket ();
44582 ;
44583 return 0;
44584 }
44585 _ACEOF
44586 rm -f conftest.$ac_objext conftest$ac_exeext
44587 if { (ac_try="$ac_link"
44588 case "(($ac_try" in
44589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44590 *) ac_try_echo=$ac_try;;
44591 esac
44592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44593 (eval "$ac_link") 2>conftest.er1
44594 ac_status=$?
44595 grep -v '^ *+' conftest.er1 >conftest.err
44596 rm -f conftest.er1
44597 cat conftest.err >&5
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); } && {
44600 test -z "$ac_c_werror_flag" ||
44601 test ! -s conftest.err
44602 } && test -s conftest$ac_exeext &&
44603 $as_test_x conftest$ac_exeext; then
44604 ac_cv_lib_socket_socket=yes
44605 else
44606 echo "$as_me: failed program was:" >&5
44607 sed 's/^/| /' conftest.$ac_ext >&5
44608
44609 ac_cv_lib_socket_socket=no
44610 fi
44611
44612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44613 conftest$ac_exeext conftest.$ac_ext
44614 LIBS=$ac_check_lib_save_LIBS
44615 fi
44616 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44617 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44618 if test $ac_cv_lib_socket_socket = yes; then
44619 if test "$INET_LINK" != " -lsocket"; then
44620 INET_LINK="$INET_LINK -lsocket"
44621 fi
44622 else
44623
44624 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44625 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44626 wxUSE_SOCKETS=no
44627
44628
44629 fi
44630
44631
44632
44633 fi
44634
44635 fi
44636 fi
44637
44638 if test "$wxUSE_SOCKETS" = "yes" ; then
44639 if test "$TOOLKIT" != "MSW"; then
44640 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44641 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44642 if test "${wx_cv_type_getsockname3+set}" = set; then
44643 echo $ECHO_N "(cached) $ECHO_C" >&6
44644 else
44645
44646 ac_ext=cpp
44647 ac_cpp='$CXXCPP $CPPFLAGS'
44648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44651
44652 cat >conftest.$ac_ext <<_ACEOF
44653 /* confdefs.h. */
44654 _ACEOF
44655 cat confdefs.h >>conftest.$ac_ext
44656 cat >>conftest.$ac_ext <<_ACEOF
44657 /* end confdefs.h. */
44658
44659 #include <sys/types.h>
44660 #include <sys/socket.h>
44661
44662 int
44663 main ()
44664 {
44665
44666 socklen_t len;
44667 getsockname(0, 0, &len);
44668
44669 ;
44670 return 0;
44671 }
44672 _ACEOF
44673 rm -f conftest.$ac_objext
44674 if { (ac_try="$ac_compile"
44675 case "(($ac_try" in
44676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44677 *) ac_try_echo=$ac_try;;
44678 esac
44679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44680 (eval "$ac_compile") 2>conftest.er1
44681 ac_status=$?
44682 grep -v '^ *+' conftest.er1 >conftest.err
44683 rm -f conftest.er1
44684 cat conftest.err >&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); } && {
44687 test -z "$ac_cxx_werror_flag" ||
44688 test ! -s conftest.err
44689 } && test -s conftest.$ac_objext; then
44690 wx_cv_type_getsockname3=socklen_t
44691 else
44692 echo "$as_me: failed program was:" >&5
44693 sed 's/^/| /' conftest.$ac_ext >&5
44694
44695
44696 CFLAGS_OLD="$CFLAGS"
44697 if test "$GCC" = yes ; then
44698 CFLAGS="-Werror $CFLAGS"
44699 fi
44700
44701 cat >conftest.$ac_ext <<_ACEOF
44702 /* confdefs.h. */
44703 _ACEOF
44704 cat confdefs.h >>conftest.$ac_ext
44705 cat >>conftest.$ac_ext <<_ACEOF
44706 /* end confdefs.h. */
44707
44708 #include <sys/types.h>
44709 #include <sys/socket.h>
44710
44711 int
44712 main ()
44713 {
44714
44715 size_t len;
44716 getsockname(0, 0, &len);
44717
44718 ;
44719 return 0;
44720 }
44721 _ACEOF
44722 rm -f conftest.$ac_objext
44723 if { (ac_try="$ac_compile"
44724 case "(($ac_try" in
44725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44726 *) ac_try_echo=$ac_try;;
44727 esac
44728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44729 (eval "$ac_compile") 2>conftest.er1
44730 ac_status=$?
44731 grep -v '^ *+' conftest.er1 >conftest.err
44732 rm -f conftest.er1
44733 cat conftest.err >&5
44734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44735 (exit $ac_status); } && {
44736 test -z "$ac_cxx_werror_flag" ||
44737 test ! -s conftest.err
44738 } && test -s conftest.$ac_objext; then
44739 wx_cv_type_getsockname3=size_t
44740 else
44741 echo "$as_me: failed program was:" >&5
44742 sed 's/^/| /' conftest.$ac_ext >&5
44743
44744 cat >conftest.$ac_ext <<_ACEOF
44745 /* confdefs.h. */
44746 _ACEOF
44747 cat confdefs.h >>conftest.$ac_ext
44748 cat >>conftest.$ac_ext <<_ACEOF
44749 /* end confdefs.h. */
44750
44751 #include <sys/types.h>
44752 #include <sys/socket.h>
44753
44754 int
44755 main ()
44756 {
44757
44758 int len;
44759 getsockname(0, 0, &len);
44760
44761 ;
44762 return 0;
44763 }
44764 _ACEOF
44765 rm -f conftest.$ac_objext
44766 if { (ac_try="$ac_compile"
44767 case "(($ac_try" in
44768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44769 *) ac_try_echo=$ac_try;;
44770 esac
44771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44772 (eval "$ac_compile") 2>conftest.er1
44773 ac_status=$?
44774 grep -v '^ *+' conftest.er1 >conftest.err
44775 rm -f conftest.er1
44776 cat conftest.err >&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); } && {
44779 test -z "$ac_cxx_werror_flag" ||
44780 test ! -s conftest.err
44781 } && test -s conftest.$ac_objext; then
44782 wx_cv_type_getsockname3=int
44783 else
44784 echo "$as_me: failed program was:" >&5
44785 sed 's/^/| /' conftest.$ac_ext >&5
44786
44787 wx_cv_type_getsockname3=unknown
44788
44789 fi
44790
44791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44792
44793 fi
44794
44795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44796
44797 CFLAGS="$CFLAGS_OLD"
44798
44799
44800 fi
44801
44802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44803 ac_ext=c
44804 ac_cpp='$CPP $CPPFLAGS'
44805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44808
44809
44810 fi
44811 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44812 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44813
44814 if test "$wx_cv_type_getsockname3" = "unknown"; then
44815 wxUSE_SOCKETS=no
44816 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44817 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44818 else
44819 cat >>confdefs.h <<_ACEOF
44820 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44821 _ACEOF
44822
44823 fi
44824 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44825 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44826 if test "${wx_cv_type_getsockopt5+set}" = set; then
44827 echo $ECHO_N "(cached) $ECHO_C" >&6
44828 else
44829
44830 ac_ext=cpp
44831 ac_cpp='$CXXCPP $CPPFLAGS'
44832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44835
44836 cat >conftest.$ac_ext <<_ACEOF
44837 /* confdefs.h. */
44838 _ACEOF
44839 cat confdefs.h >>conftest.$ac_ext
44840 cat >>conftest.$ac_ext <<_ACEOF
44841 /* end confdefs.h. */
44842
44843 #include <sys/types.h>
44844 #include <sys/socket.h>
44845
44846 int
44847 main ()
44848 {
44849
44850 socklen_t len;
44851 getsockopt(0, 0, 0, 0, &len);
44852
44853 ;
44854 return 0;
44855 }
44856 _ACEOF
44857 rm -f conftest.$ac_objext
44858 if { (ac_try="$ac_compile"
44859 case "(($ac_try" in
44860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44861 *) ac_try_echo=$ac_try;;
44862 esac
44863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44864 (eval "$ac_compile") 2>conftest.er1
44865 ac_status=$?
44866 grep -v '^ *+' conftest.er1 >conftest.err
44867 rm -f conftest.er1
44868 cat conftest.err >&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); } && {
44871 test -z "$ac_cxx_werror_flag" ||
44872 test ! -s conftest.err
44873 } && test -s conftest.$ac_objext; then
44874 wx_cv_type_getsockopt5=socklen_t
44875 else
44876 echo "$as_me: failed program was:" >&5
44877 sed 's/^/| /' conftest.$ac_ext >&5
44878
44879
44880 cat >conftest.$ac_ext <<_ACEOF
44881 /* confdefs.h. */
44882 _ACEOF
44883 cat confdefs.h >>conftest.$ac_ext
44884 cat >>conftest.$ac_ext <<_ACEOF
44885 /* end confdefs.h. */
44886
44887 #include <sys/types.h>
44888 #include <sys/socket.h>
44889
44890 int
44891 main ()
44892 {
44893
44894 size_t len;
44895 getsockopt(0, 0, 0, 0, &len);
44896
44897 ;
44898 return 0;
44899 }
44900 _ACEOF
44901 rm -f conftest.$ac_objext
44902 if { (ac_try="$ac_compile"
44903 case "(($ac_try" in
44904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44905 *) ac_try_echo=$ac_try;;
44906 esac
44907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44908 (eval "$ac_compile") 2>conftest.er1
44909 ac_status=$?
44910 grep -v '^ *+' conftest.er1 >conftest.err
44911 rm -f conftest.er1
44912 cat conftest.err >&5
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); } && {
44915 test -z "$ac_cxx_werror_flag" ||
44916 test ! -s conftest.err
44917 } && test -s conftest.$ac_objext; then
44918 wx_cv_type_getsockopt5=size_t
44919 else
44920 echo "$as_me: failed program was:" >&5
44921 sed 's/^/| /' conftest.$ac_ext >&5
44922
44923 cat >conftest.$ac_ext <<_ACEOF
44924 /* confdefs.h. */
44925 _ACEOF
44926 cat confdefs.h >>conftest.$ac_ext
44927 cat >>conftest.$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44929
44930 #include <sys/types.h>
44931 #include <sys/socket.h>
44932
44933 int
44934 main ()
44935 {
44936
44937 int len;
44938 getsockopt(0, 0, 0, 0, &len);
44939
44940 ;
44941 return 0;
44942 }
44943 _ACEOF
44944 rm -f conftest.$ac_objext
44945 if { (ac_try="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44949 esac
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44952 ac_status=$?
44953 grep -v '^ *+' conftest.er1 >conftest.err
44954 rm -f conftest.er1
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } && {
44958 test -z "$ac_cxx_werror_flag" ||
44959 test ! -s conftest.err
44960 } && test -s conftest.$ac_objext; then
44961 wx_cv_type_getsockopt5=int
44962 else
44963 echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44965
44966 wx_cv_type_getsockopt5=unknown
44967
44968 fi
44969
44970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44971
44972 fi
44973
44974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44975
44976
44977 fi
44978
44979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44980 ac_ext=c
44981 ac_cpp='$CPP $CPPFLAGS'
44982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44985
44986
44987 fi
44988 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44989 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44990
44991 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44992 wxUSE_SOCKETS=no
44993 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44994 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44995 else
44996 cat >>confdefs.h <<_ACEOF
44997 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44998 _ACEOF
44999
45000 fi
45001 fi
45002 fi
45003
45004 if test "$wxUSE_SOCKETS" = "yes" ; then
45005 if test "$wxUSE_IPV6" = "yes"; then
45006 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45007 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45008 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45009 echo $ECHO_N "(cached) $ECHO_C" >&6
45010 else
45011
45012 cat >conftest.$ac_ext <<_ACEOF
45013 /* confdefs.h. */
45014 _ACEOF
45015 cat confdefs.h >>conftest.$ac_ext
45016 cat >>conftest.$ac_ext <<_ACEOF
45017 /* end confdefs.h. */
45018
45019 #include <sys/types.h>
45020 #include <sys/socket.h>
45021 #include <netinet/in.h>
45022
45023 int
45024 main ()
45025 {
45026
45027 struct sockaddr_in6 sa6;
45028
45029 ;
45030 return 0;
45031 }
45032 _ACEOF
45033 rm -f conftest.$ac_objext
45034 if { (ac_try="$ac_compile"
45035 case "(($ac_try" in
45036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45037 *) ac_try_echo=$ac_try;;
45038 esac
45039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45040 (eval "$ac_compile") 2>conftest.er1
45041 ac_status=$?
45042 grep -v '^ *+' conftest.er1 >conftest.err
45043 rm -f conftest.er1
45044 cat conftest.err >&5
45045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 (exit $ac_status); } && {
45047 test -z "$ac_c_werror_flag" ||
45048 test ! -s conftest.err
45049 } && test -s conftest.$ac_objext; then
45050 wx_cv_type_sockaddr_in6=yes
45051 else
45052 echo "$as_me: failed program was:" >&5
45053 sed 's/^/| /' conftest.$ac_ext >&5
45054
45055 wx_cv_type_sockaddr_in6=no
45056
45057 fi
45058
45059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45060
45061
45062 fi
45063 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45064 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45065
45066 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_IPV6 1
45069 _ACEOF
45070
45071 else
45072 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45073 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45074 fi
45075 fi
45076
45077 cat >>confdefs.h <<\_ACEOF
45078 #define wxUSE_SOCKETS 1
45079 _ACEOF
45080
45081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45082 fi
45083
45084 if test "$wxUSE_PROTOCOL" = "yes"; then
45085 if test "$wxUSE_SOCKETS" != "yes"; then
45086 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45087 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45088 wxUSE_PROTOCOL=no
45089 fi
45090 fi
45091
45092 if test "$wxUSE_PROTOCOL" = "yes"; then
45093 cat >>confdefs.h <<\_ACEOF
45094 #define wxUSE_PROTOCOL 1
45095 _ACEOF
45096
45097
45098 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_PROTOCOL_HTTP 1
45101 _ACEOF
45102
45103 fi
45104 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45105 cat >>confdefs.h <<\_ACEOF
45106 #define wxUSE_PROTOCOL_FTP 1
45107 _ACEOF
45108
45109 fi
45110 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_PROTOCOL_FILE 1
45113 _ACEOF
45114
45115 fi
45116 else
45117 if test "$wxUSE_FS_INET" = "yes"; then
45118 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45119 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45120 wxUSE_FS_INET="no"
45121 fi
45122 fi
45123
45124 if test "$wxUSE_URL" = "yes"; then
45125 if test "$wxUSE_PROTOCOL" != "yes"; then
45126 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45127 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45128 wxUSE_URL=no
45129 fi
45130 if test "$wxUSE_URL" = "yes"; then
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_URL 1
45133 _ACEOF
45134
45135 fi
45136 fi
45137
45138 if test "$wxUSE_VARIANT" = "yes"; then
45139 cat >>confdefs.h <<\_ACEOF
45140 #define wxUSE_VARIANT 1
45141 _ACEOF
45142
45143 fi
45144
45145 if test "$wxUSE_FS_INET" = "yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_FS_INET 1
45148 _ACEOF
45149
45150 fi
45151
45152
45153 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45154 wxUSE_JOYSTICK=no
45155
45156 if test "$TOOLKIT" = "MSW"; then
45157 wxUSE_JOYSTICK=yes
45158
45159 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45160 if test "$USE_DARWIN" = 1; then
45161 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45162 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45163 ac_ext=cpp
45164 ac_cpp='$CXXCPP $CPPFLAGS'
45165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45168
45169 cat >conftest.$ac_ext <<_ACEOF
45170 /* confdefs.h. */
45171 _ACEOF
45172 cat confdefs.h >>conftest.$ac_ext
45173 cat >>conftest.$ac_ext <<_ACEOF
45174 /* end confdefs.h. */
45175 #include <IOKit/hid/IOHIDLib.h>
45176 int
45177 main ()
45178 {
45179 IOHIDQueueInterface *qi = NULL;
45180 IOHIDCallbackFunction cb = NULL;
45181 qi->setEventCallout(NULL, cb, NULL, NULL);
45182 ;
45183 return 0;
45184 }
45185 _ACEOF
45186 rm -f conftest.$ac_objext
45187 if { (ac_try="$ac_compile"
45188 case "(($ac_try" in
45189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45190 *) ac_try_echo=$ac_try;;
45191 esac
45192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45193 (eval "$ac_compile") 2>conftest.er1
45194 ac_status=$?
45195 grep -v '^ *+' conftest.er1 >conftest.err
45196 rm -f conftest.er1
45197 cat conftest.err >&5
45198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45199 (exit $ac_status); } && {
45200 test -z "$ac_cxx_werror_flag" ||
45201 test ! -s conftest.err
45202 } && test -s conftest.$ac_objext; then
45203 wxUSE_JOYSTICK=yes
45204
45205 else
45206 echo "$as_me: failed program was:" >&5
45207 sed 's/^/| /' conftest.$ac_ext >&5
45208
45209
45210 fi
45211
45212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45213 ac_ext=c
45214 ac_cpp='$CPP $CPPFLAGS'
45215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45218
45219 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45220 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45221 fi
45222
45223 else
45224 if test "$wxUSE_MGL" != 1; then
45225
45226 for ac_header in linux/joystick.h
45227 do
45228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45229 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45232 echo $ECHO_N "(cached) $ECHO_C" >&6
45233 else
45234 cat >conftest.$ac_ext <<_ACEOF
45235 /* confdefs.h. */
45236 _ACEOF
45237 cat confdefs.h >>conftest.$ac_ext
45238 cat >>conftest.$ac_ext <<_ACEOF
45239 /* end confdefs.h. */
45240 $ac_includes_default
45241
45242 #include <$ac_header>
45243 _ACEOF
45244 rm -f conftest.$ac_objext
45245 if { (ac_try="$ac_compile"
45246 case "(($ac_try" in
45247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45248 *) ac_try_echo=$ac_try;;
45249 esac
45250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45251 (eval "$ac_compile") 2>conftest.er1
45252 ac_status=$?
45253 grep -v '^ *+' conftest.er1 >conftest.err
45254 rm -f conftest.er1
45255 cat conftest.err >&5
45256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45257 (exit $ac_status); } && {
45258 test -z "$ac_c_werror_flag" ||
45259 test ! -s conftest.err
45260 } && test -s conftest.$ac_objext; then
45261 eval "$as_ac_Header=yes"
45262 else
45263 echo "$as_me: failed program was:" >&5
45264 sed 's/^/| /' conftest.$ac_ext >&5
45265
45266 eval "$as_ac_Header=no"
45267 fi
45268
45269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45270 fi
45271 ac_res=`eval echo '${'$as_ac_Header'}'`
45272 { echo "$as_me:$LINENO: result: $ac_res" >&5
45273 echo "${ECHO_T}$ac_res" >&6; }
45274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45275 cat >>confdefs.h <<_ACEOF
45276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45277 _ACEOF
45278 wxUSE_JOYSTICK=yes
45279 fi
45280
45281 done
45282
45283 fi
45284 fi
45285
45286 if test "$wxUSE_JOYSTICK" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_JOYSTICK 1
45289 _ACEOF
45290
45291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45292 else
45293 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45294 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45295 fi
45296 fi
45297
45298
45299
45300 if test "$wxUSE_FONTENUM" = "yes" ; then
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_FONTENUM 1
45303 _ACEOF
45304
45305 fi
45306
45307 if test "$wxUSE_FONTMAP" = "yes" ; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_FONTMAP 1
45310 _ACEOF
45311
45312 fi
45313
45314 if test "$wxUSE_UNICODE" = "yes" ; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_UNICODE 1
45317 _ACEOF
45318
45319
45320 if test "$USE_WIN32" != 1; then
45321 wxUSE_UNICODE_MSLU=no
45322 fi
45323
45324 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45325 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45326 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45327 if test "${ac_cv_lib_unicows_main+set}" = set; then
45328 echo $ECHO_N "(cached) $ECHO_C" >&6
45329 else
45330 ac_check_lib_save_LIBS=$LIBS
45331 LIBS="-lunicows $LIBS"
45332 cat >conftest.$ac_ext <<_ACEOF
45333 /* confdefs.h. */
45334 _ACEOF
45335 cat confdefs.h >>conftest.$ac_ext
45336 cat >>conftest.$ac_ext <<_ACEOF
45337 /* end confdefs.h. */
45338
45339
45340 int
45341 main ()
45342 {
45343 return main ();
45344 ;
45345 return 0;
45346 }
45347 _ACEOF
45348 rm -f conftest.$ac_objext conftest$ac_exeext
45349 if { (ac_try="$ac_link"
45350 case "(($ac_try" in
45351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45352 *) ac_try_echo=$ac_try;;
45353 esac
45354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45355 (eval "$ac_link") 2>conftest.er1
45356 ac_status=$?
45357 grep -v '^ *+' conftest.er1 >conftest.err
45358 rm -f conftest.er1
45359 cat conftest.err >&5
45360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45361 (exit $ac_status); } && {
45362 test -z "$ac_c_werror_flag" ||
45363 test ! -s conftest.err
45364 } && test -s conftest$ac_exeext &&
45365 $as_test_x conftest$ac_exeext; then
45366 ac_cv_lib_unicows_main=yes
45367 else
45368 echo "$as_me: failed program was:" >&5
45369 sed 's/^/| /' conftest.$ac_ext >&5
45370
45371 ac_cv_lib_unicows_main=no
45372 fi
45373
45374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45375 conftest$ac_exeext conftest.$ac_ext
45376 LIBS=$ac_check_lib_save_LIBS
45377 fi
45378 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45379 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45380 if test $ac_cv_lib_unicows_main = yes; then
45381
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_UNICODE_MSLU 1
45384 _ACEOF
45385
45386
45387 else
45388
45389 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45390 Applications will only run on Windows NT/2000/XP!" >&5
45391 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45392 Applications will only run on Windows NT/2000/XP!" >&2;}
45393 wxUSE_UNICODE_MSLU=no
45394
45395 fi
45396
45397 fi
45398 fi
45399
45400 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_UNICODE_UTF8 1
45403 _ACEOF
45404
45405
45406 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_UTF8_LOCALE_ONLY 1
45409 _ACEOF
45410
45411 fi
45412 fi
45413
45414
45415 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_CONSTRAINTS 1
45418 _ACEOF
45419
45420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45421 fi
45422
45423 if test "$wxUSE_MDI" = "yes"; then
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_MDI 1
45426 _ACEOF
45427
45428
45429 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_MDI_ARCHITECTURE 1
45432 _ACEOF
45433
45434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45435 fi
45436 fi
45437
45438 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45439 cat >>confdefs.h <<\_ACEOF
45440 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45441 _ACEOF
45442
45443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45444 fi
45445
45446 if test "$wxUSE_HELP" = "yes"; then
45447 cat >>confdefs.h <<\_ACEOF
45448 #define wxUSE_HELP 1
45449 _ACEOF
45450
45451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45452
45453 if test "$wxUSE_MSW" = 1; then
45454 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45455 cat >>confdefs.h <<\_ACEOF
45456 #define wxUSE_MS_HTML_HELP 1
45457 _ACEOF
45458
45459 fi
45460 fi
45461
45462 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45463 if test "$wxUSE_HTML" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_WXHTML_HELP 1
45466 _ACEOF
45467
45468 else
45469 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45470 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45471 wxUSE_WXHTML_HELP=no
45472 fi
45473 fi
45474 fi
45475
45476 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_PRINTING_ARCHITECTURE 1
45479 _ACEOF
45480
45481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45482 fi
45483
45484 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45485 cat >>confdefs.h <<\_ACEOF
45486 #define wxUSE_POSTSCRIPT 1
45487 _ACEOF
45488
45489 fi
45490
45491 cat >>confdefs.h <<\_ACEOF
45492 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45493 _ACEOF
45494
45495
45496 if test "$wxUSE_SVG" = "yes"; then
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_SVG 1
45499 _ACEOF
45500
45501 fi
45502
45503
45504 if test "$wxUSE_METAFILE" = "yes"; then
45505 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45506 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45507 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45508 wxUSE_METAFILE=no
45509 fi
45510 fi
45511
45512
45513 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45514 -o "$wxUSE_CLIPBOARD" = "yes" \
45515 -o "$wxUSE_OLE" = "yes" \
45516 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45517 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45518 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45519 if test "${ac_cv_header_ole2_h+set}" = set; then
45520 echo $ECHO_N "(cached) $ECHO_C" >&6
45521 else
45522 cat >conftest.$ac_ext <<_ACEOF
45523 /* confdefs.h. */
45524 _ACEOF
45525 cat confdefs.h >>conftest.$ac_ext
45526 cat >>conftest.$ac_ext <<_ACEOF
45527 /* end confdefs.h. */
45528
45529
45530 #include <ole2.h>
45531 _ACEOF
45532 rm -f conftest.$ac_objext
45533 if { (ac_try="$ac_compile"
45534 case "(($ac_try" in
45535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45536 *) ac_try_echo=$ac_try;;
45537 esac
45538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45539 (eval "$ac_compile") 2>conftest.er1
45540 ac_status=$?
45541 grep -v '^ *+' conftest.er1 >conftest.err
45542 rm -f conftest.er1
45543 cat conftest.err >&5
45544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45545 (exit $ac_status); } && {
45546 test -z "$ac_c_werror_flag" ||
45547 test ! -s conftest.err
45548 } && test -s conftest.$ac_objext; then
45549 ac_cv_header_ole2_h=yes
45550 else
45551 echo "$as_me: failed program was:" >&5
45552 sed 's/^/| /' conftest.$ac_ext >&5
45553
45554 ac_cv_header_ole2_h=no
45555 fi
45556
45557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45558 fi
45559 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45560 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45561
45562
45563
45564 if test "$ac_cv_header_ole2_h" = "yes" ; then
45565 if test "$GCC" = yes ; then
45566 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45567 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45568 cat >conftest.$ac_ext <<_ACEOF
45569 /* confdefs.h. */
45570 _ACEOF
45571 cat confdefs.h >>conftest.$ac_ext
45572 cat >>conftest.$ac_ext <<_ACEOF
45573 /* end confdefs.h. */
45574 #include <windows.h>
45575 #include <ole2.h>
45576 int
45577 main ()
45578 {
45579
45580 ;
45581 return 0;
45582 }
45583 _ACEOF
45584 rm -f conftest.$ac_objext
45585 if { (ac_try="$ac_compile"
45586 case "(($ac_try" in
45587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45588 *) ac_try_echo=$ac_try;;
45589 esac
45590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45591 (eval "$ac_compile") 2>conftest.er1
45592 ac_status=$?
45593 grep -v '^ *+' conftest.er1 >conftest.err
45594 rm -f conftest.er1
45595 cat conftest.err >&5
45596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45597 (exit $ac_status); } && {
45598 test -z "$ac_c_werror_flag" ||
45599 test ! -s conftest.err
45600 } && test -s conftest.$ac_objext; then
45601 { echo "$as_me:$LINENO: result: no" >&5
45602 echo "${ECHO_T}no" >&6; }
45603 else
45604 echo "$as_me: failed program was:" >&5
45605 sed 's/^/| /' conftest.$ac_ext >&5
45606
45607 { echo "$as_me:$LINENO: result: yes" >&5
45608 echo "${ECHO_T}yes" >&6; }
45609 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45610 fi
45611
45612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45613 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45614 if test "$wxUSE_OLE" = "yes" ; then
45615 cat >>confdefs.h <<\_ACEOF
45616 #define wxUSE_OLE 1
45617 _ACEOF
45618
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_OLE_AUTOMATION 1
45621 _ACEOF
45622
45623 cat >>confdefs.h <<\_ACEOF
45624 #define wxUSE_ACTIVEX 1
45625 _ACEOF
45626
45627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45628 fi
45629 fi
45630
45631 if test "$wxUSE_DATAOBJ" = "yes" ; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_DATAOBJ 1
45634 _ACEOF
45635
45636 fi
45637 else
45638 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45639 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45640
45641 wxUSE_CLIPBOARD=no
45642 wxUSE_DRAG_AND_DROP=no
45643 wxUSE_DATAOBJ=no
45644 wxUSE_OLE=no
45645 fi
45646
45647 if test "$wxUSE_METAFILE" = "yes"; then
45648 cat >>confdefs.h <<\_ACEOF
45649 #define wxUSE_METAFILE 1
45650 _ACEOF
45651
45652
45653 cat >>confdefs.h <<\_ACEOF
45654 #define wxUSE_ENH_METAFILE 1
45655 _ACEOF
45656
45657 fi
45658 fi
45659
45660 if test "$wxUSE_IPC" = "yes"; then
45661 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45662 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45663 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45664 wxUSE_IPC=no
45665 fi
45666
45667 if test "$wxUSE_IPC" = "yes"; then
45668 cat >>confdefs.h <<\_ACEOF
45669 #define wxUSE_IPC 1
45670 _ACEOF
45671
45672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45673 fi
45674 fi
45675
45676 if test "$wxUSE_DATAOBJ" = "yes"; then
45677 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45678 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45679 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45680 wxUSE_DATAOBJ=no
45681 else
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_DATAOBJ 1
45684 _ACEOF
45685
45686 fi
45687 else
45688 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45689 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45690 wxUSE_CLIPBOARD=no
45691 wxUSE_DRAG_AND_DROP=no
45692 fi
45693
45694 if test "$wxUSE_CLIPBOARD" = "yes"; then
45695 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45696 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45697 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45698 wxUSE_CLIPBOARD=no
45699 fi
45700
45701 if test "$wxUSE_CLIPBOARD" = "yes"; then
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_CLIPBOARD 1
45704 _ACEOF
45705
45706 fi
45707 fi
45708
45709 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45710 if test "$wxUSE_GTK" = 1; then
45711 if test "$WXGTK12" != 1; then
45712 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45713 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45714 wxUSE_DRAG_AND_DROP=no
45715 fi
45716 fi
45717
45718 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45719 "$wxUSE_DFB" = 1; then
45720 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45721 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45722 wxUSE_DRAG_AND_DROP=no
45723 fi
45724
45725 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_DRAG_AND_DROP 1
45728 _ACEOF
45729
45730 fi
45731
45732 fi
45733
45734 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45736 fi
45737
45738 if test "$wxUSE_CLIPBOARD" = "yes"; then
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45740 fi
45741
45742 if test "$wxUSE_SPLINES" = "yes" ; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_SPLINES 1
45745 _ACEOF
45746
45747 fi
45748
45749 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_MOUSEWHEEL 1
45752 _ACEOF
45753
45754 fi
45755
45756
45757 USES_CONTROLS=0
45758 if test "$wxUSE_CONTROLS" = "yes"; then
45759 USES_CONTROLS=1
45760 fi
45761
45762 if test "$wxUSE_ACCEL" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_ACCEL 1
45765 _ACEOF
45766
45767 USES_CONTROLS=1
45768 fi
45769
45770 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_ANIMATIONCTRL 1
45773 _ACEOF
45774
45775 USES_CONTROLS=1
45776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45777 fi
45778
45779 if test "$wxUSE_BUTTON" = "yes"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_BUTTON 1
45782 _ACEOF
45783
45784 USES_CONTROLS=1
45785 fi
45786
45787 if test "$wxUSE_BMPBUTTON" = "yes"; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_BMPBUTTON 1
45790 _ACEOF
45791
45792 USES_CONTROLS=1
45793 fi
45794
45795 if test "$wxUSE_CALCTRL" = "yes"; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_CALENDARCTRL 1
45798 _ACEOF
45799
45800 USES_CONTROLS=1
45801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45802 fi
45803
45804 if test "$wxUSE_CARET" = "yes"; then
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_CARET 1
45807 _ACEOF
45808
45809 USES_CONTROLS=1
45810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45811 fi
45812
45813 if test "$wxUSE_COLLPANE" = "yes"; then
45814 cat >>confdefs.h <<\_ACEOF
45815 #define wxUSE_COLLPANE 1
45816 _ACEOF
45817
45818 USES_CONTROLS=1
45819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45820 fi
45821
45822 if test "$wxUSE_COMBOBOX" = "yes"; then
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_COMBOBOX 1
45825 _ACEOF
45826
45827 USES_CONTROLS=1
45828 fi
45829
45830 if test "$wxUSE_COMBOCTRL" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_COMBOCTRL 1
45833 _ACEOF
45834
45835 USES_CONTROLS=1
45836 fi
45837
45838 if test "$wxUSE_CHOICE" = "yes"; then
45839 cat >>confdefs.h <<\_ACEOF
45840 #define wxUSE_CHOICE 1
45841 _ACEOF
45842
45843 USES_CONTROLS=1
45844 fi
45845
45846 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_CHOICEBOOK 1
45849 _ACEOF
45850
45851 USES_CONTROLS=1
45852 fi
45853
45854 if test "$wxUSE_CHECKBOX" = "yes"; then
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_CHECKBOX 1
45857 _ACEOF
45858
45859 USES_CONTROLS=1
45860 fi
45861
45862 if test "$wxUSE_CHECKLST" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_CHECKLISTBOX 1
45865 _ACEOF
45866
45867 USES_CONTROLS=1
45868 fi
45869
45870 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_COLOURPICKERCTRL 1
45873 _ACEOF
45874
45875 USES_CONTROLS=1
45876 fi
45877
45878 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_DATEPICKCTRL 1
45881 _ACEOF
45882
45883 USES_CONTROLS=1
45884 fi
45885
45886 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define wxUSE_DIRPICKERCTRL 1
45889 _ACEOF
45890
45891 USES_CONTROLS=1
45892 fi
45893
45894 if test "$wxUSE_FILECTRL" = "yes"; then
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_FILECTRL 1
45897 _ACEOF
45898
45899 USES_CONTROLS=1
45900 fi
45901
45902 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_FILEPICKERCTRL 1
45905 _ACEOF
45906
45907 USES_CONTROLS=1
45908 fi
45909
45910 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_FONTPICKERCTRL 1
45913 _ACEOF
45914
45915 USES_CONTROLS=1
45916 fi
45917
45918 if test "$wxUSE_DISPLAY" = "yes"; then
45919 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45920 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45921 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45922 wxUSE_DISPLAY=no
45923 else
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_DISPLAY 1
45926 _ACEOF
45927
45928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45929 fi
45930 fi
45931
45932 if test "$wxUSE_DETECT_SM" = "yes"; then
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_DETECT_SM 1
45935 _ACEOF
45936
45937 fi
45938
45939 if test "$wxUSE_GAUGE" = "yes"; then
45940 cat >>confdefs.h <<\_ACEOF
45941 #define wxUSE_GAUGE 1
45942 _ACEOF
45943
45944 USES_CONTROLS=1
45945 fi
45946
45947 if test "$wxUSE_GRID" = "yes"; then
45948 cat >>confdefs.h <<\_ACEOF
45949 #define wxUSE_GRID 1
45950 _ACEOF
45951
45952 USES_CONTROLS=1
45953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45954 fi
45955
45956 if test "$wxUSE_HEADERCTRL" = "yes"; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_HEADERCTRL 1
45959 _ACEOF
45960
45961 USES_CONTROLS=1
45962 fi
45963
45964 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45965 cat >>confdefs.h <<\_ACEOF
45966 #define wxUSE_HYPERLINKCTRL 1
45967 _ACEOF
45968
45969 USES_CONTROLS=1
45970 fi
45971
45972 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_BITMAPCOMBOBOX 1
45975 _ACEOF
45976
45977 USES_CONTROLS=1
45978 fi
45979
45980 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45981 cat >>confdefs.h <<\_ACEOF
45982 #define wxUSE_DATAVIEWCTRL 1
45983 _ACEOF
45984
45985 USES_CONTROLS=1
45986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45987 fi
45988
45989 if test "$wxUSE_IMAGLIST" = "yes"; then
45990 cat >>confdefs.h <<\_ACEOF
45991 #define wxUSE_IMAGLIST 1
45992 _ACEOF
45993
45994 fi
45995
45996 if test "$wxUSE_INFOBAR" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_INFOBAR 1
45999 _ACEOF
46000
46001 fi
46002
46003 if test "$wxUSE_LISTBOOK" = "yes"; then
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_LISTBOOK 1
46006 _ACEOF
46007
46008 USES_CONTROLS=1
46009 fi
46010
46011 if test "$wxUSE_LISTBOX" = "yes"; then
46012 cat >>confdefs.h <<\_ACEOF
46013 #define wxUSE_LISTBOX 1
46014 _ACEOF
46015
46016 USES_CONTROLS=1
46017 fi
46018
46019 if test "$wxUSE_LISTCTRL" = "yes"; then
46020 if test "$wxUSE_IMAGLIST" = "yes"; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_LISTCTRL 1
46023 _ACEOF
46024
46025 USES_CONTROLS=1
46026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46027 else
46028 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46029 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46030 fi
46031 fi
46032
46033 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46034 cat >>confdefs.h <<\_ACEOF
46035 #define wxUSE_EDITABLELISTBOX 1
46036 _ACEOF
46037
46038 USES_CONTROLS=1
46039 fi
46040
46041 if test "$wxUSE_NOTEBOOK" = "yes"; then
46042 cat >>confdefs.h <<\_ACEOF
46043 #define wxUSE_NOTEBOOK 1
46044 _ACEOF
46045
46046 USES_CONTROLS=1
46047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46048 fi
46049
46050 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_NOTIFICATION_MESSAGE 1
46053 _ACEOF
46054
46055 fi
46056
46057 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_ODCOMBOBOX 1
46060 _ACEOF
46061
46062 USES_CONTROLS=1
46063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46064 fi
46065
46066 if test "$wxUSE_RADIOBOX" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_RADIOBOX 1
46069 _ACEOF
46070
46071 USES_CONTROLS=1
46072 fi
46073
46074 if test "$wxUSE_RADIOBTN" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_RADIOBTN 1
46077 _ACEOF
46078
46079 USES_CONTROLS=1
46080 fi
46081
46082 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_REARRANGECTRL 1
46085 _ACEOF
46086
46087 fi
46088
46089 if test "$wxUSE_SASH" = "yes"; then
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_SASH 1
46092 _ACEOF
46093
46094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46095 fi
46096
46097 if test "$wxUSE_SCROLLBAR" = "yes"; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define wxUSE_SCROLLBAR 1
46100 _ACEOF
46101
46102 USES_CONTROLS=1
46103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46104 fi
46105
46106 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46107 cat >>confdefs.h <<\_ACEOF
46108 #define wxUSE_SEARCHCTRL 1
46109 _ACEOF
46110
46111 USES_CONTROLS=1
46112 fi
46113
46114 if test "$wxUSE_SLIDER" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_SLIDER 1
46117 _ACEOF
46118
46119 USES_CONTROLS=1
46120 fi
46121
46122 if test "$wxUSE_SPINBTN" = "yes"; then
46123 cat >>confdefs.h <<\_ACEOF
46124 #define wxUSE_SPINBTN 1
46125 _ACEOF
46126
46127 USES_CONTROLS=1
46128 fi
46129
46130 if test "$wxUSE_SPINCTRL" = "yes"; then
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_SPINCTRL 1
46133 _ACEOF
46134
46135 USES_CONTROLS=1
46136 fi
46137
46138 if test "$wxUSE_SPLITTER" = "yes"; then
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_SPLITTER 1
46141 _ACEOF
46142
46143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46144 fi
46145
46146 if test "$wxUSE_STATBMP" = "yes"; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_STATBMP 1
46149 _ACEOF
46150
46151 USES_CONTROLS=1
46152 fi
46153
46154 if test "$wxUSE_STATBOX" = "yes"; then
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_STATBOX 1
46157 _ACEOF
46158
46159 USES_CONTROLS=1
46160 fi
46161
46162 if test "$wxUSE_STATTEXT" = "yes"; then
46163 cat >>confdefs.h <<\_ACEOF
46164 #define wxUSE_STATTEXT 1
46165 _ACEOF
46166
46167 USES_CONTROLS=1
46168 fi
46169
46170 if test "$wxUSE_STATLINE" = "yes"; then
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_STATLINE 1
46173 _ACEOF
46174
46175 USES_CONTROLS=1
46176 fi
46177
46178 if test "$wxUSE_STATUSBAR" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_NATIVE_STATUSBAR 1
46181 _ACEOF
46182
46183 cat >>confdefs.h <<\_ACEOF
46184 #define wxUSE_STATUSBAR 1
46185 _ACEOF
46186
46187 USES_CONTROLS=1
46188
46189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46190 fi
46191
46192 if test "$wxUSE_TEXTCTRL" = "yes"; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_TEXTCTRL 1
46195 _ACEOF
46196
46197 USES_CONTROLS=1
46198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46199
46200 cat >>confdefs.h <<\_ACEOF
46201 #define wxUSE_RICHEDIT 1
46202 _ACEOF
46203
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_RICHEDIT2 1
46206 _ACEOF
46207
46208 fi
46209
46210 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46211 if test "$wxUSE_COCOA" = 1 ; then
46212 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46213 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46214 wxUSE_TOGGLEBTN=no
46215 fi
46216
46217 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_TOGGLEBTN 1
46220 _ACEOF
46221
46222 USES_CONTROLS=1
46223 fi
46224 fi
46225
46226 if test "$wxUSE_TOOLBAR" = "yes"; then
46227 cat >>confdefs.h <<\_ACEOF
46228 #define wxUSE_TOOLBAR 1
46229 _ACEOF
46230
46231 USES_CONTROLS=1
46232
46233 if test "$wxUSE_UNIVERSAL" = "yes"; then
46234 wxUSE_TOOLBAR_NATIVE="no"
46235 else
46236 wxUSE_TOOLBAR_NATIVE="yes"
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_TOOLBAR_NATIVE 1
46239 _ACEOF
46240
46241 fi
46242
46243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46244 fi
46245
46246 if test "$wxUSE_TOOLTIPS" = "yes"; then
46247 if test "$wxUSE_MOTIF" = 1; then
46248 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46249 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46250 else
46251 if test "$wxUSE_UNIVERSAL" = "yes"; then
46252 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46253 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46254 else
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_TOOLTIPS 1
46257 _ACEOF
46258
46259 fi
46260 fi
46261 fi
46262
46263 if test "$wxUSE_TREEBOOK" = "yes"; then
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_TREEBOOK 1
46266 _ACEOF
46267
46268 USES_CONTROLS=1
46269 fi
46270
46271 if test "$wxUSE_TOOLBOOK" = "yes"; then
46272 cat >>confdefs.h <<\_ACEOF
46273 #define wxUSE_TOOLBOOK 1
46274 _ACEOF
46275
46276 USES_CONTROLS=1
46277 fi
46278
46279 if test "$wxUSE_TREECTRL" = "yes"; then
46280 if test "$wxUSE_IMAGLIST" = "yes"; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_TREECTRL 1
46283 _ACEOF
46284
46285 USES_CONTROLS=1
46286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46287 else
46288 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46289 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46290 fi
46291 fi
46292
46293 if test "$wxUSE_POPUPWIN" = "yes"; then
46294 if test "$wxUSE_COCOA" = 1 ; then
46295 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46296 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46297 else
46298 if test "$wxUSE_PM" = 1; then
46299 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46300 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46301 else
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_POPUPWIN 1
46304 _ACEOF
46305
46306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46307
46308 USES_CONTROLS=1
46309 fi
46310 fi
46311 fi
46312
46313 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46314 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46315 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46316 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46317 else
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_DIALUP_MANAGER 1
46320 _ACEOF
46321
46322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46323 fi
46324 fi
46325
46326 if test "$wxUSE_TIPWINDOW" = "yes"; then
46327 if test "$wxUSE_PM" = 1; then
46328 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46329 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46330 else
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_TIPWINDOW 1
46333 _ACEOF
46334
46335 fi
46336 fi
46337
46338 if test "$USES_CONTROLS" = 1; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_CONTROLS 1
46341 _ACEOF
46342
46343 fi
46344
46345
46346 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46347 cat >>confdefs.h <<\_ACEOF
46348 #define wxUSE_ACCESSIBILITY 1
46349 _ACEOF
46350
46351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46352 fi
46353
46354 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_DRAGIMAGE 1
46357 _ACEOF
46358
46359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46360 fi
46361
46362 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46363 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46364 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46365 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46366 else
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_EXCEPTIONS 1
46369 _ACEOF
46370
46371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46372 fi
46373 fi
46374
46375 USE_HTML=0
46376 if test "$wxUSE_HTML" = "yes"; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_HTML 1
46379 _ACEOF
46380
46381 USE_HTML=1
46382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46383 fi
46384 if test "$wxUSE_WEBKIT" = "yes"; then
46385 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46386 old_CPPFLAGS="$CPPFLAGS"
46387 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46388 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46389 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46390 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46391 echo $ECHO_N "(cached) $ECHO_C" >&6
46392 else
46393 cat >conftest.$ac_ext <<_ACEOF
46394 /* confdefs.h. */
46395 _ACEOF
46396 cat confdefs.h >>conftest.$ac_ext
46397 cat >>conftest.$ac_ext <<_ACEOF
46398 /* end confdefs.h. */
46399
46400 #include <Carbon/Carbon.h>
46401 #include <WebKit/WebKit.h>
46402
46403
46404 #include <WebKit/HIWebView.h>
46405 _ACEOF
46406 rm -f conftest.$ac_objext
46407 if { (ac_try="$ac_compile"
46408 case "(($ac_try" in
46409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46410 *) ac_try_echo=$ac_try;;
46411 esac
46412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46413 (eval "$ac_compile") 2>conftest.er1
46414 ac_status=$?
46415 grep -v '^ *+' conftest.er1 >conftest.err
46416 rm -f conftest.er1
46417 cat conftest.err >&5
46418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46419 (exit $ac_status); } && {
46420 test -z "$ac_c_werror_flag" ||
46421 test ! -s conftest.err
46422 } && test -s conftest.$ac_objext; then
46423 ac_cv_header_WebKit_HIWebView_h=yes
46424 else
46425 echo "$as_me: failed program was:" >&5
46426 sed 's/^/| /' conftest.$ac_ext >&5
46427
46428 ac_cv_header_WebKit_HIWebView_h=no
46429 fi
46430
46431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46432 fi
46433 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46434 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46435 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46436
46437 cat >>confdefs.h <<\_ACEOF
46438 #define wxUSE_WEBKIT 1
46439 _ACEOF
46440
46441 WEBKIT_LINK="-framework WebKit"
46442
46443 else
46444
46445 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46446 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46447 wxUSE_WEBKIT=no
46448
46449 fi
46450
46451
46452 CPPFLAGS="$old_CPPFLAGS"
46453 elif test "$wxUSE_COCOA" = 1; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_WEBKIT 1
46456 _ACEOF
46457
46458 else
46459 wxUSE_WEBKIT=no
46460 fi
46461 if test "$wxUSE_WEBKIT" = "yes"; then
46462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46463 fi
46464 fi
46465
46466 USE_XRC=0
46467 if test "$wxUSE_XRC" = "yes"; then
46468 if test "$wxUSE_XML" != "yes"; then
46469 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46470 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46471 wxUSE_XRC=no
46472 else
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_XRC 1
46475 _ACEOF
46476
46477 USE_XRC=1
46478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46479 fi
46480 fi
46481
46482 USE_AUI=0
46483 if test "$wxUSE_AUI" = "yes"; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_AUI 1
46486 _ACEOF
46487
46488 USE_AUI=1
46489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46490 fi
46491
46492 USE_PROPGRID=0
46493 if test "$wxUSE_PROPGRID" = "yes"; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_PROPGRID 1
46496 _ACEOF
46497
46498 USE_PROPGRID=1
46499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46500 fi
46501
46502 USE_RIBBON=0
46503 if test "$wxUSE_RIBBON" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_RIBBON 1
46506 _ACEOF
46507
46508 USE_RIBBON=1
46509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46510 fi
46511
46512 USE_STC=0
46513 if test "$wxUSE_STC" = "yes"; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_STC 1
46516 _ACEOF
46517
46518 USE_STC=1
46519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46520
46521 # Extract the first word of "python", so it can be a program name with args.
46522 set dummy python; ac_word=$2
46523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46525 if test "${ac_cv_path_PYTHON+set}" = set; then
46526 echo $ECHO_N "(cached) $ECHO_C" >&6
46527 else
46528 case $PYTHON in
46529 [\\/]* | ?:[\\/]*)
46530 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46531 ;;
46532 *)
46533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46534 for as_dir in $PATH
46535 do
46536 IFS=$as_save_IFS
46537 test -z "$as_dir" && as_dir=.
46538 for ac_exec_ext in '' $ac_executable_extensions; do
46539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46540 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46542 break 2
46543 fi
46544 done
46545 done
46546 IFS=$as_save_IFS
46547
46548 ;;
46549 esac
46550 fi
46551 PYTHON=$ac_cv_path_PYTHON
46552 if test -n "$PYTHON"; then
46553 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46554 echo "${ECHO_T}$PYTHON" >&6; }
46555 else
46556 { echo "$as_me:$LINENO: result: no" >&5
46557 echo "${ECHO_T}no" >&6; }
46558 fi
46559
46560
46561 if test "x$PYTHON" = "x"; then
46562 COND_PYTHON="#"
46563 fi
46564
46565 fi
46566
46567 if test "$wxUSE_MENUS" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_MENUS 1
46570 _ACEOF
46571
46572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46573 fi
46574
46575 if test "$wxUSE_METAFILE" = "yes"; then
46576 cat >>confdefs.h <<\_ACEOF
46577 #define wxUSE_METAFILE 1
46578 _ACEOF
46579
46580 fi
46581
46582 if test "$wxUSE_MIMETYPE" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_MIMETYPE 1
46585 _ACEOF
46586
46587 fi
46588
46589 if test "$wxUSE_MINIFRAME" = "yes"; then
46590 cat >>confdefs.h <<\_ACEOF
46591 #define wxUSE_MINIFRAME 1
46592 _ACEOF
46593
46594 fi
46595
46596 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_SYSTEM_OPTIONS 1
46599 _ACEOF
46600
46601 fi
46602
46603 if test "$wxUSE_TASKBARICON" = "yes"; then
46604 cat >>confdefs.h <<\_ACEOF
46605 #define wxUSE_TASKBARICON 1
46606 _ACEOF
46607
46608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46609 fi
46610
46611
46612 if test "$wxUSE_VALIDATORS" = "yes"; then
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_VALIDATORS 1
46615 _ACEOF
46616
46617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46618 fi
46619
46620 if test "$wxUSE_PALETTE" = "yes" ; then
46621 if test "$wxUSE_DFB" = 1; then
46622 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46623 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46624 wxUSE_PALETTE=no
46625 else
46626 cat >>confdefs.h <<\_ACEOF
46627 #define wxUSE_PALETTE 1
46628 _ACEOF
46629
46630 fi
46631 fi
46632
46633 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46634 LIBS=" -lunicows $LIBS"
46635 fi
46636
46637 USE_RICHTEXT=0
46638 if test "$wxUSE_RICHTEXT" = "yes"; then
46639 cat >>confdefs.h <<\_ACEOF
46640 #define wxUSE_RICHTEXT 1
46641 _ACEOF
46642
46643 USE_RICHTEXT=1
46644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46645 fi
46646
46647
46648 if test "$wxUSE_IMAGE" = "yes" ; then
46649 cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_IMAGE 1
46651 _ACEOF
46652
46653
46654 if test "$wxUSE_GIF" = "yes" ; then
46655 cat >>confdefs.h <<\_ACEOF
46656 #define wxUSE_GIF 1
46657 _ACEOF
46658
46659 fi
46660
46661 if test "$wxUSE_PCX" = "yes" ; then
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_PCX 1
46664 _ACEOF
46665
46666 fi
46667
46668 if test "$wxUSE_TGA" = "yes" ; then
46669 cat >>confdefs.h <<\_ACEOF
46670 #define wxUSE_TGA 1
46671 _ACEOF
46672
46673 fi
46674
46675 if test "$wxUSE_IFF" = "yes" ; then
46676 cat >>confdefs.h <<\_ACEOF
46677 #define wxUSE_IFF 1
46678 _ACEOF
46679
46680 fi
46681
46682 if test "$wxUSE_PNM" = "yes" ; then
46683 cat >>confdefs.h <<\_ACEOF
46684 #define wxUSE_PNM 1
46685 _ACEOF
46686
46687 fi
46688
46689 if test "$wxUSE_XPM" = "yes" ; then
46690 cat >>confdefs.h <<\_ACEOF
46691 #define wxUSE_XPM 1
46692 _ACEOF
46693
46694 fi
46695
46696 if test "$wxUSE_ICO_CUR" = "yes" ; then
46697 cat >>confdefs.h <<\_ACEOF
46698 #define wxUSE_ICO_CUR 1
46699 _ACEOF
46700
46701 fi
46702 fi
46703
46704
46705 if test "$wxUSE_ABOUTDLG" = "yes"; then
46706 cat >>confdefs.h <<\_ACEOF
46707 #define wxUSE_ABOUTDLG 1
46708 _ACEOF
46709
46710 fi
46711
46712 if test "$wxUSE_CHOICEDLG" = "yes"; then
46713 cat >>confdefs.h <<\_ACEOF
46714 #define wxUSE_CHOICEDLG 1
46715 _ACEOF
46716
46717 fi
46718
46719 if test "$wxUSE_COLOURDLG" = "yes"; then
46720 cat >>confdefs.h <<\_ACEOF
46721 #define wxUSE_COLOURDLG 1
46722 _ACEOF
46723
46724 fi
46725
46726 if test "$wxUSE_FILEDLG" = "yes"; then
46727 cat >>confdefs.h <<\_ACEOF
46728 #define wxUSE_FILEDLG 1
46729 _ACEOF
46730
46731 fi
46732
46733 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46734 cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_FINDREPLDLG 1
46736 _ACEOF
46737
46738 fi
46739
46740 if test "$wxUSE_FONTDLG" = "yes"; then
46741 cat >>confdefs.h <<\_ACEOF
46742 #define wxUSE_FONTDLG 1
46743 _ACEOF
46744
46745 fi
46746
46747 if test "$wxUSE_DIRDLG" = "yes"; then
46748 if test "$wxUSE_TREECTRL" != "yes"; then
46749 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46750 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46751 else
46752 cat >>confdefs.h <<\_ACEOF
46753 #define wxUSE_DIRDLG 1
46754 _ACEOF
46755
46756 fi
46757 fi
46758
46759 if test "$wxUSE_MSGDLG" = "yes"; then
46760 cat >>confdefs.h <<\_ACEOF
46761 #define wxUSE_MSGDLG 1
46762 _ACEOF
46763
46764 fi
46765
46766 if test "$wxUSE_NUMBERDLG" = "yes"; then
46767 cat >>confdefs.h <<\_ACEOF
46768 #define wxUSE_NUMBERDLG 1
46769 _ACEOF
46770
46771 fi
46772
46773 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46774 cat >>confdefs.h <<\_ACEOF
46775 #define wxUSE_PROGRESSDLG 1
46776 _ACEOF
46777
46778 fi
46779
46780 if test "$wxUSE_SPLASH" = "yes"; then
46781 cat >>confdefs.h <<\_ACEOF
46782 #define wxUSE_SPLASH 1
46783 _ACEOF
46784
46785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46786 fi
46787
46788 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46789 cat >>confdefs.h <<\_ACEOF
46790 #define wxUSE_STARTUP_TIPS 1
46791 _ACEOF
46792
46793 fi
46794
46795 if test "$wxUSE_TEXTDLG" = "yes"; then
46796 cat >>confdefs.h <<\_ACEOF
46797 #define wxUSE_TEXTDLG 1
46798 _ACEOF
46799
46800 fi
46801
46802 if test "$wxUSE_WIZARDDLG" = "yes"; then
46803 cat >>confdefs.h <<\_ACEOF
46804 #define wxUSE_WIZARDDLG 1
46805 _ACEOF
46806
46807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46808 fi
46809
46810
46811 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46812 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46813 cat >>confdefs.h <<\_ACEOF
46814 #define wxUSE_OWNER_DRAWN 1
46815 _ACEOF
46816
46817 fi
46818 fi
46819
46820
46821 if test "$wxUSE_MSW" = 1 ; then
46822
46823 if test "$wxUSE_DC_CACHEING" = "yes"; then
46824 cat >>confdefs.h <<\_ACEOF
46825 #define wxUSE_DC_CACHEING 1
46826 _ACEOF
46827
46828 fi
46829
46830 if test "$wxUSE_DIB" = "yes"; then
46831 cat >>confdefs.h <<\_ACEOF
46832 #define wxUSE_WXDIB 1
46833 _ACEOF
46834
46835 fi
46836
46837 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46838 cat >>confdefs.h <<\_ACEOF
46839 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46840 _ACEOF
46841
46842 fi
46843
46844 if test "$wxUSE_UXTHEME" = "yes"; then
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_UXTHEME 1
46847 _ACEOF
46848
46849 fi
46850
46851 fi
46852
46853 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_AUTOID_MANAGEMENT 1
46856 _ACEOF
46857
46858 fi
46859
46860 if test "$USE_WIN32" = 1 ; then
46861 if test "$wxUSE_INICONF" = "yes"; then
46862 cat >>confdefs.h <<\_ACEOF
46863 #define wxUSE_INICONF 1
46864 _ACEOF
46865
46866 fi
46867
46868 if test "$wxUSE_REGKEY" = "yes"; then
46869 cat >>confdefs.h <<\_ACEOF
46870 #define wxUSE_REGKEY 1
46871 _ACEOF
46872
46873 fi
46874 fi
46875
46876
46877 if test "$wxUSE_MAC" = 1; then
46878 wxUSE_GRAPHICS_CONTEXT="yes"
46879 fi
46880
46881 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46882 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46883 cat >>confdefs.h <<\_ACEOF
46884 #define wxUSE_GRAPHICS_CONTEXT 1
46885 _ACEOF
46886
46887 elif test "$wxUSE_GTK" != 1; then
46888 cat >>confdefs.h <<\_ACEOF
46889 #define wxUSE_GRAPHICS_CONTEXT 1
46890 _ACEOF
46891
46892 else
46893
46894 pkg_failed=no
46895 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46896 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46897
46898 if test -n "$PKG_CONFIG"; then
46899 if test -n "$CAIRO_CFLAGS"; then
46900 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46901 else
46902 if test -n "$PKG_CONFIG" && \
46903 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46904 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46905 ac_status=$?
46906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46907 (exit $ac_status); }; then
46908 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46909 else
46910 pkg_failed=yes
46911 fi
46912 fi
46913 else
46914 pkg_failed=untried
46915 fi
46916 if test -n "$PKG_CONFIG"; then
46917 if test -n "$CAIRO_LIBS"; then
46918 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46919 else
46920 if test -n "$PKG_CONFIG" && \
46921 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46922 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46923 ac_status=$?
46924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46925 (exit $ac_status); }; then
46926 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46927 else
46928 pkg_failed=yes
46929 fi
46930 fi
46931 else
46932 pkg_failed=untried
46933 fi
46934
46935
46936
46937 if test $pkg_failed = yes; then
46938
46939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46940 _pkg_short_errors_supported=yes
46941 else
46942 _pkg_short_errors_supported=no
46943 fi
46944 if test $_pkg_short_errors_supported = yes; then
46945 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46946 else
46947 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46948 fi
46949 # Put the nasty error message in config.log where it belongs
46950 echo "$CAIRO_PKG_ERRORS" >&5
46951
46952 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46953 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46954
46955 elif test $pkg_failed = untried; then
46956 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46957 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46958
46959 else
46960 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46961 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46962 { echo "$as_me:$LINENO: result: yes" >&5
46963 echo "${ECHO_T}yes" >&6; }
46964 cat >>confdefs.h <<\_ACEOF
46965 #define wxUSE_GRAPHICS_CONTEXT 1
46966 _ACEOF
46967
46968 fi
46969 fi
46970 fi
46971
46972
46973 USE_MEDIA=0
46974
46975 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46976 USE_MEDIA=1
46977
46978 if test "$wxUSE_GTK" = 1; then
46979 wxUSE_GSTREAMER="no"
46980
46981 GST_VERSION_MAJOR=0
46982 GST_VERSION_MINOR=10
46983 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46984
46985 if test "$wxUSE_GSTREAMER8" = "no"; then
46986
46987 pkg_failed=no
46988 { echo "$as_me:$LINENO: checking for GST" >&5
46989 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46990
46991 if test -n "$PKG_CONFIG"; then
46992 if test -n "$GST_CFLAGS"; then
46993 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46994 else
46995 if test -n "$PKG_CONFIG" && \
46996 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46997 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46998 ac_status=$?
46999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47000 (exit $ac_status); }; then
47001 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47002 else
47003 pkg_failed=yes
47004 fi
47005 fi
47006 else
47007 pkg_failed=untried
47008 fi
47009 if test -n "$PKG_CONFIG"; then
47010 if test -n "$GST_LIBS"; then
47011 pkg_cv_GST_LIBS="$GST_LIBS"
47012 else
47013 if test -n "$PKG_CONFIG" && \
47014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47015 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47016 ac_status=$?
47017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47018 (exit $ac_status); }; then
47019 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47020 else
47021 pkg_failed=yes
47022 fi
47023 fi
47024 else
47025 pkg_failed=untried
47026 fi
47027
47028
47029
47030 if test $pkg_failed = yes; then
47031
47032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47033 _pkg_short_errors_supported=yes
47034 else
47035 _pkg_short_errors_supported=no
47036 fi
47037 if test $_pkg_short_errors_supported = yes; then
47038 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47039 else
47040 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47041 fi
47042 # Put the nasty error message in config.log where it belongs
47043 echo "$GST_PKG_ERRORS" >&5
47044
47045
47046 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47047 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47048 GST_VERSION_MINOR=8
47049
47050
47051 elif test $pkg_failed = untried; then
47052
47053 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47054 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47055 GST_VERSION_MINOR=8
47056
47057
47058 else
47059 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47060 GST_LIBS=$pkg_cv_GST_LIBS
47061 { echo "$as_me:$LINENO: result: yes" >&5
47062 echo "${ECHO_T}yes" >&6; }
47063
47064 wxUSE_GSTREAMER="yes"
47065 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47066
47067 fi
47068 else
47069 GST_VERSION_MINOR=8
47070 fi
47071
47072 if test $GST_VERSION_MINOR = "8"; then
47073 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47074
47075 pkg_failed=no
47076 { echo "$as_me:$LINENO: checking for GST" >&5
47077 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47078
47079 if test -n "$PKG_CONFIG"; then
47080 if test -n "$GST_CFLAGS"; then
47081 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47082 else
47083 if test -n "$PKG_CONFIG" && \
47084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47085 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47086 ac_status=$?
47087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47088 (exit $ac_status); }; then
47089 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47090 else
47091 pkg_failed=yes
47092 fi
47093 fi
47094 else
47095 pkg_failed=untried
47096 fi
47097 if test -n "$PKG_CONFIG"; then
47098 if test -n "$GST_LIBS"; then
47099 pkg_cv_GST_LIBS="$GST_LIBS"
47100 else
47101 if test -n "$PKG_CONFIG" && \
47102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47103 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47104 ac_status=$?
47105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47106 (exit $ac_status); }; then
47107 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47108 else
47109 pkg_failed=yes
47110 fi
47111 fi
47112 else
47113 pkg_failed=untried
47114 fi
47115
47116
47117
47118 if test $pkg_failed = yes; then
47119
47120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47121 _pkg_short_errors_supported=yes
47122 else
47123 _pkg_short_errors_supported=no
47124 fi
47125 if test $_pkg_short_errors_supported = yes; then
47126 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47127 else
47128 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47129 fi
47130 # Put the nasty error message in config.log where it belongs
47131 echo "$GST_PKG_ERRORS" >&5
47132
47133
47134 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47135 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47136
47137 elif test $pkg_failed = untried; then
47138
47139 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47140 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47141
47142 else
47143 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47144 GST_LIBS=$pkg_cv_GST_LIBS
47145 { echo "$as_me:$LINENO: result: yes" >&5
47146 echo "${ECHO_T}yes" >&6; }
47147 wxUSE_GSTREAMER="yes"
47148 fi
47149 fi
47150
47151
47152 if test "$wxUSE_GSTREAMER" = "yes"; then
47153 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47154 EXTRALIBS_MEDIA="$GST_LIBS"
47155
47156 cat >>confdefs.h <<\_ACEOF
47157 #define wxUSE_GSTREAMER 1
47158 _ACEOF
47159
47160 else
47161 USE_MEDIA=0
47162 fi
47163 fi
47164
47165 if test $USE_MEDIA = 1; then
47166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47167 cat >>confdefs.h <<\_ACEOF
47168 #define wxUSE_MEDIACTRL 1
47169 _ACEOF
47170
47171 else
47172 if test "$wxUSE_MEDIACTRL" = "yes"; then
47173 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47174 echo "$as_me: error: GStreamer not available" >&2;}
47175 { (exit 1); exit 1; }; }
47176 else
47177 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47178 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47179 fi
47180 fi
47181 fi
47182
47183
47184 if test "$cross_compiling" != "no"; then
47185 OSINFO="\"$host\""
47186 else
47187 OSINFO=`uname -s -r -m`
47188 OSINFO="\"$OSINFO\""
47189 fi
47190
47191 cat >>confdefs.h <<_ACEOF
47192 #define WXWIN_OS_DESCRIPTION $OSINFO
47193 _ACEOF
47194
47195
47196
47197 if test "x$prefix" != "xNONE"; then
47198 wxPREFIX=$prefix
47199 else
47200 wxPREFIX=$ac_default_prefix
47201 fi
47202
47203 cat >>confdefs.h <<_ACEOF
47204 #define wxINSTALL_PREFIX "$wxPREFIX"
47205 _ACEOF
47206
47207
47208
47209
47210 STD_BASE_LIBS="base"
47211 STD_GUI_LIBS=""
47212 BUILT_WX_LIBS="base"
47213 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47214
47215 if test "$wxUSE_SOCKETS" = "yes" ; then
47216 STD_BASE_LIBS="net $STD_BASE_LIBS"
47217 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47218 fi
47219 if test "$wxUSE_XML" = "yes" ; then
47220 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47221 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47222 fi
47223
47224 if test "$wxUSE_GUI" = "yes"; then
47225 STD_GUI_LIBS="adv core"
47226 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47227
47228 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47229 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47230 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47231 fi
47232 if test "$wxUSE_HTML" = "yes" ; then
47233 STD_GUI_LIBS="html $STD_GUI_LIBS"
47234 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47235 fi
47236 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47237 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47238 fi
47239 if test "$wxUSE_OPENGL" = "yes" ; then
47240 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47241 fi
47242 if test "$wxUSE_AUI" = "yes" ; then
47243 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47244 fi
47245 if test "$wxUSE_PROPGRID" = "yes" ; then
47246 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47247 fi
47248 if test "$wxUSE_RIBBON" = "yes" ; then
47249 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47250 fi
47251 if test "$wxUSE_RICHTEXT" = "yes" ; then
47252 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47253 fi
47254 if test "$wxUSE_STC" = "yes" ; then
47255 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47256 fi
47257 if test "$wxUSE_XRC" = "yes" ; then
47258 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47259 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47260 fi
47261 fi
47262
47263
47264
47265
47266
47267
47268
47269
47270 if test "$wxUSE_MAC" = 1 ; then
47271 if test "$USE_DARWIN" = 1; then
47272 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47273 fi
47274 fi
47275 if test "$wxUSE_COCOA" = 1 ; then
47276 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47277 if test "$wxUSE_MEDIACTRL" = "yes"; then
47278 LDFLAGS="$LDFLAGS -framework QuickTime"
47279 fi
47280 fi
47281 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47282 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47283 fi
47284
47285 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47286
47287 if test "$wxUSE_GUI" = "yes"; then
47288
47289
47290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47291 erase event exec font image minimal render \
47292 shaped svg taborder vscroll widgets wrapsizer"
47293
47294 if test "$wxUSE_MONOLITHIC" != "yes"; then
47295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47296 fi
47297 if test "$TOOLKIT" = "MSW"; then
47298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47299 if test "$wxUSE_UNIVERSAL" != "yes"; then
47300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47301 fi
47302 fi
47303 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47305 fi
47306 else
47307 SAMPLES_SUBDIRS="console"
47308 if test "$wxUSE_SOCKETS" = "yes" ; then
47309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47310 fi
47311 if test "$wxUSE_IPC" = "yes" ; then
47312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47313 fi
47314 fi
47315
47316
47317 if test "x$INTELCC" = "xyes" ; then
47318 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47319 elif test "$GCC" = yes ; then
47320 CWARNINGS="-Wall -Wundef"
47321 fi
47322
47323 if test "x$INTELCXX" = "xyes" ; then
47324 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47325 elif test "$GXX" = yes ; then
47326 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47327 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47328 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47329 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47330 echo $ECHO_N "(cached) $ECHO_C" >&6
47331 else
47332 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47333
47334 ac_ext=cpp
47335 ac_cpp='$CXXCPP $CPPFLAGS'
47336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47339
47340 ac_save_CXXFLAGS="$CXXFLAGS"
47341 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47342 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47343 cat >conftest.$ac_ext <<_ACEOF
47344 /* confdefs.h. */
47345 _ACEOF
47346 cat confdefs.h >>conftest.$ac_ext
47347 cat >>conftest.$ac_ext <<_ACEOF
47348 /* end confdefs.h. */
47349
47350 int
47351 main ()
47352 {
47353 return 0;
47354 ;
47355 return 0;
47356 }
47357 _ACEOF
47358 rm -f conftest.$ac_objext
47359 if { (ac_try="$ac_compile"
47360 case "(($ac_try" in
47361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47362 *) ac_try_echo=$ac_try;;
47363 esac
47364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47365 (eval "$ac_compile") 2>conftest.er1
47366 ac_status=$?
47367 grep -v '^ *+' conftest.er1 >conftest.err
47368 rm -f conftest.er1
47369 cat conftest.err >&5
47370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47371 (exit $ac_status); } && {
47372 test -z "$ac_cxx_werror_flag" ||
47373 test ! -s conftest.err
47374 } && test -s conftest.$ac_objext; then
47375 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47376 else
47377 echo "$as_me: failed program was:" >&5
47378 sed 's/^/| /' conftest.$ac_ext >&5
47379
47380
47381 fi
47382
47383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47384 done
47385 CXXFLAGS="$ac_save_CXXFLAGS"
47386 ac_ext=c
47387 ac_cpp='$CPP $CPPFLAGS'
47388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47391
47392
47393 fi
47394 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47395 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47396 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47397 .ok|.ok,*) ;;
47398 .|.no|.no,*) ;;
47399 *)
47400 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47401 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47402 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47403 ac_status=$?
47404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47405 (exit $ac_status); }
47406 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47407 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47408 ac_status=$?
47409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47410 (exit $ac_status); }
47411 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47412 fi
47413 ;;
47414 esac
47415
47416
47417 if test "$wxUSE_MAC" = 1 ; then
47418 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47419 fi
47420 fi
47421
47422
47423 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47424 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47425
47426
47427 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47428 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47429 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47430 $CPPFLAGS `
47431
47432 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47433 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47434 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47435 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47436 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47437
47438 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47439
47440
47441 if test "x$MWCC" = "xyes"; then
47442
47443 CC="$CC -cwd source -I-"
47444 CXX="$CXX -cwd source -I-"
47445 fi
47446
47447
47448 LIBS=`echo $LIBS`
47449 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47450 EXTRALIBS_XML="$EXPAT_LINK"
47451 EXTRALIBS_HTML="$MSPACK_LINK"
47452 EXTRALIBS_MEDIA="$GST_LIBS"
47453 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47454 if test "$wxUSE_GUI" = "yes"; then
47455 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47456 fi
47457 if test "$wxUSE_OPENGL" = "yes"; then
47458 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47459 fi
47460
47461 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47462
47463 WXCONFIG_LIBS="$LIBS"
47464
47465 if test "$wxUSE_REGEX" = "builtin" ; then
47466 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47467 fi
47468 if test "$wxUSE_EXPAT" = "builtin" ; then
47469 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47470 fi
47471 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47472 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47473 fi
47474 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47475 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47476 fi
47477 if test "$wxUSE_LIBPNG" = "builtin" ; then
47478 wxconfig_3rdparty="png $wxconfig_3rdparty"
47479 fi
47480 if test "$wxUSE_ZLIB" = "builtin" ; then
47481 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47482 fi
47483
47484 for i in $wxconfig_3rdparty ; do
47485 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47486 done
47487
47488
47489 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47490 WXUNIV=1
47491
47492 case "$wxUNIV_THEMES" in
47493 ''|all)
47494 cat >>confdefs.h <<\_ACEOF
47495 #define wxUSE_ALL_THEMES 1
47496 _ACEOF
47497
47498 ;;
47499
47500 *)
47501 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47502 cat >>confdefs.h <<_ACEOF
47503 #define wxUSE_THEME_$t 1
47504 _ACEOF
47505
47506 done
47507 esac
47508 else
47509 WXUNIV=0
47510 fi
47511
47512
47513
47514
47515
47516
47517
47518
47519 if test $wxUSE_MONOLITHIC = "yes" ; then
47520 MONOLITHIC=1
47521 else
47522 MONOLITHIC=0
47523 fi
47524
47525 if test $wxUSE_PLUGINS = "yes" ; then
47526 USE_PLUGINS=1
47527 else
47528 USE_PLUGINS=0
47529 fi
47530
47531 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47532 USE_QA=1
47533 else
47534 USE_QA=0
47535 fi
47536
47537 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47538 OFFICIAL_BUILD=1
47539 else
47540 OFFICIAL_BUILD=0
47541 fi
47542
47543
47544
47545
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568
47569 TOOLKIT_LOWERCASE=xxx
47570 if test "$TOOLKIT" = "MAC"; then
47571 TOOLKIT_LOWERCASE=osx_carbon
47572 fi
47573 if test "$TOOLKIT" = "OSX_CARBON"; then
47574 TOOLKIT_LOWERCASE=osx_carbon
47575 fi
47576 if test "$TOOLKIT" = "OSX_COCOA"; then
47577 TOOLKIT_LOWERCASE=osx_cocoa
47578 fi
47579 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47580 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47581 fi
47582
47583
47584
47585
47586
47587
47588
47589
47590
47591
47592 case "$TOOLKIT" in
47593 GTK)
47594 TOOLKIT_DESC="GTK+"
47595 if test "$WXGTK2" = 1; then
47596 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47597 if test "$wxUSE_GTKPRINT" = "yes" ; then
47598 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47599 fi
47600 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47601 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47602 fi
47603 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47604 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47605 fi
47606 if test "$wxUSE_LIBHILDON" = "yes"; then
47607 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47608 fi
47609 if test "$wxUSE_LIBHILDON2" = "yes"; then
47610 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47611 fi
47612
47613 if test "$TOOLKIT_EXTRA" != ""; then
47614 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47615 fi
47616 fi
47617 ;;
47618
47619 ?*)
47620 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47621 ;;
47622
47623 *)
47624 TOOLKIT_DESC="base only"
47625 ;;
47626 esac
47627
47628 if test "$wxUSE_WINE" = "yes"; then
47629 BAKEFILE_FORCE_PLATFORM=win32
47630 fi
47631
47632 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47633 then
47634 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47635 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47636 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47637 echo $ECHO_N "(cached) $ECHO_C" >&6
47638 else
47639
47640 echo '#include <stdio.h>
47641 const wchar_t test_var[] = L"awidetest";' > conftest.h
47642
47643 echo '#include "conftest.h"
47644 int main()
47645 {
47646 printf("%ls", test_var);
47647 return 0;
47648 }' > conftest.cpp
47649
47650 wx_cv_gcc_pch_bug="pch not supported"
47651
47652 if $CXX conftest.h >/dev/null 2>&1
47653 then
47654 wx_cv_gcc_pch_bug=
47655
47656 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47657 then
47658 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47659 grep awidetest >/dev/null
47660 then
47661 wx_cv_gcc_pch_bug=no
47662 else
47663 wx_cv_gcc_pch_bug=yes
47664 fi
47665 fi
47666 fi
47667
47668 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47669
47670 fi
47671 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47672 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47673
47674 if test "$wx_cv_gcc_pch_bug" = yes; then
47675 bk_use_pch=no
47676 fi
47677 fi
47678
47679
47680
47681
47682
47683
47684
47685 if test "x$BAKEFILE_HOST" = "x"; then
47686 if test "x${host}" = "x" ; then
47687 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47688 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47689 { (exit 1); exit 1; }; }
47690 fi
47691
47692 BAKEFILE_HOST="${host}"
47693 fi
47694
47695 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47696
47697 if test -n "$ac_tool_prefix"; then
47698 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47699 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47702 if test "${ac_cv_prog_RANLIB+set}" = set; then
47703 echo $ECHO_N "(cached) $ECHO_C" >&6
47704 else
47705 if test -n "$RANLIB"; then
47706 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47707 else
47708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47709 for as_dir in $PATH
47710 do
47711 IFS=$as_save_IFS
47712 test -z "$as_dir" && as_dir=.
47713 for ac_exec_ext in '' $ac_executable_extensions; do
47714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47715 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47717 break 2
47718 fi
47719 done
47720 done
47721 IFS=$as_save_IFS
47722
47723 fi
47724 fi
47725 RANLIB=$ac_cv_prog_RANLIB
47726 if test -n "$RANLIB"; then
47727 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47728 echo "${ECHO_T}$RANLIB" >&6; }
47729 else
47730 { echo "$as_me:$LINENO: result: no" >&5
47731 echo "${ECHO_T}no" >&6; }
47732 fi
47733
47734
47735 fi
47736 if test -z "$ac_cv_prog_RANLIB"; then
47737 ac_ct_RANLIB=$RANLIB
47738 # Extract the first word of "ranlib", so it can be a program name with args.
47739 set dummy ranlib; ac_word=$2
47740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47742 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47743 echo $ECHO_N "(cached) $ECHO_C" >&6
47744 else
47745 if test -n "$ac_ct_RANLIB"; then
47746 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47747 else
47748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47749 for as_dir in $PATH
47750 do
47751 IFS=$as_save_IFS
47752 test -z "$as_dir" && as_dir=.
47753 for ac_exec_ext in '' $ac_executable_extensions; do
47754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47755 ac_cv_prog_ac_ct_RANLIB="ranlib"
47756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47757 break 2
47758 fi
47759 done
47760 done
47761 IFS=$as_save_IFS
47762
47763 fi
47764 fi
47765 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47766 if test -n "$ac_ct_RANLIB"; then
47767 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47768 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47769 else
47770 { echo "$as_me:$LINENO: result: no" >&5
47771 echo "${ECHO_T}no" >&6; }
47772 fi
47773
47774 if test "x$ac_ct_RANLIB" = x; then
47775 RANLIB=":"
47776 else
47777 case $cross_compiling:$ac_tool_warned in
47778 yes:)
47779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47780 whose name does not start with the host triplet. If you think this
47781 configuration is useful to you, please write to autoconf@gnu.org." >&5
47782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47783 whose name does not start with the host triplet. If you think this
47784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47785 ac_tool_warned=yes ;;
47786 esac
47787 RANLIB=$ac_ct_RANLIB
47788 fi
47789 else
47790 RANLIB="$ac_cv_prog_RANLIB"
47791 fi
47792
47793 # Find a good install program. We prefer a C program (faster),
47794 # so one script is as good as another. But avoid the broken or
47795 # incompatible versions:
47796 # SysV /etc/install, /usr/sbin/install
47797 # SunOS /usr/etc/install
47798 # IRIX /sbin/install
47799 # AIX /bin/install
47800 # AmigaOS /C/install, which installs bootblocks on floppy discs
47801 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47802 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47803 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47804 # OS/2's system install, which has a completely different semantic
47805 # ./install, which can be erroneously created by make from ./install.sh.
47806 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47807 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47808 if test -z "$INSTALL"; then
47809 if test "${ac_cv_path_install+set}" = set; then
47810 echo $ECHO_N "(cached) $ECHO_C" >&6
47811 else
47812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47813 for as_dir in $PATH
47814 do
47815 IFS=$as_save_IFS
47816 test -z "$as_dir" && as_dir=.
47817 # Account for people who put trailing slashes in PATH elements.
47818 case $as_dir/ in
47819 ./ | .// | /cC/* | \
47820 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47821 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47822 /usr/ucb/* ) ;;
47823 *)
47824 # OSF1 and SCO ODT 3.0 have their own names for install.
47825 # Don't use installbsd from OSF since it installs stuff as root
47826 # by default.
47827 for ac_prog in ginstall scoinst install; do
47828 for ac_exec_ext in '' $ac_executable_extensions; do
47829 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47830 if test $ac_prog = install &&
47831 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47832 # AIX install. It has an incompatible calling convention.
47833 :
47834 elif test $ac_prog = install &&
47835 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47836 # program-specific install script used by HP pwplus--don't use.
47837 :
47838 else
47839 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47840 break 3
47841 fi
47842 fi
47843 done
47844 done
47845 ;;
47846 esac
47847 done
47848 IFS=$as_save_IFS
47849
47850
47851 fi
47852 if test "${ac_cv_path_install+set}" = set; then
47853 INSTALL=$ac_cv_path_install
47854 else
47855 # As a last resort, use the slow shell script. Don't cache a
47856 # value for INSTALL within a source directory, because that will
47857 # break other packages using the cache if that directory is
47858 # removed, or if the value is a relative name.
47859 INSTALL=$ac_install_sh
47860 fi
47861 fi
47862 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47863 echo "${ECHO_T}$INSTALL" >&6; }
47864
47865 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47866 # It thinks the first close brace ends the variable substitution.
47867 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47868
47869 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47870
47871 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47872
47873 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47874 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47875 LN_S=$as_ln_s
47876 if test "$LN_S" = "ln -s"; then
47877 { echo "$as_me:$LINENO: result: yes" >&5
47878 echo "${ECHO_T}yes" >&6; }
47879 else
47880 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47881 echo "${ECHO_T}no, using $LN_S" >&6; }
47882 fi
47883
47884
47885 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47886 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47887 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47888 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47889 echo $ECHO_N "(cached) $ECHO_C" >&6
47890 else
47891 cat >conftest.make <<\_ACEOF
47892 SHELL = /bin/sh
47893 all:
47894 @echo '@@@%%%=$(MAKE)=@@@%%%'
47895 _ACEOF
47896 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47897 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47898 *@@@%%%=?*=@@@%%%*)
47899 eval ac_cv_prog_make_${ac_make}_set=yes;;
47900 *)
47901 eval ac_cv_prog_make_${ac_make}_set=no;;
47902 esac
47903 rm -f conftest.make
47904 fi
47905 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47906 { echo "$as_me:$LINENO: result: yes" >&5
47907 echo "${ECHO_T}yes" >&6; }
47908 SET_MAKE=
47909 else
47910 { echo "$as_me:$LINENO: result: no" >&5
47911 echo "${ECHO_T}no" >&6; }
47912 SET_MAKE="MAKE=${MAKE-make}"
47913 fi
47914
47915
47916
47917 if test "x$SUNCXX" = "xyes"; then
47918 AR=$CXX
47919 AROPTIONS="-xar -o"
47920
47921 elif test "x$SGICC" = "xyes"; then
47922 AR=$CXX
47923 AROPTIONS="-ar -o"
47924
47925 else
47926 if test -n "$ac_tool_prefix"; then
47927 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47928 set dummy ${ac_tool_prefix}ar; ac_word=$2
47929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47931 if test "${ac_cv_prog_AR+set}" = set; then
47932 echo $ECHO_N "(cached) $ECHO_C" >&6
47933 else
47934 if test -n "$AR"; then
47935 ac_cv_prog_AR="$AR" # Let the user override the test.
47936 else
47937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47938 for as_dir in $PATH
47939 do
47940 IFS=$as_save_IFS
47941 test -z "$as_dir" && as_dir=.
47942 for ac_exec_ext in '' $ac_executable_extensions; do
47943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47944 ac_cv_prog_AR="${ac_tool_prefix}ar"
47945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47946 break 2
47947 fi
47948 done
47949 done
47950 IFS=$as_save_IFS
47951
47952 fi
47953 fi
47954 AR=$ac_cv_prog_AR
47955 if test -n "$AR"; then
47956 { echo "$as_me:$LINENO: result: $AR" >&5
47957 echo "${ECHO_T}$AR" >&6; }
47958 else
47959 { echo "$as_me:$LINENO: result: no" >&5
47960 echo "${ECHO_T}no" >&6; }
47961 fi
47962
47963
47964 fi
47965 if test -z "$ac_cv_prog_AR"; then
47966 ac_ct_AR=$AR
47967 # Extract the first word of "ar", so it can be a program name with args.
47968 set dummy ar; ac_word=$2
47969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47971 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47972 echo $ECHO_N "(cached) $ECHO_C" >&6
47973 else
47974 if test -n "$ac_ct_AR"; then
47975 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47976 else
47977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47978 for as_dir in $PATH
47979 do
47980 IFS=$as_save_IFS
47981 test -z "$as_dir" && as_dir=.
47982 for ac_exec_ext in '' $ac_executable_extensions; do
47983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47984 ac_cv_prog_ac_ct_AR="ar"
47985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47986 break 2
47987 fi
47988 done
47989 done
47990 IFS=$as_save_IFS
47991
47992 fi
47993 fi
47994 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47995 if test -n "$ac_ct_AR"; then
47996 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47997 echo "${ECHO_T}$ac_ct_AR" >&6; }
47998 else
47999 { echo "$as_me:$LINENO: result: no" >&5
48000 echo "${ECHO_T}no" >&6; }
48001 fi
48002
48003 if test "x$ac_ct_AR" = x; then
48004 AR="ar"
48005 else
48006 case $cross_compiling:$ac_tool_warned in
48007 yes:)
48008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48009 whose name does not start with the host triplet. If you think this
48010 configuration is useful to you, please write to autoconf@gnu.org." >&5
48011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48012 whose name does not start with the host triplet. If you think this
48013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48014 ac_tool_warned=yes ;;
48015 esac
48016 AR=$ac_ct_AR
48017 fi
48018 else
48019 AR="$ac_cv_prog_AR"
48020 fi
48021
48022 AROPTIONS=rcu
48023 fi
48024
48025
48026 if test -n "$ac_tool_prefix"; then
48027 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48028 set dummy ${ac_tool_prefix}strip; ac_word=$2
48029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48031 if test "${ac_cv_prog_STRIP+set}" = set; then
48032 echo $ECHO_N "(cached) $ECHO_C" >&6
48033 else
48034 if test -n "$STRIP"; then
48035 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48036 else
48037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48038 for as_dir in $PATH
48039 do
48040 IFS=$as_save_IFS
48041 test -z "$as_dir" && as_dir=.
48042 for ac_exec_ext in '' $ac_executable_extensions; do
48043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48044 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48046 break 2
48047 fi
48048 done
48049 done
48050 IFS=$as_save_IFS
48051
48052 fi
48053 fi
48054 STRIP=$ac_cv_prog_STRIP
48055 if test -n "$STRIP"; then
48056 { echo "$as_me:$LINENO: result: $STRIP" >&5
48057 echo "${ECHO_T}$STRIP" >&6; }
48058 else
48059 { echo "$as_me:$LINENO: result: no" >&5
48060 echo "${ECHO_T}no" >&6; }
48061 fi
48062
48063
48064 fi
48065 if test -z "$ac_cv_prog_STRIP"; then
48066 ac_ct_STRIP=$STRIP
48067 # Extract the first word of "strip", so it can be a program name with args.
48068 set dummy strip; ac_word=$2
48069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48071 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48072 echo $ECHO_N "(cached) $ECHO_C" >&6
48073 else
48074 if test -n "$ac_ct_STRIP"; then
48075 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48076 else
48077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48078 for as_dir in $PATH
48079 do
48080 IFS=$as_save_IFS
48081 test -z "$as_dir" && as_dir=.
48082 for ac_exec_ext in '' $ac_executable_extensions; do
48083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48084 ac_cv_prog_ac_ct_STRIP="strip"
48085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48086 break 2
48087 fi
48088 done
48089 done
48090 IFS=$as_save_IFS
48091
48092 fi
48093 fi
48094 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48095 if test -n "$ac_ct_STRIP"; then
48096 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48097 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48098 else
48099 { echo "$as_me:$LINENO: result: no" >&5
48100 echo "${ECHO_T}no" >&6; }
48101 fi
48102
48103 if test "x$ac_ct_STRIP" = x; then
48104 STRIP=":"
48105 else
48106 case $cross_compiling:$ac_tool_warned in
48107 yes:)
48108 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48109 whose name does not start with the host triplet. If you think this
48110 configuration is useful to you, please write to autoconf@gnu.org." >&5
48111 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48112 whose name does not start with the host triplet. If you think this
48113 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48114 ac_tool_warned=yes ;;
48115 esac
48116 STRIP=$ac_ct_STRIP
48117 fi
48118 else
48119 STRIP="$ac_cv_prog_STRIP"
48120 fi
48121
48122 if test -n "$ac_tool_prefix"; then
48123 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48124 set dummy ${ac_tool_prefix}nm; ac_word=$2
48125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48127 if test "${ac_cv_prog_NM+set}" = set; then
48128 echo $ECHO_N "(cached) $ECHO_C" >&6
48129 else
48130 if test -n "$NM"; then
48131 ac_cv_prog_NM="$NM" # Let the user override the test.
48132 else
48133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48134 for as_dir in $PATH
48135 do
48136 IFS=$as_save_IFS
48137 test -z "$as_dir" && as_dir=.
48138 for ac_exec_ext in '' $ac_executable_extensions; do
48139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48140 ac_cv_prog_NM="${ac_tool_prefix}nm"
48141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48142 break 2
48143 fi
48144 done
48145 done
48146 IFS=$as_save_IFS
48147
48148 fi
48149 fi
48150 NM=$ac_cv_prog_NM
48151 if test -n "$NM"; then
48152 { echo "$as_me:$LINENO: result: $NM" >&5
48153 echo "${ECHO_T}$NM" >&6; }
48154 else
48155 { echo "$as_me:$LINENO: result: no" >&5
48156 echo "${ECHO_T}no" >&6; }
48157 fi
48158
48159
48160 fi
48161 if test -z "$ac_cv_prog_NM"; then
48162 ac_ct_NM=$NM
48163 # Extract the first word of "nm", so it can be a program name with args.
48164 set dummy nm; ac_word=$2
48165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48167 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48168 echo $ECHO_N "(cached) $ECHO_C" >&6
48169 else
48170 if test -n "$ac_ct_NM"; then
48171 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48172 else
48173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48174 for as_dir in $PATH
48175 do
48176 IFS=$as_save_IFS
48177 test -z "$as_dir" && as_dir=.
48178 for ac_exec_ext in '' $ac_executable_extensions; do
48179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48180 ac_cv_prog_ac_ct_NM="nm"
48181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48182 break 2
48183 fi
48184 done
48185 done
48186 IFS=$as_save_IFS
48187
48188 fi
48189 fi
48190 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48191 if test -n "$ac_ct_NM"; then
48192 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48193 echo "${ECHO_T}$ac_ct_NM" >&6; }
48194 else
48195 { echo "$as_me:$LINENO: result: no" >&5
48196 echo "${ECHO_T}no" >&6; }
48197 fi
48198
48199 if test "x$ac_ct_NM" = x; then
48200 NM=":"
48201 else
48202 case $cross_compiling:$ac_tool_warned in
48203 yes:)
48204 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48205 whose name does not start with the host triplet. If you think this
48206 configuration is useful to you, please write to autoconf@gnu.org." >&5
48207 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48208 whose name does not start with the host triplet. If you think this
48209 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48210 ac_tool_warned=yes ;;
48211 esac
48212 NM=$ac_ct_NM
48213 fi
48214 else
48215 NM="$ac_cv_prog_NM"
48216 fi
48217
48218
48219 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48220 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48221 INSTALL_TEST_DIR=acbftest$$
48222 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48223 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48224 rmdir $INSTALL_TEST_DIR
48225 INSTALL_DIR='$(INSTALL) -d'
48226 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48227 echo "${ECHO_T}$INSTALL -d" >&6; }
48228 else
48229 INSTALL_DIR="mkdir -p"
48230 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48231 echo "${ECHO_T}mkdir -p" >&6; }
48232 fi
48233
48234
48235 LDFLAGS_GUI=
48236 case ${BAKEFILE_HOST} in
48237 *-*-cygwin* | *-*-mingw32* )
48238 LDFLAGS_GUI="-mwindows"
48239 esac
48240
48241
48242 fi
48243
48244 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48245 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48246 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48247 echo $ECHO_N "(cached) $ECHO_C" >&6
48248 else
48249
48250 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48251 egrep -s GNU > /dev/null); then
48252 bakefile_cv_prog_makeisgnu="yes"
48253 else
48254 bakefile_cv_prog_makeisgnu="no"
48255 fi
48256
48257 fi
48258 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48259 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48260
48261 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48262 IF_GNU_MAKE=""
48263 else
48264 IF_GNU_MAKE="#"
48265 fi
48266
48267
48268
48269 PLATFORM_UNIX=0
48270 PLATFORM_WIN32=0
48271 PLATFORM_MSDOS=0
48272 PLATFORM_MAC=0
48273 PLATFORM_MACOS=0
48274 PLATFORM_MACOSX=0
48275 PLATFORM_OS2=0
48276 PLATFORM_BEOS=0
48277
48278 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48279 case "${BAKEFILE_HOST}" in
48280 *-*-mingw32* )
48281 PLATFORM_WIN32=1
48282 ;;
48283 *-pc-msdosdjgpp )
48284 PLATFORM_MSDOS=1
48285 ;;
48286 *-pc-os2_emx | *-pc-os2-emx )
48287 PLATFORM_OS2=1
48288 ;;
48289 *-*-darwin* )
48290 PLATFORM_MAC=1
48291 PLATFORM_MACOSX=1
48292 ;;
48293 *-*-beos* )
48294 PLATFORM_BEOS=1
48295 ;;
48296 powerpc-apple-macos* )
48297 PLATFORM_MAC=1
48298 PLATFORM_MACOS=1
48299 ;;
48300 * )
48301 PLATFORM_UNIX=1
48302 ;;
48303 esac
48304 else
48305 case "$BAKEFILE_FORCE_PLATFORM" in
48306 win32 )
48307 PLATFORM_WIN32=1
48308 ;;
48309 msdos )
48310 PLATFORM_MSDOS=1
48311 ;;
48312 os2 )
48313 PLATFORM_OS2=1
48314 ;;
48315 darwin )
48316 PLATFORM_MAC=1
48317 PLATFORM_MACOSX=1
48318 ;;
48319 unix )
48320 PLATFORM_UNIX=1
48321 ;;
48322 beos )
48323 PLATFORM_BEOS=1
48324 ;;
48325 * )
48326 ;;
48327 esac
48328 fi
48329
48330
48331
48332
48333
48334
48335
48336
48337
48338
48339
48340 # Check whether --enable-omf was given.
48341 if test "${enable_omf+set}" = set; then
48342 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48343 fi
48344
48345
48346 case "${BAKEFILE_HOST}" in
48347 *-*-darwin* )
48348 if test "x$GCC" = "xyes"; then
48349 CFLAGS="$CFLAGS -fno-common"
48350 CXXFLAGS="$CXXFLAGS -fno-common"
48351 fi
48352 if test "x$XLCC" = "xyes"; then
48353 CFLAGS="$CFLAGS -qnocommon"
48354 CXXFLAGS="$CXXFLAGS -qnocommon"
48355 fi
48356 ;;
48357
48358 *-pc-os2_emx | *-pc-os2-emx )
48359 if test "x$bk_os2_use_omf" = "xyes" ; then
48360 AR=emxomfar
48361 RANLIB=:
48362 LDFLAGS="-Zomf $LDFLAGS"
48363 CFLAGS="-Zomf $CFLAGS"
48364 CXXFLAGS="-Zomf $CXXFLAGS"
48365 OS2_LIBEXT="lib"
48366 else
48367 OS2_LIBEXT="a"
48368 fi
48369 ;;
48370
48371 i*86-*-beos* )
48372 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48373 ;;
48374 esac
48375
48376
48377 SO_SUFFIX="so"
48378 SO_SUFFIX_MODULE="so"
48379 EXEEXT=""
48380 LIBPREFIX="lib"
48381 LIBEXT=".a"
48382 DLLPREFIX="lib"
48383 DLLPREFIX_MODULE=""
48384 DLLIMP_SUFFIX=""
48385 dlldir="$libdir"
48386
48387 case "${BAKEFILE_HOST}" in
48388 ia64-hp-hpux* )
48389 ;;
48390 *-hp-hpux* )
48391 SO_SUFFIX="sl"
48392 SO_SUFFIX_MODULE="sl"
48393 ;;
48394 *-*-aix* )
48395 SO_SUFFIX="a"
48396 SO_SUFFIX_MODULE="a"
48397 ;;
48398 *-*-cygwin* )
48399 SO_SUFFIX="dll"
48400 SO_SUFFIX_MODULE="dll"
48401 DLLIMP_SUFFIX="dll.a"
48402 EXEEXT=".exe"
48403 DLLPREFIX="cyg"
48404 dlldir="$bindir"
48405 ;;
48406 *-*-mingw32* )
48407 SO_SUFFIX="dll"
48408 SO_SUFFIX_MODULE="dll"
48409 DLLIMP_SUFFIX="dll.a"
48410 EXEEXT=".exe"
48411 DLLPREFIX=""
48412 dlldir="$bindir"
48413 ;;
48414 *-pc-msdosdjgpp )
48415 EXEEXT=".exe"
48416 DLLPREFIX=""
48417 dlldir="$bindir"
48418 ;;
48419 *-pc-os2_emx | *-pc-os2-emx )
48420 SO_SUFFIX="dll"
48421 SO_SUFFIX_MODULE="dll"
48422 DLLIMP_SUFFIX=$OS2_LIBEXT
48423 EXEEXT=".exe"
48424 DLLPREFIX=""
48425 LIBPREFIX=""
48426 LIBEXT=".$OS2_LIBEXT"
48427 dlldir="$bindir"
48428 ;;
48429 *-*-darwin* )
48430 SO_SUFFIX="dylib"
48431 SO_SUFFIX_MODULE="bundle"
48432 ;;
48433 esac
48434
48435 if test "x$DLLIMP_SUFFIX" = "x" ; then
48436 DLLIMP_SUFFIX="$SO_SUFFIX"
48437 fi
48438
48439
48440
48441
48442
48443
48444
48445
48446
48447
48448
48449
48450 PIC_FLAG=""
48451 if test "x$GCC" = "xyes"; then
48452 PIC_FLAG="-fPIC"
48453 fi
48454
48455 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48456 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48457 WINDOWS_IMPLIB=0
48458
48459 case "${BAKEFILE_HOST}" in
48460 *-hp-hpux* )
48461 if test "x$GCC" != "xyes"; then
48462 LDFLAGS="$LDFLAGS -L/usr/lib"
48463
48464 SHARED_LD_CC="${CC} -b -o"
48465 SHARED_LD_CXX="${CXX} -b -o"
48466 PIC_FLAG="+Z"
48467 fi
48468 ;;
48469
48470 *-*-linux* )
48471 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48472 PIC_FLAG="-KPIC"
48473 elif test "x$SUNCXX" = "xyes"; then
48474 SHARED_LD_CC="${CC} -G -o"
48475 SHARED_LD_CXX="${CXX} -G -o"
48476 PIC_FLAG="-KPIC"
48477 fi
48478 ;;
48479
48480 *-*-solaris2* )
48481 if test "x$SUNCXX" = xyes ; then
48482 SHARED_LD_CC="${CC} -G -o"
48483 SHARED_LD_CXX="${CXX} -G -o"
48484 PIC_FLAG="-KPIC"
48485 fi
48486 ;;
48487
48488 *-*-darwin* )
48489
48490 D='$'
48491 cat <<EOF >shared-ld-sh
48492 #!/bin/sh
48493 #-----------------------------------------------------------------------------
48494 #-- Name: distrib/mac/shared-ld-sh
48495 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48496 #-- Author: Gilles Depeyrot
48497 #-- Copyright: (c) 2002 Gilles Depeyrot
48498 #-- Licence: any use permitted
48499 #-----------------------------------------------------------------------------
48500
48501 verbose=0
48502 args=""
48503 objects=""
48504 linking_flag="-dynamiclib"
48505 ldargs="-r -keep_private_externs -nostdlib"
48506
48507 if test "x${D}CXX" = "x"; then
48508 CXX="c++"
48509 fi
48510
48511 while test ${D}# -gt 0; do
48512 case ${D}1 in
48513
48514 -v)
48515 verbose=1
48516 ;;
48517
48518 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48519 # collect these options and values
48520 args="${D}{args} ${D}1 ${D}2"
48521 shift
48522 ;;
48523
48524 -arch|-isysroot)
48525 # collect these options and values
48526 ldargs="${D}{ldargs} ${D}1 ${D}2"
48527 shift
48528 ;;
48529
48530 -s|-Wl,*)
48531 # collect these load args
48532 ldargs="${D}{ldargs} ${D}1"
48533 ;;
48534
48535 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48536 # collect these options
48537 args="${D}{args} ${D}1"
48538 ;;
48539
48540 -dynamiclib|-bundle)
48541 linking_flag="${D}1"
48542 ;;
48543
48544 -*)
48545 echo "shared-ld: unhandled option '${D}1'"
48546 exit 1
48547 ;;
48548
48549 *.o | *.a | *.dylib)
48550 # collect object files
48551 objects="${D}{objects} ${D}1"
48552 ;;
48553
48554 *)
48555 echo "shared-ld: unhandled argument '${D}1'"
48556 exit 1
48557 ;;
48558
48559 esac
48560 shift
48561 done
48562
48563 status=0
48564
48565 #
48566 # Link one module containing all the others
48567 #
48568 if test ${D}{verbose} = 1; then
48569 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48570 fi
48571 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48572 status=${D}?
48573
48574 #
48575 # Link the shared library from the single module created, but only if the
48576 # previous command didn't fail:
48577 #
48578 if test ${D}{status} = 0; then
48579 if test ${D}{verbose} = 1; then
48580 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48581 fi
48582 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48583 status=${D}?
48584 fi
48585
48586 #
48587 # Remove intermediate module
48588 #
48589 rm -f master.${D}${D}.o
48590
48591 exit ${D}status
48592 EOF
48593
48594 chmod +x shared-ld-sh
48595
48596 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48597 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48598
48599
48600 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48601 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48602 if test "${bakefile_cv_gcc31+set}" = set; then
48603 echo $ECHO_N "(cached) $ECHO_C" >&6
48604 else
48605
48606 cat >conftest.$ac_ext <<_ACEOF
48607 /* confdefs.h. */
48608 _ACEOF
48609 cat confdefs.h >>conftest.$ac_ext
48610 cat >>conftest.$ac_ext <<_ACEOF
48611 /* end confdefs.h. */
48612
48613 int
48614 main ()
48615 {
48616
48617 #if (__GNUC__ < 3) || \
48618 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48619 This is old gcc
48620 #endif
48621
48622 ;
48623 return 0;
48624 }
48625 _ACEOF
48626 rm -f conftest.$ac_objext
48627 if { (ac_try="$ac_compile"
48628 case "(($ac_try" in
48629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48630 *) ac_try_echo=$ac_try;;
48631 esac
48632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48633 (eval "$ac_compile") 2>conftest.er1
48634 ac_status=$?
48635 grep -v '^ *+' conftest.er1 >conftest.err
48636 rm -f conftest.er1
48637 cat conftest.err >&5
48638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639 (exit $ac_status); } && {
48640 test -z "$ac_c_werror_flag" ||
48641 test ! -s conftest.err
48642 } && test -s conftest.$ac_objext; then
48643
48644 bakefile_cv_gcc31=yes
48645
48646 else
48647 echo "$as_me: failed program was:" >&5
48648 sed 's/^/| /' conftest.$ac_ext >&5
48649
48650
48651 bakefile_cv_gcc31=no
48652
48653
48654 fi
48655
48656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48657
48658 fi
48659 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48660 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48661 if test "$bakefile_cv_gcc31" = "no"; then
48662 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48663 SHARED_LD_CXX="$SHARED_LD_CC"
48664 else
48665 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48666 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48667 fi
48668
48669 if test "x$GCC" == "xyes"; then
48670 PIC_FLAG="-dynamic -fPIC"
48671 fi
48672 if test "x$XLCC" = "xyes"; then
48673 PIC_FLAG="-dynamic -DPIC"
48674 fi
48675 ;;
48676
48677 *-*-aix* )
48678 if test "x$GCC" = "xyes"; then
48679 PIC_FLAG=""
48680
48681 case "${BAKEFILE_HOST}" in
48682 *-*-aix5* )
48683 LD_EXPFULL="-Wl,-bexpfull"
48684 ;;
48685 esac
48686
48687 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48688 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48689 else
48690 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48691 set dummy makeC++SharedLib; ac_word=$2
48692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48694 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48695 echo $ECHO_N "(cached) $ECHO_C" >&6
48696 else
48697 if test -n "$AIX_CXX_LD"; then
48698 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48699 else
48700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48701 for as_dir in $PATH
48702 do
48703 IFS=$as_save_IFS
48704 test -z "$as_dir" && as_dir=.
48705 for ac_exec_ext in '' $ac_executable_extensions; do
48706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48707 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48709 break 2
48710 fi
48711 done
48712 done
48713 IFS=$as_save_IFS
48714
48715 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48716 fi
48717 fi
48718 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48719 if test -n "$AIX_CXX_LD"; then
48720 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48721 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48722 else
48723 { echo "$as_me:$LINENO: result: no" >&5
48724 echo "${ECHO_T}no" >&6; }
48725 fi
48726
48727
48728 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48729 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48730 fi
48731 ;;
48732
48733 *-*-beos* )
48734 SHARED_LD_CC="${LD} -nostart -o"
48735 SHARED_LD_CXX="${LD} -nostart -o"
48736 ;;
48737
48738 *-*-irix* )
48739 if test "x$GCC" != "xyes"; then
48740 PIC_FLAG="-KPIC"
48741 fi
48742 ;;
48743
48744 *-*-cygwin* | *-*-mingw32* )
48745 PIC_FLAG=""
48746 SHARED_LD_CC="\$(CC) -shared -o"
48747 SHARED_LD_CXX="\$(CXX) -shared -o"
48748 WINDOWS_IMPLIB=1
48749 ;;
48750
48751 *-pc-os2_emx | *-pc-os2-emx )
48752 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48753 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48754 PIC_FLAG=""
48755
48756 D='$'
48757 cat <<EOF >dllar.sh
48758 #!/bin/sh
48759 #
48760 # dllar - a tool to build both a .dll and an .a file
48761 # from a set of object (.o) files for EMX/OS2.
48762 #
48763 # Written by Andrew Zabolotny, bit@freya.etu.ru
48764 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48765 #
48766 # This script will accept a set of files on the command line.
48767 # All the public symbols from the .o files will be exported into
48768 # a .DEF file, then linker will be run (through gcc) against them to
48769 # build a shared library consisting of all given .o files. All libraries
48770 # (.a) will be first decompressed into component .o files then act as
48771 # described above. You can optionally give a description (-d "description")
48772 # which will be put into .DLL. To see the list of accepted options (as well
48773 # as command-line format) simply run this program without options. The .DLL
48774 # is built to be imported by name (there is no guarantee that new versions
48775 # of the library you build will have same ordinals for same symbols).
48776 #
48777 # dllar is free software; you can redistribute it and/or modify
48778 # it under the terms of the GNU General Public License as published by
48779 # the Free Software Foundation; either version 2, or (at your option)
48780 # any later version.
48781 #
48782 # dllar is distributed in the hope that it will be useful,
48783 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48784 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48785 # GNU General Public License for more details.
48786 #
48787 # You should have received a copy of the GNU General Public License
48788 # along with dllar; see the file COPYING. If not, write to the Free
48789 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48790 # 02111-1307, USA.
48791
48792 # To successfuly run this program you will need:
48793 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48794 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48795 # - gcc
48796 # (used to build the .dll)
48797 # - emxexp
48798 # (used to create .def file from .o files)
48799 # - emximp
48800 # (used to create .a file from .def file)
48801 # - GNU text utilites (cat, sort, uniq)
48802 # used to process emxexp output
48803 # - GNU file utilities (mv, rm)
48804 # - GNU sed
48805 # - lxlite (optional, see flag below)
48806 # (used for general .dll cleanup)
48807 #
48808
48809 flag_USE_LXLITE=1;
48810
48811 #
48812 # helper functions
48813 # basnam, variant of basename, which does _not_ remove the path, _iff_
48814 # second argument (suffix to remove) is given
48815 basnam(){
48816 case ${D}# in
48817 1)
48818 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48819 ;;
48820 2)
48821 echo ${D}1 | sed 's/'${D}2'${D}//'
48822 ;;
48823 *)
48824 echo "error in basnam ${D}*"
48825 exit 8
48826 ;;
48827 esac
48828 }
48829
48830 # Cleanup temporary files and output
48831 CleanUp() {
48832 cd ${D}curDir
48833 for i in ${D}inputFiles ; do
48834 case ${D}i in
48835 *!)
48836 rm -rf \`basnam ${D}i !\`
48837 ;;
48838 *)
48839 ;;
48840 esac
48841 done
48842
48843 # Kill result in case of failure as there is just to many stupid make/nmake
48844 # things out there which doesn't do this.
48845 if [ ${D}# -eq 0 ]; then
48846 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48847 fi
48848 }
48849
48850 # Print usage and exit script with rc=1.
48851 PrintHelp() {
48852 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48853 echo ' [-name-mangler-script script.sh]'
48854 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48855 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48856 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48857 echo ' [*.o] [*.a]'
48858 echo '*> "output_file" should have no extension.'
48859 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48860 echo ' The import library name is derived from this and is set to "name".a,'
48861 echo ' unless overridden by -import'
48862 echo '*> "importlib_name" should have no extension.'
48863 echo ' If it has the .o, or .a extension, it is automatically removed.'
48864 echo ' This name is used as the import library name and may be longer and'
48865 echo ' more descriptive than the DLL name which has to follow the old '
48866 echo ' 8.3 convention of FAT.'
48867 echo '*> "script.sh may be given to override the output_file name by a'
48868 echo ' different name. It is mainly useful if the regular make process'
48869 echo ' of some package does not take into account OS/2 restriction of'
48870 echo ' DLL name lengths. It takes the importlib name as input and is'
48871 echo ' supposed to procude a shorter name as output. The script should'
48872 echo ' expect to get importlib_name without extension and should produce'
48873 echo ' a (max.) 8 letter name without extension.'
48874 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48875 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48876 echo ' These flags will be put at the start of GCC command line.'
48877 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48878 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48879 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48880 echo ' If the last character of a symbol is "*", all symbols beginning'
48881 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48882 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48883 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48884 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48885 echo ' C runtime DLLs.'
48886 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48887 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48888 echo ' unchanged to GCC at the end of command line.'
48889 echo '*> If you create a DLL from a library and you do not specify -o,'
48890 echo ' the basename for DLL and import library will be set to library name,'
48891 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48892 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48893 echo ' library will be renamed into gcc_s.a.'
48894 echo '--------'
48895 echo 'Example:'
48896 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48897 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48898 CleanUp
48899 exit 1
48900 }
48901
48902 # Execute a command.
48903 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48904 # @Uses Whatever CleanUp() uses.
48905 doCommand() {
48906 echo "${D}*"
48907 eval ${D}*
48908 rcCmd=${D}?
48909
48910 if [ ${D}rcCmd -ne 0 ]; then
48911 echo "command failed, exit code="${D}rcCmd
48912 CleanUp
48913 exit ${D}rcCmd
48914 fi
48915 }
48916
48917 # main routine
48918 # setup globals
48919 cmdLine=${D}*
48920 outFile=""
48921 outimpFile=""
48922 inputFiles=""
48923 renameScript=""
48924 description=""
48925 CC=gcc.exe
48926 CFLAGS="-s -Zcrtdll"
48927 EXTRA_CFLAGS=""
48928 EXPORT_BY_ORDINALS=0
48929 exclude_symbols=""
48930 library_flags=""
48931 curDir=\`pwd\`
48932 curDirS=curDir
48933 case ${D}curDirS in
48934 */)
48935 ;;
48936 *)
48937 curDirS=${D}{curDirS}"/"
48938 ;;
48939 esac
48940 # Parse commandline
48941 libsToLink=0
48942 omfLinking=0
48943 while [ ${D}1 ]; do
48944 case ${D}1 in
48945 -ord*)
48946 EXPORT_BY_ORDINALS=1;
48947 ;;
48948 -o*)
48949 shift
48950 outFile=${D}1
48951 ;;
48952 -i*)
48953 shift
48954 outimpFile=${D}1
48955 ;;
48956 -name-mangler-script)
48957 shift
48958 renameScript=${D}1
48959 ;;
48960 -d*)
48961 shift
48962 description=${D}1
48963 ;;
48964 -f*)
48965 shift
48966 CFLAGS=${D}1
48967 ;;
48968 -c*)
48969 shift
48970 CC=${D}1
48971 ;;
48972 -h*)
48973 PrintHelp
48974 ;;
48975 -ex*)
48976 shift
48977 exclude_symbols=${D}{exclude_symbols}${D}1" "
48978 ;;
48979 -libf*)
48980 shift
48981 library_flags=${D}{library_flags}${D}1" "
48982 ;;
48983 -nocrt*)
48984 CFLAGS="-s"
48985 ;;
48986 -nolxl*)
48987 flag_USE_LXLITE=0
48988 ;;
48989 -* | /*)
48990 case ${D}1 in
48991 -L* | -l*)
48992 libsToLink=1
48993 ;;
48994 -Zomf)
48995 omfLinking=1
48996 ;;
48997 *)
48998 ;;
48999 esac
49000 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49001 ;;
49002 *.dll)
49003 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49004 if [ ${D}omfLinking -eq 1 ]; then
49005 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49006 else
49007 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49008 fi
49009 ;;
49010 *)
49011 found=0;
49012 if [ ${D}libsToLink -ne 0 ]; then
49013 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49014 else
49015 for file in ${D}1 ; do
49016 if [ -f ${D}file ]; then
49017 inputFiles="${D}{inputFiles} ${D}file"
49018 found=1
49019 fi
49020 done
49021 if [ ${D}found -eq 0 ]; then
49022 echo "ERROR: No file(s) found: "${D}1
49023 exit 8
49024 fi
49025 fi
49026 ;;
49027 esac
49028 shift
49029 done # iterate cmdline words
49030
49031 #
49032 if [ -z "${D}inputFiles" ]; then
49033 echo "dllar: no input files"
49034 PrintHelp
49035 fi
49036
49037 # Now extract all .o files from .a files
49038 newInputFiles=""
49039 for file in ${D}inputFiles ; do
49040 case ${D}file in
49041 *.a | *.lib)
49042 case ${D}file in
49043 *.a)
49044 suffix=".a"
49045 AR="ar"
49046 ;;
49047 *.lib)
49048 suffix=".lib"
49049 AR="emxomfar"
49050 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49051 ;;
49052 *)
49053 ;;
49054 esac
49055 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49056 mkdir ${D}dirname
49057 if [ ${D}? -ne 0 ]; then
49058 echo "Failed to create subdirectory ./${D}dirname"
49059 CleanUp
49060 exit 8;
49061 fi
49062 # Append '!' to indicate archive
49063 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49064 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49065 cd ${D}curDir
49066 found=0;
49067 for subfile in ${D}dirname/*.o* ; do
49068 if [ -f ${D}subfile ]; then
49069 found=1
49070 if [ -s ${D}subfile ]; then
49071 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49072 newInputFiles="${D}newInputFiles ${D}subfile"
49073 fi
49074 fi
49075 done
49076 if [ ${D}found -eq 0 ]; then
49077 echo "WARNING: there are no files in archive \\'${D}file\\'"
49078 fi
49079 ;;
49080 *)
49081 newInputFiles="${D}{newInputFiles} ${D}file"
49082 ;;
49083 esac
49084 done
49085 inputFiles="${D}newInputFiles"
49086
49087 # Output filename(s).
49088 do_backup=0;
49089 if [ -z ${D}outFile ]; then
49090 do_backup=1;
49091 set outFile ${D}inputFiles; outFile=${D}2
49092 fi
49093
49094 # If it is an archive, remove the '!' and the '_%' suffixes
49095 case ${D}outFile in
49096 *_%!)
49097 outFile=\`basnam ${D}outFile _%!\`
49098 ;;
49099 *)
49100 ;;
49101 esac
49102 case ${D}outFile in
49103 *.dll)
49104 outFile=\`basnam ${D}outFile .dll\`
49105 ;;
49106 *.DLL)
49107 outFile=\`basnam ${D}outFile .DLL\`
49108 ;;
49109 *.o)
49110 outFile=\`basnam ${D}outFile .o\`
49111 ;;
49112 *.obj)
49113 outFile=\`basnam ${D}outFile .obj\`
49114 ;;
49115 *.a)
49116 outFile=\`basnam ${D}outFile .a\`
49117 ;;
49118 *.lib)
49119 outFile=\`basnam ${D}outFile .lib\`
49120 ;;
49121 *)
49122 ;;
49123 esac
49124 case ${D}outimpFile in
49125 *.a)
49126 outimpFile=\`basnam ${D}outimpFile .a\`
49127 ;;
49128 *.lib)
49129 outimpFile=\`basnam ${D}outimpFile .lib\`
49130 ;;
49131 *)
49132 ;;
49133 esac
49134 if [ -z ${D}outimpFile ]; then
49135 outimpFile=${D}outFile
49136 fi
49137 defFile="${D}{outFile}.def"
49138 arcFile="${D}{outimpFile}.a"
49139 arcFile2="${D}{outimpFile}.lib"
49140
49141 #create ${D}dllFile as something matching 8.3 restrictions,
49142 if [ -z ${D}renameScript ] ; then
49143 dllFile="${D}outFile"
49144 else
49145 dllFile=\`${D}renameScript ${D}outimpFile\`
49146 fi
49147
49148 if [ ${D}do_backup -ne 0 ] ; then
49149 if [ -f ${D}arcFile ] ; then
49150 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49151 fi
49152 if [ -f ${D}arcFile2 ] ; then
49153 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49154 fi
49155 fi
49156
49157 # Extract public symbols from all the object files.
49158 tmpdefFile=${D}{defFile}_%
49159 rm -f ${D}tmpdefFile
49160 for file in ${D}inputFiles ; do
49161 case ${D}file in
49162 *!)
49163 ;;
49164 *)
49165 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49166 ;;
49167 esac
49168 done
49169
49170 # Create the def file.
49171 rm -f ${D}defFile
49172 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49173 dllFile="${D}{dllFile}.dll"
49174 if [ ! -z ${D}description ]; then
49175 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49176 fi
49177 echo "EXPORTS" >> ${D}defFile
49178
49179 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49180 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49181
49182 # Checks if the export is ok or not.
49183 for word in ${D}exclude_symbols; do
49184 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49185 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49186 done
49187
49188
49189 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49190 sed "=" < ${D}tmpdefFile | \\
49191 sed '
49192 N
49193 : loop
49194 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49195 t loop
49196 ' > ${D}{tmpdefFile}%
49197 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49198 else
49199 rm -f ${D}{tmpdefFile}%
49200 fi
49201 cat ${D}tmpdefFile >> ${D}defFile
49202 rm -f ${D}tmpdefFile
49203
49204 # Do linking, create implib, and apply lxlite.
49205 gccCmdl="";
49206 for file in ${D}inputFiles ; do
49207 case ${D}file in
49208 *!)
49209 ;;
49210 *)
49211 gccCmdl="${D}gccCmdl ${D}file"
49212 ;;
49213 esac
49214 done
49215 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49216 touch "${D}{outFile}.dll"
49217
49218 doCommand "emximp -o ${D}arcFile ${D}defFile"
49219 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49220 add_flags="";
49221 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49222 add_flags="-ynd"
49223 fi
49224 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49225 fi
49226 doCommand "emxomf -s -l ${D}arcFile"
49227
49228 # Successful exit.
49229 CleanUp 1
49230 exit 0
49231 EOF
49232
49233 chmod +x dllar.sh
49234 ;;
49235
49236 powerpc-apple-macos* | \
49237 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49238 *-*-mirbsd* | \
49239 *-*-sunos4* | \
49240 *-*-osf* | \
49241 *-*-dgux5* | \
49242 *-*-sysv5* | \
49243 *-pc-msdosdjgpp )
49244 ;;
49245
49246 *)
49247 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49248 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49249 { (exit 1); exit 1; }; }
49250 esac
49251
49252 if test "x$PIC_FLAG" != "x" ; then
49253 PIC_FLAG="$PIC_FLAG -DPIC"
49254 fi
49255
49256 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49257 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49258 fi
49259 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49260 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49261 fi
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271 USE_SOVERSION=0
49272 USE_SOVERLINUX=0
49273 USE_SOVERSOLARIS=0
49274 USE_SOVERCYGWIN=0
49275 USE_SOSYMLINKS=0
49276 USE_MACVERSION=0
49277 SONAME_FLAG=
49278
49279 case "${BAKEFILE_HOST}" in
49280 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49281 *-*-k*bsd*-gnu | *-*-mirbsd* )
49282 if test "x$SUNCXX" = "xyes"; then
49283 SONAME_FLAG="-h "
49284 else
49285 SONAME_FLAG="-Wl,-soname,"
49286 fi
49287 USE_SOVERSION=1
49288 USE_SOVERLINUX=1
49289 USE_SOSYMLINKS=1
49290 ;;
49291
49292 *-*-solaris2* )
49293 SONAME_FLAG="-h "
49294 USE_SOVERSION=1
49295 USE_SOVERSOLARIS=1
49296 USE_SOSYMLINKS=1
49297 ;;
49298
49299 *-*-darwin* )
49300 USE_MACVERSION=1
49301 USE_SOVERSION=1
49302 USE_SOSYMLINKS=1
49303 ;;
49304
49305 *-*-cygwin* )
49306 USE_SOVERSION=1
49307 USE_SOVERCYGWIN=1
49308 ;;
49309 esac
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320 # Check whether --enable-dependency-tracking was given.
49321 if test "${enable_dependency_tracking+set}" = set; then
49322 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49323 fi
49324
49325
49326 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49327 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49328
49329 BK_DEPS=""
49330 if test "x$bk_use_trackdeps" = "xno" ; then
49331 DEPS_TRACKING=0
49332 { echo "$as_me:$LINENO: result: disabled" >&5
49333 echo "${ECHO_T}disabled" >&6; }
49334 else
49335 DEPS_TRACKING=1
49336
49337 if test "x$GCC" = "xyes"; then
49338 DEPSMODE=gcc
49339 case "${BAKEFILE_HOST}" in
49340 *-*-darwin* )
49341 DEPSFLAG="-no-cpp-precomp -MMD"
49342 ;;
49343 * )
49344 DEPSFLAG="-MMD"
49345 ;;
49346 esac
49347 { echo "$as_me:$LINENO: result: gcc" >&5
49348 echo "${ECHO_T}gcc" >&6; }
49349 elif test "x$MWCC" = "xyes"; then
49350 DEPSMODE=mwcc
49351 DEPSFLAG="-MM"
49352 { echo "$as_me:$LINENO: result: mwcc" >&5
49353 echo "${ECHO_T}mwcc" >&6; }
49354 elif test "x$SUNCC" = "xyes"; then
49355 DEPSMODE=unixcc
49356 DEPSFLAG="-xM1"
49357 { echo "$as_me:$LINENO: result: Sun cc" >&5
49358 echo "${ECHO_T}Sun cc" >&6; }
49359 elif test "x$SGICC" = "xyes"; then
49360 DEPSMODE=unixcc
49361 DEPSFLAG="-M"
49362 { echo "$as_me:$LINENO: result: SGI cc" >&5
49363 echo "${ECHO_T}SGI cc" >&6; }
49364 elif test "x$HPCC" = "xyes"; then
49365 DEPSMODE=unixcc
49366 DEPSFLAG="+make"
49367 { echo "$as_me:$LINENO: result: HP cc" >&5
49368 echo "${ECHO_T}HP cc" >&6; }
49369 elif test "x$COMPAQCC" = "xyes"; then
49370 DEPSMODE=gcc
49371 DEPSFLAG="-MD"
49372 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49373 echo "${ECHO_T}Compaq cc" >&6; }
49374 else
49375 DEPS_TRACKING=0
49376 { echo "$as_me:$LINENO: result: none" >&5
49377 echo "${ECHO_T}none" >&6; }
49378 fi
49379
49380 if test $DEPS_TRACKING = 1 ; then
49381
49382 D='$'
49383 cat <<EOF >bk-deps
49384 #!/bin/sh
49385
49386 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49387 # script. It is used to track C/C++ files dependencies in portable way.
49388 #
49389 # Permission is given to use this file in any way.
49390
49391 DEPSMODE=${DEPSMODE}
49392 DEPSFLAG="${DEPSFLAG}"
49393 DEPSDIRBASE=.deps
49394
49395 if test ${D}DEPSMODE = gcc ; then
49396 ${D}* ${D}{DEPSFLAG}
49397 status=${D}?
49398
49399 # determine location of created files:
49400 while test ${D}# -gt 0; do
49401 case "${D}1" in
49402 -o )
49403 shift
49404 objfile=${D}1
49405 ;;
49406 -* )
49407 ;;
49408 * )
49409 srcfile=${D}1
49410 ;;
49411 esac
49412 shift
49413 done
49414 objfilebase=\`basename ${D}objfile\`
49415 builddir=\`dirname ${D}objfile\`
49416 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49417 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49418 depsdir=${D}builddir/${D}DEPSDIRBASE
49419 mkdir -p ${D}depsdir
49420
49421 # if the compiler failed, we're done:
49422 if test ${D}{status} != 0 ; then
49423 rm -f ${D}depfile
49424 exit ${D}{status}
49425 fi
49426
49427 # move created file to the location we want it in:
49428 if test -f ${D}depfile ; then
49429 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49430 rm -f ${D}depfile
49431 else
49432 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49433 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49434 if test ! -f ${D}depfile ; then
49435 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49436 depfile="${D}objfile.d"
49437 fi
49438 if test -f ${D}depfile ; then
49439 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49440 rm -f ${D}depfile
49441 fi
49442 fi
49443 exit 0
49444
49445 elif test ${D}DEPSMODE = mwcc ; then
49446 ${D}* || exit ${D}?
49447 # Run mwcc again with -MM and redirect into the dep file we want
49448 # NOTE: We can't use shift here because we need ${D}* to be valid
49449 prevarg=
49450 for arg in ${D}* ; do
49451 if test "${D}prevarg" = "-o"; then
49452 objfile=${D}arg
49453 else
49454 case "${D}arg" in
49455 -* )
49456 ;;
49457 * )
49458 srcfile=${D}arg
49459 ;;
49460 esac
49461 fi
49462 prevarg="${D}arg"
49463 done
49464
49465 objfilebase=\`basename ${D}objfile\`
49466 builddir=\`dirname ${D}objfile\`
49467 depsdir=${D}builddir/${D}DEPSDIRBASE
49468 mkdir -p ${D}depsdir
49469
49470 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49471 exit 0
49472
49473 elif test ${D}DEPSMODE = unixcc; then
49474 ${D}* || exit ${D}?
49475 # Run compiler again with deps flag and redirect into the dep file.
49476 # It doesn't work if the '-o FILE' option is used, but without it the
49477 # dependency file will contain the wrong name for the object. So it is
49478 # removed from the command line, and the dep file is fixed with sed.
49479 cmd=""
49480 while test ${D}# -gt 0; do
49481 case "${D}1" in
49482 -o )
49483 shift
49484 objfile=${D}1
49485 ;;
49486 * )
49487 eval arg${D}#=\\${D}1
49488 cmd="${D}cmd \\${D}arg${D}#"
49489 ;;
49490 esac
49491 shift
49492 done
49493
49494 objfilebase=\`basename ${D}objfile\`
49495 builddir=\`dirname ${D}objfile\`
49496 depsdir=${D}builddir/${D}DEPSDIRBASE
49497 mkdir -p ${D}depsdir
49498
49499 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49500 exit 0
49501
49502 else
49503 ${D}*
49504 exit ${D}?
49505 fi
49506 EOF
49507
49508 chmod +x bk-deps
49509 BK_DEPS="`pwd`/bk-deps"
49510 fi
49511 fi
49512
49513
49514
49515
49516
49517 case ${BAKEFILE_HOST} in
49518 *-*-cygwin* | *-*-mingw32* )
49519 if test -n "$ac_tool_prefix"; then
49520 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49521 set dummy ${ac_tool_prefix}windres; ac_word=$2
49522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49524 if test "${ac_cv_prog_WINDRES+set}" = set; then
49525 echo $ECHO_N "(cached) $ECHO_C" >&6
49526 else
49527 if test -n "$WINDRES"; then
49528 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49529 else
49530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49531 for as_dir in $PATH
49532 do
49533 IFS=$as_save_IFS
49534 test -z "$as_dir" && as_dir=.
49535 for ac_exec_ext in '' $ac_executable_extensions; do
49536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49537 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49539 break 2
49540 fi
49541 done
49542 done
49543 IFS=$as_save_IFS
49544
49545 fi
49546 fi
49547 WINDRES=$ac_cv_prog_WINDRES
49548 if test -n "$WINDRES"; then
49549 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49550 echo "${ECHO_T}$WINDRES" >&6; }
49551 else
49552 { echo "$as_me:$LINENO: result: no" >&5
49553 echo "${ECHO_T}no" >&6; }
49554 fi
49555
49556
49557 fi
49558 if test -z "$ac_cv_prog_WINDRES"; then
49559 ac_ct_WINDRES=$WINDRES
49560 # Extract the first word of "windres", so it can be a program name with args.
49561 set dummy windres; ac_word=$2
49562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49564 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49565 echo $ECHO_N "(cached) $ECHO_C" >&6
49566 else
49567 if test -n "$ac_ct_WINDRES"; then
49568 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49569 else
49570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49571 for as_dir in $PATH
49572 do
49573 IFS=$as_save_IFS
49574 test -z "$as_dir" && as_dir=.
49575 for ac_exec_ext in '' $ac_executable_extensions; do
49576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49577 ac_cv_prog_ac_ct_WINDRES="windres"
49578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49579 break 2
49580 fi
49581 done
49582 done
49583 IFS=$as_save_IFS
49584
49585 fi
49586 fi
49587 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49588 if test -n "$ac_ct_WINDRES"; then
49589 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49590 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49591 else
49592 { echo "$as_me:$LINENO: result: no" >&5
49593 echo "${ECHO_T}no" >&6; }
49594 fi
49595
49596 if test "x$ac_ct_WINDRES" = x; then
49597 WINDRES=""
49598 else
49599 case $cross_compiling:$ac_tool_warned in
49600 yes:)
49601 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49602 whose name does not start with the host triplet. If you think this
49603 configuration is useful to you, please write to autoconf@gnu.org." >&5
49604 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49605 whose name does not start with the host triplet. If you think this
49606 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49607 ac_tool_warned=yes ;;
49608 esac
49609 WINDRES=$ac_ct_WINDRES
49610 fi
49611 else
49612 WINDRES="$ac_cv_prog_WINDRES"
49613 fi
49614
49615 ;;
49616
49617 *-*-darwin* | powerpc-apple-macos* )
49618 # Extract the first word of "Rez", so it can be a program name with args.
49619 set dummy Rez; ac_word=$2
49620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49622 if test "${ac_cv_prog_REZ+set}" = set; then
49623 echo $ECHO_N "(cached) $ECHO_C" >&6
49624 else
49625 if test -n "$REZ"; then
49626 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49627 else
49628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49629 for as_dir in $PATH
49630 do
49631 IFS=$as_save_IFS
49632 test -z "$as_dir" && as_dir=.
49633 for ac_exec_ext in '' $ac_executable_extensions; do
49634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49635 ac_cv_prog_REZ="Rez"
49636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49637 break 2
49638 fi
49639 done
49640 done
49641 IFS=$as_save_IFS
49642
49643 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49644 fi
49645 fi
49646 REZ=$ac_cv_prog_REZ
49647 if test -n "$REZ"; then
49648 { echo "$as_me:$LINENO: result: $REZ" >&5
49649 echo "${ECHO_T}$REZ" >&6; }
49650 else
49651 { echo "$as_me:$LINENO: result: no" >&5
49652 echo "${ECHO_T}no" >&6; }
49653 fi
49654
49655
49656 # Extract the first word of "SetFile", so it can be a program name with args.
49657 set dummy SetFile; ac_word=$2
49658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49660 if test "${ac_cv_prog_SETFILE+set}" = set; then
49661 echo $ECHO_N "(cached) $ECHO_C" >&6
49662 else
49663 if test -n "$SETFILE"; then
49664 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49665 else
49666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49667 for as_dir in $PATH
49668 do
49669 IFS=$as_save_IFS
49670 test -z "$as_dir" && as_dir=.
49671 for ac_exec_ext in '' $ac_executable_extensions; do
49672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49673 ac_cv_prog_SETFILE="SetFile"
49674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49675 break 2
49676 fi
49677 done
49678 done
49679 IFS=$as_save_IFS
49680
49681 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49682 fi
49683 fi
49684 SETFILE=$ac_cv_prog_SETFILE
49685 if test -n "$SETFILE"; then
49686 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49687 echo "${ECHO_T}$SETFILE" >&6; }
49688 else
49689 { echo "$as_me:$LINENO: result: no" >&5
49690 echo "${ECHO_T}no" >&6; }
49691 fi
49692
49693
49694 ;;
49695 esac
49696
49697
49698
49699
49700
49701
49702
49703
49704
49705 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49706
49707
49708 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49709
49710
49711
49712 # Check whether --enable-precomp-headers was given.
49713 if test "${enable_precomp_headers+set}" = set; then
49714 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49715 fi
49716
49717
49718 GCC_PCH=0
49719 ICC_PCH=0
49720 USE_PCH=0
49721 BK_MAKE_PCH=""
49722
49723 case ${BAKEFILE_HOST} in
49724 *-*-cygwin* )
49725 bk_use_pch="no"
49726 ;;
49727 esac
49728
49729 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49730 if test "x$GCC" = "xyes"; then
49731 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49732 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49733 cat >conftest.$ac_ext <<_ACEOF
49734 /* confdefs.h. */
49735 _ACEOF
49736 cat confdefs.h >>conftest.$ac_ext
49737 cat >>conftest.$ac_ext <<_ACEOF
49738 /* end confdefs.h. */
49739
49740 int
49741 main ()
49742 {
49743
49744 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49745 There is no PCH support
49746 #endif
49747 #if (__GNUC__ < 3)
49748 There is no PCH support
49749 #endif
49750 #if (__GNUC__ == 3) && \
49751 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49752 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49753 ( defined(__INTEL_COMPILER) )
49754 There is no PCH support
49755 #endif
49756
49757 ;
49758 return 0;
49759 }
49760 _ACEOF
49761 rm -f conftest.$ac_objext
49762 if { (ac_try="$ac_compile"
49763 case "(($ac_try" in
49764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49765 *) ac_try_echo=$ac_try;;
49766 esac
49767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49768 (eval "$ac_compile") 2>conftest.er1
49769 ac_status=$?
49770 grep -v '^ *+' conftest.er1 >conftest.err
49771 rm -f conftest.er1
49772 cat conftest.err >&5
49773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49774 (exit $ac_status); } && {
49775 test -z "$ac_c_werror_flag" ||
49776 test ! -s conftest.err
49777 } && test -s conftest.$ac_objext; then
49778
49779 { echo "$as_me:$LINENO: result: yes" >&5
49780 echo "${ECHO_T}yes" >&6; }
49781 GCC_PCH=1
49782
49783 else
49784 echo "$as_me: failed program was:" >&5
49785 sed 's/^/| /' conftest.$ac_ext >&5
49786
49787
49788 if test "$INTELCXX8" = "yes"; then
49789 { echo "$as_me:$LINENO: result: yes" >&5
49790 echo "${ECHO_T}yes" >&6; }
49791 ICC_PCH=1
49792 if test "$INTELCXX10" = "yes"; then
49793 ICC_PCH_CREATE_SWITCH="-pch-create"
49794 ICC_PCH_USE_SWITCH="-pch-use"
49795 else
49796 ICC_PCH_CREATE_SWITCH="-create-pch"
49797 ICC_PCH_USE_SWITCH="-use-pch"
49798 fi
49799 else
49800 { echo "$as_me:$LINENO: result: no" >&5
49801 echo "${ECHO_T}no" >&6; }
49802 fi
49803
49804 fi
49805
49806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49807 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49808 USE_PCH=1
49809
49810 D='$'
49811 cat <<EOF >bk-make-pch
49812 #!/bin/sh
49813
49814 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49815 # script. It is used to generated precompiled headers.
49816 #
49817 # Permission is given to use this file in any way.
49818
49819 outfile="${D}{1}"
49820 header="${D}{2}"
49821 shift
49822 shift
49823
49824 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49825
49826 compiler=""
49827 headerfile=""
49828
49829 while test ${D}{#} -gt 0; do
49830 add_to_cmdline=1
49831 case "${D}{1}" in
49832 -I* )
49833 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49834 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49835 headerfile="${D}{incdir}/${D}{header}"
49836 fi
49837 ;;
49838 -use-pch|-use_pch|-pch-use )
49839 shift
49840 add_to_cmdline=0
49841 ;;
49842 esac
49843 if test ${D}add_to_cmdline = 1 ; then
49844 compiler="${D}{compiler} ${D}{1}"
49845 fi
49846 shift
49847 done
49848
49849 if test "x${D}{headerfile}" = "x" ; then
49850 echo "error: can't find header ${D}{header} in include paths" >&2
49851 else
49852 if test -f ${D}{outfile} ; then
49853 rm -f ${D}{outfile}
49854 else
49855 mkdir -p \`dirname ${D}{outfile}\`
49856 fi
49857 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49858 mkdir -p ${D}{builddir}/.deps
49859 if test "x${GCC_PCH}" = "x1" ; then
49860 # can do this because gcc is >= 3.4:
49861 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49862 elif test "x${ICC_PCH}" = "x1" ; then
49863 filename=pch_gen-${D}${D}
49864 file=${D}{filename}.c
49865 dfile=${D}{filename}.d
49866 cat > ${D}file <<EOT
49867 #include "${D}header"
49868 EOT
49869 # using -MF icc complains about differing command lines in creation/use
49870 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49871 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49872 rm -f ${D}file ${D}dfile ${D}{filename}.o
49873 fi
49874 exit ${D}{?}
49875 fi
49876 EOF
49877
49878 chmod +x bk-make-pch
49879 BK_MAKE_PCH="`pwd`/bk-make-pch"
49880 fi
49881 fi
49882 fi
49883
49884
49885
49886
49887
49888
49889
49890 COND_BUILD_DEBUG="#"
49891 if test "x$BUILD" = "xdebug" ; then
49892 COND_BUILD_DEBUG=""
49893 fi
49894
49895 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49896 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49897 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49898 fi
49899
49900 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49901 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49902 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49903 fi
49904
49905 COND_BUILD_DEBUG_UNICODE_0="#"
49906 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49907 COND_BUILD_DEBUG_UNICODE_0=""
49908 fi
49909
49910 COND_BUILD_DEBUG_UNICODE_1="#"
49911 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49912 COND_BUILD_DEBUG_UNICODE_1=""
49913 fi
49914
49915 COND_BUILD_RELEASE="#"
49916 if test "x$BUILD" = "xrelease" ; then
49917 COND_BUILD_RELEASE=""
49918 fi
49919
49920 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49921 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49922 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49923 fi
49924
49925 COND_BUILD_RELEASE_UNICODE_0="#"
49926 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49927 COND_BUILD_RELEASE_UNICODE_0=""
49928 fi
49929
49930 COND_BUILD_RELEASE_UNICODE_1="#"
49931 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49932 COND_BUILD_RELEASE_UNICODE_1=""
49933 fi
49934
49935 COND_BUILD_debug="#"
49936 if test "x$BUILD" = "xdebug" ; then
49937 COND_BUILD_debug=""
49938 fi
49939
49940 COND_BUILD_debug_DEBUG_FLAG_default="#"
49941 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49942 COND_BUILD_debug_DEBUG_FLAG_default=""
49943 fi
49944
49945 COND_BUILD_debug_DEBUG_INFO_default="#"
49946 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49947 COND_BUILD_debug_DEBUG_INFO_default=""
49948 fi
49949
49950 COND_BUILD_debug_UNICODE_0="#"
49951 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49952 COND_BUILD_debug_UNICODE_0=""
49953 fi
49954
49955 COND_BUILD_debug_UNICODE_1="#"
49956 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49957 COND_BUILD_debug_UNICODE_1=""
49958 fi
49959
49960 COND_BUILD_release="#"
49961 if test "x$BUILD" = "xrelease" ; then
49962 COND_BUILD_release=""
49963 fi
49964
49965 COND_BUILD_release_DEBUG_INFO_default="#"
49966 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49967 COND_BUILD_release_DEBUG_INFO_default=""
49968 fi
49969
49970 COND_BUILD_release_UNICODE_0="#"
49971 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49972 COND_BUILD_release_UNICODE_0=""
49973 fi
49974
49975 COND_BUILD_release_UNICODE_1="#"
49976 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49977 COND_BUILD_release_UNICODE_1=""
49978 fi
49979
49980 COND_DEBUG_FLAG_0="#"
49981 if test "x$DEBUG_FLAG" = "x0" ; then
49982 COND_DEBUG_FLAG_0=""
49983 fi
49984
49985 COND_DEBUG_FLAG_1="#"
49986 if test "x$DEBUG_FLAG" = "x1" ; then
49987 COND_DEBUG_FLAG_1=""
49988 fi
49989
49990 COND_DEBUG_INFO_0="#"
49991 if test "x$DEBUG_INFO" = "x0" ; then
49992 COND_DEBUG_INFO_0=""
49993 fi
49994
49995 COND_DEBUG_INFO_1="#"
49996 if test "x$DEBUG_INFO" = "x1" ; then
49997 COND_DEBUG_INFO_1=""
49998 fi
49999
50000 COND_DEPS_TRACKING_0="#"
50001 if test "x$DEPS_TRACKING" = "x0" ; then
50002 COND_DEPS_TRACKING_0=""
50003 fi
50004
50005 COND_DEPS_TRACKING_1="#"
50006 if test "x$DEPS_TRACKING" = "x1" ; then
50007 COND_DEPS_TRACKING_1=""
50008 fi
50009
50010 COND_GCC_PCH_1="#"
50011 if test "x$GCC_PCH" = "x1" ; then
50012 COND_GCC_PCH_1=""
50013 fi
50014
50015 COND_ICC_PCH_1="#"
50016 if test "x$ICC_PCH" = "x1" ; then
50017 COND_ICC_PCH_1=""
50018 fi
50019
50020 COND_MONOLITHIC_0="#"
50021 if test "x$MONOLITHIC" = "x0" ; then
50022 COND_MONOLITHIC_0=""
50023 fi
50024
50025 COND_MONOLITHIC_0_SHARED_0="#"
50026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50027 COND_MONOLITHIC_0_SHARED_0=""
50028 fi
50029
50030 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50031 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50032 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50033 fi
50034
50035 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50038 fi
50039
50040 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50042 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50043 fi
50044
50045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50047 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50048 fi
50049
50050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50053 fi
50054
50055 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50057 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50058 fi
50059
50060 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50062 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50063 fi
50064
50065 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50067 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50068 fi
50069
50070 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50072 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50073 fi
50074
50075 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50077 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50078 fi
50079
50080 COND_MONOLITHIC_0_SHARED_1="#"
50081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50082 COND_MONOLITHIC_0_SHARED_1=""
50083 fi
50084
50085 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50087 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50088 fi
50089
50090 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50092 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50093 fi
50094
50095 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50097 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50098 fi
50099
50100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50102 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50103 fi
50104
50105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50107 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50108 fi
50109
50110 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50112 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50113 fi
50114
50115 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50117 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50118 fi
50119
50120 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50121 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50122 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50123 fi
50124
50125 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50126 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50127 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50128 fi
50129
50130 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50131 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50132 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50133 fi
50134
50135 COND_MONOLITHIC_0_USE_AUI_1="#"
50136 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50137 COND_MONOLITHIC_0_USE_AUI_1=""
50138 fi
50139
50140 COND_MONOLITHIC_0_USE_GUI_1="#"
50141 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50142 COND_MONOLITHIC_0_USE_GUI_1=""
50143 fi
50144
50145 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50146 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50147 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50148 fi
50149
50150 COND_MONOLITHIC_0_USE_HTML_1="#"
50151 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50152 COND_MONOLITHIC_0_USE_HTML_1=""
50153 fi
50154
50155 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50156 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50157 COND_MONOLITHIC_0_USE_MEDIA_1=""
50158 fi
50159
50160 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50161 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50162 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50163 fi
50164
50165 COND_MONOLITHIC_0_USE_QA_1="#"
50166 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50167 COND_MONOLITHIC_0_USE_QA_1=""
50168 fi
50169
50170 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50171 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50172 COND_MONOLITHIC_0_USE_RIBBON_1=""
50173 fi
50174
50175 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50176 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50177 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50178 fi
50179
50180 COND_MONOLITHIC_0_USE_STC_1="#"
50181 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50182 COND_MONOLITHIC_0_USE_STC_1=""
50183 fi
50184
50185 COND_MONOLITHIC_0_USE_XRC_1="#"
50186 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50187 COND_MONOLITHIC_0_USE_XRC_1=""
50188 fi
50189
50190 COND_MONOLITHIC_1="#"
50191 if test "x$MONOLITHIC" = "x1" ; then
50192 COND_MONOLITHIC_1=""
50193 fi
50194
50195 COND_MONOLITHIC_1_SHARED_0="#"
50196 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50197 COND_MONOLITHIC_1_SHARED_0=""
50198 fi
50199
50200 COND_MONOLITHIC_1_SHARED_1="#"
50201 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50202 COND_MONOLITHIC_1_SHARED_1=""
50203 fi
50204
50205 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50206 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50207 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50208 fi
50209
50210 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50211 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50212 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50213 fi
50214
50215 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50216 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50217 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50218 fi
50219
50220 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50221 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50222 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50223 fi
50224
50225 COND_PLATFORM_MACOSX_1="#"
50226 if test "x$PLATFORM_MACOSX" = "x1" ; then
50227 COND_PLATFORM_MACOSX_1=""
50228 fi
50229
50230 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50231 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50232 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50233 fi
50234
50235 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50236 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50237 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50238 fi
50239
50240 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50241 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50242 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50243 fi
50244
50245 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50246 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50247 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50248 fi
50249
50250 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50251 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50252 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50253 fi
50254
50255 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50256 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50257 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50258 fi
50259
50260 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50261 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50262 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50263 fi
50264
50265 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50266 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50267 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50268 fi
50269
50270 COND_PLATFORM_MACOS_1="#"
50271 if test "x$PLATFORM_MACOS" = "x1" ; then
50272 COND_PLATFORM_MACOS_1=""
50273 fi
50274
50275 COND_PLATFORM_MAC_0="#"
50276 if test "x$PLATFORM_MAC" = "x0" ; then
50277 COND_PLATFORM_MAC_0=""
50278 fi
50279
50280 COND_PLATFORM_MAC_1="#"
50281 if test "x$PLATFORM_MAC" = "x1" ; then
50282 COND_PLATFORM_MAC_1=""
50283 fi
50284
50285 COND_PLATFORM_MSDOS_0="#"
50286 if test "x$PLATFORM_MSDOS" = "x0" ; then
50287 COND_PLATFORM_MSDOS_0=""
50288 fi
50289
50290 COND_PLATFORM_MSDOS_1="#"
50291 if test "x$PLATFORM_MSDOS" = "x1" ; then
50292 COND_PLATFORM_MSDOS_1=""
50293 fi
50294
50295 COND_PLATFORM_OS2_1="#"
50296 if test "x$PLATFORM_OS2" = "x1" ; then
50297 COND_PLATFORM_OS2_1=""
50298 fi
50299
50300 COND_PLATFORM_UNIX_0="#"
50301 if test "x$PLATFORM_UNIX" = "x0" ; then
50302 COND_PLATFORM_UNIX_0=""
50303 fi
50304
50305 COND_PLATFORM_UNIX_1="#"
50306 if test "x$PLATFORM_UNIX" = "x1" ; then
50307 COND_PLATFORM_UNIX_1=""
50308 fi
50309
50310 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50311 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50312 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50313 fi
50314
50315 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50316 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50317 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50318 fi
50319
50320 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50321 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50322 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50323 fi
50324
50325 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50326 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50327 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50328 fi
50329
50330 COND_PLATFORM_WIN32_0="#"
50331 if test "x$PLATFORM_WIN32" = "x0" ; then
50332 COND_PLATFORM_WIN32_0=""
50333 fi
50334
50335 COND_PLATFORM_WIN32_1="#"
50336 if test "x$PLATFORM_WIN32" = "x1" ; then
50337 COND_PLATFORM_WIN32_1=""
50338 fi
50339
50340 COND_SHARED_0="#"
50341 if test "x$SHARED" = "x0" ; then
50342 COND_SHARED_0=""
50343 fi
50344
50345 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50346 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50347 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50348 fi
50349
50350 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50351 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50352 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50353 fi
50354
50355 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50356 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50357 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50358 fi
50359
50360 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50361 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50362 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50363 fi
50364
50365 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50366 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50367 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50368 fi
50369
50370 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50371 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50372 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50373 fi
50374
50375 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50376 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50377 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50378 fi
50379
50380 COND_SHARED_0_USE_STC_1="#"
50381 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50382 COND_SHARED_0_USE_STC_1=""
50383 fi
50384
50385 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50386 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50387 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50388 fi
50389
50390 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50391 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50392 COND_SHARED_0_wxUSE_REGEX_builtin=""
50393 fi
50394
50395 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50396 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50397 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50398 fi
50399
50400 COND_SHARED_1="#"
50401 if test "x$SHARED" = "x1" ; then
50402 COND_SHARED_1=""
50403 fi
50404
50405 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50406 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50407 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50408 fi
50409
50410 COND_TOOLKIT_="#"
50411 if test "x$TOOLKIT" = "x" ; then
50412 COND_TOOLKIT_=""
50413 fi
50414
50415 COND_TOOLKIT_COCOA="#"
50416 if test "x$TOOLKIT" = "xCOCOA" ; then
50417 COND_TOOLKIT_COCOA=""
50418 fi
50419
50420 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50421 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50422 COND_TOOLKIT_COCOA_USE_GUI_1=""
50423 fi
50424
50425 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50426 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50427 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50428 fi
50429
50430 COND_TOOLKIT_DFB="#"
50431 if test "x$TOOLKIT" = "xDFB" ; then
50432 COND_TOOLKIT_DFB=""
50433 fi
50434
50435 COND_TOOLKIT_DFB_USE_GUI_1="#"
50436 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50437 COND_TOOLKIT_DFB_USE_GUI_1=""
50438 fi
50439
50440 COND_TOOLKIT_GTK="#"
50441 if test "x$TOOLKIT" = "xGTK" ; then
50442 COND_TOOLKIT_GTK=""
50443 fi
50444
50445 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50446 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50447 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50448 fi
50449
50450 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50451 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50452 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50453 fi
50454
50455 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50456 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50457 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50458 fi
50459
50460 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50461 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50462 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50463 fi
50464
50465 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50466 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50467 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50468 fi
50469
50470 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50471 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50472 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50473 fi
50474
50475 COND_TOOLKIT_GTK_USE_GUI_1="#"
50476 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50477 COND_TOOLKIT_GTK_USE_GUI_1=""
50478 fi
50479
50480 COND_TOOLKIT_MAC="#"
50481 if test "x$TOOLKIT" = "xMAC" ; then
50482 COND_TOOLKIT_MAC=""
50483 fi
50484
50485 COND_TOOLKIT_MGL="#"
50486 if test "x$TOOLKIT" = "xMGL" ; then
50487 COND_TOOLKIT_MGL=""
50488 fi
50489
50490 COND_TOOLKIT_MGL_USE_GUI_1="#"
50491 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50492 COND_TOOLKIT_MGL_USE_GUI_1=""
50493 fi
50494
50495 COND_TOOLKIT_MOTIF="#"
50496 if test "x$TOOLKIT" = "xMOTIF" ; then
50497 COND_TOOLKIT_MOTIF=""
50498 fi
50499
50500 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50501 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50502 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50503 fi
50504
50505 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50506 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50507 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50508 fi
50509
50510 COND_TOOLKIT_MSW="#"
50511 if test "x$TOOLKIT" = "xMSW" ; then
50512 COND_TOOLKIT_MSW=""
50513 fi
50514
50515 COND_TOOLKIT_MSW_USE_GUI_1="#"
50516 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50517 COND_TOOLKIT_MSW_USE_GUI_1=""
50518 fi
50519
50520 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50521 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50522 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50523 fi
50524
50525 COND_TOOLKIT_MSW_WXUNIV_0="#"
50526 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50527 COND_TOOLKIT_MSW_WXUNIV_0=""
50528 fi
50529
50530 COND_TOOLKIT_OSX_CARBON="#"
50531 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50532 COND_TOOLKIT_OSX_CARBON=""
50533 fi
50534
50535 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50536 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50537 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50538 fi
50539
50540 COND_TOOLKIT_OSX_COCOA="#"
50541 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50542 COND_TOOLKIT_OSX_COCOA=""
50543 fi
50544
50545 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50546 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50547 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50548 fi
50549
50550 COND_TOOLKIT_OSX_IPHONE="#"
50551 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50552 COND_TOOLKIT_OSX_IPHONE=""
50553 fi
50554
50555 COND_TOOLKIT_PM="#"
50556 if test "x$TOOLKIT" = "xPM" ; then
50557 COND_TOOLKIT_PM=""
50558 fi
50559
50560 COND_TOOLKIT_PM_USE_GUI_1="#"
50561 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50562 COND_TOOLKIT_PM_USE_GUI_1=""
50563 fi
50564
50565 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50566 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50567 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50568 fi
50569
50570 COND_TOOLKIT_WINCE="#"
50571 if test "x$TOOLKIT" = "xWINCE" ; then
50572 COND_TOOLKIT_WINCE=""
50573 fi
50574
50575 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50576 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50577 COND_TOOLKIT_WINCE_USE_GUI_1=""
50578 fi
50579
50580 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50581 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50582 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50583 fi
50584
50585 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50586 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50587 COND_TOOLKIT_WINCE_WXUNIV_0=""
50588 fi
50589
50590 COND_TOOLKIT_X11="#"
50591 if test "x$TOOLKIT" = "xX11" ; then
50592 COND_TOOLKIT_X11=""
50593 fi
50594
50595 COND_TOOLKIT_X11_USE_GUI_1="#"
50596 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50597 COND_TOOLKIT_X11_USE_GUI_1=""
50598 fi
50599
50600 COND_UNICODE_1="#"
50601 if test "x$UNICODE" = "x1" ; then
50602 COND_UNICODE_1=""
50603 fi
50604
50605 COND_USE_EXCEPTIONS_0="#"
50606 if test "x$USE_EXCEPTIONS" = "x0" ; then
50607 COND_USE_EXCEPTIONS_0=""
50608 fi
50609
50610 COND_USE_EXCEPTIONS_1="#"
50611 if test "x$USE_EXCEPTIONS" = "x1" ; then
50612 COND_USE_EXCEPTIONS_1=""
50613 fi
50614
50615 COND_USE_GUI_0="#"
50616 if test "x$USE_GUI" = "x0" ; then
50617 COND_USE_GUI_0=""
50618 fi
50619
50620 COND_USE_GUI_1="#"
50621 if test "x$USE_GUI" = "x1" ; then
50622 COND_USE_GUI_1=""
50623 fi
50624
50625 COND_USE_GUI_1_USE_OPENGL_1="#"
50626 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50627 COND_USE_GUI_1_USE_OPENGL_1=""
50628 fi
50629
50630 COND_USE_GUI_1_WXUNIV_0="#"
50631 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50632 COND_USE_GUI_1_WXUNIV_0=""
50633 fi
50634
50635 COND_USE_GUI_1_WXUNIV_1="#"
50636 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50637 COND_USE_GUI_1_WXUNIV_1=""
50638 fi
50639
50640 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50641 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50642 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50643 fi
50644
50645 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50646 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50647 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50648 fi
50649
50650 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50651 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50652 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50653 fi
50654
50655 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50656 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50657 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50658 fi
50659
50660 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50661 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50662 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50663 fi
50664
50665 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50666 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50667 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50668 fi
50669
50670 COND_USE_OPENGL_1="#"
50671 if test "x$USE_OPENGL" = "x1" ; then
50672 COND_USE_OPENGL_1=""
50673 fi
50674
50675 COND_USE_PCH_1="#"
50676 if test "x$USE_PCH" = "x1" ; then
50677 COND_USE_PCH_1=""
50678 fi
50679
50680 COND_USE_PLUGINS_0="#"
50681 if test "x$USE_PLUGINS" = "x0" ; then
50682 COND_USE_PLUGINS_0=""
50683 fi
50684
50685 COND_USE_RTTI_0="#"
50686 if test "x$USE_RTTI" = "x0" ; then
50687 COND_USE_RTTI_0=""
50688 fi
50689
50690 COND_USE_RTTI_1="#"
50691 if test "x$USE_RTTI" = "x1" ; then
50692 COND_USE_RTTI_1=""
50693 fi
50694
50695 COND_USE_SOSYMLINKS_1="#"
50696 if test "x$USE_SOSYMLINKS" = "x1" ; then
50697 COND_USE_SOSYMLINKS_1=""
50698 fi
50699
50700 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50701 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50702 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50703 fi
50704
50705 COND_USE_SOVERLINUX_1="#"
50706 if test "x$USE_SOVERLINUX" = "x1" ; then
50707 COND_USE_SOVERLINUX_1=""
50708 fi
50709
50710 COND_USE_SOVERSION_0="#"
50711 if test "x$USE_SOVERSION" = "x0" ; then
50712 COND_USE_SOVERSION_0=""
50713 fi
50714
50715 COND_USE_SOVERSOLARIS_1="#"
50716 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50717 COND_USE_SOVERSOLARIS_1=""
50718 fi
50719
50720 COND_USE_STC_1="#"
50721 if test "x$USE_STC" = "x1" ; then
50722 COND_USE_STC_1=""
50723 fi
50724
50725 COND_USE_THREADS_0="#"
50726 if test "x$USE_THREADS" = "x0" ; then
50727 COND_USE_THREADS_0=""
50728 fi
50729
50730 COND_USE_THREADS_1="#"
50731 if test "x$USE_THREADS" = "x1" ; then
50732 COND_USE_THREADS_1=""
50733 fi
50734
50735 COND_USE_XRC_1="#"
50736 if test "x$USE_XRC" = "x1" ; then
50737 COND_USE_XRC_1=""
50738 fi
50739
50740 COND_WINDOWS_IMPLIB_1="#"
50741 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50742 COND_WINDOWS_IMPLIB_1=""
50743 fi
50744
50745 COND_WITH_PLUGIN_SDL_1="#"
50746 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50747 COND_WITH_PLUGIN_SDL_1=""
50748 fi
50749
50750 COND_WXUNIV_0="#"
50751 if test "x$WXUNIV" = "x0" ; then
50752 COND_WXUNIV_0=""
50753 fi
50754
50755 COND_WXUNIV_1="#"
50756 if test "x$WXUNIV" = "x1" ; then
50757 COND_WXUNIV_1=""
50758 fi
50759
50760 COND_WXUSE_EXPAT_BUILTIN="#"
50761 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50762 COND_WXUSE_EXPAT_BUILTIN=""
50763 fi
50764
50765 COND_WXUSE_LIBJPEG_BUILTIN="#"
50766 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50767 COND_WXUSE_LIBJPEG_BUILTIN=""
50768 fi
50769
50770 COND_WXUSE_LIBPNG_BUILTIN="#"
50771 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50772 COND_WXUSE_LIBPNG_BUILTIN=""
50773 fi
50774
50775 COND_WXUSE_LIBTIFF_BUILTIN="#"
50776 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50777 COND_WXUSE_LIBTIFF_BUILTIN=""
50778 fi
50779
50780 COND_WXUSE_REGEX_BUILTIN="#"
50781 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50782 COND_WXUSE_REGEX_BUILTIN=""
50783 fi
50784
50785 COND_WXUSE_ZLIB_BUILTIN="#"
50786 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50787 COND_WXUSE_ZLIB_BUILTIN=""
50788 fi
50789
50790 COND_wxUSE_EXPAT_builtin="#"
50791 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50792 COND_wxUSE_EXPAT_builtin=""
50793 fi
50794
50795 COND_wxUSE_LIBJPEG_builtin="#"
50796 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50797 COND_wxUSE_LIBJPEG_builtin=""
50798 fi
50799
50800 COND_wxUSE_LIBPNG_builtin="#"
50801 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50802 COND_wxUSE_LIBPNG_builtin=""
50803 fi
50804
50805 COND_wxUSE_LIBTIFF_builtin="#"
50806 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50807 COND_wxUSE_LIBTIFF_builtin=""
50808 fi
50809
50810 COND_wxUSE_REGEX_builtin="#"
50811 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50812 COND_wxUSE_REGEX_builtin=""
50813 fi
50814
50815 COND_wxUSE_ZLIB_builtin="#"
50816 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50817 COND_wxUSE_ZLIB_builtin=""
50818 fi
50819
50820
50821
50822 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50823 { { 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
50824 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;}
50825 { (exit 1); exit 1; }; }
50826 fi
50827
50828 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50829 { { 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
50830 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;}
50831 { (exit 1); exit 1; }; }
50832 fi
50833
50834
50835 case ${INSTALL} in
50836 /* ) # Absolute
50837 ;;
50838 ?:* ) # Drive letter, considered as absolute.
50839 ;;
50840 *)
50841 INSTALL=`pwd`/${INSTALL} ;;
50842 esac
50843
50844 if test "$wxUSE_GUI" = "yes"; then
50845
50846 if test "$wxUSE_MSW" = 1 ; then
50847 if test "x$WINDRES" = "x"; then
50848 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50849 echo "$as_me: error: Required windres program not found" >&2;}
50850 { (exit 1); exit 1; }; }
50851 fi
50852
50853 RESCOMP="$WINDRES"
50854 fi
50855
50856 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50857 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50858 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50859
50860 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50861
50862 # Extract the first word of "DeRez", so it can be a program name with args.
50863 set dummy DeRez; ac_word=$2
50864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50866 if test "${ac_cv_prog_DEREZ+set}" = set; then
50867 echo $ECHO_N "(cached) $ECHO_C" >&6
50868 else
50869 if test -n "$DEREZ"; then
50870 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50871 else
50872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50873 for as_dir in $PATH
50874 do
50875 IFS=$as_save_IFS
50876 test -z "$as_dir" && as_dir=.
50877 for ac_exec_ext in '' $ac_executable_extensions; do
50878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50879 ac_cv_prog_DEREZ="DeRez"
50880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50881 break 2
50882 fi
50883 done
50884 done
50885 IFS=$as_save_IFS
50886
50887 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50888 fi
50889 fi
50890 DEREZ=$ac_cv_prog_DEREZ
50891 if test -n "$DEREZ"; then
50892 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50893 echo "${ECHO_T}$DEREZ" >&6; }
50894 else
50895 { echo "$as_me:$LINENO: result: no" >&5
50896 echo "${ECHO_T}no" >&6; }
50897 fi
50898
50899
50900
50901 MACSETFILE="\$(SETFILE)"
50902
50903 if test "$wxUSE_OSX_CARBON" = 1; then
50904 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50905 RESCOMP="$REZ"
50906 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50907 else
50908 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50909 RESCOMP="cat /dev/null \| $REZ"
50910 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50911 fi
50912
50913 else
50914 MACSETFILE="@true"
50915
50916 if test "$wxUSE_PM" = 1; then
50917 RESCOMP="emxbind"
50918 WXCONFIG_RESFLAGS="-ep"
50919
50920 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50921 else
50922 POSTLINK_COMMAND="@true"
50923 fi
50924 fi
50925
50926 fi
50927
50928
50929 if test $GCC_PCH = 1
50930 then
50931 if test "$wx_cv_gcc_pch_bug" = yes; then
50932 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50933 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50934 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50935 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50936 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50937 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50938 fi
50939
50940 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50941 # the headers that benefit from precompilation are mostly C++ headers.
50942 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50943 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50944 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50945 fi
50946
50947
50948 if test "$wxUSE_MAC" = 1 ; then
50949 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50950 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50951 mv temp bk-deps
50952 chmod +x bk-deps
50953 fi
50954 fi
50955
50956 if test "$wxUSE_SHARED" = "yes"; then
50957 case "${host}" in
50958 *-pc-os2_emx | *-pc-os2-emx )
50959 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50960 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50961 cp -p ${srcdir}/src/os2/dllnames.sh .
50962 cp -p ${srcdir}/src/os2/dllar.sh .
50963 ;;
50964 esac
50965 fi
50966 if test "$wxUSE_OMF" = "yes"; then
50967 case "${host}" in
50968 *-pc-os2_emx | *-pc-os2-emx )
50969 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50970 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50971 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50972 ;;
50973 esac
50974 fi
50975
50976 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50977
50978
50979 case "${host}" in
50980 *-*-solaris2* )
50981 if test "$GCC" = yes; then
50982 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50983 LIBS=`echo $LIBS | sed 's/-mt//'`
50984 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50985 fi
50986 ;;
50987
50988 *-*-linux* )
50989 if test "x$SUNCXX" = xyes; then
50990 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50991 LIBS=`echo $LIBS | sed 's/-pthread//'`
50992 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50993 fi
50994 ;;
50995 esac
50996
50997 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50998 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50999 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51000 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51001
51002 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51003
51004
51005
51006
51007
51008
51009
51010
51011
51012
51013
51014
51015
51016
51017
51018
51019
51020
51021
51022
51023
51024
51025
51026
51027
51028
51029
51030
51031
51032
51033
51034
51035
51036
51037
51038
51039
51040
51041
51042
51043
51044
51045
51046
51047
51048
51049
51050
51051
51052
51053
51054
51055
51056
51057
51058
51059
51060
51061
51062 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51063 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51064 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51065 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51066 echo $ECHO_N "(cached) $ECHO_C" >&6
51067 else
51068 cat >conftest.make <<\_ACEOF
51069 SHELL = /bin/sh
51070 all:
51071 @echo '@@@%%%=$(MAKE)=@@@%%%'
51072 _ACEOF
51073 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51074 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51075 *@@@%%%=?*=@@@%%%*)
51076 eval ac_cv_prog_make_${ac_make}_set=yes;;
51077 *)
51078 eval ac_cv_prog_make_${ac_make}_set=no;;
51079 esac
51080 rm -f conftest.make
51081 fi
51082 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51083 { echo "$as_me:$LINENO: result: yes" >&5
51084 echo "${ECHO_T}yes" >&6; }
51085 SET_MAKE=
51086 else
51087 { echo "$as_me:$LINENO: result: no" >&5
51088 echo "${ECHO_T}no" >&6; }
51089 SET_MAKE="MAKE=${MAKE-make}"
51090 fi
51091
51092
51093
51094 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51095
51096
51097 if test "$USE_WIN32" = 1; then
51098 ac_config_commands="$ac_config_commands rcdefs.h"
51099
51100 fi
51101
51102 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51103
51104
51105 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51106
51107
51108 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51109
51110
51111 if test "$wx_cv_version_script" = "yes"; then
51112 ac_config_files="$ac_config_files version-script"
51113
51114 fi
51115 ac_config_files="$ac_config_files Makefile"
51116
51117
51118 ac_config_commands="$ac_config_commands wx-config"
51119
51120
51121
51122 if test "$wxWITH_SUBDIRS" != "no"; then
51123 if test "$wxUSE_GUI" = "yes"; then
51124 SUBDIRS="samples demos utils"
51125 else
51126 SUBDIRS="samples utils"
51127 fi
51128
51129
51130
51131 # Check whether --with-cppunit-prefix was given.
51132 if test "${with_cppunit_prefix+set}" = set; then
51133 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51134 else
51135 cppunit_config_prefix=""
51136 fi
51137
51138
51139 # Check whether --with-cppunit-exec-prefix was given.
51140 if test "${with_cppunit_exec_prefix+set}" = set; then
51141 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51142 else
51143 cppunit_config_exec_prefix=""
51144 fi
51145
51146
51147 if test x$cppunit_config_exec_prefix != x ; then
51148 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51149 if test x${CPPUNIT_CONFIG+set} != xset ; then
51150 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51151 fi
51152 fi
51153 if test x$cppunit_config_prefix != x ; then
51154 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51155 if test x${CPPUNIT_CONFIG+set} != xset ; then
51156 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51157 fi
51158 fi
51159
51160 # Extract the first word of "cppunit-config", so it can be a program name with args.
51161 set dummy cppunit-config; ac_word=$2
51162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51164 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51165 echo $ECHO_N "(cached) $ECHO_C" >&6
51166 else
51167 case $CPPUNIT_CONFIG in
51168 [\\/]* | ?:[\\/]*)
51169 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51170 ;;
51171 *)
51172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51173 for as_dir in $PATH
51174 do
51175 IFS=$as_save_IFS
51176 test -z "$as_dir" && as_dir=.
51177 for ac_exec_ext in '' $ac_executable_extensions; do
51178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51179 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51181 break 2
51182 fi
51183 done
51184 done
51185 IFS=$as_save_IFS
51186
51187 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51188 ;;
51189 esac
51190 fi
51191 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51192 if test -n "$CPPUNIT_CONFIG"; then
51193 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51194 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51195 else
51196 { echo "$as_me:$LINENO: result: no" >&5
51197 echo "${ECHO_T}no" >&6; }
51198 fi
51199
51200
51201 cppunit_version_min=1.8.0
51202
51203 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51204 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51205 no_cppunit=""
51206 if test "$CPPUNIT_CONFIG" = "no" ; then
51207 { echo "$as_me:$LINENO: result: no" >&5
51208 echo "${ECHO_T}no" >&6; }
51209 no_cppunit=yes
51210 else
51211 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51212 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51213 cppunit_version=`$CPPUNIT_CONFIG --version`
51214
51215 cppunit_major_version=`echo $cppunit_version | \
51216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51217 cppunit_minor_version=`echo $cppunit_version | \
51218 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51219 cppunit_micro_version=`echo $cppunit_version | \
51220 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51221
51222 cppunit_major_min=`echo $cppunit_version_min | \
51223 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51224 cppunit_minor_min=`echo $cppunit_version_min | \
51225 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51226 cppunit_micro_min=`echo $cppunit_version_min | \
51227 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51228
51229 cppunit_version_proper=`expr \
51230 $cppunit_major_version \> $cppunit_major_min \| \
51231 $cppunit_major_version \= $cppunit_major_min \& \
51232 $cppunit_minor_version \> $cppunit_minor_min \| \
51233 $cppunit_major_version \= $cppunit_major_min \& \
51234 $cppunit_minor_version \= $cppunit_minor_min \& \
51235 $cppunit_micro_version \>= $cppunit_micro_min `
51236
51237 if test "$cppunit_version_proper" = "1" ; then
51238 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51239 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51240 else
51241 { echo "$as_me:$LINENO: result: no" >&5
51242 echo "${ECHO_T}no" >&6; }
51243 no_cppunit=yes
51244 fi
51245 fi
51246
51247 if test "x$no_cppunit" = x ; then
51248 SUBDIRS="$SUBDIRS tests"
51249 else
51250 CPPUNIT_CFLAGS=""
51251 CPPUNIT_LIBS=""
51252 :
51253 fi
51254
51255
51256
51257
51258
51259 for subdir in $SUBDIRS; do
51260 if test -d ${srcdir}/${subdir} ; then
51261 if test "$wxUSE_GUI" = "yes"; then
51262 if test ${subdir} = "samples"; then
51263 makefiles="samples/Makefile.in $makefiles"
51264 for sample in $SAMPLES_SUBDIRS; do
51265 if test -d $srcdir/samples/$sample; then
51266 makefiles="samples/$sample/Makefile.in $makefiles"
51267 fi
51268 done
51269 else
51270 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51271 eval "disabled=\$$disabled_var"
51272 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51273 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51274 fi
51275 else
51276 if test ${subdir} = "samples"; then
51277 makefiles="samples/Makefile.in $makefiles"
51278 for sample in `echo $SAMPLES_SUBDIRS`; do
51279 if test -d $srcdir/samples/$sample; then
51280 makefiles="samples/$sample/Makefile.in $makefiles"
51281 fi
51282 done
51283 elif test ${subdir} = "utils"; then
51284 makefiles=""
51285 for util in ifacecheck ; do
51286 if test -d $srcdir/utils/$util ; then
51287 makefiles="utils/$util/src/Makefile.in \
51288 $makefiles"
51289 fi
51290 done
51291 else
51292 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51293 fi
51294 fi
51295
51296 for mkin in $makefiles ; do
51297 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51298 ac_config_files="$ac_config_files $mk"
51299
51300 done
51301 fi
51302 done
51303 fi
51304 cat >confcache <<\_ACEOF
51305 # This file is a shell script that caches the results of configure
51306 # tests run on this system so they can be shared between configure
51307 # scripts and configure runs, see configure's option --config-cache.
51308 # It is not useful on other systems. If it contains results you don't
51309 # want to keep, you may remove or edit it.
51310 #
51311 # config.status only pays attention to the cache file if you give it
51312 # the --recheck option to rerun configure.
51313 #
51314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51316 # following values.
51317
51318 _ACEOF
51319
51320 # The following way of writing the cache mishandles newlines in values,
51321 # but we know of no workaround that is simple, portable, and efficient.
51322 # So, we kill variables containing newlines.
51323 # Ultrix sh set writes to stderr and can't be redirected directly,
51324 # and sets the high bit in the cache file unless we assign to the vars.
51325 (
51326 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51327 eval ac_val=\$$ac_var
51328 case $ac_val in #(
51329 *${as_nl}*)
51330 case $ac_var in #(
51331 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51332 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51333 esac
51334 case $ac_var in #(
51335 _ | IFS | as_nl) ;; #(
51336 *) $as_unset $ac_var ;;
51337 esac ;;
51338 esac
51339 done
51340
51341 (set) 2>&1 |
51342 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51343 *${as_nl}ac_space=\ *)
51344 # `set' does not quote correctly, so add quotes (double-quote
51345 # substitution turns \\\\ into \\, and sed turns \\ into \).
51346 sed -n \
51347 "s/'/'\\\\''/g;
51348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51349 ;; #(
51350 *)
51351 # `set' quotes correctly as required by POSIX, so do not add quotes.
51352 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51353 ;;
51354 esac |
51355 sort
51356 ) |
51357 sed '
51358 /^ac_cv_env_/b end
51359 t clear
51360 :clear
51361 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51362 t end
51363 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51364 :end' >>confcache
51365 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51366 if test -w "$cache_file"; then
51367 test "x$cache_file" != "x/dev/null" &&
51368 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51369 echo "$as_me: updating cache $cache_file" >&6;}
51370 cat confcache >$cache_file
51371 else
51372 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51373 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51374 fi
51375 fi
51376 rm -f confcache
51377
51378 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51379 # Let make expand exec_prefix.
51380 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51381
51382 DEFS=-DHAVE_CONFIG_H
51383
51384 ac_libobjs=
51385 ac_ltlibobjs=
51386 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51387 # 1. Remove the extension, and $U if already installed.
51388 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51389 ac_i=`echo "$ac_i" | sed "$ac_script"`
51390 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51391 # will be set to the directory where LIBOBJS objects are built.
51392 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51393 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51394 done
51395 LIBOBJS=$ac_libobjs
51396
51397 LTLIBOBJS=$ac_ltlibobjs
51398
51399
51400
51401 : ${CONFIG_STATUS=./config.status}
51402 ac_clean_files_save=$ac_clean_files
51403 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51404 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51405 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51406 cat >$CONFIG_STATUS <<_ACEOF
51407 #! $SHELL
51408 # Generated by $as_me.
51409 # Run this file to recreate the current configuration.
51410 # Compiler output produced by configure, useful for debugging
51411 # configure, is in config.log if it exists.
51412
51413 debug=false
51414 ac_cs_recheck=false
51415 ac_cs_silent=false
51416 SHELL=\${CONFIG_SHELL-$SHELL}
51417 _ACEOF
51418
51419 cat >>$CONFIG_STATUS <<\_ACEOF
51420 ## --------------------- ##
51421 ## M4sh Initialization. ##
51422 ## --------------------- ##
51423
51424 # Be more Bourne compatible
51425 DUALCASE=1; export DUALCASE # for MKS sh
51426 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51427 emulate sh
51428 NULLCMD=:
51429 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51430 # is contrary to our usage. Disable this feature.
51431 alias -g '${1+"$@"}'='"$@"'
51432 setopt NO_GLOB_SUBST
51433 else
51434 case `(set -o) 2>/dev/null` in
51435 *posix*) set -o posix ;;
51436 esac
51437
51438 fi
51439
51440
51441
51442
51443 # PATH needs CR
51444 # Avoid depending upon Character Ranges.
51445 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51446 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51447 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51448 as_cr_digits='0123456789'
51449 as_cr_alnum=$as_cr_Letters$as_cr_digits
51450
51451 # The user is always right.
51452 if test "${PATH_SEPARATOR+set}" != set; then
51453 echo "#! /bin/sh" >conf$$.sh
51454 echo "exit 0" >>conf$$.sh
51455 chmod +x conf$$.sh
51456 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51457 PATH_SEPARATOR=';'
51458 else
51459 PATH_SEPARATOR=:
51460 fi
51461 rm -f conf$$.sh
51462 fi
51463
51464 # Support unset when possible.
51465 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51466 as_unset=unset
51467 else
51468 as_unset=false
51469 fi
51470
51471
51472 # IFS
51473 # We need space, tab and new line, in precisely that order. Quoting is
51474 # there to prevent editors from complaining about space-tab.
51475 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51476 # splitting by setting IFS to empty value.)
51477 as_nl='
51478 '
51479 IFS=" "" $as_nl"
51480
51481 # Find who we are. Look in the path if we contain no directory separator.
51482 case $0 in
51483 *[\\/]* ) as_myself=$0 ;;
51484 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51485 for as_dir in $PATH
51486 do
51487 IFS=$as_save_IFS
51488 test -z "$as_dir" && as_dir=.
51489 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51490 done
51491 IFS=$as_save_IFS
51492
51493 ;;
51494 esac
51495 # We did not find ourselves, most probably we were run as `sh COMMAND'
51496 # in which case we are not to be found in the path.
51497 if test "x$as_myself" = x; then
51498 as_myself=$0
51499 fi
51500 if test ! -f "$as_myself"; then
51501 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51502 { (exit 1); exit 1; }
51503 fi
51504
51505 # Work around bugs in pre-3.0 UWIN ksh.
51506 for as_var in ENV MAIL MAILPATH
51507 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51508 done
51509 PS1='$ '
51510 PS2='> '
51511 PS4='+ '
51512
51513 # NLS nuisances.
51514 for as_var in \
51515 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51516 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51517 LC_TELEPHONE LC_TIME
51518 do
51519 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51520 eval $as_var=C; export $as_var
51521 else
51522 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51523 fi
51524 done
51525
51526 # Required to use basename.
51527 if expr a : '\(a\)' >/dev/null 2>&1 &&
51528 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51529 as_expr=expr
51530 else
51531 as_expr=false
51532 fi
51533
51534 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51535 as_basename=basename
51536 else
51537 as_basename=false
51538 fi
51539
51540
51541 # Name of the executable.
51542 as_me=`$as_basename -- "$0" ||
51543 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51544 X"$0" : 'X\(//\)$' \| \
51545 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51546 echo X/"$0" |
51547 sed '/^.*\/\([^/][^/]*\)\/*$/{
51548 s//\1/
51549 q
51550 }
51551 /^X\/\(\/\/\)$/{
51552 s//\1/
51553 q
51554 }
51555 /^X\/\(\/\).*/{
51556 s//\1/
51557 q
51558 }
51559 s/.*/./; q'`
51560
51561 # CDPATH.
51562 $as_unset CDPATH
51563
51564
51565
51566 as_lineno_1=$LINENO
51567 as_lineno_2=$LINENO
51568 test "x$as_lineno_1" != "x$as_lineno_2" &&
51569 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51570
51571 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51572 # uniformly replaced by the line number. The first 'sed' inserts a
51573 # line-number line after each line using $LINENO; the second 'sed'
51574 # does the real work. The second script uses 'N' to pair each
51575 # line-number line with the line containing $LINENO, and appends
51576 # trailing '-' during substitution so that $LINENO is not a special
51577 # case at line end.
51578 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51579 # scripts with optimization help from Paolo Bonzini. Blame Lee
51580 # E. McMahon (1931-1989) for sed's syntax. :-)
51581 sed -n '
51582 p
51583 /[$]LINENO/=
51584 ' <$as_myself |
51585 sed '
51586 s/[$]LINENO.*/&-/
51587 t lineno
51588 b
51589 :lineno
51590 N
51591 :loop
51592 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51593 t loop
51594 s/-\n.*//
51595 ' >$as_me.lineno &&
51596 chmod +x "$as_me.lineno" ||
51597 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51598 { (exit 1); exit 1; }; }
51599
51600 # Don't try to exec as it changes $[0], causing all sort of problems
51601 # (the dirname of $[0] is not the place where we might find the
51602 # original and so on. Autoconf is especially sensitive to this).
51603 . "./$as_me.lineno"
51604 # Exit status is that of the last command.
51605 exit
51606 }
51607
51608
51609 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51610 as_dirname=dirname
51611 else
51612 as_dirname=false
51613 fi
51614
51615 ECHO_C= ECHO_N= ECHO_T=
51616 case `echo -n x` in
51617 -n*)
51618 case `echo 'x\c'` in
51619 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51620 *) ECHO_C='\c';;
51621 esac;;
51622 *)
51623 ECHO_N='-n';;
51624 esac
51625
51626 if expr a : '\(a\)' >/dev/null 2>&1 &&
51627 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51628 as_expr=expr
51629 else
51630 as_expr=false
51631 fi
51632
51633 rm -f conf$$ conf$$.exe conf$$.file
51634 if test -d conf$$.dir; then
51635 rm -f conf$$.dir/conf$$.file
51636 else
51637 rm -f conf$$.dir
51638 mkdir conf$$.dir
51639 fi
51640 echo >conf$$.file
51641 if ln -s conf$$.file conf$$ 2>/dev/null; then
51642 as_ln_s='ln -s'
51643 # ... but there are two gotchas:
51644 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51645 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51646 # In both cases, we have to default to `cp -p'.
51647 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51648 as_ln_s='cp -p'
51649 elif ln conf$$.file conf$$ 2>/dev/null; then
51650 as_ln_s=ln
51651 else
51652 as_ln_s='cp -p'
51653 fi
51654 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51655 rmdir conf$$.dir 2>/dev/null
51656
51657 if mkdir -p . 2>/dev/null; then
51658 as_mkdir_p=:
51659 else
51660 test -d ./-p && rmdir ./-p
51661 as_mkdir_p=false
51662 fi
51663
51664 if test -x / >/dev/null 2>&1; then
51665 as_test_x='test -x'
51666 else
51667 if ls -dL / >/dev/null 2>&1; then
51668 as_ls_L_option=L
51669 else
51670 as_ls_L_option=
51671 fi
51672 as_test_x='
51673 eval sh -c '\''
51674 if test -d "$1"; then
51675 test -d "$1/.";
51676 else
51677 case $1 in
51678 -*)set "./$1";;
51679 esac;
51680 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51681 ???[sx]*):;;*)false;;esac;fi
51682 '\'' sh
51683 '
51684 fi
51685 as_executable_p=$as_test_x
51686
51687 # Sed expression to map a string onto a valid CPP name.
51688 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51689
51690 # Sed expression to map a string onto a valid variable name.
51691 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51692
51693
51694 exec 6>&1
51695
51696 # Save the log message, to keep $[0] and so on meaningful, and to
51697 # report actual input values of CONFIG_FILES etc. instead of their
51698 # values after options handling.
51699 ac_log="
51700 This file was extended by wxWidgets $as_me 2.9.1, which was
51701 generated by GNU Autoconf 2.61. Invocation command line was
51702
51703 CONFIG_FILES = $CONFIG_FILES
51704 CONFIG_HEADERS = $CONFIG_HEADERS
51705 CONFIG_LINKS = $CONFIG_LINKS
51706 CONFIG_COMMANDS = $CONFIG_COMMANDS
51707 $ $0 $@
51708
51709 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51710 "
51711
51712 _ACEOF
51713
51714 cat >>$CONFIG_STATUS <<_ACEOF
51715 # Files that config.status was made for.
51716 config_files="$ac_config_files"
51717 config_headers="$ac_config_headers"
51718 config_commands="$ac_config_commands"
51719
51720 _ACEOF
51721
51722 cat >>$CONFIG_STATUS <<\_ACEOF
51723 ac_cs_usage="\
51724 \`$as_me' instantiates files from templates according to the
51725 current configuration.
51726
51727 Usage: $0 [OPTIONS] [FILE]...
51728
51729 -h, --help print this help, then exit
51730 -V, --version print version number and configuration settings, then exit
51731 -q, --quiet do not print progress messages
51732 -d, --debug don't remove temporary files
51733 --recheck update $as_me by reconfiguring in the same conditions
51734 --file=FILE[:TEMPLATE]
51735 instantiate the configuration file FILE
51736 --header=FILE[:TEMPLATE]
51737 instantiate the configuration header FILE
51738
51739 Configuration files:
51740 $config_files
51741
51742 Configuration headers:
51743 $config_headers
51744
51745 Configuration commands:
51746 $config_commands
51747
51748 Report bugs to <bug-autoconf@gnu.org>."
51749
51750 _ACEOF
51751 cat >>$CONFIG_STATUS <<_ACEOF
51752 ac_cs_version="\\
51753 wxWidgets config.status 2.9.1
51754 configured by $0, generated by GNU Autoconf 2.61,
51755 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51756
51757 Copyright (C) 2006 Free Software Foundation, Inc.
51758 This config.status script is free software; the Free Software Foundation
51759 gives unlimited permission to copy, distribute and modify it."
51760
51761 ac_pwd='$ac_pwd'
51762 srcdir='$srcdir'
51763 INSTALL='$INSTALL'
51764 _ACEOF
51765
51766 cat >>$CONFIG_STATUS <<\_ACEOF
51767 # If no file are specified by the user, then we need to provide default
51768 # value. By we need to know if files were specified by the user.
51769 ac_need_defaults=:
51770 while test $# != 0
51771 do
51772 case $1 in
51773 --*=*)
51774 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51775 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51776 ac_shift=:
51777 ;;
51778 *)
51779 ac_option=$1
51780 ac_optarg=$2
51781 ac_shift=shift
51782 ;;
51783 esac
51784
51785 case $ac_option in
51786 # Handling of the options.
51787 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51788 ac_cs_recheck=: ;;
51789 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51790 echo "$ac_cs_version"; exit ;;
51791 --debug | --debu | --deb | --de | --d | -d )
51792 debug=: ;;
51793 --file | --fil | --fi | --f )
51794 $ac_shift
51795 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51796 ac_need_defaults=false;;
51797 --header | --heade | --head | --hea )
51798 $ac_shift
51799 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51800 ac_need_defaults=false;;
51801 --he | --h)
51802 # Conflict between --help and --header
51803 { echo "$as_me: error: ambiguous option: $1
51804 Try \`$0 --help' for more information." >&2
51805 { (exit 1); exit 1; }; };;
51806 --help | --hel | -h )
51807 echo "$ac_cs_usage"; exit ;;
51808 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51809 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51810 ac_cs_silent=: ;;
51811
51812 # This is an error.
51813 -*) { echo "$as_me: error: unrecognized option: $1
51814 Try \`$0 --help' for more information." >&2
51815 { (exit 1); exit 1; }; } ;;
51816
51817 *) ac_config_targets="$ac_config_targets $1"
51818 ac_need_defaults=false ;;
51819
51820 esac
51821 shift
51822 done
51823
51824 ac_configure_extra_args=
51825
51826 if $ac_cs_silent; then
51827 exec 6>/dev/null
51828 ac_configure_extra_args="$ac_configure_extra_args --silent"
51829 fi
51830
51831 _ACEOF
51832 cat >>$CONFIG_STATUS <<_ACEOF
51833 if \$ac_cs_recheck; then
51834 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51835 CONFIG_SHELL=$SHELL
51836 export CONFIG_SHELL
51837 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51838 fi
51839
51840 _ACEOF
51841 cat >>$CONFIG_STATUS <<\_ACEOF
51842 exec 5>>config.log
51843 {
51844 echo
51845 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51846 ## Running $as_me. ##
51847 _ASBOX
51848 echo "$ac_log"
51849 } >&5
51850
51851 _ACEOF
51852 cat >>$CONFIG_STATUS <<_ACEOF
51853 #
51854 # INIT-COMMANDS
51855 #
51856
51857 CPP="$CPP"
51858 infile="$srcdir/include/wx/msw/genrcdefs.h"
51859 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51860
51861
51862 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51863 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51864 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51865 LN_S="${LN_S}"
51866
51867
51868 _ACEOF
51869
51870 cat >>$CONFIG_STATUS <<\_ACEOF
51871
51872 # Handling of arguments.
51873 for ac_config_target in $ac_config_targets
51874 do
51875 case $ac_config_target in
51876 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51877 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51878 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51879 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51880 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51881 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51882 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51883 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51884 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51885
51886 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51887 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51888 { (exit 1); exit 1; }; };;
51889 esac
51890 done
51891
51892
51893 # If the user did not use the arguments to specify the items to instantiate,
51894 # then the envvar interface is used. Set only those that are not.
51895 # We use the long form for the default assignment because of an extremely
51896 # bizarre bug on SunOS 4.1.3.
51897 if $ac_need_defaults; then
51898 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51899 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51900 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51901 fi
51902
51903 # Have a temporary directory for convenience. Make it in the build tree
51904 # simply because there is no reason against having it here, and in addition,
51905 # creating and moving files from /tmp can sometimes cause problems.
51906 # Hook for its removal unless debugging.
51907 # Note that there is a small window in which the directory will not be cleaned:
51908 # after its creation but before its name has been assigned to `$tmp'.
51909 $debug ||
51910 {
51911 tmp=
51912 trap 'exit_status=$?
51913 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51914 ' 0
51915 trap '{ (exit 1); exit 1; }' 1 2 13 15
51916 }
51917 # Create a (secure) tmp directory for tmp files.
51918
51919 {
51920 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51921 test -n "$tmp" && test -d "$tmp"
51922 } ||
51923 {
51924 tmp=./conf$$-$RANDOM
51925 (umask 077 && mkdir "$tmp")
51926 } ||
51927 {
51928 echo "$me: cannot create a temporary directory in ." >&2
51929 { (exit 1); exit 1; }
51930 }
51931
51932 #
51933 # Set up the sed scripts for CONFIG_FILES section.
51934 #
51935
51936 # No need to generate the scripts if there are no CONFIG_FILES.
51937 # This happens for instance when ./config.status config.h
51938 if test -n "$CONFIG_FILES"; then
51939
51940 _ACEOF
51941
51942
51943
51944 ac_delim='%!_!# '
51945 for ac_last_try in false false false false false :; do
51946 cat >conf$$subs.sed <<_ACEOF
51947 SHELL!$SHELL$ac_delim
51948 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51949 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51950 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51951 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51952 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51953 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51954 exec_prefix!$exec_prefix$ac_delim
51955 prefix!$prefix$ac_delim
51956 program_transform_name!$program_transform_name$ac_delim
51957 bindir!$bindir$ac_delim
51958 sbindir!$sbindir$ac_delim
51959 libexecdir!$libexecdir$ac_delim
51960 datarootdir!$datarootdir$ac_delim
51961 datadir!$datadir$ac_delim
51962 sysconfdir!$sysconfdir$ac_delim
51963 sharedstatedir!$sharedstatedir$ac_delim
51964 localstatedir!$localstatedir$ac_delim
51965 includedir!$includedir$ac_delim
51966 oldincludedir!$oldincludedir$ac_delim
51967 docdir!$docdir$ac_delim
51968 infodir!$infodir$ac_delim
51969 htmldir!$htmldir$ac_delim
51970 dvidir!$dvidir$ac_delim
51971 pdfdir!$pdfdir$ac_delim
51972 psdir!$psdir$ac_delim
51973 libdir!$libdir$ac_delim
51974 localedir!$localedir$ac_delim
51975 mandir!$mandir$ac_delim
51976 DEFS!$DEFS$ac_delim
51977 ECHO_C!$ECHO_C$ac_delim
51978 ECHO_N!$ECHO_N$ac_delim
51979 ECHO_T!$ECHO_T$ac_delim
51980 LIBS!$LIBS$ac_delim
51981 build_alias!$build_alias$ac_delim
51982 host_alias!$host_alias$ac_delim
51983 target_alias!$target_alias$ac_delim
51984 build!$build$ac_delim
51985 build_cpu!$build_cpu$ac_delim
51986 build_vendor!$build_vendor$ac_delim
51987 build_os!$build_os$ac_delim
51988 host!$host$ac_delim
51989 host_cpu!$host_cpu$ac_delim
51990 host_vendor!$host_vendor$ac_delim
51991 host_os!$host_os$ac_delim
51992 wx_top_builddir!$wx_top_builddir$ac_delim
51993 CC!$CC$ac_delim
51994 CFLAGS!$CFLAGS$ac_delim
51995 LDFLAGS!$LDFLAGS$ac_delim
51996 CPPFLAGS!$CPPFLAGS$ac_delim
51997 ac_ct_CC!$ac_ct_CC$ac_delim
51998 EXEEXT!$EXEEXT$ac_delim
51999 OBJEXT!$OBJEXT$ac_delim
52000 CPP!$CPP$ac_delim
52001 GREP!$GREP$ac_delim
52002 EGREP!$EGREP$ac_delim
52003 CXX!$CXX$ac_delim
52004 CXXFLAGS!$CXXFLAGS$ac_delim
52005 ac_ct_CXX!$ac_ct_CXX$ac_delim
52006 AR!$AR$ac_delim
52007 subdirs!$subdirs$ac_delim
52008 PKG_CONFIG!$PKG_CONFIG$ac_delim
52009 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52010 GTK_LIBS!$GTK_LIBS$ac_delim
52011 GTK_CONFIG!$GTK_CONFIG$ac_delim
52012 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52013 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52014 XMKMF!$XMKMF$ac_delim
52015 X_CFLAGS!$X_CFLAGS$ac_delim
52016 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52017 X_LIBS!$X_LIBS$ac_delim
52018 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52019 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52020 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52021 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52022 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52023 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52024 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52025 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52026 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52027 LIBICONV!$LIBICONV$ac_delim
52028 GXX_VERSION!$GXX_VERSION$ac_delim
52029 SDL_CONFIG!$SDL_CONFIG$ac_delim
52030 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52031 SDL_LIBS!$SDL_LIBS$ac_delim
52032 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52033 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52034 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52035 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52036 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52037 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52038 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52039 HILDON_LIBS!$HILDON_LIBS$ac_delim
52040 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52041 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52042 PYTHON!$PYTHON$ac_delim
52043 COND_PYTHON!$COND_PYTHON$ac_delim
52044 _ACEOF
52045
52046 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52047 break
52048 elif $ac_last_try; then
52049 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52050 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52051 { (exit 1); exit 1; }; }
52052 else
52053 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52054 fi
52055 done
52056
52057 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52058 if test -n "$ac_eof"; then
52059 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52060 ac_eof=`expr $ac_eof + 1`
52061 fi
52062
52063 cat >>$CONFIG_STATUS <<_ACEOF
52064 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52065 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52066 _ACEOF
52067 sed '
52068 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52069 s/^/s,@/; s/!/@,|#_!!_#|/
52070 :n
52071 t n
52072 s/'"$ac_delim"'$/,g/; t
52073 s/$/\\/; p
52074 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52075 ' >>$CONFIG_STATUS <conf$$subs.sed
52076 rm -f conf$$subs.sed
52077 cat >>$CONFIG_STATUS <<_ACEOF
52078 CEOF$ac_eof
52079 _ACEOF
52080
52081
52082 ac_delim='%!_!# '
52083 for ac_last_try in false false false false false :; do
52084 cat >conf$$subs.sed <<_ACEOF
52085 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52086 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52087 GST_CFLAGS!$GST_CFLAGS$ac_delim
52088 GST_LIBS!$GST_LIBS$ac_delim
52089 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52090 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52091 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52092 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52093 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52094 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52095 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52096 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52097 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52098 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52099 VENDOR!$VENDOR$ac_delim
52100 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52101 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52102 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52103 WXUNIV!$WXUNIV$ac_delim
52104 MONOLITHIC!$MONOLITHIC$ac_delim
52105 USE_PLUGINS!$USE_PLUGINS$ac_delim
52106 CXXWARNINGS!$CXXWARNINGS$ac_delim
52107 EXTRALIBS!$EXTRALIBS$ac_delim
52108 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52109 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52110 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52111 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52112 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52113 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52114 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52115 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52116 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52117 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52118 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52119 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52120 UNICODE!$UNICODE$ac_delim
52121 DEBUG_INFO!$DEBUG_INFO$ac_delim
52122 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52123 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52124 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52125 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52126 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52127 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52128 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52129 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52130 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52131 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52132 RANLIB!$RANLIB$ac_delim
52133 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52134 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52135 INSTALL_DATA!$INSTALL_DATA$ac_delim
52136 LN_S!$LN_S$ac_delim
52137 SET_MAKE!$SET_MAKE$ac_delim
52138 MAKE_SET!$MAKE_SET$ac_delim
52139 AROPTIONS!$AROPTIONS$ac_delim
52140 STRIP!$STRIP$ac_delim
52141 NM!$NM$ac_delim
52142 INSTALL_DIR!$INSTALL_DIR$ac_delim
52143 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52144 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52145 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52146 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52147 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52148 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52149 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52150 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52151 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52152 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52153 SO_SUFFIX!$SO_SUFFIX$ac_delim
52154 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52155 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52156 LIBPREFIX!$LIBPREFIX$ac_delim
52157 LIBEXT!$LIBEXT$ac_delim
52158 DLLPREFIX!$DLLPREFIX$ac_delim
52159 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52160 dlldir!$dlldir$ac_delim
52161 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52162 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52163 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52164 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52165 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52166 PIC_FLAG!$PIC_FLAG$ac_delim
52167 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52168 USE_SOVERSION!$USE_SOVERSION$ac_delim
52169 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52170 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52171 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52172 USE_MACVERSION!$USE_MACVERSION$ac_delim
52173 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52174 SONAME_FLAG!$SONAME_FLAG$ac_delim
52175 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52176 BK_DEPS!$BK_DEPS$ac_delim
52177 WINDRES!$WINDRES$ac_delim
52178 REZ!$REZ$ac_delim
52179 SETFILE!$SETFILE$ac_delim
52180 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52181 GCC_PCH!$GCC_PCH$ac_delim
52182 _ACEOF
52183
52184 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52185 break
52186 elif $ac_last_try; then
52187 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52188 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52189 { (exit 1); exit 1; }; }
52190 else
52191 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52192 fi
52193 done
52194
52195 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52196 if test -n "$ac_eof"; then
52197 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52198 ac_eof=`expr $ac_eof + 1`
52199 fi
52200
52201 cat >>$CONFIG_STATUS <<_ACEOF
52202 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52203 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52204 _ACEOF
52205 sed '
52206 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52207 s/^/s,@/; s/!/@,|#_!!_#|/
52208 :n
52209 t n
52210 s/'"$ac_delim"'$/,g/; t
52211 s/$/\\/; p
52212 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52213 ' >>$CONFIG_STATUS <conf$$subs.sed
52214 rm -f conf$$subs.sed
52215 cat >>$CONFIG_STATUS <<_ACEOF
52216 CEOF$ac_eof
52217 _ACEOF
52218
52219
52220 ac_delim='%!_!# '
52221 for ac_last_try in false false false false false :; do
52222 cat >conf$$subs.sed <<_ACEOF
52223 ICC_PCH!$ICC_PCH$ac_delim
52224 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52225 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52226 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52227 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52228 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52229 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52230 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52231 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52232 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52233 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52234 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52235 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52236 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52237 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52238 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52239 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52240 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52241 COND_BUILD_release!$COND_BUILD_release$ac_delim
52242 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52243 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52244 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52245 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52246 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52247 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52248 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52249 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52250 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52251 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52252 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52253 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52254 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52255 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52256 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52257 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52258 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52259 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52260 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52261 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52262 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52263 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52264 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52265 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52266 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52267 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52268 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52269 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52270 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52271 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52272 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52273 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52274 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52275 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52276 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52277 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52278 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52279 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52280 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52281 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52282 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52283 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52284 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52285 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52286 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52287 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52288 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52289 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52290 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52291 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52292 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52293 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52294 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52295 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52296 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52297 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
52298 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52299 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
52300 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52301 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52302 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52303 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52304 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52305 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52306 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52307 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52308 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52309 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52310 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52311 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52312 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52313 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52314 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52315 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52316 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52317 COND_SHARED_0!$COND_SHARED_0$ac_delim
52318 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52319 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52320 _ACEOF
52321
52322 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52323 break
52324 elif $ac_last_try; then
52325 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52326 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52327 { (exit 1); exit 1; }; }
52328 else
52329 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52330 fi
52331 done
52332
52333 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52334 if test -n "$ac_eof"; then
52335 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52336 ac_eof=`expr $ac_eof + 1`
52337 fi
52338
52339 cat >>$CONFIG_STATUS <<_ACEOF
52340 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52341 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52342 _ACEOF
52343 sed '
52344 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52345 s/^/s,@/; s/!/@,|#_!!_#|/
52346 :n
52347 t n
52348 s/'"$ac_delim"'$/,g/; t
52349 s/$/\\/; p
52350 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52351 ' >>$CONFIG_STATUS <conf$$subs.sed
52352 rm -f conf$$subs.sed
52353 cat >>$CONFIG_STATUS <<_ACEOF
52354 CEOF$ac_eof
52355 _ACEOF
52356
52357
52358 ac_delim='%!_!# '
52359 for ac_last_try in false false false false false :; do
52360 cat >conf$$subs.sed <<_ACEOF
52361 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52362 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52363 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52364 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52365 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52366 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52367 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52368 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52369 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52370 COND_SHARED_1!$COND_SHARED_1$ac_delim
52371 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52372 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52373 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52374 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52375 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52376 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52377 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52378 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52379 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52380 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52381 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52382 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52383 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52384 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52385 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52386 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52387 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52388 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52389 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52390 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52391 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52392 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52393 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52394 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52395 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52396 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52397 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52398 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52399 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52400 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52401 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52402 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52403 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52404 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52405 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52406 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52407 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52408 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52409 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52410 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52411 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52412 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52413 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52414 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52415 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52416 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52417 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52418 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52419 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52420 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52421 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52422 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52423 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52424 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52425 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52426 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52427 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52428 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52429 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52430 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52431 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52432 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52433 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52434 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52435 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52436 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52437 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52438 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52439 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52440 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52441 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52442 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52443 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52444 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52445 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52446 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52447 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52448 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52449 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52450 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52451 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52452 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52453 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52454 DEREZ!$DEREZ$ac_delim
52455 SHARED!$SHARED$ac_delim
52456 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52457 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52458 _ACEOF
52459
52460 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52461 break
52462 elif $ac_last_try; then
52463 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52464 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52465 { (exit 1); exit 1; }; }
52466 else
52467 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52468 fi
52469 done
52470
52471 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52472 if test -n "$ac_eof"; then
52473 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52474 ac_eof=`expr $ac_eof + 1`
52475 fi
52476
52477 cat >>$CONFIG_STATUS <<_ACEOF
52478 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52479 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52480 _ACEOF
52481 sed '
52482 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52483 s/^/s,@/; s/!/@,|#_!!_#|/
52484 :n
52485 t n
52486 s/'"$ac_delim"'$/,g/; t
52487 s/$/\\/; p
52488 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52489 ' >>$CONFIG_STATUS <conf$$subs.sed
52490 rm -f conf$$subs.sed
52491 cat >>$CONFIG_STATUS <<_ACEOF
52492 CEOF$ac_eof
52493 _ACEOF
52494
52495
52496 ac_delim='%!_!# '
52497 for ac_last_try in false false false false false :; do
52498 cat >conf$$subs.sed <<_ACEOF
52499 USE_GUI!$USE_GUI$ac_delim
52500 AFMINSTALL!$AFMINSTALL$ac_delim
52501 WIN32INSTALL!$WIN32INSTALL$ac_delim
52502 TOOLKIT!$TOOLKIT$ac_delim
52503 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52504 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52505 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52506 cross_compiling!$cross_compiling$ac_delim
52507 WIDGET_SET!$WIDGET_SET$ac_delim
52508 WX_RELEASE!$WX_RELEASE$ac_delim
52509 WX_VERSION!$WX_VERSION$ac_delim
52510 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52511 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52512 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52513 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52514 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52515 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52516 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52517 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52518 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52519 GUIDIST!$GUIDIST$ac_delim
52520 DISTDIR!$DISTDIR$ac_delim
52521 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52522 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52523 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52524 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52525 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52526 RESCOMP!$RESCOMP$ac_delim
52527 RESFLAGS!$RESFLAGS$ac_delim
52528 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52529 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52530 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52531 LIBWXMACRES!$LIBWXMACRES$ac_delim
52532 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52533 MACSETFILE!$MACSETFILE$ac_delim
52534 GCC!$GCC$ac_delim
52535 DLLTOOL!$DLLTOOL$ac_delim
52536 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52537 LIBOBJS!$LIBOBJS$ac_delim
52538 LTLIBOBJS!$LTLIBOBJS$ac_delim
52539 _ACEOF
52540
52541 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
52542 break
52543 elif $ac_last_try; then
52544 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52545 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52546 { (exit 1); exit 1; }; }
52547 else
52548 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52549 fi
52550 done
52551
52552 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52553 if test -n "$ac_eof"; then
52554 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52555 ac_eof=`expr $ac_eof + 1`
52556 fi
52557
52558 cat >>$CONFIG_STATUS <<_ACEOF
52559 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52560 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52561 _ACEOF
52562 sed '
52563 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52564 s/^/s,@/; s/!/@,|#_!!_#|/
52565 :n
52566 t n
52567 s/'"$ac_delim"'$/,g/; t
52568 s/$/\\/; p
52569 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52570 ' >>$CONFIG_STATUS <conf$$subs.sed
52571 rm -f conf$$subs.sed
52572 cat >>$CONFIG_STATUS <<_ACEOF
52573 :end
52574 s/|#_!!_#|//g
52575 CEOF$ac_eof
52576 _ACEOF
52577
52578
52579 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52580 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52581 # trailing colons and then remove the whole line if VPATH becomes empty
52582 # (actually we leave an empty line to preserve line numbers).
52583 if test "x$srcdir" = x.; then
52584 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52585 s/:*\$(srcdir):*/:/
52586 s/:*\${srcdir}:*/:/
52587 s/:*@srcdir@:*/:/
52588 s/^\([^=]*=[ ]*\):*/\1/
52589 s/:*$//
52590 s/^[^=]*=[ ]*$//
52591 }'
52592 fi
52593
52594 cat >>$CONFIG_STATUS <<\_ACEOF
52595 fi # test -n "$CONFIG_FILES"
52596
52597
52598 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52599 do
52600 case $ac_tag in
52601 :[FHLC]) ac_mode=$ac_tag; continue;;
52602 esac
52603 case $ac_mode$ac_tag in
52604 :[FHL]*:*);;
52605 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52606 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52607 { (exit 1); exit 1; }; };;
52608 :[FH]-) ac_tag=-:-;;
52609 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52610 esac
52611 ac_save_IFS=$IFS
52612 IFS=:
52613 set x $ac_tag
52614 IFS=$ac_save_IFS
52615 shift
52616 ac_file=$1
52617 shift
52618
52619 case $ac_mode in
52620 :L) ac_source=$1;;
52621 :[FH])
52622 ac_file_inputs=
52623 for ac_f
52624 do
52625 case $ac_f in
52626 -) ac_f="$tmp/stdin";;
52627 *) # Look for the file first in the build tree, then in the source tree
52628 # (if the path is not absolute). The absolute path cannot be DOS-style,
52629 # because $ac_f cannot contain `:'.
52630 test -f "$ac_f" ||
52631 case $ac_f in
52632 [\\/$]*) false;;
52633 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52634 esac ||
52635 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52636 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52637 { (exit 1); exit 1; }; };;
52638 esac
52639 ac_file_inputs="$ac_file_inputs $ac_f"
52640 done
52641
52642 # Let's still pretend it is `configure' which instantiates (i.e., don't
52643 # use $as_me), people would be surprised to read:
52644 # /* config.h. Generated by config.status. */
52645 configure_input="Generated from "`IFS=:
52646 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52647 if test x"$ac_file" != x-; then
52648 configure_input="$ac_file. $configure_input"
52649 { echo "$as_me:$LINENO: creating $ac_file" >&5
52650 echo "$as_me: creating $ac_file" >&6;}
52651 fi
52652
52653 case $ac_tag in
52654 *:-:* | *:-) cat >"$tmp/stdin";;
52655 esac
52656 ;;
52657 esac
52658
52659 ac_dir=`$as_dirname -- "$ac_file" ||
52660 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52661 X"$ac_file" : 'X\(//\)[^/]' \| \
52662 X"$ac_file" : 'X\(//\)$' \| \
52663 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52664 echo X"$ac_file" |
52665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52666 s//\1/
52667 q
52668 }
52669 /^X\(\/\/\)[^/].*/{
52670 s//\1/
52671 q
52672 }
52673 /^X\(\/\/\)$/{
52674 s//\1/
52675 q
52676 }
52677 /^X\(\/\).*/{
52678 s//\1/
52679 q
52680 }
52681 s/.*/./; q'`
52682 { as_dir="$ac_dir"
52683 case $as_dir in #(
52684 -*) as_dir=./$as_dir;;
52685 esac
52686 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52687 as_dirs=
52688 while :; do
52689 case $as_dir in #(
52690 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52691 *) as_qdir=$as_dir;;
52692 esac
52693 as_dirs="'$as_qdir' $as_dirs"
52694 as_dir=`$as_dirname -- "$as_dir" ||
52695 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52696 X"$as_dir" : 'X\(//\)[^/]' \| \
52697 X"$as_dir" : 'X\(//\)$' \| \
52698 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52699 echo X"$as_dir" |
52700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52701 s//\1/
52702 q
52703 }
52704 /^X\(\/\/\)[^/].*/{
52705 s//\1/
52706 q
52707 }
52708 /^X\(\/\/\)$/{
52709 s//\1/
52710 q
52711 }
52712 /^X\(\/\).*/{
52713 s//\1/
52714 q
52715 }
52716 s/.*/./; q'`
52717 test -d "$as_dir" && break
52718 done
52719 test -z "$as_dirs" || eval "mkdir $as_dirs"
52720 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52721 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52722 { (exit 1); exit 1; }; }; }
52723 ac_builddir=.
52724
52725 case "$ac_dir" in
52726 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52727 *)
52728 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52729 # A ".." for each directory in $ac_dir_suffix.
52730 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52731 case $ac_top_builddir_sub in
52732 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52733 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52734 esac ;;
52735 esac
52736 ac_abs_top_builddir=$ac_pwd
52737 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52738 # for backward compatibility:
52739 ac_top_builddir=$ac_top_build_prefix
52740
52741 case $srcdir in
52742 .) # We are building in place.
52743 ac_srcdir=.
52744 ac_top_srcdir=$ac_top_builddir_sub
52745 ac_abs_top_srcdir=$ac_pwd ;;
52746 [\\/]* | ?:[\\/]* ) # Absolute name.
52747 ac_srcdir=$srcdir$ac_dir_suffix;
52748 ac_top_srcdir=$srcdir
52749 ac_abs_top_srcdir=$srcdir ;;
52750 *) # Relative name.
52751 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52752 ac_top_srcdir=$ac_top_build_prefix$srcdir
52753 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52754 esac
52755 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52756
52757
52758 case $ac_mode in
52759 :F)
52760 #
52761 # CONFIG_FILE
52762 #
52763
52764 case $INSTALL in
52765 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52766 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52767 esac
52768 _ACEOF
52769
52770 cat >>$CONFIG_STATUS <<\_ACEOF
52771 # If the template does not know about datarootdir, expand it.
52772 # FIXME: This hack should be removed a few years after 2.60.
52773 ac_datarootdir_hack=; ac_datarootdir_seen=
52774
52775 case `sed -n '/datarootdir/ {
52776 p
52777 q
52778 }
52779 /@datadir@/p
52780 /@docdir@/p
52781 /@infodir@/p
52782 /@localedir@/p
52783 /@mandir@/p
52784 ' $ac_file_inputs` in
52785 *datarootdir*) ac_datarootdir_seen=yes;;
52786 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52787 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52788 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52789 _ACEOF
52790 cat >>$CONFIG_STATUS <<_ACEOF
52791 ac_datarootdir_hack='
52792 s&@datadir@&$datadir&g
52793 s&@docdir@&$docdir&g
52794 s&@infodir@&$infodir&g
52795 s&@localedir@&$localedir&g
52796 s&@mandir@&$mandir&g
52797 s&\\\${datarootdir}&$datarootdir&g' ;;
52798 esac
52799 _ACEOF
52800
52801 # Neutralize VPATH when `$srcdir' = `.'.
52802 # Shell code in configure.ac might set extrasub.
52803 # FIXME: do we really want to maintain this feature?
52804 cat >>$CONFIG_STATUS <<_ACEOF
52805 sed "$ac_vpsub
52806 $extrasub
52807 _ACEOF
52808 cat >>$CONFIG_STATUS <<\_ACEOF
52809 :t
52810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52811 s&@configure_input@&$configure_input&;t t
52812 s&@top_builddir@&$ac_top_builddir_sub&;t t
52813 s&@srcdir@&$ac_srcdir&;t t
52814 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52815 s&@top_srcdir@&$ac_top_srcdir&;t t
52816 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52817 s&@builddir@&$ac_builddir&;t t
52818 s&@abs_builddir@&$ac_abs_builddir&;t t
52819 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52820 s&@INSTALL@&$ac_INSTALL&;t t
52821 $ac_datarootdir_hack
52822 " $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
52823
52824 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52825 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52826 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52827 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52828 which seems to be undefined. Please make sure it is defined." >&5
52829 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52830 which seems to be undefined. Please make sure it is defined." >&2;}
52831
52832 rm -f "$tmp/stdin"
52833 case $ac_file in
52834 -) cat "$tmp/out"; rm -f "$tmp/out";;
52835 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52836 esac
52837 ;;
52838 :H)
52839 #
52840 # CONFIG_HEADER
52841 #
52842 _ACEOF
52843
52844 # Transform confdefs.h into a sed script `conftest.defines', that
52845 # substitutes the proper values into config.h.in to produce config.h.
52846 rm -f conftest.defines conftest.tail
52847 # First, append a space to every undef/define line, to ease matching.
52848 echo 's/$/ /' >conftest.defines
52849 # Then, protect against being on the right side of a sed subst, or in
52850 # an unquoted here document, in config.status. If some macros were
52851 # called several times there might be several #defines for the same
52852 # symbol, which is useless. But do not sort them, since the last
52853 # AC_DEFINE must be honored.
52854 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52855 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52856 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52857 # PARAMS is the parameter list in the macro definition--in most cases, it's
52858 # just an empty string.
52859 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52860 ac_dB='\\)[ (].*,\\1define\\2'
52861 ac_dC=' '
52862 ac_dD=' ,'
52863
52864 uniq confdefs.h |
52865 sed -n '
52866 t rset
52867 :rset
52868 s/^[ ]*#[ ]*define[ ][ ]*//
52869 t ok
52870 d
52871 :ok
52872 s/[\\&,]/\\&/g
52873 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52874 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52875 ' >>conftest.defines
52876
52877 # Remove the space that was appended to ease matching.
52878 # Then replace #undef with comments. This is necessary, for
52879 # example, in the case of _POSIX_SOURCE, which is predefined and required
52880 # on some systems where configure will not decide to define it.
52881 # (The regexp can be short, since the line contains either #define or #undef.)
52882 echo 's/ $//
52883 s,^[ #]*u.*,/* & */,' >>conftest.defines
52884
52885 # Break up conftest.defines:
52886 ac_max_sed_lines=50
52887
52888 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52889 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52890 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52891 # et cetera.
52892 ac_in='$ac_file_inputs'
52893 ac_out='"$tmp/out1"'
52894 ac_nxt='"$tmp/out2"'
52895
52896 while :
52897 do
52898 # Write a here document:
52899 cat >>$CONFIG_STATUS <<_ACEOF
52900 # First, check the format of the line:
52901 cat >"\$tmp/defines.sed" <<\\CEOF
52902 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52903 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52904 b
52905 :def
52906 _ACEOF
52907 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52908 echo 'CEOF
52909 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52910 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52911 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52912 grep . conftest.tail >/dev/null || break
52913 rm -f conftest.defines
52914 mv conftest.tail conftest.defines
52915 done
52916 rm -f conftest.defines conftest.tail
52917
52918 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52919 cat >>$CONFIG_STATUS <<\_ACEOF
52920 if test x"$ac_file" != x-; then
52921 echo "/* $configure_input */" >"$tmp/config.h"
52922 cat "$ac_result" >>"$tmp/config.h"
52923 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52924 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52925 echo "$as_me: $ac_file is unchanged" >&6;}
52926 else
52927 rm -f $ac_file
52928 mv "$tmp/config.h" $ac_file
52929 fi
52930 else
52931 echo "/* $configure_input */"
52932 cat "$ac_result"
52933 fi
52934 rm -f "$tmp/out12"
52935 ;;
52936
52937 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52938 echo "$as_me: executing $ac_file commands" >&6;}
52939 ;;
52940 esac
52941
52942
52943 case $ac_file$ac_mode in
52944 "rcdefs.h":C)
52945 mkdir -p $outdir &&
52946 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52947 ;;
52948 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52949 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52950 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52951 "wx-config":C) rm -f wx-config
52952 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52953 ;;
52954
52955 esac
52956 done # for ac_tag
52957
52958
52959 { (exit 0); exit 0; }
52960 _ACEOF
52961 chmod +x $CONFIG_STATUS
52962 ac_clean_files=$ac_clean_files_save
52963
52964
52965 # configure is writing to config.log, and then calls config.status.
52966 # config.status does its own redirection, appending to config.log.
52967 # Unfortunately, on DOS this fails, as config.log is still kept open
52968 # by configure, so config.status won't be able to write to it; its
52969 # output is simply discarded. So we exec the FD to /dev/null,
52970 # effectively closing config.log, so it can be properly (re)opened and
52971 # appended to by config.status. When coming back to configure, we
52972 # need to make the FD available again.
52973 if test "$no_create" != yes; then
52974 ac_cs_success=:
52975 ac_config_status_args=
52976 test "$silent" = yes &&
52977 ac_config_status_args="$ac_config_status_args --quiet"
52978 exec 5>/dev/null
52979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52980 exec 5>>config.log
52981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52982 # would make configure fail if this is the last instruction.
52983 $ac_cs_success || { (exit 1); exit 1; }
52984 fi
52985
52986 #
52987 # CONFIG_SUBDIRS section.
52988 #
52989 if test "$no_recursion" != yes; then
52990
52991 # Remove --cache-file and --srcdir arguments so they do not pile up.
52992 ac_sub_configure_args=
52993 ac_prev=
52994 eval "set x $ac_configure_args"
52995 shift
52996 for ac_arg
52997 do
52998 if test -n "$ac_prev"; then
52999 ac_prev=
53000 continue
53001 fi
53002 case $ac_arg in
53003 -cache-file | --cache-file | --cache-fil | --cache-fi \
53004 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53005 ac_prev=cache_file ;;
53006 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53007 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53008 | --c=*)
53009 ;;
53010 --config-cache | -C)
53011 ;;
53012 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53013 ac_prev=srcdir ;;
53014 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53015 ;;
53016 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53017 ac_prev=prefix ;;
53018 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53019 ;;
53020 *)
53021 case $ac_arg in
53022 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53023 esac
53024 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53025 esac
53026 done
53027
53028 # Always prepend --prefix to ensure using the same prefix
53029 # in subdir configurations.
53030 ac_arg="--prefix=$prefix"
53031 case $ac_arg in
53032 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53033 esac
53034 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53035
53036 # Pass --silent
53037 if test "$silent" = yes; then
53038 ac_sub_configure_args="--silent $ac_sub_configure_args"
53039 fi
53040
53041 ac_popdir=`pwd`
53042 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53043
53044 # Do not complain, so a configure script can configure whichever
53045 # parts of a large source tree are present.
53046 test -d "$srcdir/$ac_dir" || continue
53047
53048 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53049 echo "$as_me:$LINENO: $ac_msg" >&5
53050 echo "$ac_msg" >&6
53051 { as_dir="$ac_dir"
53052 case $as_dir in #(
53053 -*) as_dir=./$as_dir;;
53054 esac
53055 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53056 as_dirs=
53057 while :; do
53058 case $as_dir in #(
53059 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53060 *) as_qdir=$as_dir;;
53061 esac
53062 as_dirs="'$as_qdir' $as_dirs"
53063 as_dir=`$as_dirname -- "$as_dir" ||
53064 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53065 X"$as_dir" : 'X\(//\)[^/]' \| \
53066 X"$as_dir" : 'X\(//\)$' \| \
53067 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53068 echo X"$as_dir" |
53069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53070 s//\1/
53071 q
53072 }
53073 /^X\(\/\/\)[^/].*/{
53074 s//\1/
53075 q
53076 }
53077 /^X\(\/\/\)$/{
53078 s//\1/
53079 q
53080 }
53081 /^X\(\/\).*/{
53082 s//\1/
53083 q
53084 }
53085 s/.*/./; q'`
53086 test -d "$as_dir" && break
53087 done
53088 test -z "$as_dirs" || eval "mkdir $as_dirs"
53089 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53090 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53091 { (exit 1); exit 1; }; }; }
53092 ac_builddir=.
53093
53094 case "$ac_dir" in
53095 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53096 *)
53097 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53098 # A ".." for each directory in $ac_dir_suffix.
53099 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53100 case $ac_top_builddir_sub in
53101 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53102 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53103 esac ;;
53104 esac
53105 ac_abs_top_builddir=$ac_pwd
53106 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53107 # for backward compatibility:
53108 ac_top_builddir=$ac_top_build_prefix
53109
53110 case $srcdir in
53111 .) # We are building in place.
53112 ac_srcdir=.
53113 ac_top_srcdir=$ac_top_builddir_sub
53114 ac_abs_top_srcdir=$ac_pwd ;;
53115 [\\/]* | ?:[\\/]* ) # Absolute name.
53116 ac_srcdir=$srcdir$ac_dir_suffix;
53117 ac_top_srcdir=$srcdir
53118 ac_abs_top_srcdir=$srcdir ;;
53119 *) # Relative name.
53120 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53121 ac_top_srcdir=$ac_top_build_prefix$srcdir
53122 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53123 esac
53124 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53125
53126
53127 cd "$ac_dir"
53128
53129 # Check for guested configure; otherwise get Cygnus style configure.
53130 if test -f "$ac_srcdir/configure.gnu"; then
53131 ac_sub_configure=$ac_srcdir/configure.gnu
53132 elif test -f "$ac_srcdir/configure"; then
53133 ac_sub_configure=$ac_srcdir/configure
53134 elif test -f "$ac_srcdir/configure.in"; then
53135 # This should be Cygnus configure.
53136 ac_sub_configure=$ac_aux_dir/configure
53137 else
53138 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53139 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53140 ac_sub_configure=
53141 fi
53142
53143 # The recursion is here.
53144 if test -n "$ac_sub_configure"; then
53145 # Make the cache file name correct relative to the subdirectory.
53146 case $cache_file in
53147 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53148 *) # Relative name.
53149 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53150 esac
53151
53152 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53153 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53154 # The eval makes quoting arguments work.
53155 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53156 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53157 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53158 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53159 { (exit 1); exit 1; }; }
53160 fi
53161
53162 cd "$ac_popdir"
53163 done
53164 fi
53165
53166
53167 echo
53168 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53169 echo ""
53170 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53171 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53172 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53173 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53174 if test "$wxUSE_UNICODE" = "yes"; then
53175 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53176 echo " (using UTF-8)"
53177 else
53178 echo " (using wchar_t)"
53179 fi
53180 else
53181 echo
53182 fi
53183
53184 echo " What level of wxWidgets compatibility should be enabled?"
53185 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53186 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53187
53188 echo " Which libraries should wxWidgets use?"
53189 echo " STL ${wxUSE_STL}"
53190 echo " jpeg ${wxUSE_LIBJPEG-none}"
53191 echo " png ${wxUSE_LIBPNG-none}"
53192 echo " regex ${wxUSE_REGEX}"
53193 echo " tiff ${wxUSE_LIBTIFF-none}"
53194 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53195 echo " xpm ${wxUSE_LIBXPM-none}"
53196 fi
53197 echo " zlib ${wxUSE_ZLIB}"
53198 echo " expat ${wxUSE_EXPAT}"
53199 echo " libmspack ${wxUSE_LIBMSPACK}"
53200 echo " sdl ${wxUSE_LIBSDL}"
53201
53202 echo ""
53203