]> git.saurik.com Git - wxWidgets.git/blob - configure
Remove unnecessary manual face name selection code.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 62501 2009-10-25 17:48:32Z PC .
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_SOTWOSYMLINKS
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_SOTWOSYMLINKS_1
979 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
980 COND_USE_SOVERLINUX_1
981 COND_USE_SOVERSION_0
982 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
983 COND_USE_SOVERSOLARIS_1
984 COND_USE_STC_1
985 COND_USE_THREADS_0
986 COND_USE_THREADS_1
987 COND_USE_XRC_1
988 COND_WINDOWS_IMPLIB_1
989 COND_WITH_PLUGIN_SDL_1
990 COND_WXUNIV_0
991 COND_WXUNIV_1
992 COND_WXUSE_EXPAT_BUILTIN
993 COND_WXUSE_LIBJPEG_BUILTIN
994 COND_WXUSE_LIBPNG_BUILTIN
995 COND_WXUSE_LIBTIFF_BUILTIN
996 COND_WXUSE_REGEX_BUILTIN
997 COND_WXUSE_ZLIB_BUILTIN
998 COND_wxUSE_EXPAT_builtin
999 COND_wxUSE_LIBJPEG_builtin
1000 COND_wxUSE_LIBPNG_builtin
1001 COND_wxUSE_LIBTIFF_builtin
1002 COND_wxUSE_REGEX_builtin
1003 COND_wxUSE_ZLIB_builtin
1004 DEREZ
1005 SHARED
1006 WX_LIBRARY_BASENAME_NOGUI
1007 WX_LIBRARY_BASENAME_GUI
1008 USE_GUI
1009 AFMINSTALL
1010 WIN32INSTALL
1011 TOOLKIT
1012 TOOLKIT_DIR
1013 TOOLCHAIN_NAME
1014 TOOLCHAIN_FULLNAME
1015 cross_compiling
1016 WIDGET_SET
1017 WX_RELEASE
1018 WX_VERSION
1019 WX_SUBVERSION
1020 WX_CHARTYPE
1021 WXCONFIG_CPPFLAGS
1022 WXCONFIG_CFLAGS
1023 WXCONFIG_CXXFLAGS
1024 WXCONFIG_LIBS
1025 WXCONFIG_RPATH
1026 WXCONFIG_LDFLAGS
1027 WXCONFIG_LDFLAGS_GUI
1028 WXCONFIG_RESFLAGS
1029 GUIDIST
1030 DISTDIR
1031 SAMPLES_SUBDIRS
1032 LDFLAGS_GL
1033 OPENGL_LIBS
1034 DMALLOC_LIBS
1035 WX_VERSION_TAG
1036 RESCOMP
1037 RESFLAGS
1038 RESPROGRAMOBJ
1039 WX_RESOURCES_MACOSX_ASCII
1040 WX_RESOURCES_MACOSX_DATA
1041 LIBWXMACRES
1042 POSTLINK_COMMAND
1043 MACSETFILE
1044 GCC
1045 DLLTOOL
1046 CPPUNIT_CONFIG
1047 LIBOBJS
1048 LTLIBOBJS'
1049 ac_subst_files=''
1050 ac_precious_vars='build_alias
1051 host_alias
1052 target_alias
1053 CC
1054 CFLAGS
1055 LDFLAGS
1056 LIBS
1057 CPPFLAGS
1058 CPP
1059 CXX
1060 CXXFLAGS
1061 CCC
1062 PKG_CONFIG
1063 DIRECTFB_CFLAGS
1064 DIRECTFB_LIBS
1065 XMKMF
1066 PANGOX_CFLAGS
1067 PANGOX_LIBS
1068 PANGOFT2_CFLAGS
1069 PANGOFT2_LIBS
1070 PANGOXFT_CFLAGS
1071 PANGOXFT_LIBS
1072 GTKPRINT_CFLAGS
1073 GTKPRINT_LIBS
1074 LIBGNOMEPRINTUI_CFLAGS
1075 LIBGNOMEPRINTUI_LIBS
1076 GNOMEVFS_CFLAGS
1077 GNOMEVFS_LIBS
1078 HILDON_CFLAGS
1079 HILDON_LIBS
1080 HILDON2_CFLAGS
1081 HILDON2_LIBS
1082 CAIRO_CFLAGS
1083 CAIRO_LIBS
1084 GST_CFLAGS
1085 GST_LIBS'
1086 ac_subdirs_all='src/tiff
1087 src/expat'
1088
1089 # Initialize some variables set by options.
1090 ac_init_help=
1091 ac_init_version=false
1092 # The variables have the same names as the options, with
1093 # dashes changed to underlines.
1094 cache_file=/dev/null
1095 exec_prefix=NONE
1096 no_create=
1097 no_recursion=
1098 prefix=NONE
1099 program_prefix=NONE
1100 program_suffix=NONE
1101 program_transform_name=s,x,x,
1102 silent=
1103 site=
1104 srcdir=
1105 verbose=
1106 x_includes=NONE
1107 x_libraries=NONE
1108
1109 # Installation directory options.
1110 # These are left unexpanded so users can "make install exec_prefix=/foo"
1111 # and all the variables that are supposed to be based on exec_prefix
1112 # by default will actually change.
1113 # Use braces instead of parens because sh, perl, etc. also accept them.
1114 # (The list follows the same order as the GNU Coding Standards.)
1115 bindir='${exec_prefix}/bin'
1116 sbindir='${exec_prefix}/sbin'
1117 libexecdir='${exec_prefix}/libexec'
1118 datarootdir='${prefix}/share'
1119 datadir='${datarootdir}'
1120 sysconfdir='${prefix}/etc'
1121 sharedstatedir='${prefix}/com'
1122 localstatedir='${prefix}/var'
1123 includedir='${prefix}/include'
1124 oldincludedir='/usr/include'
1125 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1126 infodir='${datarootdir}/info'
1127 htmldir='${docdir}'
1128 dvidir='${docdir}'
1129 pdfdir='${docdir}'
1130 psdir='${docdir}'
1131 libdir='${exec_prefix}/lib'
1132 localedir='${datarootdir}/locale'
1133 mandir='${datarootdir}/man'
1134
1135 ac_prev=
1136 ac_dashdash=
1137 for ac_option
1138 do
1139 # If the previous option needs an argument, assign it.
1140 if test -n "$ac_prev"; then
1141 eval $ac_prev=\$ac_option
1142 ac_prev=
1143 continue
1144 fi
1145
1146 case $ac_option in
1147 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1148 *) ac_optarg=yes ;;
1149 esac
1150
1151 # Accept the important Cygnus configure options, so we can diagnose typos.
1152
1153 case $ac_dashdash$ac_option in
1154 --)
1155 ac_dashdash=yes ;;
1156
1157 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1158 ac_prev=bindir ;;
1159 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1160 bindir=$ac_optarg ;;
1161
1162 -build | --build | --buil | --bui | --bu)
1163 ac_prev=build_alias ;;
1164 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1165 build_alias=$ac_optarg ;;
1166
1167 -cache-file | --cache-file | --cache-fil | --cache-fi \
1168 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1169 ac_prev=cache_file ;;
1170 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1171 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1172 cache_file=$ac_optarg ;;
1173
1174 --config-cache | -C)
1175 cache_file=config.cache ;;
1176
1177 -datadir | --datadir | --datadi | --datad)
1178 ac_prev=datadir ;;
1179 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1180 datadir=$ac_optarg ;;
1181
1182 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1183 | --dataroo | --dataro | --datar)
1184 ac_prev=datarootdir ;;
1185 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1186 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1187 datarootdir=$ac_optarg ;;
1188
1189 -disable-* | --disable-*)
1190 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1194 { (exit 1); exit 1; }; }
1195 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1196 eval enable_$ac_feature=no ;;
1197
1198 -docdir | --docdir | --docdi | --doc | --do)
1199 ac_prev=docdir ;;
1200 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1201 docdir=$ac_optarg ;;
1202
1203 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1204 ac_prev=dvidir ;;
1205 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1206 dvidir=$ac_optarg ;;
1207
1208 -enable-* | --enable-*)
1209 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1212 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1213 { (exit 1); exit 1; }; }
1214 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1215 eval enable_$ac_feature=\$ac_optarg ;;
1216
1217 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1218 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1219 | --exec | --exe | --ex)
1220 ac_prev=exec_prefix ;;
1221 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1222 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1223 | --exec=* | --exe=* | --ex=*)
1224 exec_prefix=$ac_optarg ;;
1225
1226 -gas | --gas | --ga | --g)
1227 # Obsolete; use --with-gas.
1228 with_gas=yes ;;
1229
1230 -help | --help | --hel | --he | -h)
1231 ac_init_help=long ;;
1232 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1233 ac_init_help=recursive ;;
1234 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1235 ac_init_help=short ;;
1236
1237 -host | --host | --hos | --ho)
1238 ac_prev=host_alias ;;
1239 -host=* | --host=* | --hos=* | --ho=*)
1240 host_alias=$ac_optarg ;;
1241
1242 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1243 ac_prev=htmldir ;;
1244 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1245 | --ht=*)
1246 htmldir=$ac_optarg ;;
1247
1248 -includedir | --includedir | --includedi | --included | --include \
1249 | --includ | --inclu | --incl | --inc)
1250 ac_prev=includedir ;;
1251 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1252 | --includ=* | --inclu=* | --incl=* | --inc=*)
1253 includedir=$ac_optarg ;;
1254
1255 -infodir | --infodir | --infodi | --infod | --info | --inf)
1256 ac_prev=infodir ;;
1257 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1258 infodir=$ac_optarg ;;
1259
1260 -libdir | --libdir | --libdi | --libd)
1261 ac_prev=libdir ;;
1262 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1263 libdir=$ac_optarg ;;
1264
1265 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1266 | --libexe | --libex | --libe)
1267 ac_prev=libexecdir ;;
1268 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1269 | --libexe=* | --libex=* | --libe=*)
1270 libexecdir=$ac_optarg ;;
1271
1272 -localedir | --localedir | --localedi | --localed | --locale)
1273 ac_prev=localedir ;;
1274 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1275 localedir=$ac_optarg ;;
1276
1277 -localstatedir | --localstatedir | --localstatedi | --localstated \
1278 | --localstate | --localstat | --localsta | --localst | --locals)
1279 ac_prev=localstatedir ;;
1280 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1281 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1282 localstatedir=$ac_optarg ;;
1283
1284 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1285 ac_prev=mandir ;;
1286 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1287 mandir=$ac_optarg ;;
1288
1289 -nfp | --nfp | --nf)
1290 # Obsolete; use --without-fp.
1291 with_fp=no ;;
1292
1293 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1294 | --no-cr | --no-c | -n)
1295 no_create=yes ;;
1296
1297 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1298 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1299 no_recursion=yes ;;
1300
1301 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1302 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1303 | --oldin | --oldi | --old | --ol | --o)
1304 ac_prev=oldincludedir ;;
1305 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1306 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1307 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1308 oldincludedir=$ac_optarg ;;
1309
1310 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1311 ac_prev=prefix ;;
1312 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1313 prefix=$ac_optarg ;;
1314
1315 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1316 | --program-pre | --program-pr | --program-p)
1317 ac_prev=program_prefix ;;
1318 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1319 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1320 program_prefix=$ac_optarg ;;
1321
1322 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1323 | --program-suf | --program-su | --program-s)
1324 ac_prev=program_suffix ;;
1325 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1326 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1327 program_suffix=$ac_optarg ;;
1328
1329 -program-transform-name | --program-transform-name \
1330 | --program-transform-nam | --program-transform-na \
1331 | --program-transform-n | --program-transform- \
1332 | --program-transform | --program-transfor \
1333 | --program-transfo | --program-transf \
1334 | --program-trans | --program-tran \
1335 | --progr-tra | --program-tr | --program-t)
1336 ac_prev=program_transform_name ;;
1337 -program-transform-name=* | --program-transform-name=* \
1338 | --program-transform-nam=* | --program-transform-na=* \
1339 | --program-transform-n=* | --program-transform-=* \
1340 | --program-transform=* | --program-transfor=* \
1341 | --program-transfo=* | --program-transf=* \
1342 | --program-trans=* | --program-tran=* \
1343 | --progr-tra=* | --program-tr=* | --program-t=*)
1344 program_transform_name=$ac_optarg ;;
1345
1346 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1347 ac_prev=pdfdir ;;
1348 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1349 pdfdir=$ac_optarg ;;
1350
1351 -psdir | --psdir | --psdi | --psd | --ps)
1352 ac_prev=psdir ;;
1353 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1354 psdir=$ac_optarg ;;
1355
1356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1357 | -silent | --silent | --silen | --sile | --sil)
1358 silent=yes ;;
1359
1360 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1361 ac_prev=sbindir ;;
1362 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1363 | --sbi=* | --sb=*)
1364 sbindir=$ac_optarg ;;
1365
1366 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1367 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1368 | --sharedst | --shareds | --shared | --share | --shar \
1369 | --sha | --sh)
1370 ac_prev=sharedstatedir ;;
1371 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1372 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1373 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1374 | --sha=* | --sh=*)
1375 sharedstatedir=$ac_optarg ;;
1376
1377 -site | --site | --sit)
1378 ac_prev=site ;;
1379 -site=* | --site=* | --sit=*)
1380 site=$ac_optarg ;;
1381
1382 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1383 ac_prev=srcdir ;;
1384 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1385 srcdir=$ac_optarg ;;
1386
1387 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1388 | --syscon | --sysco | --sysc | --sys | --sy)
1389 ac_prev=sysconfdir ;;
1390 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1391 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1392 sysconfdir=$ac_optarg ;;
1393
1394 -target | --target | --targe | --targ | --tar | --ta | --t)
1395 ac_prev=target_alias ;;
1396 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1397 target_alias=$ac_optarg ;;
1398
1399 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1400 verbose=yes ;;
1401
1402 -version | --version | --versio | --versi | --vers | -V)
1403 ac_init_version=: ;;
1404
1405 -with-* | --with-*)
1406 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_$ac_package=\$ac_optarg ;;
1413
1414 -without-* | --without-*)
1415 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1416 # Reject names that are not valid shell variable names.
1417 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1418 { echo "$as_me: error: invalid package name: $ac_package" >&2
1419 { (exit 1); exit 1; }; }
1420 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1421 eval with_$ac_package=no ;;
1422
1423 --x)
1424 # Obsolete; use --with-x.
1425 with_x=yes ;;
1426
1427 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1428 | --x-incl | --x-inc | --x-in | --x-i)
1429 ac_prev=x_includes ;;
1430 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1431 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1432 x_includes=$ac_optarg ;;
1433
1434 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1435 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1436 ac_prev=x_libraries ;;
1437 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1438 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1439 x_libraries=$ac_optarg ;;
1440
1441 -*) { echo "$as_me: error: unrecognized option: $ac_option
1442 Try \`$0 --help' for more information." >&2
1443 { (exit 1); exit 1; }; }
1444 ;;
1445
1446 *=*)
1447 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1448 # Reject names that are not valid shell variable names.
1449 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1450 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1451 { (exit 1); exit 1; }; }
1452 eval $ac_envvar=\$ac_optarg
1453 export $ac_envvar ;;
1454
1455 *)
1456 # FIXME: should be removed in autoconf 3.0.
1457 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1458 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1459 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1460 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1461 ;;
1462
1463 esac
1464 done
1465
1466 if test -n "$ac_prev"; then
1467 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1468 { echo "$as_me: error: missing argument to $ac_option" >&2
1469 { (exit 1); exit 1; }; }
1470 fi
1471
1472 # Be sure to have absolute directory names.
1473 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1474 datadir sysconfdir sharedstatedir localstatedir includedir \
1475 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1476 libdir localedir mandir
1477 do
1478 eval ac_val=\$$ac_var
1479 case $ac_val in
1480 [\\/$]* | ?:[\\/]* ) continue;;
1481 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1482 esac
1483 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1484 { (exit 1); exit 1; }; }
1485 done
1486
1487 # There might be people who depend on the old broken behavior: `$host'
1488 # used to hold the argument of --host etc.
1489 # FIXME: To remove some day.
1490 build=$build_alias
1491 host=$host_alias
1492 target=$target_alias
1493
1494 # FIXME: To remove some day.
1495 if test "x$host_alias" != x; then
1496 if test "x$build_alias" = x; then
1497 cross_compiling=maybe
1498 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1499 If a cross compiler is detected then cross compile mode will be used." >&2
1500 elif test "x$build_alias" != "x$host_alias"; then
1501 cross_compiling=yes
1502 fi
1503 fi
1504
1505 ac_tool_prefix=
1506 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1507
1508 test "$silent" = yes && exec 6>/dev/null
1509
1510
1511 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1512 ac_ls_di=`ls -di .` &&
1513 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1514 { echo "$as_me: error: Working directory cannot be determined" >&2
1515 { (exit 1); exit 1; }; }
1516 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1517 { echo "$as_me: error: pwd does not report name of working directory" >&2
1518 { (exit 1); exit 1; }; }
1519
1520
1521 # Find the source files, if location was not specified.
1522 if test -z "$srcdir"; then
1523 ac_srcdir_defaulted=yes
1524 # Try the directory containing this script, then the parent directory.
1525 ac_confdir=`$as_dirname -- "$0" ||
1526 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1527 X"$0" : 'X\(//\)[^/]' \| \
1528 X"$0" : 'X\(//\)$' \| \
1529 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1530 echo X"$0" |
1531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1532 s//\1/
1533 q
1534 }
1535 /^X\(\/\/\)[^/].*/{
1536 s//\1/
1537 q
1538 }
1539 /^X\(\/\/\)$/{
1540 s//\1/
1541 q
1542 }
1543 /^X\(\/\).*/{
1544 s//\1/
1545 q
1546 }
1547 s/.*/./; q'`
1548 srcdir=$ac_confdir
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 srcdir=..
1551 fi
1552 else
1553 ac_srcdir_defaulted=no
1554 fi
1555 if test ! -r "$srcdir/$ac_unique_file"; then
1556 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1557 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1558 { (exit 1); exit 1; }; }
1559 fi
1560 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1561 ac_abs_confdir=`(
1562 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1563 { (exit 1); exit 1; }; }
1564 pwd)`
1565 # When building in place, set srcdir=.
1566 if test "$ac_abs_confdir" = "$ac_pwd"; then
1567 srcdir=.
1568 fi
1569 # Remove unnecessary trailing slashes from srcdir.
1570 # Double slashes in file names in object file debugging info
1571 # mess up M-x gdb in Emacs.
1572 case $srcdir in
1573 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1574 esac
1575 for ac_var in $ac_precious_vars; do
1576 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1577 eval ac_env_${ac_var}_value=\$${ac_var}
1578 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1579 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1580 done
1581
1582 #
1583 # Report the --help message.
1584 #
1585 if test "$ac_init_help" = "long"; then
1586 # Omit some internal or obsolete options to make the list less imposing.
1587 # This message is too long to be a string in the A/UX 3.1 sh.
1588 cat <<_ACEOF
1589 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1590
1591 Usage: $0 [OPTION]... [VAR=VALUE]...
1592
1593 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1594 VAR=VALUE. See below for descriptions of some of the useful variables.
1595
1596 Defaults for the options are specified in brackets.
1597
1598 Configuration:
1599 -h, --help display this help and exit
1600 --help=short display options specific to this package
1601 --help=recursive display the short help of all the included packages
1602 -V, --version display version information and exit
1603 -q, --quiet, --silent do not print \`checking...' messages
1604 --cache-file=FILE cache test results in FILE [disabled]
1605 -C, --config-cache alias for \`--cache-file=config.cache'
1606 -n, --no-create do not create output files
1607 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1608
1609 Installation directories:
1610 --prefix=PREFIX install architecture-independent files in PREFIX
1611 [$ac_default_prefix]
1612 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1613 [PREFIX]
1614
1615 By default, \`make install' will install all the files in
1616 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1617 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1618 for instance \`--prefix=\$HOME'.
1619
1620 For better control, use the options below.
1621
1622 Fine tuning of the installation directories:
1623 --bindir=DIR user executables [EPREFIX/bin]
1624 --sbindir=DIR system admin executables [EPREFIX/sbin]
1625 --libexecdir=DIR program executables [EPREFIX/libexec]
1626 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1627 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1628 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1629 --libdir=DIR object code libraries [EPREFIX/lib]
1630 --includedir=DIR C header files [PREFIX/include]
1631 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1632 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1633 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1634 --infodir=DIR info documentation [DATAROOTDIR/info]
1635 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1636 --mandir=DIR man documentation [DATAROOTDIR/man]
1637 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1638 --htmldir=DIR html documentation [DOCDIR]
1639 --dvidir=DIR dvi documentation [DOCDIR]
1640 --pdfdir=DIR pdf documentation [DOCDIR]
1641 --psdir=DIR ps documentation [DOCDIR]
1642 _ACEOF
1643
1644 cat <<\_ACEOF
1645
1646 X features:
1647 --x-includes=DIR X include files are in DIR
1648 --x-libraries=DIR X library files are in DIR
1649
1650 System types:
1651 --build=BUILD configure for building on BUILD [guessed]
1652 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1653 _ACEOF
1654 fi
1655
1656 if test -n "$ac_init_help"; then
1657 case $ac_init_help in
1658 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1659 esac
1660 cat <<\_ACEOF
1661
1662 Optional Features:
1663 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1664 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1665 --disable-gui don't build GUI parts of the library
1666 --enable-monolithic build wxWidgets as single library
1667 --enable-plugins build parts of wxWidgets as loadable components
1668 --enable-official_build official build of wxWidgets (win32 DLL only)
1669 --enable-vendor=VENDOR vendor name (win32 DLL only)
1670 --disable-all-features disable all optional features to build minimal library
1671 --enable-universal use wxWidgets GUI controls instead of native ones
1672 --enable-nanox use NanoX
1673 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1674 --enable-gpe use GNOME PDA Environment features if possible
1675 --enable-debug build library for debugging
1676 --disable-debug_flag disable all debugging support
1677 --enable-debug_info generate debug information
1678 --enable-debug_gdb create code with extra GDB debugging information
1679 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1680 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1681 --disable-shared create static library instead of shared
1682 --enable-stl use STL for containers
1683 --enable-std_iostreams use standard C++ stream classes
1684 --enable-std_string use standard C++ string classes
1685 --disable-unicode compile without Unicode support
1686 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1687 --enable-utf8 use UTF-8 representation for strings (Unix only)
1688 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1689 --enable-extended_rtti use extended RTTI (XTI)
1690 --enable-omf use OMF object format
1691 --disable-optimise compile without optimisations
1692 --enable-profile create code with profiling information
1693 --enable-no_rtti create code without RTTI information
1694 --enable-no_exceptions create code without C++ exceptions handling
1695 --enable-permissive compile code disregarding strict ANSI
1696 --enable-no_deps create code without dependency information
1697 --disable-vararg_macros don't use vararg macros, even if they are supported
1698 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1699 --enable-compat26 enable wxWidgets 2.6 compatibility
1700 --disable-compat28 disable wxWidgets 2.8 compatibility
1701 --disable-rpath disable use of rpath for uninstalled builds
1702 --enable-objc_uniquifying enable Objective-C class name uniquifying
1703 --disable-visibility disable use of ELF symbols visibility even if supported
1704 --disable-tls disable use of compiler TLS support
1705 --enable-intl use internationalization system
1706 --enable-xlocale use x-locale support (requires wxLocale)
1707 --enable-config use wxConfig (and derived) classes
1708 --enable-protocols use wxProtocol and derived classes
1709 --enable-ftp use wxFTP (requires wxProtocol
1710 --enable-http use wxHTTP (requires wxProtocol
1711 --enable-fileproto use wxFileProto class (requires wxProtocol
1712 --enable-sockets use socket/network classes
1713 --enable-ipv6 enable IPv6 support in wxSocket
1714 --enable-ole use OLE classes (Win32 only)
1715 --enable-dataobj use data object classes
1716 --enable-ipc use interprocess communication (wxSocket etc.)
1717 --enable-baseevtloop use event loop in console programs too
1718 --enable-epollloop use wxEpollDispatcher class (Linux only)
1719 --enable-selectloop use wxSelectDispatcher class
1720 --enable-any use wxAny class
1721 --enable-apple_ieee use the Apple IEEE codec
1722 --enable-arcstream use wxArchive streams
1723 --enable-base64 use base64 encoding/decoding functions
1724 --enable-backtrace use wxStackWalker class for getting backtraces
1725 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1726 --enable-cmdline use wxCmdLineParser class
1727 --enable-datetime use wxDateTime class
1728 --enable-debugreport use wxDebugReport class
1729 --enable-dialupman use dialup network classes
1730 --enable-dynlib use wxLibrary class for DLL loading
1731 --enable-dynamicloader use (new) wxDynamicLibrary class
1732 --enable-exceptions build exception-safe library
1733 --enable-ffile use wxFFile class
1734 --enable-file use wxFile class
1735 --enable-filesystem use virtual file systems classes
1736 --enable-fontenum use wxFontEnumerator class
1737 --enable-fontmap use font encodings conversion classes
1738 --enable-fs_archive use virtual archive filesystems
1739 --enable-fs_inet use virtual HTTP/FTP filesystems
1740 --enable-fs_zip now replaced by fs_archive
1741 --enable-fswatcher use wxFileSystemWatcher class
1742 --enable-geometry use geometry class
1743 --enable-log use logging system
1744 --enable-longlong use wxLongLong class
1745 --enable-mimetype use wxMimeTypesManager
1746 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1747 --enable-snglinst use wxSingleInstanceChecker class
1748 --enable-sound use wxSound class
1749 --enable-stdpaths use wxStandardPaths class
1750 --enable-stopwatch use wxStopWatch class
1751 --enable-streams use wxStream etc classes
1752 --enable-sysoptions use wxSystemOptions
1753 --enable-tarstream use wxTar streams
1754 --enable-textbuf use wxTextBuffer class
1755 --enable-textfile use wxTextFile class
1756 --enable-timer use wxTimer class
1757 --enable-variant use wxVariant class
1758 --enable-zipstream use wxZip streams
1759 --enable-url use wxURL class
1760 --enable-protocol use wxProtocol class
1761 --enable-protocol-http HTTP support in wxProtocol
1762 --enable-protocol-ftp FTP support in wxProtocol
1763 --enable-protocol-file FILE support in wxProtocol
1764 --enable-threads use threads
1765 --enable-iniconf use wxIniConfig (Win32 only)
1766 --enable-regkey use wxRegKey class (Win32 only)
1767 --enable-docview use document view architecture
1768 --enable-help use help subsystem
1769 --enable-mshtmlhelp use MS HTML Help (win32)
1770 --enable-html use wxHTML sub-library
1771 --enable-htmlhelp use wxHTML-based help
1772 --enable-xrc use XRC resources sub-library
1773 --enable-aui use AUI docking library
1774 --enable-propgrid use wxPropertyGrid library
1775 --enable-ribbon use wxRibbon library
1776 --enable-stc use wxStyledTextCtrl library
1777 --enable-constraints use layout-constraints system
1778 --enable-loggui use standard GUI logger
1779 --enable-logwin use wxLogWindow
1780 --enable-logdialog use wxLogDialog
1781 --enable-mdi use multiple document interface architecture
1782 --enable-mdidoc use docview architecture with MDI
1783 --enable-mediactrl use wxMediaCtrl class
1784 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1785 --enable-webkit use wxWebKitCtrl (Mac)
1786 --enable-richtext use wxRichTextCtrl
1787 --enable-graphics_ctx use graphics context 2D drawing API
1788 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1789 --enable-printarch use printing architecture
1790 --enable-svg use wxSVGFileDC device context
1791 --enable-clipboard use wxClipboard class
1792 --enable-dnd use Drag'n'Drop classes
1793 --enable-metafile use win32 metafiles
1794 --disable-controls disable compilation of all standard controls
1795 --enable-accel use accelerators
1796 --enable-animatectrl use wxAnimationCtrl class
1797 --enable-bmpbutton use wxBitmapButton class
1798 --enable-bmpcombobox use wxBitmapComboBox class
1799 --enable-button use wxButton class
1800 --enable-calendar use wxCalendarCtrl class
1801 --enable-caret use wxCaret class
1802 --enable-checkbox use wxCheckBox class
1803 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1804 --enable-choice use wxChoice class
1805 --enable-choicebook use wxChoicebook class
1806 --enable-collpane use wxCollapsiblePane class
1807 --enable-colourpicker use wxColourPickerCtrl class
1808 --enable-combobox use wxComboBox class
1809 --enable-comboctrl use wxComboCtrl class
1810 --enable-dataviewctrl use wxDataViewCtrl class
1811 --enable-datepick use wxDatePickerCtrl class
1812 --enable-detect_sm use code to detect X11 session manager
1813 --enable-dirpicker use wxDirPickerCtrl class
1814 --enable-display use wxDisplay class
1815 --enable-editablebox use wxEditableListBox class
1816 --enable-filectrl use wxFileCtrl class
1817 --enable-filepicker use wxFilePickerCtrl class
1818 --enable-fontpicker use wxFontPickerCtrl class
1819 --enable-gauge use wxGauge class
1820 --enable-grid use wxGrid class
1821 --enable-headerctrl use wxHeaderCtrl class
1822 --enable-hyperlink use wxHyperlinkCtrl class
1823 --enable-imaglist use wxImageList class
1824 --enable-infobar use wxInfoBar class
1825 --enable-listbook use wxListbook class
1826 --enable-listbox use wxListBox class
1827 --enable-listctrl use wxListCtrl class
1828 --enable-notebook use wxNotebook class
1829 --enable-notifmsg use wxNotificationMessage class
1830 --enable-odcombobox use wxOwnerDrawnComboBox class
1831 --enable-popupwin use wxPopUpWindow class
1832 --enable-radiobox use wxRadioBox class
1833 --enable-radiobtn use wxRadioButton class
1834 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1835 --enable-sash use wxSashWindow class
1836 --enable-scrollbar use wxScrollBar class and scrollable windows
1837 --enable-searchctrl use wxSearchCtrl class
1838 --enable-slider use wxSlider class
1839 --enable-spinbtn use wxSpinButton class
1840 --enable-spinctrl use wxSpinCtrl class
1841 --enable-splitter use wxSplitterWindow class
1842 --enable-statbmp use wxStaticBitmap class
1843 --enable-statbox use wxStaticBox class
1844 --enable-statline use wxStaticLine class
1845 --enable-stattext use wxStaticText class
1846 --enable-statusbar use wxStatusBar class
1847 --enable-taskbaricon use wxTaskBarIcon class
1848 --enable-tbarnative use native wxToolBar class
1849 --enable-textctrl use wxTextCtrl class
1850 --enable-tipwindow use wxTipWindow class
1851 --enable-togglebtn use wxToggleButton class
1852 --enable-toolbar use wxToolBar class
1853 --enable-toolbook use wxToolbook class
1854 --enable-treebook use wxTreebook class
1855 --enable-treectrl use wxTreeCtrl class
1856 --enable-commondlg use all common dialogs
1857 --enable-aboutdlg use wxAboutBox
1858 --enable-choicedlg use wxChoiceDialog
1859 --enable-coldlg use wxColourDialog
1860 --enable-filedlg use wxFileDialog
1861 --enable-finddlg use wxFindReplaceDialog
1862 --enable-fontdlg use wxFontDialog
1863 --enable-dirdlg use wxDirDialog
1864 --enable-msgdlg use wxMessageDialog
1865 --enable-numberdlg use wxNumberEntryDialog
1866 --enable-splash use wxSplashScreen
1867 --enable-textdlg use wxTextDialog
1868 --enable-tipdlg use startup tips
1869 --enable-progressdlg use wxProgressDialog
1870 --enable-wizarddlg use wxWizard
1871 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1872 --enable-miniframe use wxMiniFrame class
1873 --enable-tooltips use wxToolTip class
1874 --enable-splines use spline drawing code
1875 --enable-mousewheel use mousewheel
1876 --enable-validators use wxValidator and derived classes
1877 --enable-busyinfo use wxBusyInfo
1878 --enable-joystick use wxJoystick
1879 --enable-metafiles use wxMetaFile (Win32 only)
1880 --enable-dragimage use wxDragImage
1881 --enable-accessibility enable accessibility support
1882 --enable-palette use wxPalette class
1883 --enable-image use wxImage class
1884 --enable-gif use gif images (GIF file format)
1885 --enable-pcx use pcx images (PCX file format)
1886 --enable-tga use tga images (TGA file format)
1887 --enable-iff use iff images (IFF file format)
1888 --enable-pnm use pnm images (PNM file format)
1889 --enable-xpm use xpm images (XPM file format)
1890 --enable-ico_cur use Windows ICO and CUR formats
1891 --enable-dccache cache temporary wxDC objects (Win32 only)
1892 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1893 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1894 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1895 --enable-wxdib use wxDIB class (Win32 only)
1896 --enable-autoidman use automatic ids management
1897 --disable-largefile omit support for large files
1898 --disable-gtktest do not try to compile and run a test GTK+ program
1899 --disable-gtktest Do not try to compile and run a test GTK program
1900 --disable-sdltest Do not try to compile and run a test SDL program
1901 --enable-omf use OMF object format (OS/2)
1902 --disable-dependency-tracking
1903 don't use dependency tracking even if the compiler
1904 can
1905 --disable-precomp-headers
1906 don't use precompiled headers even if compiler can
1907
1908 Optional Packages:
1909 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1910 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1911 --without-subdirs don't generate makefiles for samples/demos/...
1912 --with-flavour=NAME specify a name to identify this build
1913 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1914 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1915 --with-motif use Motif/Lesstif
1916 --with-osx_carbon use Mac OS X (Carbon)
1917 --with-osx_cocoa use Mac OS X (Cocoa)
1918 --with-mac use Mac OS X (Default)
1919 --with-cocoa use Cocoa
1920 --with-wine use Wine
1921 --with-msw use MS-Windows
1922 --with-pm use OS/2 Presentation Manager
1923 --with-mgl use SciTech MGL
1924 --with-directfb use DirectFB
1925 --with-microwin use MicroWindows
1926 --with-x11 use X11
1927 --with-libpng use libpng (PNG image format)
1928 --with-libjpeg use libjpeg (JPEG file format)
1929 --with-libtiff use libtiff (TIFF file format)
1930 --with-libxpm use libxpm (XPM file format)
1931 --with-libiconv use libiconv (character conversion)
1932 --with-libmspack use libmspack (CHM help files loading)
1933 --without-gtkprint don't use GTK printing support
1934 --without-gnomeprint don't use GNOME printing libraries
1935 --with-gnomevfs use GNOME VFS for associating MIME types
1936 --with-hildon use Hildon framework for Nokia 770/800/810
1937 --with-opengl use OpenGL (or Mesa)
1938 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1939 --with-sdl use SDL for audio on Unix
1940 --with-regex enable support for wxRegEx class
1941 --with-zlib use zlib for LZW compression
1942 --with-expat enable XML support using expat parser
1943 --with-macosx-sdk=PATH use an OS X SDK at PATH
1944 --with-macosx-version-min=VER build binaries which require at least this OS X version
1945 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1946 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1947 --with-x use the X Window System
1948 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1949 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1950 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1951 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1952 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1953
1954 Some influential environment variables:
1955 CC C compiler command
1956 CFLAGS C compiler flags
1957 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1958 nonstandard directory <lib dir>
1959 LIBS libraries to pass to the linker, e.g. -l<library>
1960 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1961 you have headers in a nonstandard directory <include dir>
1962 CPP C preprocessor
1963 CXX C++ compiler command
1964 CXXFLAGS C++ compiler flags
1965 PKG_CONFIG path to pkg-config utility
1966 DIRECTFB_CFLAGS
1967 C compiler flags for DIRECTFB, overriding pkg-config
1968 DIRECTFB_LIBS
1969 linker flags for DIRECTFB, overriding pkg-config
1970 XMKMF Path to xmkmf, Makefile generator for X Window System
1971 PANGOX_CFLAGS
1972 C compiler flags for PANGOX, overriding pkg-config
1973 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1974 PANGOFT2_CFLAGS
1975 C compiler flags for PANGOFT2, overriding pkg-config
1976 PANGOFT2_LIBS
1977 linker flags for PANGOFT2, overriding pkg-config
1978 PANGOXFT_CFLAGS
1979 C compiler flags for PANGOXFT, overriding pkg-config
1980 PANGOXFT_LIBS
1981 linker flags for PANGOXFT, overriding pkg-config
1982 GTKPRINT_CFLAGS
1983 C compiler flags for GTKPRINT, overriding pkg-config
1984 GTKPRINT_LIBS
1985 linker flags for GTKPRINT, overriding pkg-config
1986 LIBGNOMEPRINTUI_CFLAGS
1987 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1988 LIBGNOMEPRINTUI_LIBS
1989 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1990 GNOMEVFS_CFLAGS
1991 C compiler flags for GNOMEVFS, overriding pkg-config
1992 GNOMEVFS_LIBS
1993 linker flags for GNOMEVFS, overriding pkg-config
1994 HILDON_CFLAGS
1995 C compiler flags for HILDON, overriding pkg-config
1996 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1997 HILDON2_CFLAGS
1998 C compiler flags for HILDON2, overriding pkg-config
1999 HILDON2_LIBS
2000 linker flags for HILDON2, overriding pkg-config
2001 CAIRO_CFLAGS
2002 C compiler flags for CAIRO, overriding pkg-config
2003 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2004 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2005 GST_LIBS linker flags for GST, overriding pkg-config
2006
2007 Use these variables to override the choices made by `configure' or to help
2008 it to find libraries and programs with nonstandard names/locations.
2009
2010 Report bugs to <wx-dev@lists.wxwidgets.org>.
2011 _ACEOF
2012 ac_status=$?
2013 fi
2014
2015 if test "$ac_init_help" = "recursive"; then
2016 # If there are subdirs, report their specific --help.
2017 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2018 test -d "$ac_dir" || continue
2019 ac_builddir=.
2020
2021 case "$ac_dir" in
2022 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2023 *)
2024 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2025 # A ".." for each directory in $ac_dir_suffix.
2026 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2027 case $ac_top_builddir_sub in
2028 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2029 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2030 esac ;;
2031 esac
2032 ac_abs_top_builddir=$ac_pwd
2033 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2034 # for backward compatibility:
2035 ac_top_builddir=$ac_top_build_prefix
2036
2037 case $srcdir in
2038 .) # We are building in place.
2039 ac_srcdir=.
2040 ac_top_srcdir=$ac_top_builddir_sub
2041 ac_abs_top_srcdir=$ac_pwd ;;
2042 [\\/]* | ?:[\\/]* ) # Absolute name.
2043 ac_srcdir=$srcdir$ac_dir_suffix;
2044 ac_top_srcdir=$srcdir
2045 ac_abs_top_srcdir=$srcdir ;;
2046 *) # Relative name.
2047 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2048 ac_top_srcdir=$ac_top_build_prefix$srcdir
2049 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2050 esac
2051 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2052
2053 cd "$ac_dir" || { ac_status=$?; continue; }
2054 # Check for guested configure.
2055 if test -f "$ac_srcdir/configure.gnu"; then
2056 echo &&
2057 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2058 elif test -f "$ac_srcdir/configure"; then
2059 echo &&
2060 $SHELL "$ac_srcdir/configure" --help=recursive
2061 else
2062 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2063 fi || ac_status=$?
2064 cd "$ac_pwd" || { ac_status=$?; break; }
2065 done
2066 fi
2067
2068 test -n "$ac_init_help" && exit $ac_status
2069 if $ac_init_version; then
2070 cat <<\_ACEOF
2071 wxWidgets configure 2.9.1
2072 generated by GNU Autoconf 2.61
2073
2074 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2075 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2076 This configure script is free software; the Free Software Foundation
2077 gives unlimited permission to copy, distribute and modify it.
2078 _ACEOF
2079 exit
2080 fi
2081 cat >config.log <<_ACEOF
2082 This file contains any messages produced by compilers while
2083 running configure, to aid debugging if configure makes a mistake.
2084
2085 It was created by wxWidgets $as_me 2.9.1, which was
2086 generated by GNU Autoconf 2.61. Invocation command line was
2087
2088 $ $0 $@
2089
2090 _ACEOF
2091 exec 5>>config.log
2092 {
2093 cat <<_ASUNAME
2094 ## --------- ##
2095 ## Platform. ##
2096 ## --------- ##
2097
2098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2103
2104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2105 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2106
2107 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2108 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2110 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2111 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2112 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2113 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2114
2115 _ASUNAME
2116
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2119 do
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 echo "PATH: $as_dir"
2123 done
2124 IFS=$as_save_IFS
2125
2126 } >&5
2127
2128 cat >&5 <<_ACEOF
2129
2130
2131 ## ----------- ##
2132 ## Core tests. ##
2133 ## ----------- ##
2134
2135 _ACEOF
2136
2137
2138 # Keep a trace of the command line.
2139 # Strip out --no-create and --no-recursion so they do not pile up.
2140 # Strip out --silent because we don't want to record it for future runs.
2141 # Also quote any args containing shell meta-characters.
2142 # Make two passes to allow for proper duplicate-argument suppression.
2143 ac_configure_args=
2144 ac_configure_args0=
2145 ac_configure_args1=
2146 ac_must_keep_next=false
2147 for ac_pass in 1 2
2148 do
2149 for ac_arg
2150 do
2151 case $ac_arg in
2152 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2155 continue ;;
2156 *\'*)
2157 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2158 esac
2159 case $ac_pass in
2160 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2161 2)
2162 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2163 if test $ac_must_keep_next = true; then
2164 ac_must_keep_next=false # Got value, back to normal.
2165 else
2166 case $ac_arg in
2167 *=* | --config-cache | -C | -disable-* | --disable-* \
2168 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2169 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2170 | -with-* | --with-* | -without-* | --without-* | --x)
2171 case "$ac_configure_args0 " in
2172 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2173 esac
2174 ;;
2175 -* ) ac_must_keep_next=true ;;
2176 esac
2177 fi
2178 ac_configure_args="$ac_configure_args '$ac_arg'"
2179 ;;
2180 esac
2181 done
2182 done
2183 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2184 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2185
2186 # When interrupted or exit'd, cleanup temporary files, and complete
2187 # config.log. We remove comments because anyway the quotes in there
2188 # would cause problems or look ugly.
2189 # WARNING: Use '\'' to represent an apostrophe within the trap.
2190 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2191 trap 'exit_status=$?
2192 # Save into config.log some information that might help in debugging.
2193 {
2194 echo
2195
2196 cat <<\_ASBOX
2197 ## ---------------- ##
2198 ## Cache variables. ##
2199 ## ---------------- ##
2200 _ASBOX
2201 echo
2202 # The following way of writing the cache mishandles newlines in values,
2203 (
2204 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2205 eval ac_val=\$$ac_var
2206 case $ac_val in #(
2207 *${as_nl}*)
2208 case $ac_var in #(
2209 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2210 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2211 esac
2212 case $ac_var in #(
2213 _ | IFS | as_nl) ;; #(
2214 *) $as_unset $ac_var ;;
2215 esac ;;
2216 esac
2217 done
2218 (set) 2>&1 |
2219 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2220 *${as_nl}ac_space=\ *)
2221 sed -n \
2222 "s/'\''/'\''\\\\'\'''\''/g;
2223 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2224 ;; #(
2225 *)
2226 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2227 ;;
2228 esac |
2229 sort
2230 )
2231 echo
2232
2233 cat <<\_ASBOX
2234 ## ----------------- ##
2235 ## Output variables. ##
2236 ## ----------------- ##
2237 _ASBOX
2238 echo
2239 for ac_var in $ac_subst_vars
2240 do
2241 eval ac_val=\$$ac_var
2242 case $ac_val in
2243 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2244 esac
2245 echo "$ac_var='\''$ac_val'\''"
2246 done | sort
2247 echo
2248
2249 if test -n "$ac_subst_files"; then
2250 cat <<\_ASBOX
2251 ## ------------------- ##
2252 ## File substitutions. ##
2253 ## ------------------- ##
2254 _ASBOX
2255 echo
2256 for ac_var in $ac_subst_files
2257 do
2258 eval ac_val=\$$ac_var
2259 case $ac_val in
2260 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2261 esac
2262 echo "$ac_var='\''$ac_val'\''"
2263 done | sort
2264 echo
2265 fi
2266
2267 if test -s confdefs.h; then
2268 cat <<\_ASBOX
2269 ## ----------- ##
2270 ## confdefs.h. ##
2271 ## ----------- ##
2272 _ASBOX
2273 echo
2274 cat confdefs.h
2275 echo
2276 fi
2277 test "$ac_signal" != 0 &&
2278 echo "$as_me: caught signal $ac_signal"
2279 echo "$as_me: exit $exit_status"
2280 } >&5
2281 rm -f core *.core core.conftest.* &&
2282 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2283 exit $exit_status
2284 ' 0
2285 for ac_signal in 1 2 13 15; do
2286 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2287 done
2288 ac_signal=0
2289
2290 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2291 rm -f -r conftest* confdefs.h
2292
2293 # Predefined preprocessor variables.
2294
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_NAME "$PACKAGE_NAME"
2297 _ACEOF
2298
2299
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2302 _ACEOF
2303
2304
2305 cat >>confdefs.h <<_ACEOF
2306 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2307 _ACEOF
2308
2309
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_STRING "$PACKAGE_STRING"
2312 _ACEOF
2313
2314
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2317 _ACEOF
2318
2319
2320 # Let the site file select an alternate cache file if it wants to.
2321 # Prefer explicitly selected file to automatically selected ones.
2322 if test -n "$CONFIG_SITE"; then
2323 set x "$CONFIG_SITE"
2324 elif test "x$prefix" != xNONE; then
2325 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2326 else
2327 set x "$ac_default_prefix/share/config.site" \
2328 "$ac_default_prefix/etc/config.site"
2329 fi
2330 shift
2331 for ac_site_file
2332 do
2333 if test -r "$ac_site_file"; then
2334 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2335 echo "$as_me: loading site script $ac_site_file" >&6;}
2336 sed 's/^/| /' "$ac_site_file" >&5
2337 . "$ac_site_file"
2338 fi
2339 done
2340
2341 if test -r "$cache_file"; then
2342 # Some versions of bash will fail to source /dev/null (special
2343 # files actually), so we avoid doing that.
2344 if test -f "$cache_file"; then
2345 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2346 echo "$as_me: loading cache $cache_file" >&6;}
2347 case $cache_file in
2348 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2349 *) . "./$cache_file";;
2350 esac
2351 fi
2352 else
2353 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2354 echo "$as_me: creating cache $cache_file" >&6;}
2355 >$cache_file
2356 fi
2357
2358 # Check that the precious variables saved in the cache have kept the same
2359 # value.
2360 ac_cache_corrupted=false
2361 for ac_var in $ac_precious_vars; do
2362 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2363 eval ac_new_set=\$ac_env_${ac_var}_set
2364 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2365 eval ac_new_val=\$ac_env_${ac_var}_value
2366 case $ac_old_set,$ac_new_set in
2367 set,)
2368 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2369 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2370 ac_cache_corrupted=: ;;
2371 ,set)
2372 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2373 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2374 ac_cache_corrupted=: ;;
2375 ,);;
2376 *)
2377 if test "x$ac_old_val" != "x$ac_new_val"; then
2378 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2379 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2380 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2381 echo "$as_me: former value: $ac_old_val" >&2;}
2382 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2383 echo "$as_me: current value: $ac_new_val" >&2;}
2384 ac_cache_corrupted=:
2385 fi;;
2386 esac
2387 # Pass precious variables to config.status.
2388 if test "$ac_new_set" = set; then
2389 case $ac_new_val in
2390 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391 *) ac_arg=$ac_var=$ac_new_val ;;
2392 esac
2393 case " $ac_configure_args " in
2394 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2395 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2396 esac
2397 fi
2398 done
2399 if $ac_cache_corrupted; then
2400 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2401 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2402 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2403 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2404 { (exit 1); exit 1; }; }
2405 fi
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431 ac_ext=c
2432 ac_cpp='$CPP $CPPFLAGS'
2433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2436
2437
2438
2439
2440
2441 ac_aux_dir=
2442 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2443 if test -f "$ac_dir/install-sh"; then
2444 ac_aux_dir=$ac_dir
2445 ac_install_sh="$ac_aux_dir/install-sh -c"
2446 break
2447 elif test -f "$ac_dir/install.sh"; then
2448 ac_aux_dir=$ac_dir
2449 ac_install_sh="$ac_aux_dir/install.sh -c"
2450 break
2451 elif test -f "$ac_dir/shtool"; then
2452 ac_aux_dir=$ac_dir
2453 ac_install_sh="$ac_aux_dir/shtool install -c"
2454 break
2455 fi
2456 done
2457 if test -z "$ac_aux_dir"; then
2458 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2459 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2460 { (exit 1); exit 1; }; }
2461 fi
2462
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2470
2471
2472 # Make sure we can run config.sub.
2473 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2474 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2475 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2476 { (exit 1); exit 1; }; }
2477
2478 { echo "$as_me:$LINENO: checking build system type" >&5
2479 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2480 if test "${ac_cv_build+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 else
2483 ac_build_alias=$build_alias
2484 test "x$ac_build_alias" = x &&
2485 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2486 test "x$ac_build_alias" = x &&
2487 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2488 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2489 { (exit 1); exit 1; }; }
2490 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2491 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2492 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2493 { (exit 1); exit 1; }; }
2494
2495 fi
2496 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2497 echo "${ECHO_T}$ac_cv_build" >&6; }
2498 case $ac_cv_build in
2499 *-*-*) ;;
2500 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2501 echo "$as_me: error: invalid value of canonical build" >&2;}
2502 { (exit 1); exit 1; }; };;
2503 esac
2504 build=$ac_cv_build
2505 ac_save_IFS=$IFS; IFS='-'
2506 set x $ac_cv_build
2507 shift
2508 build_cpu=$1
2509 build_vendor=$2
2510 shift; shift
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2513 build_os=$*
2514 IFS=$ac_save_IFS
2515 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2516
2517
2518 { echo "$as_me:$LINENO: checking host system type" >&5
2519 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2520 if test "${ac_cv_host+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 else
2523 if test "x$host_alias" = x; then
2524 ac_cv_host=$ac_cv_build
2525 else
2526 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2527 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2528 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2529 { (exit 1); exit 1; }; }
2530 fi
2531
2532 fi
2533 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2534 echo "${ECHO_T}$ac_cv_host" >&6; }
2535 case $ac_cv_host in
2536 *-*-*) ;;
2537 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2538 echo "$as_me: error: invalid value of canonical host" >&2;}
2539 { (exit 1); exit 1; }; };;
2540 esac
2541 host=$ac_cv_host
2542 ac_save_IFS=$IFS; IFS='-'
2543 set x $ac_cv_host
2544 shift
2545 host_cpu=$1
2546 host_vendor=$2
2547 shift; shift
2548 # Remember, the first character of IFS is used to create $*,
2549 # except with old shells:
2550 host_os=$*
2551 IFS=$ac_save_IFS
2552 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2553
2554
2555
2556 if test "$cross_compiling" != "no"; then
2557 HOST_PREFIX="${host_alias}-"
2558 HOST_SUFFIX="-$host_alias"
2559 else
2560 HOST_PREFIX=
2561 HOST_SUFFIX=
2562 fi
2563
2564
2565 wx_major_version_number=2
2566 wx_minor_version_number=9
2567 wx_release_number=1
2568 wx_subrelease_number=0
2569
2570 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2571 WX_VERSION=$WX_RELEASE.$wx_release_number
2572 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2573
2574 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2575
2576
2577 wx_top_builddir="`pwd`"
2578
2579
2580
2581
2582 USE_UNIX=1
2583 USE_OS2=0
2584 USE_WIN32=0
2585 USE_DOS=0
2586 USE_BEOS=0
2587 USE_MAC=0
2588
2589 USE_AIX=
2590 USE_BSD= USE_DARWIN= USE_FREEBSD=
2591 USE_GNU= USE_HPUX=
2592 USE_LINUX=
2593 USE_NETBSD=
2594 USE_OPENBSD=
2595 USE_OSF= USE_SGI=
2596 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2597 USE_ULTRIX=
2598 USE_UNIXWARE=
2599
2600 USE_ALPHA=
2601
2602 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2603
2604 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2605
2606 DEFAULT_wxUSE_COCOA=0
2607 DEFAULT_wxUSE_GTK=0
2608 DEFAULT_wxUSE_OSX_CARBON=0
2609 DEFAULT_wxUSE_OSX_COCOA=0
2610 DEFAULT_wxUSE_MGL=0
2611 DEFAULT_wxUSE_MICROWIN=0
2612 DEFAULT_wxUSE_MOTIF=0
2613 DEFAULT_wxUSE_MSW=0
2614 DEFAULT_wxUSE_PM=0
2615 DEFAULT_wxUSE_X11=0
2616 DEFAULT_wxUSE_DFB=0
2617
2618 DEFAULT_DEFAULT_wxUSE_COCOA=0
2619 DEFAULT_DEFAULT_wxUSE_GTK=0
2620 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2621 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2622 DEFAULT_DEFAULT_wxUSE_MGL=0
2623 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2625 DEFAULT_DEFAULT_wxUSE_MSW=0
2626 DEFAULT_DEFAULT_wxUSE_PM=0
2627 DEFAULT_DEFAULT_wxUSE_X11=0
2628 DEFAULT_DEFAULT_wxUSE_DFB=0
2629
2630 PROGRAM_EXT=
2631 SAMPLES_RPATH_FLAG=
2632 DYLIB_RPATH_INSTALL=
2633 DYLIB_RPATH_POSTLINK=
2634
2635 DEFAULT_STD_FLAG=yes
2636
2637 case "${host}" in
2638 *-hp-hpux* )
2639 USE_HPUX=1
2640 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2641 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __HPUX__ 1
2644 _ACEOF
2645
2646
2647 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2648 ;;
2649 *-*-linux* )
2650 USE_LINUX=1
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __LINUX__ 1
2653 _ACEOF
2654
2655 TMP=`uname -m`
2656 if test "x$TMP" = "xalpha"; then
2657 USE_ALPHA=1
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __ALPHA__ 1
2660 _ACEOF
2661
2662 fi
2663 DEFAULT_DEFAULT_wxUSE_GTK=1
2664 ;;
2665 *-*-gnu* | *-*-k*bsd*-gnu )
2666 USE_GNU=1
2667 TMP=`uname -m`
2668 if test "x$TMP" = "xalpha"; then
2669 USE_ALPHA=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __ALPHA__ 1
2672 _ACEOF
2673
2674 fi
2675 DEFAULT_DEFAULT_wxUSE_GTK=1
2676 ;;
2677 *-*-irix5* | *-*-irix6* )
2678 USE_SGI=1
2679 USE_SVR4=1
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __SGI__ 1
2682 _ACEOF
2683
2684 cat >>confdefs.h <<\_ACEOF
2685 #define __SVR4__ 1
2686 _ACEOF
2687
2688 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2689 ;;
2690 *-*-solaris2* )
2691 USE_SUN=1
2692 USE_SOLARIS=1
2693 USE_SVR4=1
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __SUN__ 1
2696 _ACEOF
2697
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __SOLARIS__ 1
2700 _ACEOF
2701
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __SVR4__ 1
2704 _ACEOF
2705
2706 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2707 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2708 ;;
2709 *-*-sunos4* )
2710 USE_SUN=1
2711 USE_SUNOS=1
2712 USE_BSD=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SUN__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __SUNOS__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2726 ;;
2727 *-*-freebsd*)
2728 USE_BSD=1
2729 USE_FREEBSD=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __FREEBSD__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __BSD__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 ;;
2740 *-*-openbsd*|*-*-mirbsd*)
2741 USE_BSD=1
2742 USE_OPENBSD=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __OPENBSD__ 1
2745 _ACEOF
2746
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __BSD__ 1
2749 _ACEOF
2750
2751 DEFAULT_DEFAULT_wxUSE_GTK=1
2752 ;;
2753 *-*-netbsd*)
2754 USE_BSD=1
2755 USE_NETBSD=1
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __NETBSD__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __BSD__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_GTK=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766
2767 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2768 ;;
2769 *-*-osf* )
2770 USE_ALPHA=1
2771 USE_OSF=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __ALPHA__ 1
2774 _ACEOF
2775
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __OSF__ 1
2778 _ACEOF
2779
2780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2781 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2782 ;;
2783 *-*-dgux5* )
2784 USE_ALPHA=1
2785 USE_SVR4=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __ALPHA__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SVR4__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 ;;
2796 *-*-sysv5* )
2797 USE_SYSV=1
2798 USE_SVR4=1
2799 cat >>confdefs.h <<\_ACEOF
2800 #define __SYSV__ 1
2801 _ACEOF
2802
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __SVR4__ 1
2805 _ACEOF
2806
2807 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2808 ;;
2809 *-*-aix* )
2810 USE_AIX=1
2811 USE_SYSV=1
2812 USE_SVR4=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __AIX__ 1
2815 _ACEOF
2816
2817 cat >>confdefs.h <<\_ACEOF
2818 #define __SYSV__ 1
2819 _ACEOF
2820
2821 cat >>confdefs.h <<\_ACEOF
2822 #define __SVR4__ 1
2823 _ACEOF
2824
2825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2826 ;;
2827
2828 *-*-*UnixWare*)
2829 USE_SYSV=1
2830 USE_SVR4=1
2831 USE_UNIXWARE=1
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __UNIXWARE__ 1
2834 _ACEOF
2835
2836 ;;
2837
2838 *-*-cygwin* | *-*-mingw32* )
2839 PROGRAM_EXT=".exe"
2840 DEFAULT_DEFAULT_wxUSE_MSW=1
2841 ;;
2842
2843 *-pc-msdosdjgpp )
2844 USE_UNIX=0
2845 USE_DOS=1
2846 cat >>confdefs.h <<\_ACEOF
2847 #define __DOS__ 1
2848 _ACEOF
2849
2850 PROGRAM_EXT=".exe"
2851 DEFAULT_DEFAULT_wxUSE_MGL=1
2852 ;;
2853
2854 *-pc-os2_emx | *-pc-os2-emx )
2855 cat >>confdefs.h <<\_ACEOF
2856 #define __EMX__ 1
2857 _ACEOF
2858
2859 USE_OS2=1
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __OS2__ 1
2862 _ACEOF
2863
2864 PROGRAM_EXT=".exe"
2865 DEFAULT_DEFAULT_wxUSE_PM=1
2866 CXX=gcc
2867 LDFLAGS="$LDFLAGS -Zcrtdll"
2868 ac_executable_extensions=".exe"
2869 export ac_executable_extensions
2870 ac_save_IFS="$IFS"
2871 IFS='\\'
2872 ac_TEMP_PATH=
2873 for ac_dir in $PATH; do
2874 IFS=$ac_save_IFS
2875 if test -z "$ac_TEMP_PATH"; then
2876 ac_TEMP_PATH="$ac_dir"
2877 else
2878 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2879 fi
2880 done
2881 export PATH="$ac_TEMP_PATH"
2882 unset ac_TEMP_PATH
2883 DEFAULT_STD_FLAG=no
2884 ;;
2885
2886 *-*-darwin* )
2887 USE_BSD=1
2888 USE_DARWIN=1
2889 cat >>confdefs.h <<\_ACEOF
2890 #define __BSD__ 1
2891 _ACEOF
2892
2893 cat >>confdefs.h <<\_ACEOF
2894 #define __DARWIN__ 1
2895 _ACEOF
2896
2897 cat >>confdefs.h <<\_ACEOF
2898 #define TARGET_CARBON 1
2899 _ACEOF
2900
2901 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2902 ;;
2903
2904 *-*-beos* )
2905 USE_BEOS=1
2906 cat >>confdefs.h <<\_ACEOF
2907 #define __BEOS__ 1
2908 _ACEOF
2909
2910 ;;
2911
2912 *)
2913 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2914 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2915 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2916 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2917
2918 DEFAULT_DEFAULT_wxUSE_X11=1
2919 DEFAULT_wxUSE_SHARED=no
2920 esac
2921
2922
2923
2924 DEFAULT_wxUSE_ALL_FEATURES=yes
2925
2926 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2927 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2928
2929 DEFAULT_wxUSE_DMALLOC=no
2930 DEFAULT_wxUSE_LIBGNOMEVFS=no
2931 DEFAULT_wxUSE_LIBHILDON=no
2932 DEFAULT_wxUSE_LIBHILDON2=no
2933 DEFAULT_wxUSE_LIBMSPACK=no
2934 DEFAULT_wxUSE_LIBSDL=no
2935
2936 DEFAULT_wxUSE_ACCESSIBILITY=no
2937 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2938 DEFAULT_wxUSE_IPV6=no
2939 DEFAULT_wxUSE_GSTREAMER8=no
2940
2941 DEFAULT_wxUSE_UNICODE_UTF8=auto
2942 DEFAULT_wxUSE_OPENGL=auto
2943 DEFAULT_wxUSE_MEDIACTRL=auto
2944 DEFAULT_wxUSE_COMPILER_TLS=auto
2945
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2947
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2949
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2951
2952 DEFAULT_wxUSE_GTK2=yes
2953
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2955
2956
2957
2958
2959
2960 enablestring=disable
2961 defaultval=
2962 if test -z "$defaultval"; then
2963 if test x"$enablestring" = xdisable; then
2964 defaultval=yes
2965 else
2966 defaultval=no
2967 fi
2968 fi
2969
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2972 # Check whether --enable-gui was given.
2973 if test "${enable_gui+set}" = set; then
2974 enableval=$enable_gui;
2975 if test "$enableval" = yes; then
2976 wx_cv_use_gui='wxUSE_GUI=yes'
2977 else
2978 wx_cv_use_gui='wxUSE_GUI=no'
2979 fi
2980
2981 else
2982
2983 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2984
2985 fi
2986
2987
2988 eval "$wx_cv_use_gui"
2989
2990 if test x"$enablestring" = xdisable; then
2991 if test $wxUSE_GUI = no; then
2992 result=yes
2993 else
2994 result=no
2995 fi
2996 else
2997 result=$wxUSE_GUI
2998 fi
2999
3000 { echo "$as_me:$LINENO: result: $result" >&5
3001 echo "${ECHO_T}$result" >&6; }
3002
3003
3004 enablestring=
3005 defaultval=
3006 if test -z "$defaultval"; then
3007 if test x"$enablestring" = xdisable; then
3008 defaultval=yes
3009 else
3010 defaultval=no
3011 fi
3012 fi
3013
3014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3015 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3016 # Check whether --enable-monolithic was given.
3017 if test "${enable_monolithic+set}" = set; then
3018 enableval=$enable_monolithic;
3019 if test "$enableval" = yes; then
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3021 else
3022 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3023 fi
3024
3025 else
3026
3027 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3028
3029 fi
3030
3031
3032 eval "$wx_cv_use_monolithic"
3033
3034 if test x"$enablestring" = xdisable; then
3035 if test $wxUSE_MONOLITHIC = no; then
3036 result=yes
3037 else
3038 result=no
3039 fi
3040 else
3041 result=$wxUSE_MONOLITHIC
3042 fi
3043
3044 { echo "$as_me:$LINENO: result: $result" >&5
3045 echo "${ECHO_T}$result" >&6; }
3046
3047
3048 enablestring=
3049 defaultval=
3050 if test -z "$defaultval"; then
3051 if test x"$enablestring" = xdisable; then
3052 defaultval=yes
3053 else
3054 defaultval=no
3055 fi
3056 fi
3057
3058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3059 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3060 # Check whether --enable-plugins was given.
3061 if test "${enable_plugins+set}" = set; then
3062 enableval=$enable_plugins;
3063 if test "$enableval" = yes; then
3064 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3065 else
3066 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3067 fi
3068
3069 else
3070
3071 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3072
3073 fi
3074
3075
3076 eval "$wx_cv_use_plugins"
3077
3078 if test x"$enablestring" = xdisable; then
3079 if test $wxUSE_PLUGINS = no; then
3080 result=yes
3081 else
3082 result=no
3083 fi
3084 else
3085 result=$wxUSE_PLUGINS
3086 fi
3087
3088 { echo "$as_me:$LINENO: result: $result" >&5
3089 echo "${ECHO_T}$result" >&6; }
3090
3091
3092 withstring=without
3093 defaultval=$wxUSE_ALL_FEATURES
3094 if test -z "$defaultval"; then
3095 if test x"$withstring" = xwithout; then
3096 defaultval=yes
3097 else
3098 defaultval=no
3099 fi
3100 fi
3101 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3102 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3103
3104 # Check whether --with-subdirs was given.
3105 if test "${with_subdirs+set}" = set; then
3106 withval=$with_subdirs;
3107 if test "$withval" = yes; then
3108 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3109 else
3110 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3111 fi
3112
3113 else
3114
3115 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3116
3117 fi
3118
3119
3120 eval "$wx_cv_use_subdirs"
3121
3122 if test x"$withstring" = xwithout; then
3123 if test $wxWITH_SUBDIRS = yes; then
3124 result=no
3125 else
3126 result=yes
3127 fi
3128 else
3129 result=$wxWITH_SUBDIRS
3130 fi
3131
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3134
3135
3136 # Check whether --with-flavour was given.
3137 if test "${with_flavour+set}" = set; then
3138 withval=$with_flavour; WX_FLAVOUR="$withval"
3139 fi
3140
3141
3142 enablestring=
3143 defaultval=
3144 if test -z "$defaultval"; then
3145 if test x"$enablestring" = xdisable; then
3146 defaultval=yes
3147 else
3148 defaultval=no
3149 fi
3150 fi
3151
3152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3153 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3154 # Check whether --enable-official_build was given.
3155 if test "${enable_official_build+set}" = set; then
3156 enableval=$enable_official_build;
3157 if test "$enableval" = yes; then
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3159 else
3160 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3161 fi
3162
3163 else
3164
3165 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3166
3167 fi
3168
3169
3170 eval "$wx_cv_use_official_build"
3171
3172 if test x"$enablestring" = xdisable; then
3173 if test $wxUSE_OFFICIAL_BUILD = no; then
3174 result=yes
3175 else
3176 result=no
3177 fi
3178 else
3179 result=$wxUSE_OFFICIAL_BUILD
3180 fi
3181
3182 { echo "$as_me:$LINENO: result: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3184
3185 # Check whether --enable-vendor was given.
3186 if test "${enable_vendor+set}" = set; then
3187 enableval=$enable_vendor; VENDOR="$enableval"
3188 fi
3189
3190 if test "x$VENDOR" = "x"; then
3191 VENDOR="custom"
3192 fi
3193
3194
3195 enablestring=disable
3196 defaultval=
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3199 defaultval=yes
3200 else
3201 defaultval=no
3202 fi
3203 fi
3204
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3207 # Check whether --enable-all-features was given.
3208 if test "${enable_all_features+set}" = set; then
3209 enableval=$enable_all_features;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3212 else
3213 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3214 fi
3215
3216 else
3217
3218 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3219
3220 fi
3221
3222
3223 eval "$wx_cv_use_all_features"
3224
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_ALL_FEATURES = no; then
3227 result=yes
3228 else
3229 result=no
3230 fi
3231 else
3232 result=$wxUSE_ALL_FEATURES
3233 fi
3234
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3237
3238
3239 if test "$wxUSE_ALL_FEATURES" = "no"; then
3240 DEFAULT_wxUSE_MEDIACTRL=no
3241 fi
3242
3243
3244 if test "$wxUSE_GUI" = "yes"; then
3245
3246
3247 enablestring=
3248 defaultval=
3249 if test -z "$defaultval"; then
3250 if test x"$enablestring" = xdisable; then
3251 defaultval=yes
3252 else
3253 defaultval=no
3254 fi
3255 fi
3256
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3259 # Check whether --enable-universal was given.
3260 if test "${enable_universal+set}" = set; then
3261 enableval=$enable_universal;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3264 else
3265 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3266 fi
3267
3268 else
3269
3270 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3271
3272 fi
3273
3274
3275 eval "$wx_cv_use_universal"
3276
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_UNIVERSAL = no; then
3279 result=yes
3280 else
3281 result=no
3282 fi
3283 else
3284 result=$wxUSE_UNIVERSAL
3285 fi
3286
3287 { echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3289
3290 if test "$wxUSE_UNIVERSAL" = "yes"; then
3291
3292 # Check whether --with-themes was given.
3293 if test "${with_themes+set}" = set; then
3294 withval=$with_themes; wxUNIV_THEMES="$withval"
3295 fi
3296
3297 fi
3298
3299
3300 # Check whether --with-gtk was given.
3301 if test "${with_gtk+set}" = set; then
3302 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3303 fi
3304
3305
3306 # Check whether --with-motif was given.
3307 if test "${with_motif+set}" = set; then
3308 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3309 fi
3310
3311
3312 # Check whether --with-osx_carbon was given.
3313 if test "${with_osx_carbon+set}" = set; then
3314 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3315 fi
3316
3317
3318 # Check whether --with-osx_cocoa was given.
3319 if test "${with_osx_cocoa+set}" = set; then
3320 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3321 fi
3322
3323
3324 # Check whether --with-mac was given.
3325 if test "${with_mac+set}" = set; then
3326 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-cocoa was given.
3331 if test "${with_cocoa+set}" = set; then
3332 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-wine was given.
3337 if test "${with_wine+set}" = set; then
3338 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3339 fi
3340
3341
3342 # Check whether --with-msw was given.
3343 if test "${with_msw+set}" = set; then
3344 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-pm was given.
3349 if test "${with_pm+set}" = set; then
3350 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-mgl was given.
3355 if test "${with_mgl+set}" = set; then
3356 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-directfb was given.
3361 if test "${with_directfb+set}" = set; then
3362 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-microwin was given.
3367 if test "${with_microwin+set}" = set; then
3368 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-x11 was given.
3373 if test "${with_x11+set}" = set; then
3374 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 enablestring=
3379 defaultval=
3380 if test -z "$defaultval"; then
3381 if test x"$enablestring" = xdisable; then
3382 defaultval=yes
3383 else
3384 defaultval=no
3385 fi
3386 fi
3387
3388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3390 # Check whether --enable-nanox was given.
3391 if test "${enable_nanox+set}" = set; then
3392 enableval=$enable_nanox;
3393 if test "$enableval" = yes; then
3394 wx_cv_use_nanox='wxUSE_NANOX=yes'
3395 else
3396 wx_cv_use_nanox='wxUSE_NANOX=no'
3397 fi
3398
3399 else
3400
3401 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3402
3403 fi
3404
3405
3406 eval "$wx_cv_use_nanox"
3407
3408 if test x"$enablestring" = xdisable; then
3409 if test $wxUSE_NANOX = no; then
3410 result=yes
3411 else
3412 result=no
3413 fi
3414 else
3415 result=$wxUSE_NANOX
3416 fi
3417
3418 { echo "$as_me:$LINENO: result: $result" >&5
3419 echo "${ECHO_T}$result" >&6; }
3420
3421
3422 # Check whether --enable-gtk2 was given.
3423 if test "${enable_gtk2+set}" = set; then
3424 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3425 fi
3426
3427
3428 enablestring=
3429 defaultval=
3430 if test -z "$defaultval"; then
3431 if test x"$enablestring" = xdisable; then
3432 defaultval=yes
3433 else
3434 defaultval=no
3435 fi
3436 fi
3437
3438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3439 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3440 # Check whether --enable-gpe was given.
3441 if test "${enable_gpe+set}" = set; then
3442 enableval=$enable_gpe;
3443 if test "$enableval" = yes; then
3444 wx_cv_use_gpe='wxUSE_GPE=yes'
3445 else
3446 wx_cv_use_gpe='wxUSE_GPE=no'
3447 fi
3448
3449 else
3450
3451 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3452
3453 fi
3454
3455
3456 eval "$wx_cv_use_gpe"
3457
3458 if test x"$enablestring" = xdisable; then
3459 if test $wxUSE_GPE = no; then
3460 result=yes
3461 else
3462 result=no
3463 fi
3464 else
3465 result=$wxUSE_GPE
3466 fi
3467
3468 { echo "$as_me:$LINENO: result: $result" >&5
3469 echo "${ECHO_T}$result" >&6; }
3470
3471
3472
3473 { echo "$as_me:$LINENO: checking for toolkit" >&5
3474 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3475
3476
3477
3478 # In Wine, we need to default to MSW, not GTK or MOTIF
3479 if test "$wxUSE_WINE" = "yes"; then
3480 DEFAULT_DEFAULT_wxUSE_GTK=0
3481 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3482 DEFAULT_DEFAULT_wxUSE_MSW=1
3483 wxUSE_SHARED=no
3484 CC=${CC:-winegcc}
3485 CXX=${CXX:-wineg++}
3486 fi
3487
3488
3489 if test "$wxUSE_GUI" = "yes"; then
3490
3491 if test "$USE_BEOS" = 1; then
3492 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3493 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3494 { (exit 1); exit 1; }; }
3495 fi
3496
3497 if test "$TOOLKIT_GIVEN" = 1; then
3498 for toolkit in $ALL_TOOLKITS; do
3499 var=wxUSE_$toolkit
3500 eval "value=\$${var}"
3501 if test "x$value" = "xno"; then
3502 eval "$var=0"
3503 elif test "x$value" != "x"; then
3504 eval "$var=1"
3505 fi
3506
3507 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3508 eval "wx${toolkit}_VERSION=$value"
3509 fi
3510 done
3511 else
3512 for toolkit in $ALL_TOOLKITS; do
3513 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3514 eval "wxUSE_$toolkit=\$${var}"
3515 done
3516 fi
3517
3518 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3519 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3520 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3521
3522 case "${host}" in
3523 *-pc-os2_emx | *-pc-os2-emx )
3524 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3525 esac
3526
3527 case "$NUM_TOOLKITS" in
3528 1)
3529 ;;
3530 0)
3531 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3532 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3533 { (exit 1); exit 1; }; }
3534 ;;
3535 *)
3536 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3537 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3538 { (exit 1); exit 1; }; }
3539 esac
3540
3541 # to be removed when --disable-gtk2 isn't needed
3542 if test "x$wxUSE_GTK2" = "xyes"; then
3543 wxGTK_VERSION=2
3544 elif test "x$wxUSE_GTK2" = "xno"; then
3545 wxGTK_VERSION=1
3546 fi
3547
3548 for toolkit in $ALL_TOOLKITS; do
3549 var=wxUSE_$toolkit
3550 eval "value=\$${var}"
3551 if test "$value" = 1; then
3552 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3553 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3554 echo "${ECHO_T}$toolkit_echo" >&6; }
3555 fi
3556 done
3557 else
3558 if test "x$host_alias" != "x"; then
3559 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3560 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3561 else
3562 { echo "$as_me:$LINENO: result: base only" >&5
3563 echo "${ECHO_T}base only" >&6; }
3564 fi
3565 fi
3566
3567 wxUSE_MAC=0
3568 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3569 wxUSE_MAC=1
3570 fi
3571
3572
3573
3574 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3575 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3576
3577 # Check whether --with-libpng was given.
3578 if test "${with_libpng+set}" = set; then
3579 withval=$with_libpng;
3580 if test "$withval" = yes; then
3581 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3582 elif test "$withval" = no; then
3583 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3584 elif test "$withval" = sys; then
3585 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3586 elif test "$withval" = builtin; then
3587 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3588 else
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3592 fi
3593
3594 else
3595
3596 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3597
3598 fi
3599
3600
3601 eval "$wx_cv_use_libpng"
3602
3603 if test "$wxUSE_LIBPNG" = yes; then
3604 { echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6; }
3606 elif test "$wxUSE_LIBPNG" = no; then
3607 { echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6; }
3609 elif test "$wxUSE_LIBPNG" = sys; then
3610 { echo "$as_me:$LINENO: result: system version" >&5
3611 echo "${ECHO_T}system version" >&6; }
3612 elif test "$wxUSE_LIBPNG" = builtin; then
3613 { echo "$as_me:$LINENO: result: builtin version" >&5
3614 echo "${ECHO_T}builtin version" >&6; }
3615 else
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3619 fi
3620
3621
3622 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3623 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3624
3625 # Check whether --with-libjpeg was given.
3626 if test "${with_libjpeg+set}" = set; then
3627 withval=$with_libjpeg;
3628 if test "$withval" = yes; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3630 elif test "$withval" = no; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3632 elif test "$withval" = sys; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3634 elif test "$withval" = builtin; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3636 else
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3640 fi
3641
3642 else
3643
3644 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3645
3646 fi
3647
3648
3649 eval "$wx_cv_use_libjpeg"
3650
3651 if test "$wxUSE_LIBJPEG" = yes; then
3652 { echo "$as_me:$LINENO: result: yes" >&5
3653 echo "${ECHO_T}yes" >&6; }
3654 elif test "$wxUSE_LIBJPEG" = no; then
3655 { echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6; }
3657 elif test "$wxUSE_LIBJPEG" = sys; then
3658 { echo "$as_me:$LINENO: result: system version" >&5
3659 echo "${ECHO_T}system version" >&6; }
3660 elif test "$wxUSE_LIBJPEG" = builtin; then
3661 { echo "$as_me:$LINENO: result: builtin version" >&5
3662 echo "${ECHO_T}builtin version" >&6; }
3663 else
3664 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3665 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3666 { (exit 1); exit 1; }; }
3667 fi
3668
3669
3670 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3671 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3672
3673 # Check whether --with-libtiff was given.
3674 if test "${with_libtiff+set}" = set; then
3675 withval=$with_libtiff;
3676 if test "$withval" = yes; then
3677 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3678 elif test "$withval" = no; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3680 elif test "$withval" = sys; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3682 elif test "$withval" = builtin; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3684 else
3685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3686 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3688 fi
3689
3690 else
3691
3692 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3693
3694 fi
3695
3696
3697 eval "$wx_cv_use_libtiff"
3698
3699 if test "$wxUSE_LIBTIFF" = yes; then
3700 { echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6; }
3702 elif test "$wxUSE_LIBTIFF" = no; then
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3705 elif test "$wxUSE_LIBTIFF" = sys; then
3706 { echo "$as_me:$LINENO: result: system version" >&5
3707 echo "${ECHO_T}system version" >&6; }
3708 elif test "$wxUSE_LIBTIFF" = builtin; then
3709 { echo "$as_me:$LINENO: result: builtin version" >&5
3710 echo "${ECHO_T}builtin version" >&6; }
3711 else
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3715 fi
3716
3717
3718 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3719 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3720
3721 # Check whether --with-libxpm was given.
3722 if test "${with_libxpm+set}" = set; then
3723 withval=$with_libxpm;
3724 if test "$withval" = yes; then
3725 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3726 elif test "$withval" = no; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3728 elif test "$withval" = sys; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3730 elif test "$withval" = builtin; then
3731 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3732 else
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3736 fi
3737
3738 else
3739
3740 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3741
3742 fi
3743
3744
3745 eval "$wx_cv_use_libxpm"
3746
3747 if test "$wxUSE_LIBXPM" = yes; then
3748 { echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6; }
3750 elif test "$wxUSE_LIBXPM" = no; then
3751 { echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6; }
3753 elif test "$wxUSE_LIBXPM" = sys; then
3754 { echo "$as_me:$LINENO: result: system version" >&5
3755 echo "${ECHO_T}system version" >&6; }
3756 elif test "$wxUSE_LIBXPM" = builtin; then
3757 { echo "$as_me:$LINENO: result: builtin version" >&5
3758 echo "${ECHO_T}builtin version" >&6; }
3759 else
3760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3761 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3762 { (exit 1); exit 1; }; }
3763 fi
3764
3765
3766 withstring=
3767 defaultval=$wxUSE_ALL_FEATURES
3768 if test -z "$defaultval"; then
3769 if test x"$withstring" = xwithout; then
3770 defaultval=yes
3771 else
3772 defaultval=no
3773 fi
3774 fi
3775 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3776 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3777
3778 # Check whether --with-libiconv was given.
3779 if test "${with_libiconv+set}" = set; then
3780 withval=$with_libiconv;
3781 if test "$withval" = yes; then
3782 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3783 else
3784 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3785 fi
3786
3787 else
3788
3789 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3790
3791 fi
3792
3793
3794 eval "$wx_cv_use_libiconv"
3795
3796 if test x"$withstring" = xwithout; then
3797 if test $wxUSE_LIBICONV = yes; then
3798 result=no
3799 else
3800 result=yes
3801 fi
3802 else
3803 result=$wxUSE_LIBICONV
3804 fi
3805
3806 { echo "$as_me:$LINENO: result: $result" >&5
3807 echo "${ECHO_T}$result" >&6; }
3808
3809
3810 withstring=
3811 defaultval=$wxUSE_ALL_FEATURES
3812 if test -z "$defaultval"; then
3813 if test x"$withstring" = xwithout; then
3814 defaultval=yes
3815 else
3816 defaultval=no
3817 fi
3818 fi
3819 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3820 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3821
3822 # Check whether --with-libmspack was given.
3823 if test "${with_libmspack+set}" = set; then
3824 withval=$with_libmspack;
3825 if test "$withval" = yes; then
3826 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3827 else
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3829 fi
3830
3831 else
3832
3833 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3834
3835 fi
3836
3837
3838 eval "$wx_cv_use_libmspack"
3839
3840 if test x"$withstring" = xwithout; then
3841 if test $wxUSE_LIBMSPACK = yes; then
3842 result=no
3843 else
3844 result=yes
3845 fi
3846 else
3847 result=$wxUSE_LIBMSPACK
3848 fi
3849
3850 { echo "$as_me:$LINENO: result: $result" >&5
3851 echo "${ECHO_T}$result" >&6; }
3852
3853
3854 withstring=without
3855 defaultval=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x"$withstring" = xwithout; then
3858 defaultval=yes
3859 else
3860 defaultval=no
3861 fi
3862 fi
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3865
3866 # Check whether --with-gtkprint was given.
3867 if test "${with_gtkprint+set}" = set; then
3868 withval=$with_gtkprint;
3869 if test "$withval" = yes; then
3870 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3871 else
3872 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3873 fi
3874
3875 else
3876
3877 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3878
3879 fi
3880
3881
3882 eval "$wx_cv_use_gtkprint"
3883
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_GTKPRINT = yes; then
3886 result=no
3887 else
3888 result=yes
3889 fi
3890 else
3891 result=$wxUSE_GTKPRINT
3892 fi
3893
3894 { echo "$as_me:$LINENO: result: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3896
3897
3898 withstring=without
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3902 defaultval=yes
3903 else
3904 defaultval=no
3905 fi
3906 fi
3907 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3908 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3909
3910 # Check whether --with-gnomeprint was given.
3911 if test "${with_gnomeprint+set}" = set; then
3912 withval=$with_gnomeprint;
3913 if test "$withval" = yes; then
3914 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3915 else
3916 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3917 fi
3918
3919 else
3920
3921 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3922
3923 fi
3924
3925
3926 eval "$wx_cv_use_gnomeprint"
3927
3928 if test x"$withstring" = xwithout; then
3929 if test $wxUSE_LIBGNOMEPRINT = yes; then
3930 result=no
3931 else
3932 result=yes
3933 fi
3934 else
3935 result=$wxUSE_LIBGNOMEPRINT
3936 fi
3937
3938 { echo "$as_me:$LINENO: result: $result" >&5
3939 echo "${ECHO_T}$result" >&6; }
3940
3941
3942 withstring=
3943 defaultval=$wxUSE_ALL_FEATURES
3944 if test -z "$defaultval"; then
3945 if test x"$withstring" = xwithout; then
3946 defaultval=yes
3947 else
3948 defaultval=no
3949 fi
3950 fi
3951 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3952 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3953
3954 # Check whether --with-gnomevfs was given.
3955 if test "${with_gnomevfs+set}" = set; then
3956 withval=$with_gnomevfs;
3957 if test "$withval" = yes; then
3958 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3959 else
3960 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3961 fi
3962
3963 else
3964
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3966
3967 fi
3968
3969
3970 eval "$wx_cv_use_gnomevfs"
3971
3972 if test x"$withstring" = xwithout; then
3973 if test $wxUSE_LIBGNOMEVFS = yes; then
3974 result=no
3975 else
3976 result=yes
3977 fi
3978 else
3979 result=$wxUSE_LIBGNOMEVFS
3980 fi
3981
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3984
3985
3986 withstring=
3987 defaultval=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x"$withstring" = xwithout; then
3990 defaultval=yes
3991 else
3992 defaultval=no
3993 fi
3994 fi
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3997
3998 # Check whether --with-hildon was given.
3999 if test "${with_hildon+set}" = set; then
4000 withval=$with_hildon;
4001 if test "$withval" = yes; then
4002 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4003 else
4004 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4005 fi
4006
4007 else
4008
4009 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4010
4011 fi
4012
4013
4014 eval "$wx_cv_use_hildon"
4015
4016 if test x"$withstring" = xwithout; then
4017 if test $wxUSE_LIBHILDON = yes; then
4018 result=no
4019 else
4020 result=yes
4021 fi
4022 else
4023 result=$wxUSE_LIBHILDON
4024 fi
4025
4026 { echo "$as_me:$LINENO: result: $result" >&5
4027 echo "${ECHO_T}$result" >&6; }
4028
4029
4030 withstring=
4031 defaultval=$wxUSE_ALL_FEATURES
4032 if test -z "$defaultval"; then
4033 if test x"$withstring" = xwithout; then
4034 defaultval=yes
4035 else
4036 defaultval=no
4037 fi
4038 fi
4039 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4040 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4041
4042 # Check whether --with-opengl was given.
4043 if test "${with_opengl+set}" = set; then
4044 withval=$with_opengl;
4045 if test "$withval" = yes; then
4046 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4047 else
4048 wx_cv_use_opengl='wxUSE_OPENGL=no'
4049 fi
4050
4051 else
4052
4053 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4054
4055 fi
4056
4057
4058 eval "$wx_cv_use_opengl"
4059
4060 if test x"$withstring" = xwithout; then
4061 if test $wxUSE_OPENGL = yes; then
4062 result=no
4063 else
4064 result=yes
4065 fi
4066 else
4067 result=$wxUSE_OPENGL
4068 fi
4069
4070 { echo "$as_me:$LINENO: result: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4072
4073
4074 fi
4075
4076
4077 withstring=
4078 defaultval=$wxUSE_ALL_FEATURES
4079 if test -z "$defaultval"; then
4080 if test x"$withstring" = xwithout; then
4081 defaultval=yes
4082 else
4083 defaultval=no
4084 fi
4085 fi
4086 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4087 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4088
4089 # Check whether --with-dmalloc was given.
4090 if test "${with_dmalloc+set}" = set; then
4091 withval=$with_dmalloc;
4092 if test "$withval" = yes; then
4093 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4094 else
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4096 fi
4097
4098 else
4099
4100 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4101
4102 fi
4103
4104
4105 eval "$wx_cv_use_dmalloc"
4106
4107 if test x"$withstring" = xwithout; then
4108 if test $wxUSE_DMALLOC = yes; then
4109 result=no
4110 else
4111 result=yes
4112 fi
4113 else
4114 result=$wxUSE_DMALLOC
4115 fi
4116
4117 { echo "$as_me:$LINENO: result: $result" >&5
4118 echo "${ECHO_T}$result" >&6; }
4119
4120
4121 withstring=
4122 defaultval=$wxUSE_ALL_FEATURES
4123 if test -z "$defaultval"; then
4124 if test x"$withstring" = xwithout; then
4125 defaultval=yes
4126 else
4127 defaultval=no
4128 fi
4129 fi
4130 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4131 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4132
4133 # Check whether --with-sdl was given.
4134 if test "${with_sdl+set}" = set; then
4135 withval=$with_sdl;
4136 if test "$withval" = yes; then
4137 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4138 else
4139 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4140 fi
4141
4142 else
4143
4144 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4145
4146 fi
4147
4148
4149 eval "$wx_cv_use_sdl"
4150
4151 if test x"$withstring" = xwithout; then
4152 if test $wxUSE_LIBSDL = yes; then
4153 result=no
4154 else
4155 result=yes
4156 fi
4157 else
4158 result=$wxUSE_LIBSDL
4159 fi
4160
4161 { echo "$as_me:$LINENO: result: $result" >&5
4162 echo "${ECHO_T}$result" >&6; }
4163
4164
4165 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4166 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4167
4168 # Check whether --with-regex was given.
4169 if test "${with_regex+set}" = set; then
4170 withval=$with_regex;
4171 if test "$withval" = yes; then
4172 wx_cv_use_regex='wxUSE_REGEX=yes'
4173 elif test "$withval" = no; then
4174 wx_cv_use_regex='wxUSE_REGEX=no'
4175 elif test "$withval" = sys; then
4176 wx_cv_use_regex='wxUSE_REGEX=sys'
4177 elif test "$withval" = builtin; then
4178 wx_cv_use_regex='wxUSE_REGEX=builtin'
4179 else
4180 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4181 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4182 { (exit 1); exit 1; }; }
4183 fi
4184
4185 else
4186
4187 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4188
4189 fi
4190
4191
4192 eval "$wx_cv_use_regex"
4193
4194 if test "$wxUSE_REGEX" = yes; then
4195 { echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6; }
4197 elif test "$wxUSE_REGEX" = no; then
4198 { echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6; }
4200 elif test "$wxUSE_REGEX" = sys; then
4201 { echo "$as_me:$LINENO: result: system version" >&5
4202 echo "${ECHO_T}system version" >&6; }
4203 elif test "$wxUSE_REGEX" = builtin; then
4204 { echo "$as_me:$LINENO: result: builtin version" >&5
4205 echo "${ECHO_T}builtin version" >&6; }
4206 else
4207 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4208 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4209 { (exit 1); exit 1; }; }
4210 fi
4211
4212
4213 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4214 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4215
4216 # Check whether --with-zlib was given.
4217 if test "${with_zlib+set}" = set; then
4218 withval=$with_zlib;
4219 if test "$withval" = yes; then
4220 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4221 elif test "$withval" = no; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=no'
4223 elif test "$withval" = sys; then
4224 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4225 elif test "$withval" = builtin; then
4226 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4227 else
4228 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4229 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4231 fi
4232
4233 else
4234
4235 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4236
4237 fi
4238
4239
4240 eval "$wx_cv_use_zlib"
4241
4242 if test "$wxUSE_ZLIB" = yes; then
4243 { echo "$as_me:$LINENO: result: yes" >&5
4244 echo "${ECHO_T}yes" >&6; }
4245 elif test "$wxUSE_ZLIB" = no; then
4246 { echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6; }
4248 elif test "$wxUSE_ZLIB" = sys; then
4249 { echo "$as_me:$LINENO: result: system version" >&5
4250 echo "${ECHO_T}system version" >&6; }
4251 elif test "$wxUSE_ZLIB" = builtin; then
4252 { echo "$as_me:$LINENO: result: builtin version" >&5
4253 echo "${ECHO_T}builtin version" >&6; }
4254 else
4255 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4256 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4257 { (exit 1); exit 1; }; }
4258 fi
4259
4260
4261 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4262 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4263
4264 # Check whether --with-expat was given.
4265 if test "${with_expat+set}" = set; then
4266 withval=$with_expat;
4267 if test "$withval" = yes; then
4268 wx_cv_use_expat='wxUSE_EXPAT=yes'
4269 elif test "$withval" = no; then
4270 wx_cv_use_expat='wxUSE_EXPAT=no'
4271 elif test "$withval" = sys; then
4272 wx_cv_use_expat='wxUSE_EXPAT=sys'
4273 elif test "$withval" = builtin; then
4274 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4275 else
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4279 fi
4280
4281 else
4282
4283 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4284
4285 fi
4286
4287
4288 eval "$wx_cv_use_expat"
4289
4290 if test "$wxUSE_EXPAT" = yes; then
4291 { echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6; }
4293 elif test "$wxUSE_EXPAT" = no; then
4294 { echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6; }
4296 elif test "$wxUSE_EXPAT" = sys; then
4297 { echo "$as_me:$LINENO: result: system version" >&5
4298 echo "${ECHO_T}system version" >&6; }
4299 elif test "$wxUSE_EXPAT" = builtin; then
4300 { echo "$as_me:$LINENO: result: builtin version" >&5
4301 echo "${ECHO_T}builtin version" >&6; }
4302 else
4303 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4304 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4305 { (exit 1); exit 1; }; }
4306 fi
4307
4308
4309 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4310 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4311
4312 # Check whether --with-macosx-sdk was given.
4313 if test "${with_macosx_sdk+set}" = set; then
4314 withval=$with_macosx_sdk;
4315 wxUSE_MACOSX_SDK=$withval
4316 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4317
4318 fi
4319
4320 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4321 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4322
4323 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4324 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4325
4326 # Check whether --with-macosx-version-min was given.
4327 if test "${with_macosx_version_min+set}" = set; then
4328 withval=$with_macosx_version_min;
4329 wxUSE_MACOSX_VERSION_MIN=$withval
4330 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4331
4332 fi
4333
4334 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4335 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4336
4337
4338 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4339 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4340 # Check whether --enable-debug was given.
4341 if test "${enable_debug+set}" = set; then
4342 enableval=$enable_debug;
4343 if test "$enableval" = yes; then
4344 wxUSE_DEBUG=yes
4345 elif test "$enableval" = no; then
4346 wxUSE_DEBUG=no
4347 elif test "$enableval" = max; then
4348 wxUSE_DEBUG=yes
4349 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4350 else
4351 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4352 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4353 { (exit 1); exit 1; }; }
4354 fi
4355
4356 else
4357 wxUSE_DEBUG=default
4358
4359 fi
4360
4361
4362 case "$wxUSE_DEBUG" in
4363 yes)
4364 DEFAULT_wxUSE_DEBUG_FLAG=yes
4365 DEFAULT_wxUSE_DEBUG_INFO=yes
4366
4367 DEFAULT_wxUSE_OPTIMISE=no
4368 ;;
4369
4370 no)
4371 DEFAULT_wxUSE_DEBUG_FLAG=no
4372 DEFAULT_wxUSE_DEBUG_INFO=no
4373 ;;
4374
4375 default)
4376 DEFAULT_wxUSE_DEBUG_FLAG=yes
4377 DEFAULT_wxUSE_DEBUG_INFO=no
4378 ;;
4379 esac
4380
4381
4382 enablestring=disable
4383 defaultval=
4384 if test -z "$defaultval"; then
4385 if test x"$enablestring" = xdisable; then
4386 defaultval=yes
4387 else
4388 defaultval=no
4389 fi
4390 fi
4391
4392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4394 # Check whether --enable-debug_flag was given.
4395 if test "${enable_debug_flag+set}" = set; then
4396 enableval=$enable_debug_flag;
4397 if test "$enableval" = yes; then
4398 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4399 else
4400 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4401 fi
4402
4403 else
4404
4405 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4406
4407 fi
4408
4409
4410 eval "$wx_cv_use_debug_flag"
4411
4412 if test x"$enablestring" = xdisable; then
4413 if test $wxUSE_DEBUG_FLAG = no; then
4414 result=yes
4415 else
4416 result=no
4417 fi
4418 else
4419 result=$wxUSE_DEBUG_FLAG
4420 fi
4421
4422 { echo "$as_me:$LINENO: result: $result" >&5
4423 echo "${ECHO_T}$result" >&6; }
4424
4425
4426 enablestring=
4427 defaultval=
4428 if test -z "$defaultval"; then
4429 if test x"$enablestring" = xdisable; then
4430 defaultval=yes
4431 else
4432 defaultval=no
4433 fi
4434 fi
4435
4436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4437 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4438 # Check whether --enable-debug_info was given.
4439 if test "${enable_debug_info+set}" = set; then
4440 enableval=$enable_debug_info;
4441 if test "$enableval" = yes; then
4442 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4443 else
4444 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4445 fi
4446
4447 else
4448
4449 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4450
4451 fi
4452
4453
4454 eval "$wx_cv_use_debug_info"
4455
4456 if test x"$enablestring" = xdisable; then
4457 if test $wxUSE_DEBUG_INFO = no; then
4458 result=yes
4459 else
4460 result=no
4461 fi
4462 else
4463 result=$wxUSE_DEBUG_INFO
4464 fi
4465
4466 { echo "$as_me:$LINENO: result: $result" >&5
4467 echo "${ECHO_T}$result" >&6; }
4468
4469
4470
4471
4472 enablestring=
4473 defaultval=
4474 if test -z "$defaultval"; then
4475 if test x"$enablestring" = xdisable; then
4476 defaultval=yes
4477 else
4478 defaultval=no
4479 fi
4480 fi
4481
4482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4483 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4484 # Check whether --enable-debug_gdb was given.
4485 if test "${enable_debug_gdb+set}" = set; then
4486 enableval=$enable_debug_gdb;
4487 if test "$enableval" = yes; then
4488 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4489 else
4490 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4491 fi
4492
4493 else
4494
4495 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4496
4497 fi
4498
4499
4500 eval "$wx_cv_use_debug_gdb"
4501
4502 if test x"$enablestring" = xdisable; then
4503 if test $wxUSE_DEBUG_GDB = no; then
4504 result=yes
4505 else
4506 result=no
4507 fi
4508 else
4509 result=$wxUSE_DEBUG_GDB
4510 fi
4511
4512 { echo "$as_me:$LINENO: result: $result" >&5
4513 echo "${ECHO_T}$result" >&6; }
4514
4515
4516 enablestring=
4517 defaultval=
4518 if test -z "$defaultval"; then
4519 if test x"$enablestring" = xdisable; then
4520 defaultval=yes
4521 else
4522 defaultval=no
4523 fi
4524 fi
4525
4526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4527 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4528 # Check whether --enable-debug_cntxt was given.
4529 if test "${enable_debug_cntxt+set}" = set; then
4530 enableval=$enable_debug_cntxt;
4531 if test "$enableval" = yes; then
4532 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4533 else
4534 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4535 fi
4536
4537 else
4538
4539 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4540
4541 fi
4542
4543
4544 eval "$wx_cv_use_debug_cntxt"
4545
4546 if test x"$enablestring" = xdisable; then
4547 if test $wxUSE_DEBUG_CONTEXT = no; then
4548 result=yes
4549 else
4550 result=no
4551 fi
4552 else
4553 result=$wxUSE_DEBUG_CONTEXT
4554 fi
4555
4556 { echo "$as_me:$LINENO: result: $result" >&5
4557 echo "${ECHO_T}$result" >&6; }
4558
4559
4560 enablestring=
4561 defaultval=
4562 if test -z "$defaultval"; then
4563 if test x"$enablestring" = xdisable; then
4564 defaultval=yes
4565 else
4566 defaultval=no
4567 fi
4568 fi
4569
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4572 # Check whether --enable-mem_tracing was given.
4573 if test "${enable_mem_tracing+set}" = set; then
4574 enableval=$enable_mem_tracing;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4577 else
4578 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4579 fi
4580
4581 else
4582
4583 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4584
4585 fi
4586
4587
4588 eval "$wx_cv_use_mem_tracing"
4589
4590 if test x"$enablestring" = xdisable; then
4591 if test $wxUSE_MEM_TRACING = no; then
4592 result=yes
4593 else
4594 result=no
4595 fi
4596 else
4597 result=$wxUSE_MEM_TRACING
4598 fi
4599
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4602
4603
4604
4605
4606 enablestring=disable
4607 defaultval=
4608 if test -z "$defaultval"; then
4609 if test x"$enablestring" = xdisable; then
4610 defaultval=yes
4611 else
4612 defaultval=no
4613 fi
4614 fi
4615
4616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4617 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4618 # Check whether --enable-shared was given.
4619 if test "${enable_shared+set}" = set; then
4620 enableval=$enable_shared;
4621 if test "$enableval" = yes; then
4622 wx_cv_use_shared='wxUSE_SHARED=yes'
4623 else
4624 wx_cv_use_shared='wxUSE_SHARED=no'
4625 fi
4626
4627 else
4628
4629 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4630
4631 fi
4632
4633
4634 eval "$wx_cv_use_shared"
4635
4636 if test x"$enablestring" = xdisable; then
4637 if test $wxUSE_SHARED = no; then
4638 result=yes
4639 else
4640 result=no
4641 fi
4642 else
4643 result=$wxUSE_SHARED
4644 fi
4645
4646 { echo "$as_me:$LINENO: result: $result" >&5
4647 echo "${ECHO_T}$result" >&6; }
4648
4649
4650 enablestring=
4651 defaultval=
4652 if test -z "$defaultval"; then
4653 if test x"$enablestring" = xdisable; then
4654 defaultval=yes
4655 else
4656 defaultval=no
4657 fi
4658 fi
4659
4660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4662 # Check whether --enable-stl was given.
4663 if test "${enable_stl+set}" = set; then
4664 enableval=$enable_stl;
4665 if test "$enableval" = yes; then
4666 wx_cv_use_stl='wxUSE_STL=yes'
4667 else
4668 wx_cv_use_stl='wxUSE_STL=no'
4669 fi
4670
4671 else
4672
4673 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4674
4675 fi
4676
4677
4678 eval "$wx_cv_use_stl"
4679
4680 if test x"$enablestring" = xdisable; then
4681 if test $wxUSE_STL = no; then
4682 result=yes
4683 else
4684 result=no
4685 fi
4686 else
4687 result=$wxUSE_STL
4688 fi
4689
4690 { echo "$as_me:$LINENO: result: $result" >&5
4691 echo "${ECHO_T}$result" >&6; }
4692
4693
4694 enablestring=
4695 defaultval=
4696 if test -z "$defaultval"; then
4697 if test x"$enablestring" = xdisable; then
4698 defaultval=yes
4699 else
4700 defaultval=no
4701 fi
4702 fi
4703
4704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4705 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4706 # Check whether --enable-std_iostreams was given.
4707 if test "${enable_std_iostreams+set}" = set; then
4708 enableval=$enable_std_iostreams;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4711 else
4712 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4713 fi
4714
4715 else
4716
4717 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4718
4719 fi
4720
4721
4722 eval "$wx_cv_use_std_iostreams"
4723
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_STD_IOSTREAM = no; then
4726 result=yes
4727 else
4728 result=no
4729 fi
4730 else
4731 result=$wxUSE_STD_IOSTREAM
4732 fi
4733
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4736
4737
4738 enablestring=
4739 defaultval=
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4742 defaultval=yes
4743 else
4744 defaultval=no
4745 fi
4746 fi
4747
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4750 # Check whether --enable-std_string was given.
4751 if test "${enable_std_string+set}" = set; then
4752 enableval=$enable_std_string;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4755 else
4756 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4757 fi
4758
4759 else
4760
4761 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4762
4763 fi
4764
4765
4766 eval "$wx_cv_use_std_string"
4767
4768 if test x"$enablestring" = xdisable; then
4769 if test $wxUSE_STD_STRING = no; then
4770 result=yes
4771 else
4772 result=no
4773 fi
4774 else
4775 result=$wxUSE_STD_STRING
4776 fi
4777
4778 { echo "$as_me:$LINENO: result: $result" >&5
4779 echo "${ECHO_T}$result" >&6; }
4780
4781
4782 enablestring=disable
4783 defaultval=
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4786 defaultval=yes
4787 else
4788 defaultval=no
4789 fi
4790 fi
4791
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4794 # Check whether --enable-unicode was given.
4795 if test "${enable_unicode+set}" = set; then
4796 enableval=$enable_unicode;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4799 else
4800 wx_cv_use_unicode='wxUSE_UNICODE=no'
4801 fi
4802
4803 else
4804
4805 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4806
4807 fi
4808
4809
4810 eval "$wx_cv_use_unicode"
4811
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_UNICODE = no; then
4814 result=yes
4815 else
4816 result=no
4817 fi
4818 else
4819 result=$wxUSE_UNICODE
4820 fi
4821
4822 { echo "$as_me:$LINENO: result: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4824
4825
4826 enablestring=
4827 defaultval=
4828 if test -z "$defaultval"; then
4829 if test x"$enablestring" = xdisable; then
4830 defaultval=yes
4831 else
4832 defaultval=no
4833 fi
4834 fi
4835
4836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4837 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4838 # Check whether --enable-mslu was given.
4839 if test "${enable_mslu+set}" = set; then
4840 enableval=$enable_mslu;
4841 if test "$enableval" = yes; then
4842 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4843 else
4844 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4845 fi
4846
4847 else
4848
4849 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4850
4851 fi
4852
4853
4854 eval "$wx_cv_use_mslu"
4855
4856 if test x"$enablestring" = xdisable; then
4857 if test $wxUSE_UNICODE_MSLU = no; then
4858 result=yes
4859 else
4860 result=no
4861 fi
4862 else
4863 result=$wxUSE_UNICODE_MSLU
4864 fi
4865
4866 { echo "$as_me:$LINENO: result: $result" >&5
4867 echo "${ECHO_T}$result" >&6; }
4868
4869
4870 enablestring=
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4873 # Check whether --enable-utf8 was given.
4874 if test "${enable_utf8+set}" = set; then
4875 enableval=$enable_utf8;
4876 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4877
4878 else
4879
4880 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4881
4882 fi
4883
4884
4885 eval "$wx_cv_use_utf8"
4886
4887 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4888 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4889
4890
4891 enablestring=
4892 defaultval=
4893 if test -z "$defaultval"; then
4894 if test x"$enablestring" = xdisable; then
4895 defaultval=yes
4896 else
4897 defaultval=no
4898 fi
4899 fi
4900
4901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4903 # Check whether --enable-utf8only was given.
4904 if test "${enable_utf8only+set}" = set; then
4905 enableval=$enable_utf8only;
4906 if test "$enableval" = yes; then
4907 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4908 else
4909 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4910 fi
4911
4912 else
4913
4914 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4915
4916 fi
4917
4918
4919 eval "$wx_cv_use_utf8only"
4920
4921 if test x"$enablestring" = xdisable; then
4922 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4923 result=yes
4924 else
4925 result=no
4926 fi
4927 else
4928 result=$wxUSE_UNICODE_UTF8_LOCALE
4929 fi
4930
4931 { echo "$as_me:$LINENO: result: $result" >&5
4932 echo "${ECHO_T}$result" >&6; }
4933
4934
4935 enablestring=
4936 defaultval=
4937 if test -z "$defaultval"; then
4938 if test x"$enablestring" = xdisable; then
4939 defaultval=yes
4940 else
4941 defaultval=no
4942 fi
4943 fi
4944
4945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4947 # Check whether --enable-extended_rtti was given.
4948 if test "${enable_extended_rtti+set}" = set; then
4949 enableval=$enable_extended_rtti;
4950 if test "$enableval" = yes; then
4951 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4952 else
4953 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4954 fi
4955
4956 else
4957
4958 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4959
4960 fi
4961
4962
4963 eval "$wx_cv_use_extended_rtti"
4964
4965 if test x"$enablestring" = xdisable; then
4966 if test $wxUSE_EXTENDED_RTTI = no; then
4967 result=yes
4968 else
4969 result=no
4970 fi
4971 else
4972 result=$wxUSE_EXTENDED_RTTI
4973 fi
4974
4975 { echo "$as_me:$LINENO: result: $result" >&5
4976 echo "${ECHO_T}$result" >&6; }
4977
4978 if test "$USE_OS2" = 1; then
4979 DEFAULT_wxUSE_OMF=no
4980
4981 enablestring=
4982 defaultval=
4983 if test -z "$defaultval"; then
4984 if test x"$enablestring" = xdisable; then
4985 defaultval=yes
4986 else
4987 defaultval=no
4988 fi
4989 fi
4990
4991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4992 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4993 # Check whether --enable-omf was given.
4994 if test "${enable_omf+set}" = set; then
4995 enableval=$enable_omf;
4996 if test "$enableval" = yes; then
4997 wx_cv_use_omf='wxUSE_OMF=yes'
4998 else
4999 wx_cv_use_omf='wxUSE_OMF=no'
5000 fi
5001
5002 else
5003
5004 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5005
5006 fi
5007
5008
5009 eval "$wx_cv_use_omf"
5010
5011 if test x"$enablestring" = xdisable; then
5012 if test $wxUSE_OMF = no; then
5013 result=yes
5014 else
5015 result=no
5016 fi
5017 else
5018 result=$wxUSE_OMF
5019 fi
5020
5021 { echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5023
5024 fi
5025
5026
5027 enablestring=disable
5028 defaultval=
5029 if test -z "$defaultval"; then
5030 if test x"$enablestring" = xdisable; then
5031 defaultval=yes
5032 else
5033 defaultval=no
5034 fi
5035 fi
5036
5037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5038 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5039 # Check whether --enable-optimise was given.
5040 if test "${enable_optimise+set}" = set; then
5041 enableval=$enable_optimise;
5042 if test "$enableval" = yes; then
5043 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5044 else
5045 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5046 fi
5047
5048 else
5049
5050 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5051
5052 fi
5053
5054
5055 eval "$wx_cv_use_optimise"
5056
5057 if test x"$enablestring" = xdisable; then
5058 if test $wxUSE_OPTIMISE = no; then
5059 result=yes
5060 else
5061 result=no
5062 fi
5063 else
5064 result=$wxUSE_OPTIMISE
5065 fi
5066
5067 { echo "$as_me:$LINENO: result: $result" >&5
5068 echo "${ECHO_T}$result" >&6; }
5069
5070
5071
5072 enablestring=
5073 defaultval=
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5076 defaultval=yes
5077 else
5078 defaultval=no
5079 fi
5080 fi
5081
5082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5084 # Check whether --enable-profile was given.
5085 if test "${enable_profile+set}" = set; then
5086 enableval=$enable_profile;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_profile='wxUSE_PROFILE=yes'
5089 else
5090 wx_cv_use_profile='wxUSE_PROFILE=no'
5091 fi
5092
5093 else
5094
5095 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5096
5097 fi
5098
5099
5100 eval "$wx_cv_use_profile"
5101
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_PROFILE = no; then
5104 result=yes
5105 else
5106 result=no
5107 fi
5108 else
5109 result=$wxUSE_PROFILE
5110 fi
5111
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5114
5115
5116 enablestring=
5117 defaultval=
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5120 defaultval=yes
5121 else
5122 defaultval=no
5123 fi
5124 fi
5125
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-no_rtti was given.
5129 if test "${enable_no_rtti+set}" = set; then
5130 enableval=$enable_no_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5133 else
5134 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5135 fi
5136
5137 else
5138
5139 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5140
5141 fi
5142
5143
5144 eval "$wx_cv_use_no_rtti"
5145
5146 if test x"$enablestring" = xdisable; then
5147 if test $wxUSE_NO_RTTI = no; then
5148 result=yes
5149 else
5150 result=no
5151 fi
5152 else
5153 result=$wxUSE_NO_RTTI
5154 fi
5155
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5158
5159
5160 enablestring=
5161 defaultval=
5162 if test -z "$defaultval"; then
5163 if test x"$enablestring" = xdisable; then
5164 defaultval=yes
5165 else
5166 defaultval=no
5167 fi
5168 fi
5169
5170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5172 # Check whether --enable-no_exceptions was given.
5173 if test "${enable_no_exceptions+set}" = set; then
5174 enableval=$enable_no_exceptions;
5175 if test "$enableval" = yes; then
5176 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5177 else
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5179 fi
5180
5181 else
5182
5183 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5184
5185 fi
5186
5187
5188 eval "$wx_cv_use_no_exceptions"
5189
5190 if test x"$enablestring" = xdisable; then
5191 if test $wxUSE_NO_EXCEPTIONS = no; then
5192 result=yes
5193 else
5194 result=no
5195 fi
5196 else
5197 result=$wxUSE_NO_EXCEPTIONS
5198 fi
5199
5200 { echo "$as_me:$LINENO: result: $result" >&5
5201 echo "${ECHO_T}$result" >&6; }
5202
5203
5204 enablestring=
5205 defaultval=
5206 if test -z "$defaultval"; then
5207 if test x"$enablestring" = xdisable; then
5208 defaultval=yes
5209 else
5210 defaultval=no
5211 fi
5212 fi
5213
5214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5216 # Check whether --enable-permissive was given.
5217 if test "${enable_permissive+set}" = set; then
5218 enableval=$enable_permissive;
5219 if test "$enableval" = yes; then
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5221 else
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5223 fi
5224
5225 else
5226
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5228
5229 fi
5230
5231
5232 eval "$wx_cv_use_permissive"
5233
5234 if test x"$enablestring" = xdisable; then
5235 if test $wxUSE_PERMISSIVE = no; then
5236 result=yes
5237 else
5238 result=no
5239 fi
5240 else
5241 result=$wxUSE_PERMISSIVE
5242 fi
5243
5244 { echo "$as_me:$LINENO: result: $result" >&5
5245 echo "${ECHO_T}$result" >&6; }
5246
5247
5248 enablestring=
5249 defaultval=
5250 if test -z "$defaultval"; then
5251 if test x"$enablestring" = xdisable; then
5252 defaultval=yes
5253 else
5254 defaultval=no
5255 fi
5256 fi
5257
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5260 # Check whether --enable-no_deps was given.
5261 if test "${enable_no_deps+set}" = set; then
5262 enableval=$enable_no_deps;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5265 else
5266 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5267 fi
5268
5269 else
5270
5271 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5272
5273 fi
5274
5275
5276 eval "$wx_cv_use_no_deps"
5277
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_NO_DEPS = no; then
5280 result=yes
5281 else
5282 result=no
5283 fi
5284 else
5285 result=$wxUSE_NO_DEPS
5286 fi
5287
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5290
5291
5292 enablestring=disable
5293 defaultval=
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5296 defaultval=yes
5297 else
5298 defaultval=no
5299 fi
5300 fi
5301
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5304 # Check whether --enable-vararg_macros was given.
5305 if test "${enable_vararg_macros+set}" = set; then
5306 enableval=$enable_vararg_macros;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5309 else
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5311 fi
5312
5313 else
5314
5315 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5316
5317 fi
5318
5319
5320 eval "$wx_cv_use_vararg_macros"
5321
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_VARARG_MACROS = no; then
5324 result=yes
5325 else
5326 result=no
5327 fi
5328 else
5329 result=$wxUSE_VARARG_MACROS
5330 fi
5331
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5334
5335
5336 enablestring=
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5339 # Check whether --enable-universal_binary was given.
5340 if test "${enable_universal_binary+set}" = set; then
5341 enableval=$enable_universal_binary;
5342 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5343
5344 else
5345
5346 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5347
5348 fi
5349
5350
5351 eval "$wx_cv_use_universal_binary"
5352
5353 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5354 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5355
5356
5357
5358 enablestring=
5359 defaultval=
5360 if test -z "$defaultval"; then
5361 if test x"$enablestring" = xdisable; then
5362 defaultval=yes
5363 else
5364 defaultval=no
5365 fi
5366 fi
5367
5368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5369 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5370 # Check whether --enable-compat26 was given.
5371 if test "${enable_compat26+set}" = set; then
5372 enableval=$enable_compat26;
5373 if test "$enableval" = yes; then
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5375 else
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5377 fi
5378
5379 else
5380
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5382
5383 fi
5384
5385
5386 eval "$wx_cv_use_compat26"
5387
5388 if test x"$enablestring" = xdisable; then
5389 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5390 result=yes
5391 else
5392 result=no
5393 fi
5394 else
5395 result=$WXWIN_COMPATIBILITY_2_6
5396 fi
5397
5398 { echo "$as_me:$LINENO: result: $result" >&5
5399 echo "${ECHO_T}$result" >&6; }
5400
5401
5402 enablestring=disable
5403 defaultval=
5404 if test -z "$defaultval"; then
5405 if test x"$enablestring" = xdisable; then
5406 defaultval=yes
5407 else
5408 defaultval=no
5409 fi
5410 fi
5411
5412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5413 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5414 # Check whether --enable-compat28 was given.
5415 if test "${enable_compat28+set}" = set; then
5416 enableval=$enable_compat28;
5417 if test "$enableval" = yes; then
5418 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5419 else
5420 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5421 fi
5422
5423 else
5424
5425 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5426
5427 fi
5428
5429
5430 eval "$wx_cv_use_compat28"
5431
5432 if test x"$enablestring" = xdisable; then
5433 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5434 result=yes
5435 else
5436 result=no
5437 fi
5438 else
5439 result=$WXWIN_COMPATIBILITY_2_8
5440 fi
5441
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5444
5445
5446
5447 enablestring=disable
5448 defaultval=
5449 if test -z "$defaultval"; then
5450 if test x"$enablestring" = xdisable; then
5451 defaultval=yes
5452 else
5453 defaultval=no
5454 fi
5455 fi
5456
5457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5459 # Check whether --enable-rpath was given.
5460 if test "${enable_rpath+set}" = set; then
5461 enableval=$enable_rpath;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_rpath='wxUSE_RPATH=yes'
5464 else
5465 wx_cv_use_rpath='wxUSE_RPATH=no'
5466 fi
5467
5468 else
5469
5470 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5471
5472 fi
5473
5474
5475 eval "$wx_cv_use_rpath"
5476
5477 if test x"$enablestring" = xdisable; then
5478 if test $wxUSE_RPATH = no; then
5479 result=yes
5480 else
5481 result=no
5482 fi
5483 else
5484 result=$wxUSE_RPATH
5485 fi
5486
5487 { echo "$as_me:$LINENO: result: $result" >&5
5488 echo "${ECHO_T}$result" >&6; }
5489
5490
5491
5492 enablestring=
5493 defaultval=
5494 if test -z "$defaultval"; then
5495 if test x"$enablestring" = xdisable; then
5496 defaultval=yes
5497 else
5498 defaultval=no
5499 fi
5500 fi
5501
5502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5504 # Check whether --enable-objc_uniquifying was given.
5505 if test "${enable_objc_uniquifying+set}" = set; then
5506 enableval=$enable_objc_uniquifying;
5507 if test "$enableval" = yes; then
5508 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5509 else
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5511 fi
5512
5513 else
5514
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5516
5517 fi
5518
5519
5520 eval "$wx_cv_use_objc_uniquifying"
5521
5522 if test x"$enablestring" = xdisable; then
5523 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5524 result=yes
5525 else
5526 result=no
5527 fi
5528 else
5529 result=$wxUSE_OBJC_UNIQUIFYING
5530 fi
5531
5532 { echo "$as_me:$LINENO: result: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5534
5535
5536
5537 enablestring=disable
5538 defaultval=
5539 if test -z "$defaultval"; then
5540 if test x"$enablestring" = xdisable; then
5541 defaultval=yes
5542 else
5543 defaultval=no
5544 fi
5545 fi
5546
5547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5549 # Check whether --enable-visibility was given.
5550 if test "${enable_visibility+set}" = set; then
5551 enableval=$enable_visibility;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5554 else
5555 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5556 fi
5557
5558 else
5559
5560 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5561
5562 fi
5563
5564
5565 eval "$wx_cv_use_visibility"
5566
5567 if test x"$enablestring" = xdisable; then
5568 if test $wxUSE_VISIBILITY = no; then
5569 result=yes
5570 else
5571 result=no
5572 fi
5573 else
5574 result=$wxUSE_VISIBILITY
5575 fi
5576
5577 { echo "$as_me:$LINENO: result: $result" >&5
5578 echo "${ECHO_T}$result" >&6; }
5579
5580
5581 enablestring=disable
5582 defaultval=
5583 if test -z "$defaultval"; then
5584 if test x"$enablestring" = xdisable; then
5585 defaultval=yes
5586 else
5587 defaultval=no
5588 fi
5589 fi
5590
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5593 # Check whether --enable-tls was given.
5594 if test "${enable_tls+set}" = set; then
5595 enableval=$enable_tls;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5598 else
5599 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5600 fi
5601
5602 else
5603
5604 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5605
5606 fi
5607
5608
5609 eval "$wx_cv_use_tls"
5610
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_COMPILER_TLS = no; then
5613 result=yes
5614 else
5615 result=no
5616 fi
5617 else
5618 result=$wxUSE_COMPILER_TLS
5619 fi
5620
5621 { echo "$as_me:$LINENO: result: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5623
5624
5625
5626
5627 enablestring=
5628 defaultval=$wxUSE_ALL_FEATURES
5629 if test -z "$defaultval"; then
5630 if test x"$enablestring" = xdisable; then
5631 defaultval=yes
5632 else
5633 defaultval=no
5634 fi
5635 fi
5636
5637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5639 # Check whether --enable-intl was given.
5640 if test "${enable_intl+set}" = set; then
5641 enableval=$enable_intl;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_intl='wxUSE_INTL=yes'
5644 else
5645 wx_cv_use_intl='wxUSE_INTL=no'
5646 fi
5647
5648 else
5649
5650 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5651
5652 fi
5653
5654
5655 eval "$wx_cv_use_intl"
5656
5657 if test x"$enablestring" = xdisable; then
5658 if test $wxUSE_INTL = no; then
5659 result=yes
5660 else
5661 result=no
5662 fi
5663 else
5664 result=$wxUSE_INTL
5665 fi
5666
5667 { echo "$as_me:$LINENO: result: $result" >&5
5668 echo "${ECHO_T}$result" >&6; }
5669
5670
5671 enablestring=
5672 defaultval=$wxUSE_ALL_FEATURES
5673 if test -z "$defaultval"; then
5674 if test x"$enablestring" = xdisable; then
5675 defaultval=yes
5676 else
5677 defaultval=no
5678 fi
5679 fi
5680
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5683 # Check whether --enable-xlocale was given.
5684 if test "${enable_xlocale+set}" = set; then
5685 enableval=$enable_xlocale;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5688 else
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5690 fi
5691
5692 else
5693
5694 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5695
5696 fi
5697
5698
5699 eval "$wx_cv_use_xlocale"
5700
5701 if test x"$enablestring" = xdisable; then
5702 if test $wxUSE_XLOCALE = no; then
5703 result=yes
5704 else
5705 result=no
5706 fi
5707 else
5708 result=$wxUSE_XLOCALE
5709 fi
5710
5711 { echo "$as_me:$LINENO: result: $result" >&5
5712 echo "${ECHO_T}$result" >&6; }
5713
5714
5715 enablestring=
5716 defaultval=$wxUSE_ALL_FEATURES
5717 if test -z "$defaultval"; then
5718 if test x"$enablestring" = xdisable; then
5719 defaultval=yes
5720 else
5721 defaultval=no
5722 fi
5723 fi
5724
5725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5727 # Check whether --enable-config was given.
5728 if test "${enable_config+set}" = set; then
5729 enableval=$enable_config;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_config='wxUSE_CONFIG=yes'
5732 else
5733 wx_cv_use_config='wxUSE_CONFIG=no'
5734 fi
5735
5736 else
5737
5738 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5739
5740 fi
5741
5742
5743 eval "$wx_cv_use_config"
5744
5745 if test x"$enablestring" = xdisable; then
5746 if test $wxUSE_CONFIG = no; then
5747 result=yes
5748 else
5749 result=no
5750 fi
5751 else
5752 result=$wxUSE_CONFIG
5753 fi
5754
5755 { echo "$as_me:$LINENO: result: $result" >&5
5756 echo "${ECHO_T}$result" >&6; }
5757
5758
5759
5760 enablestring=
5761 defaultval=$wxUSE_ALL_FEATURES
5762 if test -z "$defaultval"; then
5763 if test x"$enablestring" = xdisable; then
5764 defaultval=yes
5765 else
5766 defaultval=no
5767 fi
5768 fi
5769
5770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5771 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5772 # Check whether --enable-protocols was given.
5773 if test "${enable_protocols+set}" = set; then
5774 enableval=$enable_protocols;
5775 if test "$enableval" = yes; then
5776 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5777 else
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5779 fi
5780
5781 else
5782
5783 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5784
5785 fi
5786
5787
5788 eval "$wx_cv_use_protocols"
5789
5790 if test x"$enablestring" = xdisable; then
5791 if test $wxUSE_PROTOCOL = no; then
5792 result=yes
5793 else
5794 result=no
5795 fi
5796 else
5797 result=$wxUSE_PROTOCOL
5798 fi
5799
5800 { echo "$as_me:$LINENO: result: $result" >&5
5801 echo "${ECHO_T}$result" >&6; }
5802
5803
5804 enablestring=
5805 defaultval=$wxUSE_ALL_FEATURES
5806 if test -z "$defaultval"; then
5807 if test x"$enablestring" = xdisable; then
5808 defaultval=yes
5809 else
5810 defaultval=no
5811 fi
5812 fi
5813
5814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5815 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5816 # Check whether --enable-ftp was given.
5817 if test "${enable_ftp+set}" = set; then
5818 enableval=$enable_ftp;
5819 if test "$enableval" = yes; then
5820 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5821 else
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5823 fi
5824
5825 else
5826
5827 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5828
5829 fi
5830
5831
5832 eval "$wx_cv_use_ftp"
5833
5834 if test x"$enablestring" = xdisable; then
5835 if test $wxUSE_PROTOCOL_FTP = no; then
5836 result=yes
5837 else
5838 result=no
5839 fi
5840 else
5841 result=$wxUSE_PROTOCOL_FTP
5842 fi
5843
5844 { echo "$as_me:$LINENO: result: $result" >&5
5845 echo "${ECHO_T}$result" >&6; }
5846
5847
5848 enablestring=
5849 defaultval=$wxUSE_ALL_FEATURES
5850 if test -z "$defaultval"; then
5851 if test x"$enablestring" = xdisable; then
5852 defaultval=yes
5853 else
5854 defaultval=no
5855 fi
5856 fi
5857
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5860 # Check whether --enable-http was given.
5861 if test "${enable_http+set}" = set; then
5862 enableval=$enable_http;
5863 if test "$enableval" = yes; then
5864 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5865 else
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5867 fi
5868
5869 else
5870
5871 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5872
5873 fi
5874
5875
5876 eval "$wx_cv_use_http"
5877
5878 if test x"$enablestring" = xdisable; then
5879 if test $wxUSE_PROTOCOL_HTTP = no; then
5880 result=yes
5881 else
5882 result=no
5883 fi
5884 else
5885 result=$wxUSE_PROTOCOL_HTTP
5886 fi
5887
5888 { echo "$as_me:$LINENO: result: $result" >&5
5889 echo "${ECHO_T}$result" >&6; }
5890
5891
5892 enablestring=
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5896 defaultval=yes
5897 else
5898 defaultval=no
5899 fi
5900 fi
5901
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5904 # Check whether --enable-fileproto was given.
5905 if test "${enable_fileproto+set}" = set; then
5906 enableval=$enable_fileproto;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5909 else
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5911 fi
5912
5913 else
5914
5915 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5916
5917 fi
5918
5919
5920 eval "$wx_cv_use_fileproto"
5921
5922 if test x"$enablestring" = xdisable; then
5923 if test $wxUSE_PROTOCOL_FILE = no; then
5924 result=yes
5925 else
5926 result=no
5927 fi
5928 else
5929 result=$wxUSE_PROTOCOL_FILE
5930 fi
5931
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5934
5935
5936 enablestring=
5937 defaultval=$wxUSE_ALL_FEATURES
5938 if test -z "$defaultval"; then
5939 if test x"$enablestring" = xdisable; then
5940 defaultval=yes
5941 else
5942 defaultval=no
5943 fi
5944 fi
5945
5946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5948 # Check whether --enable-sockets was given.
5949 if test "${enable_sockets+set}" = set; then
5950 enableval=$enable_sockets;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5953 else
5954 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5955 fi
5956
5957 else
5958
5959 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5960
5961 fi
5962
5963
5964 eval "$wx_cv_use_sockets"
5965
5966 if test x"$enablestring" = xdisable; then
5967 if test $wxUSE_SOCKETS = no; then
5968 result=yes
5969 else
5970 result=no
5971 fi
5972 else
5973 result=$wxUSE_SOCKETS
5974 fi
5975
5976 { echo "$as_me:$LINENO: result: $result" >&5
5977 echo "${ECHO_T}$result" >&6; }
5978
5979
5980 enablestring=
5981 defaultval=$wxUSE_ALL_FEATURES
5982 if test -z "$defaultval"; then
5983 if test x"$enablestring" = xdisable; then
5984 defaultval=yes
5985 else
5986 defaultval=no
5987 fi
5988 fi
5989
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5992 # Check whether --enable-ipv6 was given.
5993 if test "${enable_ipv6+set}" = set; then
5994 enableval=$enable_ipv6;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5997 else
5998 wx_cv_use_ipv6='wxUSE_IPV6=no'
5999 fi
6000
6001 else
6002
6003 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6004
6005 fi
6006
6007
6008 eval "$wx_cv_use_ipv6"
6009
6010 if test x"$enablestring" = xdisable; then
6011 if test $wxUSE_IPV6 = no; then
6012 result=yes
6013 else
6014 result=no
6015 fi
6016 else
6017 result=$wxUSE_IPV6
6018 fi
6019
6020 { echo "$as_me:$LINENO: result: $result" >&5
6021 echo "${ECHO_T}$result" >&6; }
6022
6023
6024 enablestring=
6025 defaultval=$wxUSE_ALL_FEATURES
6026 if test -z "$defaultval"; then
6027 if test x"$enablestring" = xdisable; then
6028 defaultval=yes
6029 else
6030 defaultval=no
6031 fi
6032 fi
6033
6034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6036 # Check whether --enable-ole was given.
6037 if test "${enable_ole+set}" = set; then
6038 enableval=$enable_ole;
6039 if test "$enableval" = yes; then
6040 wx_cv_use_ole='wxUSE_OLE=yes'
6041 else
6042 wx_cv_use_ole='wxUSE_OLE=no'
6043 fi
6044
6045 else
6046
6047 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6048
6049 fi
6050
6051
6052 eval "$wx_cv_use_ole"
6053
6054 if test x"$enablestring" = xdisable; then
6055 if test $wxUSE_OLE = no; then
6056 result=yes
6057 else
6058 result=no
6059 fi
6060 else
6061 result=$wxUSE_OLE
6062 fi
6063
6064 { echo "$as_me:$LINENO: result: $result" >&5
6065 echo "${ECHO_T}$result" >&6; }
6066
6067
6068 enablestring=
6069 defaultval=$wxUSE_ALL_FEATURES
6070 if test -z "$defaultval"; then
6071 if test x"$enablestring" = xdisable; then
6072 defaultval=yes
6073 else
6074 defaultval=no
6075 fi
6076 fi
6077
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6080 # Check whether --enable-dataobj was given.
6081 if test "${enable_dataobj+set}" = set; then
6082 enableval=$enable_dataobj;
6083 if test "$enableval" = yes; then
6084 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6085 else
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6087 fi
6088
6089 else
6090
6091 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6092
6093 fi
6094
6095
6096 eval "$wx_cv_use_dataobj"
6097
6098 if test x"$enablestring" = xdisable; then
6099 if test $wxUSE_DATAOBJ = no; then
6100 result=yes
6101 else
6102 result=no
6103 fi
6104 else
6105 result=$wxUSE_DATAOBJ
6106 fi
6107
6108 { echo "$as_me:$LINENO: result: $result" >&5
6109 echo "${ECHO_T}$result" >&6; }
6110
6111
6112
6113 enablestring=
6114 defaultval=$wxUSE_ALL_FEATURES
6115 if test -z "$defaultval"; then
6116 if test x"$enablestring" = xdisable; then
6117 defaultval=yes
6118 else
6119 defaultval=no
6120 fi
6121 fi
6122
6123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6125 # Check whether --enable-ipc was given.
6126 if test "${enable_ipc+set}" = set; then
6127 enableval=$enable_ipc;
6128 if test "$enableval" = yes; then
6129 wx_cv_use_ipc='wxUSE_IPC=yes'
6130 else
6131 wx_cv_use_ipc='wxUSE_IPC=no'
6132 fi
6133
6134 else
6135
6136 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6137
6138 fi
6139
6140
6141 eval "$wx_cv_use_ipc"
6142
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_IPC = no; then
6145 result=yes
6146 else
6147 result=no
6148 fi
6149 else
6150 result=$wxUSE_IPC
6151 fi
6152
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6155
6156
6157
6158 enablestring=
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6162 defaultval=yes
6163 else
6164 defaultval=no
6165 fi
6166 fi
6167
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6170 # Check whether --enable-baseevtloop was given.
6171 if test "${enable_baseevtloop+set}" = set; then
6172 enableval=$enable_baseevtloop;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6175 else
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6177 fi
6178
6179 else
6180
6181 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6182
6183 fi
6184
6185
6186 eval "$wx_cv_use_baseevtloop"
6187
6188 if test x"$enablestring" = xdisable; then
6189 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6190 result=yes
6191 else
6192 result=no
6193 fi
6194 else
6195 result=$wxUSE_CONSOLE_EVENTLOOP
6196 fi
6197
6198 { echo "$as_me:$LINENO: result: $result" >&5
6199 echo "${ECHO_T}$result" >&6; }
6200
6201
6202 enablestring=
6203 defaultval=$wxUSE_ALL_FEATURES
6204 if test -z "$defaultval"; then
6205 if test x"$enablestring" = xdisable; then
6206 defaultval=yes
6207 else
6208 defaultval=no
6209 fi
6210 fi
6211
6212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6214 # Check whether --enable-epollloop was given.
6215 if test "${enable_epollloop+set}" = set; then
6216 enableval=$enable_epollloop;
6217 if test "$enableval" = yes; then
6218 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6219 else
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6221 fi
6222
6223 else
6224
6225 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6226
6227 fi
6228
6229
6230 eval "$wx_cv_use_epollloop"
6231
6232 if test x"$enablestring" = xdisable; then
6233 if test $wxUSE_EPOLL_DISPATCHER = no; then
6234 result=yes
6235 else
6236 result=no
6237 fi
6238 else
6239 result=$wxUSE_EPOLL_DISPATCHER
6240 fi
6241
6242 { echo "$as_me:$LINENO: result: $result" >&5
6243 echo "${ECHO_T}$result" >&6; }
6244
6245
6246 enablestring=
6247 defaultval=$wxUSE_ALL_FEATURES
6248 if test -z "$defaultval"; then
6249 if test x"$enablestring" = xdisable; then
6250 defaultval=yes
6251 else
6252 defaultval=no
6253 fi
6254 fi
6255
6256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6258 # Check whether --enable-selectloop was given.
6259 if test "${enable_selectloop+set}" = set; then
6260 enableval=$enable_selectloop;
6261 if test "$enableval" = yes; then
6262 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6263 else
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6265 fi
6266
6267 else
6268
6269 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6270
6271 fi
6272
6273
6274 eval "$wx_cv_use_selectloop"
6275
6276 if test x"$enablestring" = xdisable; then
6277 if test $wxUSE_SELECT_DISPATCHER = no; then
6278 result=yes
6279 else
6280 result=no
6281 fi
6282 else
6283 result=$wxUSE_SELECT_DISPATCHER
6284 fi
6285
6286 { echo "$as_me:$LINENO: result: $result" >&5
6287 echo "${ECHO_T}$result" >&6; }
6288
6289
6290
6291 enablestring=
6292 defaultval=$wxUSE_ALL_FEATURES
6293 if test -z "$defaultval"; then
6294 if test x"$enablestring" = xdisable; then
6295 defaultval=yes
6296 else
6297 defaultval=no
6298 fi
6299 fi
6300
6301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6303 # Check whether --enable-any was given.
6304 if test "${enable_any+set}" = set; then
6305 enableval=$enable_any;
6306 if test "$enableval" = yes; then
6307 wx_cv_use_any='wxUSE_ANY=yes'
6308 else
6309 wx_cv_use_any='wxUSE_ANY=no'
6310 fi
6311
6312 else
6313
6314 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6315
6316 fi
6317
6318
6319 eval "$wx_cv_use_any"
6320
6321 if test x"$enablestring" = xdisable; then
6322 if test $wxUSE_ANY = no; then
6323 result=yes
6324 else
6325 result=no
6326 fi
6327 else
6328 result=$wxUSE_ANY
6329 fi
6330
6331 { echo "$as_me:$LINENO: result: $result" >&5
6332 echo "${ECHO_T}$result" >&6; }
6333
6334
6335 enablestring=
6336 defaultval=$wxUSE_ALL_FEATURES
6337 if test -z "$defaultval"; then
6338 if test x"$enablestring" = xdisable; then
6339 defaultval=yes
6340 else
6341 defaultval=no
6342 fi
6343 fi
6344
6345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6347 # Check whether --enable-apple_ieee was given.
6348 if test "${enable_apple_ieee+set}" = set; then
6349 enableval=$enable_apple_ieee;
6350 if test "$enableval" = yes; then
6351 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6352 else
6353 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6354 fi
6355
6356 else
6357
6358 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6359
6360 fi
6361
6362
6363 eval "$wx_cv_use_apple_ieee"
6364
6365 if test x"$enablestring" = xdisable; then
6366 if test $wxUSE_APPLE_IEEE = no; then
6367 result=yes
6368 else
6369 result=no
6370 fi
6371 else
6372 result=$wxUSE_APPLE_IEEE
6373 fi
6374
6375 { echo "$as_me:$LINENO: result: $result" >&5
6376 echo "${ECHO_T}$result" >&6; }
6377
6378
6379 enablestring=
6380 defaultval=$wxUSE_ALL_FEATURES
6381 if test -z "$defaultval"; then
6382 if test x"$enablestring" = xdisable; then
6383 defaultval=yes
6384 else
6385 defaultval=no
6386 fi
6387 fi
6388
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6391 # Check whether --enable-arcstream was given.
6392 if test "${enable_arcstream+set}" = set; then
6393 enableval=$enable_arcstream;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6396 else
6397 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6398 fi
6399
6400 else
6401
6402 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6403
6404 fi
6405
6406
6407 eval "$wx_cv_use_arcstream"
6408
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_ARCHIVE_STREAMS = no; then
6411 result=yes
6412 else
6413 result=no
6414 fi
6415 else
6416 result=$wxUSE_ARCHIVE_STREAMS
6417 fi
6418
6419 { echo "$as_me:$LINENO: result: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6421
6422
6423 enablestring=
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6427 defaultval=yes
6428 else
6429 defaultval=no
6430 fi
6431 fi
6432
6433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6435 # Check whether --enable-base64 was given.
6436 if test "${enable_base64+set}" = set; then
6437 enableval=$enable_base64;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_base64='wxUSE_BASE64=yes'
6440 else
6441 wx_cv_use_base64='wxUSE_BASE64=no'
6442 fi
6443
6444 else
6445
6446 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6447
6448 fi
6449
6450
6451 eval "$wx_cv_use_base64"
6452
6453 if test x"$enablestring" = xdisable; then
6454 if test $wxUSE_BASE64 = no; then
6455 result=yes
6456 else
6457 result=no
6458 fi
6459 else
6460 result=$wxUSE_BASE64
6461 fi
6462
6463 { echo "$as_me:$LINENO: result: $result" >&5
6464 echo "${ECHO_T}$result" >&6; }
6465
6466
6467 enablestring=
6468 defaultval=$wxUSE_ALL_FEATURES
6469 if test -z "$defaultval"; then
6470 if test x"$enablestring" = xdisable; then
6471 defaultval=yes
6472 else
6473 defaultval=no
6474 fi
6475 fi
6476
6477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6479 # Check whether --enable-backtrace was given.
6480 if test "${enable_backtrace+set}" = set; then
6481 enableval=$enable_backtrace;
6482 if test "$enableval" = yes; then
6483 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6484 else
6485 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6486 fi
6487
6488 else
6489
6490 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6491
6492 fi
6493
6494
6495 eval "$wx_cv_use_backtrace"
6496
6497 if test x"$enablestring" = xdisable; then
6498 if test $wxUSE_STACKWALKER = no; then
6499 result=yes
6500 else
6501 result=no
6502 fi
6503 else
6504 result=$wxUSE_STACKWALKER
6505 fi
6506
6507 { echo "$as_me:$LINENO: result: $result" >&5
6508 echo "${ECHO_T}$result" >&6; }
6509
6510
6511 enablestring=
6512 defaultval=$wxUSE_ALL_FEATURES
6513 if test -z "$defaultval"; then
6514 if test x"$enablestring" = xdisable; then
6515 defaultval=yes
6516 else
6517 defaultval=no
6518 fi
6519 fi
6520
6521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6523 # Check whether --enable-catch_segvs was given.
6524 if test "${enable_catch_segvs+set}" = set; then
6525 enableval=$enable_catch_segvs;
6526 if test "$enableval" = yes; then
6527 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6528 else
6529 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6530 fi
6531
6532 else
6533
6534 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6535
6536 fi
6537
6538
6539 eval "$wx_cv_use_catch_segvs"
6540
6541 if test x"$enablestring" = xdisable; then
6542 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6543 result=yes
6544 else
6545 result=no
6546 fi
6547 else
6548 result=$wxUSE_ON_FATAL_EXCEPTION
6549 fi
6550
6551 { echo "$as_me:$LINENO: result: $result" >&5
6552 echo "${ECHO_T}$result" >&6; }
6553
6554
6555 enablestring=
6556 defaultval=$wxUSE_ALL_FEATURES
6557 if test -z "$defaultval"; then
6558 if test x"$enablestring" = xdisable; then
6559 defaultval=yes
6560 else
6561 defaultval=no
6562 fi
6563 fi
6564
6565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6567 # Check whether --enable-cmdline was given.
6568 if test "${enable_cmdline+set}" = set; then
6569 enableval=$enable_cmdline;
6570 if test "$enableval" = yes; then
6571 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6572 else
6573 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6574 fi
6575
6576 else
6577
6578 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6579
6580 fi
6581
6582
6583 eval "$wx_cv_use_cmdline"
6584
6585 if test x"$enablestring" = xdisable; then
6586 if test $wxUSE_CMDLINE_PARSER = no; then
6587 result=yes
6588 else
6589 result=no
6590 fi
6591 else
6592 result=$wxUSE_CMDLINE_PARSER
6593 fi
6594
6595 { echo "$as_me:$LINENO: result: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6597
6598
6599 enablestring=
6600 defaultval=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x"$enablestring" = xdisable; then
6603 defaultval=yes
6604 else
6605 defaultval=no
6606 fi
6607 fi
6608
6609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6611 # Check whether --enable-datetime was given.
6612 if test "${enable_datetime+set}" = set; then
6613 enableval=$enable_datetime;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6616 else
6617 wx_cv_use_datetime='wxUSE_DATETIME=no'
6618 fi
6619
6620 else
6621
6622 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6623
6624 fi
6625
6626
6627 eval "$wx_cv_use_datetime"
6628
6629 if test x"$enablestring" = xdisable; then
6630 if test $wxUSE_DATETIME = no; then
6631 result=yes
6632 else
6633 result=no
6634 fi
6635 else
6636 result=$wxUSE_DATETIME
6637 fi
6638
6639 { echo "$as_me:$LINENO: result: $result" >&5
6640 echo "${ECHO_T}$result" >&6; }
6641
6642
6643 enablestring=
6644 defaultval=$wxUSE_ALL_FEATURES
6645 if test -z "$defaultval"; then
6646 if test x"$enablestring" = xdisable; then
6647 defaultval=yes
6648 else
6649 defaultval=no
6650 fi
6651 fi
6652
6653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6655 # Check whether --enable-debugreport was given.
6656 if test "${enable_debugreport+set}" = set; then
6657 enableval=$enable_debugreport;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6660 else
6661 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6662 fi
6663
6664 else
6665
6666 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6667
6668 fi
6669
6670
6671 eval "$wx_cv_use_debugreport"
6672
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_DEBUGREPORT = no; then
6675 result=yes
6676 else
6677 result=no
6678 fi
6679 else
6680 result=$wxUSE_DEBUGREPORT
6681 fi
6682
6683 { echo "$as_me:$LINENO: result: $result" >&5
6684 echo "${ECHO_T}$result" >&6; }
6685
6686
6687 enablestring=
6688 defaultval=$wxUSE_ALL_FEATURES
6689 if test -z "$defaultval"; then
6690 if test x"$enablestring" = xdisable; then
6691 defaultval=yes
6692 else
6693 defaultval=no
6694 fi
6695 fi
6696
6697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6698 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6699 # Check whether --enable-dialupman was given.
6700 if test "${enable_dialupman+set}" = set; then
6701 enableval=$enable_dialupman;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6704 else
6705 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6706 fi
6707
6708 else
6709
6710 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6711
6712 fi
6713
6714
6715 eval "$wx_cv_use_dialupman"
6716
6717 if test x"$enablestring" = xdisable; then
6718 if test $wxUSE_DIALUP_MANAGER = no; then
6719 result=yes
6720 else
6721 result=no
6722 fi
6723 else
6724 result=$wxUSE_DIALUP_MANAGER
6725 fi
6726
6727 { echo "$as_me:$LINENO: result: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6729
6730
6731 enablestring=
6732 defaultval=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x"$enablestring" = xdisable; then
6735 defaultval=yes
6736 else
6737 defaultval=no
6738 fi
6739 fi
6740
6741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6743 # Check whether --enable-dynlib was given.
6744 if test "${enable_dynlib+set}" = set; then
6745 enableval=$enable_dynlib;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6748 else
6749 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6750 fi
6751
6752 else
6753
6754 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6755
6756 fi
6757
6758
6759 eval "$wx_cv_use_dynlib"
6760
6761 if test x"$enablestring" = xdisable; then
6762 if test $wxUSE_DYNLIB_CLASS = no; then
6763 result=yes
6764 else
6765 result=no
6766 fi
6767 else
6768 result=$wxUSE_DYNLIB_CLASS
6769 fi
6770
6771 { echo "$as_me:$LINENO: result: $result" >&5
6772 echo "${ECHO_T}$result" >&6; }
6773
6774
6775 enablestring=
6776 defaultval=$wxUSE_ALL_FEATURES
6777 if test -z "$defaultval"; then
6778 if test x"$enablestring" = xdisable; then
6779 defaultval=yes
6780 else
6781 defaultval=no
6782 fi
6783 fi
6784
6785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6787 # Check whether --enable-dynamicloader was given.
6788 if test "${enable_dynamicloader+set}" = set; then
6789 enableval=$enable_dynamicloader;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6792 else
6793 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6794 fi
6795
6796 else
6797
6798 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6799
6800 fi
6801
6802
6803 eval "$wx_cv_use_dynamicloader"
6804
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_DYNAMIC_LOADER = no; then
6807 result=yes
6808 else
6809 result=no
6810 fi
6811 else
6812 result=$wxUSE_DYNAMIC_LOADER
6813 fi
6814
6815 { echo "$as_me:$LINENO: result: $result" >&5
6816 echo "${ECHO_T}$result" >&6; }
6817
6818
6819 enablestring=
6820 defaultval=$wxUSE_ALL_FEATURES
6821 if test -z "$defaultval"; then
6822 if test x"$enablestring" = xdisable; then
6823 defaultval=yes
6824 else
6825 defaultval=no
6826 fi
6827 fi
6828
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6831 # Check whether --enable-exceptions was given.
6832 if test "${enable_exceptions+set}" = set; then
6833 enableval=$enable_exceptions;
6834 if test "$enableval" = yes; then
6835 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6836 else
6837 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6838 fi
6839
6840 else
6841
6842 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6843
6844 fi
6845
6846
6847 eval "$wx_cv_use_exceptions"
6848
6849 if test x"$enablestring" = xdisable; then
6850 if test $wxUSE_EXCEPTIONS = no; then
6851 result=yes
6852 else
6853 result=no
6854 fi
6855 else
6856 result=$wxUSE_EXCEPTIONS
6857 fi
6858
6859 { echo "$as_me:$LINENO: result: $result" >&5
6860 echo "${ECHO_T}$result" >&6; }
6861
6862
6863 enablestring=
6864 defaultval=$wxUSE_ALL_FEATURES
6865 if test -z "$defaultval"; then
6866 if test x"$enablestring" = xdisable; then
6867 defaultval=yes
6868 else
6869 defaultval=no
6870 fi
6871 fi
6872
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6875 # Check whether --enable-ffile was given.
6876 if test "${enable_ffile+set}" = set; then
6877 enableval=$enable_ffile;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_ffile='wxUSE_FFILE=yes'
6880 else
6881 wx_cv_use_ffile='wxUSE_FFILE=no'
6882 fi
6883
6884 else
6885
6886 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6887
6888 fi
6889
6890
6891 eval "$wx_cv_use_ffile"
6892
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_FFILE = no; then
6895 result=yes
6896 else
6897 result=no
6898 fi
6899 else
6900 result=$wxUSE_FFILE
6901 fi
6902
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6905
6906
6907 enablestring=
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6911 defaultval=yes
6912 else
6913 defaultval=no
6914 fi
6915 fi
6916
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6919 # Check whether --enable-file was given.
6920 if test "${enable_file+set}" = set; then
6921 enableval=$enable_file;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_file='wxUSE_FILE=yes'
6924 else
6925 wx_cv_use_file='wxUSE_FILE=no'
6926 fi
6927
6928 else
6929
6930 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6931
6932 fi
6933
6934
6935 eval "$wx_cv_use_file"
6936
6937 if test x"$enablestring" = xdisable; then
6938 if test $wxUSE_FILE = no; then
6939 result=yes
6940 else
6941 result=no
6942 fi
6943 else
6944 result=$wxUSE_FILE
6945 fi
6946
6947 { echo "$as_me:$LINENO: result: $result" >&5
6948 echo "${ECHO_T}$result" >&6; }
6949
6950
6951 enablestring=
6952 defaultval=$wxUSE_ALL_FEATURES
6953 if test -z "$defaultval"; then
6954 if test x"$enablestring" = xdisable; then
6955 defaultval=yes
6956 else
6957 defaultval=no
6958 fi
6959 fi
6960
6961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6963 # Check whether --enable-filesystem was given.
6964 if test "${enable_filesystem+set}" = set; then
6965 enableval=$enable_filesystem;
6966 if test "$enableval" = yes; then
6967 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6968 else
6969 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6970 fi
6971
6972 else
6973
6974 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6975
6976 fi
6977
6978
6979 eval "$wx_cv_use_filesystem"
6980
6981 if test x"$enablestring" = xdisable; then
6982 if test $wxUSE_FILESYSTEM = no; then
6983 result=yes
6984 else
6985 result=no
6986 fi
6987 else
6988 result=$wxUSE_FILESYSTEM
6989 fi
6990
6991 { echo "$as_me:$LINENO: result: $result" >&5
6992 echo "${ECHO_T}$result" >&6; }
6993
6994
6995 enablestring=
6996 defaultval=$wxUSE_ALL_FEATURES
6997 if test -z "$defaultval"; then
6998 if test x"$enablestring" = xdisable; then
6999 defaultval=yes
7000 else
7001 defaultval=no
7002 fi
7003 fi
7004
7005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7007 # Check whether --enable-fontenum was given.
7008 if test "${enable_fontenum+set}" = set; then
7009 enableval=$enable_fontenum;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7012 else
7013 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7014 fi
7015
7016 else
7017
7018 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7019
7020 fi
7021
7022
7023 eval "$wx_cv_use_fontenum"
7024
7025 if test x"$enablestring" = xdisable; then
7026 if test $wxUSE_FONTENUM = no; then
7027 result=yes
7028 else
7029 result=no
7030 fi
7031 else
7032 result=$wxUSE_FONTENUM
7033 fi
7034
7035 { echo "$as_me:$LINENO: result: $result" >&5
7036 echo "${ECHO_T}$result" >&6; }
7037
7038
7039 enablestring=
7040 defaultval=$wxUSE_ALL_FEATURES
7041 if test -z "$defaultval"; then
7042 if test x"$enablestring" = xdisable; then
7043 defaultval=yes
7044 else
7045 defaultval=no
7046 fi
7047 fi
7048
7049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7051 # Check whether --enable-fontmap was given.
7052 if test "${enable_fontmap+set}" = set; then
7053 enableval=$enable_fontmap;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7056 else
7057 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7058 fi
7059
7060 else
7061
7062 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7063
7064 fi
7065
7066
7067 eval "$wx_cv_use_fontmap"
7068
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_FONTMAP = no; then
7071 result=yes
7072 else
7073 result=no
7074 fi
7075 else
7076 result=$wxUSE_FONTMAP
7077 fi
7078
7079 { echo "$as_me:$LINENO: result: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7081
7082
7083 enablestring=
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7087 defaultval=yes
7088 else
7089 defaultval=no
7090 fi
7091 fi
7092
7093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7095 # Check whether --enable-fs_archive was given.
7096 if test "${enable_fs_archive+set}" = set; then
7097 enableval=$enable_fs_archive;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7100 else
7101 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7102 fi
7103
7104 else
7105
7106 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7107
7108 fi
7109
7110
7111 eval "$wx_cv_use_fs_archive"
7112
7113 if test x"$enablestring" = xdisable; then
7114 if test $wxUSE_FS_ARCHIVE = no; then
7115 result=yes
7116 else
7117 result=no
7118 fi
7119 else
7120 result=$wxUSE_FS_ARCHIVE
7121 fi
7122
7123 { echo "$as_me:$LINENO: result: $result" >&5
7124 echo "${ECHO_T}$result" >&6; }
7125
7126
7127 enablestring=
7128 defaultval=$wxUSE_ALL_FEATURES
7129 if test -z "$defaultval"; then
7130 if test x"$enablestring" = xdisable; then
7131 defaultval=yes
7132 else
7133 defaultval=no
7134 fi
7135 fi
7136
7137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7139 # Check whether --enable-fs_inet was given.
7140 if test "${enable_fs_inet+set}" = set; then
7141 enableval=$enable_fs_inet;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7144 else
7145 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7146 fi
7147
7148 else
7149
7150 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7151
7152 fi
7153
7154
7155 eval "$wx_cv_use_fs_inet"
7156
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_FS_INET = no; then
7159 result=yes
7160 else
7161 result=no
7162 fi
7163 else
7164 result=$wxUSE_FS_INET
7165 fi
7166
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7169
7170
7171 enablestring=
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7175 defaultval=yes
7176 else
7177 defaultval=no
7178 fi
7179 fi
7180
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7183 # Check whether --enable-fs_zip was given.
7184 if test "${enable_fs_zip+set}" = set; then
7185 enableval=$enable_fs_zip;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7188 else
7189 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7190 fi
7191
7192 else
7193
7194 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7195
7196 fi
7197
7198
7199 eval "$wx_cv_use_fs_zip"
7200
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_FS_ZIP = no; then
7203 result=yes
7204 else
7205 result=no
7206 fi
7207 else
7208 result=$wxUSE_FS_ZIP
7209 fi
7210
7211 { echo "$as_me:$LINENO: result: $result" >&5
7212 echo "${ECHO_T}$result" >&6; }
7213
7214
7215 enablestring=
7216 defaultval=$wxUSE_ALL_FEATURES
7217 if test -z "$defaultval"; then
7218 if test x"$enablestring" = xdisable; then
7219 defaultval=yes
7220 else
7221 defaultval=no
7222 fi
7223 fi
7224
7225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7227 # Check whether --enable-fswatcher was given.
7228 if test "${enable_fswatcher+set}" = set; then
7229 enableval=$enable_fswatcher;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7232 else
7233 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7234 fi
7235
7236 else
7237
7238 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7239
7240 fi
7241
7242
7243 eval "$wx_cv_use_fswatcher"
7244
7245 if test x"$enablestring" = xdisable; then
7246 if test $wxUSE_FSWATCHER = no; then
7247 result=yes
7248 else
7249 result=no
7250 fi
7251 else
7252 result=$wxUSE_FSWATCHER
7253 fi
7254
7255 { echo "$as_me:$LINENO: result: $result" >&5
7256 echo "${ECHO_T}$result" >&6; }
7257
7258
7259 enablestring=
7260 defaultval=$wxUSE_ALL_FEATURES
7261 if test -z "$defaultval"; then
7262 if test x"$enablestring" = xdisable; then
7263 defaultval=yes
7264 else
7265 defaultval=no
7266 fi
7267 fi
7268
7269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7271 # Check whether --enable-geometry was given.
7272 if test "${enable_geometry+set}" = set; then
7273 enableval=$enable_geometry;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7276 else
7277 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7278 fi
7279
7280 else
7281
7282 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7283
7284 fi
7285
7286
7287 eval "$wx_cv_use_geometry"
7288
7289 if test x"$enablestring" = xdisable; then
7290 if test $wxUSE_GEOMETRY = no; then
7291 result=yes
7292 else
7293 result=no
7294 fi
7295 else
7296 result=$wxUSE_GEOMETRY
7297 fi
7298
7299 { echo "$as_me:$LINENO: result: $result" >&5
7300 echo "${ECHO_T}$result" >&6; }
7301
7302
7303 enablestring=
7304 defaultval=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x"$enablestring" = xdisable; then
7307 defaultval=yes
7308 else
7309 defaultval=no
7310 fi
7311 fi
7312
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7315 # Check whether --enable-log was given.
7316 if test "${enable_log+set}" = set; then
7317 enableval=$enable_log;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_log='wxUSE_LOG=yes'
7320 else
7321 wx_cv_use_log='wxUSE_LOG=no'
7322 fi
7323
7324 else
7325
7326 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7327
7328 fi
7329
7330
7331 eval "$wx_cv_use_log"
7332
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_LOG = no; then
7335 result=yes
7336 else
7337 result=no
7338 fi
7339 else
7340 result=$wxUSE_LOG
7341 fi
7342
7343 { echo "$as_me:$LINENO: result: $result" >&5
7344 echo "${ECHO_T}$result" >&6; }
7345
7346
7347 enablestring=
7348 defaultval=$wxUSE_ALL_FEATURES
7349 if test -z "$defaultval"; then
7350 if test x"$enablestring" = xdisable; then
7351 defaultval=yes
7352 else
7353 defaultval=no
7354 fi
7355 fi
7356
7357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7358 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7359 # Check whether --enable-longlong was given.
7360 if test "${enable_longlong+set}" = set; then
7361 enableval=$enable_longlong;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7364 else
7365 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7366 fi
7367
7368 else
7369
7370 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7371
7372 fi
7373
7374
7375 eval "$wx_cv_use_longlong"
7376
7377 if test x"$enablestring" = xdisable; then
7378 if test $wxUSE_LONGLONG = no; then
7379 result=yes
7380 else
7381 result=no
7382 fi
7383 else
7384 result=$wxUSE_LONGLONG
7385 fi
7386
7387 { echo "$as_me:$LINENO: result: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7389
7390
7391 enablestring=
7392 defaultval=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x"$enablestring" = xdisable; then
7395 defaultval=yes
7396 else
7397 defaultval=no
7398 fi
7399 fi
7400
7401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7403 # Check whether --enable-mimetype was given.
7404 if test "${enable_mimetype+set}" = set; then
7405 enableval=$enable_mimetype;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7408 else
7409 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7410 fi
7411
7412 else
7413
7414 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7415
7416 fi
7417
7418
7419 eval "$wx_cv_use_mimetype"
7420
7421 if test x"$enablestring" = xdisable; then
7422 if test $wxUSE_MIMETYPE = no; then
7423 result=yes
7424 else
7425 result=no
7426 fi
7427 else
7428 result=$wxUSE_MIMETYPE
7429 fi
7430
7431 { echo "$as_me:$LINENO: result: $result" >&5
7432 echo "${ECHO_T}$result" >&6; }
7433
7434
7435 enablestring=
7436 defaultval=$wxUSE_ALL_FEATURES
7437 if test -z "$defaultval"; then
7438 if test x"$enablestring" = xdisable; then
7439 defaultval=yes
7440 else
7441 defaultval=no
7442 fi
7443 fi
7444
7445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7446 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7452 else
7453 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7454 fi
7455
7456 else
7457
7458 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7459
7460 fi
7461
7462
7463 eval "$wx_cv_use_printfposparam"
7464
7465 if test x"$enablestring" = xdisable; then
7466 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7467 result=yes
7468 else
7469 result=no
7470 fi
7471 else
7472 result=$wxUSE_PRINTF_POS_PARAMS
7473 fi
7474
7475 { echo "$as_me:$LINENO: result: $result" >&5
7476 echo "${ECHO_T}$result" >&6; }
7477
7478
7479 enablestring=
7480 defaultval=$wxUSE_ALL_FEATURES
7481 if test -z "$defaultval"; then
7482 if test x"$enablestring" = xdisable; then
7483 defaultval=yes
7484 else
7485 defaultval=no
7486 fi
7487 fi
7488
7489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7490 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7491 # Check whether --enable-snglinst was given.
7492 if test "${enable_snglinst+set}" = set; then
7493 enableval=$enable_snglinst;
7494 if test "$enableval" = yes; then
7495 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7496 else
7497 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7498 fi
7499
7500 else
7501
7502 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7503
7504 fi
7505
7506
7507 eval "$wx_cv_use_snglinst"
7508
7509 if test x"$enablestring" = xdisable; then
7510 if test $wxUSE_SNGLINST_CHECKER = no; then
7511 result=yes
7512 else
7513 result=no
7514 fi
7515 else
7516 result=$wxUSE_SNGLINST_CHECKER
7517 fi
7518
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7521
7522
7523 enablestring=
7524 defaultval=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x"$enablestring" = xdisable; then
7527 defaultval=yes
7528 else
7529 defaultval=no
7530 fi
7531 fi
7532
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7535 # Check whether --enable-sound was given.
7536 if test "${enable_sound+set}" = set; then
7537 enableval=$enable_sound;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_sound='wxUSE_SOUND=yes'
7540 else
7541 wx_cv_use_sound='wxUSE_SOUND=no'
7542 fi
7543
7544 else
7545
7546 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7547
7548 fi
7549
7550
7551 eval "$wx_cv_use_sound"
7552
7553 if test x"$enablestring" = xdisable; then
7554 if test $wxUSE_SOUND = no; then
7555 result=yes
7556 else
7557 result=no
7558 fi
7559 else
7560 result=$wxUSE_SOUND
7561 fi
7562
7563 { echo "$as_me:$LINENO: result: $result" >&5
7564 echo "${ECHO_T}$result" >&6; }
7565
7566
7567 enablestring=
7568 defaultval=$wxUSE_ALL_FEATURES
7569 if test -z "$defaultval"; then
7570 if test x"$enablestring" = xdisable; then
7571 defaultval=yes
7572 else
7573 defaultval=no
7574 fi
7575 fi
7576
7577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7579 # Check whether --enable-stdpaths was given.
7580 if test "${enable_stdpaths+set}" = set; then
7581 enableval=$enable_stdpaths;
7582 if test "$enableval" = yes; then
7583 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7584 else
7585 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7586 fi
7587
7588 else
7589
7590 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7591
7592 fi
7593
7594
7595 eval "$wx_cv_use_stdpaths"
7596
7597 if test x"$enablestring" = xdisable; then
7598 if test $wxUSE_STDPATHS = no; then
7599 result=yes
7600 else
7601 result=no
7602 fi
7603 else
7604 result=$wxUSE_STDPATHS
7605 fi
7606
7607 { echo "$as_me:$LINENO: result: $result" >&5
7608 echo "${ECHO_T}$result" >&6; }
7609
7610
7611 enablestring=
7612 defaultval=$wxUSE_ALL_FEATURES
7613 if test -z "$defaultval"; then
7614 if test x"$enablestring" = xdisable; then
7615 defaultval=yes
7616 else
7617 defaultval=no
7618 fi
7619 fi
7620
7621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7623 # Check whether --enable-stopwatch was given.
7624 if test "${enable_stopwatch+set}" = set; then
7625 enableval=$enable_stopwatch;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7628 else
7629 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7630 fi
7631
7632 else
7633
7634 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7635
7636 fi
7637
7638
7639 eval "$wx_cv_use_stopwatch"
7640
7641 if test x"$enablestring" = xdisable; then
7642 if test $wxUSE_STOPWATCH = no; then
7643 result=yes
7644 else
7645 result=no
7646 fi
7647 else
7648 result=$wxUSE_STOPWATCH
7649 fi
7650
7651 { echo "$as_me:$LINENO: result: $result" >&5
7652 echo "${ECHO_T}$result" >&6; }
7653
7654
7655 enablestring=
7656 defaultval=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x"$enablestring" = xdisable; then
7659 defaultval=yes
7660 else
7661 defaultval=no
7662 fi
7663 fi
7664
7665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7667 # Check whether --enable-streams was given.
7668 if test "${enable_streams+set}" = set; then
7669 enableval=$enable_streams;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_streams='wxUSE_STREAMS=yes'
7672 else
7673 wx_cv_use_streams='wxUSE_STREAMS=no'
7674 fi
7675
7676 else
7677
7678 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7679
7680 fi
7681
7682
7683 eval "$wx_cv_use_streams"
7684
7685 if test x"$enablestring" = xdisable; then
7686 if test $wxUSE_STREAMS = no; then
7687 result=yes
7688 else
7689 result=no
7690 fi
7691 else
7692 result=$wxUSE_STREAMS
7693 fi
7694
7695 { echo "$as_me:$LINENO: result: $result" >&5
7696 echo "${ECHO_T}$result" >&6; }
7697
7698
7699 enablestring=
7700 defaultval=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x"$enablestring" = xdisable; then
7703 defaultval=yes
7704 else
7705 defaultval=no
7706 fi
7707 fi
7708
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7711 # Check whether --enable-sysoptions was given.
7712 if test "${enable_sysoptions+set}" = set; then
7713 enableval=$enable_sysoptions;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7716 else
7717 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7718 fi
7719
7720 else
7721
7722 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7723
7724 fi
7725
7726
7727 eval "$wx_cv_use_sysoptions"
7728
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_SYSTEM_OPTIONS = no; then
7731 result=yes
7732 else
7733 result=no
7734 fi
7735 else
7736 result=$wxUSE_SYSTEM_OPTIONS
7737 fi
7738
7739 { echo "$as_me:$LINENO: result: $result" >&5
7740 echo "${ECHO_T}$result" >&6; }
7741
7742
7743 enablestring=
7744 defaultval=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x"$enablestring" = xdisable; then
7747 defaultval=yes
7748 else
7749 defaultval=no
7750 fi
7751 fi
7752
7753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7755 # Check whether --enable-tarstream was given.
7756 if test "${enable_tarstream+set}" = set; then
7757 enableval=$enable_tarstream;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7760 else
7761 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7762 fi
7763
7764 else
7765
7766 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7767
7768 fi
7769
7770
7771 eval "$wx_cv_use_tarstream"
7772
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_TARSTREAM = no; then
7775 result=yes
7776 else
7777 result=no
7778 fi
7779 else
7780 result=$wxUSE_TARSTREAM
7781 fi
7782
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7785
7786
7787 enablestring=
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7791 defaultval=yes
7792 else
7793 defaultval=no
7794 fi
7795 fi
7796
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7799 # Check whether --enable-textbuf was given.
7800 if test "${enable_textbuf+set}" = set; then
7801 enableval=$enable_textbuf;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7804 else
7805 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7806 fi
7807
7808 else
7809
7810 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7811
7812 fi
7813
7814
7815 eval "$wx_cv_use_textbuf"
7816
7817 if test x"$enablestring" = xdisable; then
7818 if test $wxUSE_TEXTBUFFER = no; then
7819 result=yes
7820 else
7821 result=no
7822 fi
7823 else
7824 result=$wxUSE_TEXTBUFFER
7825 fi
7826
7827 { echo "$as_me:$LINENO: result: $result" >&5
7828 echo "${ECHO_T}$result" >&6; }
7829
7830
7831 enablestring=
7832 defaultval=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x"$enablestring" = xdisable; then
7835 defaultval=yes
7836 else
7837 defaultval=no
7838 fi
7839 fi
7840
7841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7843 # Check whether --enable-textfile was given.
7844 if test "${enable_textfile+set}" = set; then
7845 enableval=$enable_textfile;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7848 else
7849 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7850 fi
7851
7852 else
7853
7854 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7855
7856 fi
7857
7858
7859 eval "$wx_cv_use_textfile"
7860
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_TEXTFILE = no; then
7863 result=yes
7864 else
7865 result=no
7866 fi
7867 else
7868 result=$wxUSE_TEXTFILE
7869 fi
7870
7871 { echo "$as_me:$LINENO: result: $result" >&5
7872 echo "${ECHO_T}$result" >&6; }
7873
7874
7875 enablestring=
7876 defaultval=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x"$enablestring" = xdisable; then
7879 defaultval=yes
7880 else
7881 defaultval=no
7882 fi
7883 fi
7884
7885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7887 # Check whether --enable-timer was given.
7888 if test "${enable_timer+set}" = set; then
7889 enableval=$enable_timer;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_timer='wxUSE_TIMER=yes'
7892 else
7893 wx_cv_use_timer='wxUSE_TIMER=no'
7894 fi
7895
7896 else
7897
7898 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7899
7900 fi
7901
7902
7903 eval "$wx_cv_use_timer"
7904
7905 if test x"$enablestring" = xdisable; then
7906 if test $wxUSE_TIMER = no; then
7907 result=yes
7908 else
7909 result=no
7910 fi
7911 else
7912 result=$wxUSE_TIMER
7913 fi
7914
7915 { echo "$as_me:$LINENO: result: $result" >&5
7916 echo "${ECHO_T}$result" >&6; }
7917
7918
7919 enablestring=
7920 defaultval=$wxUSE_ALL_FEATURES
7921 if test -z "$defaultval"; then
7922 if test x"$enablestring" = xdisable; then
7923 defaultval=yes
7924 else
7925 defaultval=no
7926 fi
7927 fi
7928
7929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7931 # Check whether --enable-variant was given.
7932 if test "${enable_variant+set}" = set; then
7933 enableval=$enable_variant;
7934 if test "$enableval" = yes; then
7935 wx_cv_use_variant='wxUSE_VARIANT=yes'
7936 else
7937 wx_cv_use_variant='wxUSE_VARIANT=no'
7938 fi
7939
7940 else
7941
7942 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7943
7944 fi
7945
7946
7947 eval "$wx_cv_use_variant"
7948
7949 if test x"$enablestring" = xdisable; then
7950 if test $wxUSE_VARIANT = no; then
7951 result=yes
7952 else
7953 result=no
7954 fi
7955 else
7956 result=$wxUSE_VARIANT
7957 fi
7958
7959 { echo "$as_me:$LINENO: result: $result" >&5
7960 echo "${ECHO_T}$result" >&6; }
7961
7962
7963 enablestring=
7964 defaultval=$wxUSE_ALL_FEATURES
7965 if test -z "$defaultval"; then
7966 if test x"$enablestring" = xdisable; then
7967 defaultval=yes
7968 else
7969 defaultval=no
7970 fi
7971 fi
7972
7973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7975 # Check whether --enable-zipstream was given.
7976 if test "${enable_zipstream+set}" = set; then
7977 enableval=$enable_zipstream;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7980 else
7981 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7982 fi
7983
7984 else
7985
7986 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7987
7988 fi
7989
7990
7991 eval "$wx_cv_use_zipstream"
7992
7993 if test x"$enablestring" = xdisable; then
7994 if test $wxUSE_ZIPSTREAM = no; then
7995 result=yes
7996 else
7997 result=no
7998 fi
7999 else
8000 result=$wxUSE_ZIPSTREAM
8001 fi
8002
8003 { echo "$as_me:$LINENO: result: $result" >&5
8004 echo "${ECHO_T}$result" >&6; }
8005
8006
8007
8008 enablestring=
8009 defaultval=$wxUSE_ALL_FEATURES
8010 if test -z "$defaultval"; then
8011 if test x"$enablestring" = xdisable; then
8012 defaultval=yes
8013 else
8014 defaultval=no
8015 fi
8016 fi
8017
8018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8020 # Check whether --enable-url was given.
8021 if test "${enable_url+set}" = set; then
8022 enableval=$enable_url;
8023 if test "$enableval" = yes; then
8024 wx_cv_use_url='wxUSE_URL=yes'
8025 else
8026 wx_cv_use_url='wxUSE_URL=no'
8027 fi
8028
8029 else
8030
8031 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8032
8033 fi
8034
8035
8036 eval "$wx_cv_use_url"
8037
8038 if test x"$enablestring" = xdisable; then
8039 if test $wxUSE_URL = no; then
8040 result=yes
8041 else
8042 result=no
8043 fi
8044 else
8045 result=$wxUSE_URL
8046 fi
8047
8048 { echo "$as_me:$LINENO: result: $result" >&5
8049 echo "${ECHO_T}$result" >&6; }
8050
8051
8052 enablestring=
8053 defaultval=$wxUSE_ALL_FEATURES
8054 if test -z "$defaultval"; then
8055 if test x"$enablestring" = xdisable; then
8056 defaultval=yes
8057 else
8058 defaultval=no
8059 fi
8060 fi
8061
8062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8064 # Check whether --enable-protocol was given.
8065 if test "${enable_protocol+set}" = set; then
8066 enableval=$enable_protocol;
8067 if test "$enableval" = yes; then
8068 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8069 else
8070 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8071 fi
8072
8073 else
8074
8075 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8076
8077 fi
8078
8079
8080 eval "$wx_cv_use_protocol"
8081
8082 if test x"$enablestring" = xdisable; then
8083 if test $wxUSE_PROTOCOL = no; then
8084 result=yes
8085 else
8086 result=no
8087 fi
8088 else
8089 result=$wxUSE_PROTOCOL
8090 fi
8091
8092 { echo "$as_me:$LINENO: result: $result" >&5
8093 echo "${ECHO_T}$result" >&6; }
8094
8095
8096 enablestring=
8097 defaultval=$wxUSE_ALL_FEATURES
8098 if test -z "$defaultval"; then
8099 if test x"$enablestring" = xdisable; then
8100 defaultval=yes
8101 else
8102 defaultval=no
8103 fi
8104 fi
8105
8106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8108 # Check whether --enable-protocol_http was given.
8109 if test "${enable_protocol_http+set}" = set; then
8110 enableval=$enable_protocol_http;
8111 if test "$enableval" = yes; then
8112 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8113 else
8114 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8115 fi
8116
8117 else
8118
8119 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8120
8121 fi
8122
8123
8124 eval "$wx_cv_use_protocol_http"
8125
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_PROTOCOL_HTTP = no; then
8128 result=yes
8129 else
8130 result=no
8131 fi
8132 else
8133 result=$wxUSE_PROTOCOL_HTTP
8134 fi
8135
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8138
8139
8140 enablestring=
8141 defaultval=$wxUSE_ALL_FEATURES
8142 if test -z "$defaultval"; then
8143 if test x"$enablestring" = xdisable; then
8144 defaultval=yes
8145 else
8146 defaultval=no
8147 fi
8148 fi
8149
8150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8152 # Check whether --enable-protocol_ftp was given.
8153 if test "${enable_protocol_ftp+set}" = set; then
8154 enableval=$enable_protocol_ftp;
8155 if test "$enableval" = yes; then
8156 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8157 else
8158 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8159 fi
8160
8161 else
8162
8163 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8164
8165 fi
8166
8167
8168 eval "$wx_cv_use_protocol_ftp"
8169
8170 if test x"$enablestring" = xdisable; then
8171 if test $wxUSE_PROTOCOL_FTP = no; then
8172 result=yes
8173 else
8174 result=no
8175 fi
8176 else
8177 result=$wxUSE_PROTOCOL_FTP
8178 fi
8179
8180 { echo "$as_me:$LINENO: result: $result" >&5
8181 echo "${ECHO_T}$result" >&6; }
8182
8183
8184 enablestring=
8185 defaultval=$wxUSE_ALL_FEATURES
8186 if test -z "$defaultval"; then
8187 if test x"$enablestring" = xdisable; then
8188 defaultval=yes
8189 else
8190 defaultval=no
8191 fi
8192 fi
8193
8194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8196 # Check whether --enable-protocol_file was given.
8197 if test "${enable_protocol_file+set}" = set; then
8198 enableval=$enable_protocol_file;
8199 if test "$enableval" = yes; then
8200 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8201 else
8202 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8203 fi
8204
8205 else
8206
8207 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8208
8209 fi
8210
8211
8212 eval "$wx_cv_use_protocol_file"
8213
8214 if test x"$enablestring" = xdisable; then
8215 if test $wxUSE_PROTOCOL_FILE = no; then
8216 result=yes
8217 else
8218 result=no
8219 fi
8220 else
8221 result=$wxUSE_PROTOCOL_FILE
8222 fi
8223
8224 { echo "$as_me:$LINENO: result: $result" >&5
8225 echo "${ECHO_T}$result" >&6; }
8226
8227
8228
8229 enablestring=
8230 defaultval=$wxUSE_ALL_FEATURES
8231 if test -z "$defaultval"; then
8232 if test x"$enablestring" = xdisable; then
8233 defaultval=yes
8234 else
8235 defaultval=no
8236 fi
8237 fi
8238
8239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8241 # Check whether --enable-threads was given.
8242 if test "${enable_threads+set}" = set; then
8243 enableval=$enable_threads;
8244 if test "$enableval" = yes; then
8245 wx_cv_use_threads='wxUSE_THREADS=yes'
8246 else
8247 wx_cv_use_threads='wxUSE_THREADS=no'
8248 fi
8249
8250 else
8251
8252 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8253
8254 fi
8255
8256
8257 eval "$wx_cv_use_threads"
8258
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_THREADS = no; then
8261 result=yes
8262 else
8263 result=no
8264 fi
8265 else
8266 result=$wxUSE_THREADS
8267 fi
8268
8269 { echo "$as_me:$LINENO: result: $result" >&5
8270 echo "${ECHO_T}$result" >&6; }
8271
8272
8273
8274 enablestring=
8275 defaultval=
8276 if test -z "$defaultval"; then
8277 if test x"$enablestring" = xdisable; then
8278 defaultval=yes
8279 else
8280 defaultval=no
8281 fi
8282 fi
8283
8284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8286 # Check whether --enable-iniconf was given.
8287 if test "${enable_iniconf+set}" = set; then
8288 enableval=$enable_iniconf;
8289 if test "$enableval" = yes; then
8290 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8291 else
8292 wx_cv_use_iniconf='wxUSE_INICONF=no'
8293 fi
8294
8295 else
8296
8297 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8298
8299 fi
8300
8301
8302 eval "$wx_cv_use_iniconf"
8303
8304 if test x"$enablestring" = xdisable; then
8305 if test $wxUSE_INICONF = no; then
8306 result=yes
8307 else
8308 result=no
8309 fi
8310 else
8311 result=$wxUSE_INICONF
8312 fi
8313
8314 { echo "$as_me:$LINENO: result: $result" >&5
8315 echo "${ECHO_T}$result" >&6; }
8316
8317
8318 enablestring=
8319 defaultval=$wxUSE_ALL_FEATURES
8320 if test -z "$defaultval"; then
8321 if test x"$enablestring" = xdisable; then
8322 defaultval=yes
8323 else
8324 defaultval=no
8325 fi
8326 fi
8327
8328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8330 # Check whether --enable-regkey was given.
8331 if test "${enable_regkey+set}" = set; then
8332 enableval=$enable_regkey;
8333 if test "$enableval" = yes; then
8334 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8335 else
8336 wx_cv_use_regkey='wxUSE_REGKEY=no'
8337 fi
8338
8339 else
8340
8341 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8342
8343 fi
8344
8345
8346 eval "$wx_cv_use_regkey"
8347
8348 if test x"$enablestring" = xdisable; then
8349 if test $wxUSE_REGKEY = no; then
8350 result=yes
8351 else
8352 result=no
8353 fi
8354 else
8355 result=$wxUSE_REGKEY
8356 fi
8357
8358 { echo "$as_me:$LINENO: result: $result" >&5
8359 echo "${ECHO_T}$result" >&6; }
8360
8361
8362 if test "$wxUSE_GUI" = "yes"; then
8363
8364
8365
8366 enablestring=
8367 defaultval=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x"$enablestring" = xdisable; then
8370 defaultval=yes
8371 else
8372 defaultval=no
8373 fi
8374 fi
8375
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8378 # Check whether --enable-docview was given.
8379 if test "${enable_docview+set}" = set; then
8380 enableval=$enable_docview;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8383 else
8384 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8385 fi
8386
8387 else
8388
8389 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8390
8391 fi
8392
8393
8394 eval "$wx_cv_use_docview"
8395
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8398 result=yes
8399 else
8400 result=no
8401 fi
8402 else
8403 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8404 fi
8405
8406 { echo "$as_me:$LINENO: result: $result" >&5
8407 echo "${ECHO_T}$result" >&6; }
8408
8409
8410 enablestring=
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8414 defaultval=yes
8415 else
8416 defaultval=no
8417 fi
8418 fi
8419
8420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8421 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8422 # Check whether --enable-help was given.
8423 if test "${enable_help+set}" = set; then
8424 enableval=$enable_help;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_help='wxUSE_HELP=yes'
8427 else
8428 wx_cv_use_help='wxUSE_HELP=no'
8429 fi
8430
8431 else
8432
8433 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8434
8435 fi
8436
8437
8438 eval "$wx_cv_use_help"
8439
8440 if test x"$enablestring" = xdisable; then
8441 if test $wxUSE_HELP = no; then
8442 result=yes
8443 else
8444 result=no
8445 fi
8446 else
8447 result=$wxUSE_HELP
8448 fi
8449
8450 { echo "$as_me:$LINENO: result: $result" >&5
8451 echo "${ECHO_T}$result" >&6; }
8452
8453
8454 enablestring=
8455 defaultval=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x"$enablestring" = xdisable; then
8458 defaultval=yes
8459 else
8460 defaultval=no
8461 fi
8462 fi
8463
8464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8466 # Check whether --enable-mshtmlhelp was given.
8467 if test "${enable_mshtmlhelp+set}" = set; then
8468 enableval=$enable_mshtmlhelp;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8471 else
8472 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8473 fi
8474
8475 else
8476
8477 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8478
8479 fi
8480
8481
8482 eval "$wx_cv_use_mshtmlhelp"
8483
8484 if test x"$enablestring" = xdisable; then
8485 if test $wxUSE_MS_HTML_HELP = no; then
8486 result=yes
8487 else
8488 result=no
8489 fi
8490 else
8491 result=$wxUSE_MS_HTML_HELP
8492 fi
8493
8494 { echo "$as_me:$LINENO: result: $result" >&5
8495 echo "${ECHO_T}$result" >&6; }
8496
8497
8498 enablestring=
8499 defaultval=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x"$enablestring" = xdisable; then
8502 defaultval=yes
8503 else
8504 defaultval=no
8505 fi
8506 fi
8507
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8510 # Check whether --enable-html was given.
8511 if test "${enable_html+set}" = set; then
8512 enableval=$enable_html;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_html='wxUSE_HTML=yes'
8515 else
8516 wx_cv_use_html='wxUSE_HTML=no'
8517 fi
8518
8519 else
8520
8521 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8522
8523 fi
8524
8525
8526 eval "$wx_cv_use_html"
8527
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_HTML = no; then
8530 result=yes
8531 else
8532 result=no
8533 fi
8534 else
8535 result=$wxUSE_HTML
8536 fi
8537
8538 { echo "$as_me:$LINENO: result: $result" >&5
8539 echo "${ECHO_T}$result" >&6; }
8540
8541
8542 enablestring=
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8546 defaultval=yes
8547 else
8548 defaultval=no
8549 fi
8550 fi
8551
8552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8554 # Check whether --enable-htmlhelp was given.
8555 if test "${enable_htmlhelp+set}" = set; then
8556 enableval=$enable_htmlhelp;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8559 else
8560 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8561 fi
8562
8563 else
8564
8565 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8566
8567 fi
8568
8569
8570 eval "$wx_cv_use_htmlhelp"
8571
8572 if test x"$enablestring" = xdisable; then
8573 if test $wxUSE_WXHTML_HELP = no; then
8574 result=yes
8575 else
8576 result=no
8577 fi
8578 else
8579 result=$wxUSE_WXHTML_HELP
8580 fi
8581
8582 { echo "$as_me:$LINENO: result: $result" >&5
8583 echo "${ECHO_T}$result" >&6; }
8584
8585
8586 enablestring=
8587 defaultval=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x"$enablestring" = xdisable; then
8590 defaultval=yes
8591 else
8592 defaultval=no
8593 fi
8594 fi
8595
8596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8597 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8598 # Check whether --enable-xrc was given.
8599 if test "${enable_xrc+set}" = set; then
8600 enableval=$enable_xrc;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_xrc='wxUSE_XRC=yes'
8603 else
8604 wx_cv_use_xrc='wxUSE_XRC=no'
8605 fi
8606
8607 else
8608
8609 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8610
8611 fi
8612
8613
8614 eval "$wx_cv_use_xrc"
8615
8616 if test x"$enablestring" = xdisable; then
8617 if test $wxUSE_XRC = no; then
8618 result=yes
8619 else
8620 result=no
8621 fi
8622 else
8623 result=$wxUSE_XRC
8624 fi
8625
8626 { echo "$as_me:$LINENO: result: $result" >&5
8627 echo "${ECHO_T}$result" >&6; }
8628
8629
8630 enablestring=
8631 defaultval=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x"$enablestring" = xdisable; then
8634 defaultval=yes
8635 else
8636 defaultval=no
8637 fi
8638 fi
8639
8640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8641 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8642 # Check whether --enable-aui was given.
8643 if test "${enable_aui+set}" = set; then
8644 enableval=$enable_aui;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_aui='wxUSE_AUI=yes'
8647 else
8648 wx_cv_use_aui='wxUSE_AUI=no'
8649 fi
8650
8651 else
8652
8653 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8654
8655 fi
8656
8657
8658 eval "$wx_cv_use_aui"
8659
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_AUI = no; then
8662 result=yes
8663 else
8664 result=no
8665 fi
8666 else
8667 result=$wxUSE_AUI
8668 fi
8669
8670 { echo "$as_me:$LINENO: result: $result" >&5
8671 echo "${ECHO_T}$result" >&6; }
8672
8673
8674 enablestring=
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8678 defaultval=yes
8679 else
8680 defaultval=no
8681 fi
8682 fi
8683
8684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8685 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8686 # Check whether --enable-propgrid was given.
8687 if test "${enable_propgrid+set}" = set; then
8688 enableval=$enable_propgrid;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8691 else
8692 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8693 fi
8694
8695 else
8696
8697 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8698
8699 fi
8700
8701
8702 eval "$wx_cv_use_propgrid"
8703
8704 if test x"$enablestring" = xdisable; then
8705 if test $wxUSE_PROPGRID = no; then
8706 result=yes
8707 else
8708 result=no
8709 fi
8710 else
8711 result=$wxUSE_PROPGRID
8712 fi
8713
8714 { echo "$as_me:$LINENO: result: $result" >&5
8715 echo "${ECHO_T}$result" >&6; }
8716
8717
8718 enablestring=
8719 defaultval=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x"$enablestring" = xdisable; then
8722 defaultval=yes
8723 else
8724 defaultval=no
8725 fi
8726 fi
8727
8728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8730 # Check whether --enable-ribbon was given.
8731 if test "${enable_ribbon+set}" = set; then
8732 enableval=$enable_ribbon;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8735 else
8736 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8737 fi
8738
8739 else
8740
8741 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8742
8743 fi
8744
8745
8746 eval "$wx_cv_use_ribbon"
8747
8748 if test x"$enablestring" = xdisable; then
8749 if test $wxUSE_RIBBON = no; then
8750 result=yes
8751 else
8752 result=no
8753 fi
8754 else
8755 result=$wxUSE_RIBBON
8756 fi
8757
8758 { echo "$as_me:$LINENO: result: $result" >&5
8759 echo "${ECHO_T}$result" >&6; }
8760
8761
8762 enablestring=
8763 defaultval=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x"$enablestring" = xdisable; then
8766 defaultval=yes
8767 else
8768 defaultval=no
8769 fi
8770 fi
8771
8772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8774 # Check whether --enable-stc was given.
8775 if test "${enable_stc+set}" = set; then
8776 enableval=$enable_stc;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_stc='wxUSE_STC=yes'
8779 else
8780 wx_cv_use_stc='wxUSE_STC=no'
8781 fi
8782
8783 else
8784
8785 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8786
8787 fi
8788
8789
8790 eval "$wx_cv_use_stc"
8791
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_STC = no; then
8794 result=yes
8795 else
8796 result=no
8797 fi
8798 else
8799 result=$wxUSE_STC
8800 fi
8801
8802 { echo "$as_me:$LINENO: result: $result" >&5
8803 echo "${ECHO_T}$result" >&6; }
8804
8805
8806 enablestring=
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8810 defaultval=yes
8811 else
8812 defaultval=no
8813 fi
8814 fi
8815
8816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8818 # Check whether --enable-constraints was given.
8819 if test "${enable_constraints+set}" = set; then
8820 enableval=$enable_constraints;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8823 else
8824 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8825 fi
8826
8827 else
8828
8829 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8830
8831 fi
8832
8833
8834 eval "$wx_cv_use_constraints"
8835
8836 if test x"$enablestring" = xdisable; then
8837 if test $wxUSE_CONSTRAINTS = no; then
8838 result=yes
8839 else
8840 result=no
8841 fi
8842 else
8843 result=$wxUSE_CONSTRAINTS
8844 fi
8845
8846 { echo "$as_me:$LINENO: result: $result" >&5
8847 echo "${ECHO_T}$result" >&6; }
8848
8849
8850 enablestring=
8851 defaultval=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x"$enablestring" = xdisable; then
8854 defaultval=yes
8855 else
8856 defaultval=no
8857 fi
8858 fi
8859
8860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8862 # Check whether --enable-loggui was given.
8863 if test "${enable_loggui+set}" = set; then
8864 enableval=$enable_loggui;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8867 else
8868 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8869 fi
8870
8871 else
8872
8873 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8874
8875 fi
8876
8877
8878 eval "$wx_cv_use_loggui"
8879
8880 if test x"$enablestring" = xdisable; then
8881 if test $wxUSE_LOGGUI = no; then
8882 result=yes
8883 else
8884 result=no
8885 fi
8886 else
8887 result=$wxUSE_LOGGUI
8888 fi
8889
8890 { echo "$as_me:$LINENO: result: $result" >&5
8891 echo "${ECHO_T}$result" >&6; }
8892
8893
8894 enablestring=
8895 defaultval=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x"$enablestring" = xdisable; then
8898 defaultval=yes
8899 else
8900 defaultval=no
8901 fi
8902 fi
8903
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8906 # Check whether --enable-logwin was given.
8907 if test "${enable_logwin+set}" = set; then
8908 enableval=$enable_logwin;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8911 else
8912 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8913 fi
8914
8915 else
8916
8917 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8918
8919 fi
8920
8921
8922 eval "$wx_cv_use_logwin"
8923
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_LOGWINDOW = no; then
8926 result=yes
8927 else
8928 result=no
8929 fi
8930 else
8931 result=$wxUSE_LOGWINDOW
8932 fi
8933
8934 { echo "$as_me:$LINENO: result: $result" >&5
8935 echo "${ECHO_T}$result" >&6; }
8936
8937
8938 enablestring=
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8942 defaultval=yes
8943 else
8944 defaultval=no
8945 fi
8946 fi
8947
8948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8950 # Check whether --enable-logdialog was given.
8951 if test "${enable_logdialog+set}" = set; then
8952 enableval=$enable_logdialog;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8955 else
8956 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8957 fi
8958
8959 else
8960
8961 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8962
8963 fi
8964
8965
8966 eval "$wx_cv_use_logdialog"
8967
8968 if test x"$enablestring" = xdisable; then
8969 if test $wxUSE_LOGDIALOG = no; then
8970 result=yes
8971 else
8972 result=no
8973 fi
8974 else
8975 result=$wxUSE_LOGDIALOG
8976 fi
8977
8978 { echo "$as_me:$LINENO: result: $result" >&5
8979 echo "${ECHO_T}$result" >&6; }
8980
8981
8982 enablestring=
8983 defaultval=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x"$enablestring" = xdisable; then
8986 defaultval=yes
8987 else
8988 defaultval=no
8989 fi
8990 fi
8991
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8994 # Check whether --enable-mdi was given.
8995 if test "${enable_mdi+set}" = set; then
8996 enableval=$enable_mdi;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_mdi='wxUSE_MDI=yes'
8999 else
9000 wx_cv_use_mdi='wxUSE_MDI=no'
9001 fi
9002
9003 else
9004
9005 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9006
9007 fi
9008
9009
9010 eval "$wx_cv_use_mdi"
9011
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_MDI = no; then
9014 result=yes
9015 else
9016 result=no
9017 fi
9018 else
9019 result=$wxUSE_MDI
9020 fi
9021
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9024
9025
9026 enablestring=
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9030 defaultval=yes
9031 else
9032 defaultval=no
9033 fi
9034 fi
9035
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9038 # Check whether --enable-mdidoc was given.
9039 if test "${enable_mdidoc+set}" = set; then
9040 enableval=$enable_mdidoc;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9043 else
9044 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9045 fi
9046
9047 else
9048
9049 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9050
9051 fi
9052
9053
9054 eval "$wx_cv_use_mdidoc"
9055
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_MDI_ARCHITECTURE = no; then
9058 result=yes
9059 else
9060 result=no
9061 fi
9062 else
9063 result=$wxUSE_MDI_ARCHITECTURE
9064 fi
9065
9066 { echo "$as_me:$LINENO: result: $result" >&5
9067 echo "${ECHO_T}$result" >&6; }
9068
9069
9070 enablestring=
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9074 defaultval=yes
9075 else
9076 defaultval=no
9077 fi
9078 fi
9079
9080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9082 # Check whether --enable-mediactrl was given.
9083 if test "${enable_mediactrl+set}" = set; then
9084 enableval=$enable_mediactrl;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9087 else
9088 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9089 fi
9090
9091 else
9092
9093 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9094
9095 fi
9096
9097
9098 eval "$wx_cv_use_mediactrl"
9099
9100 if test x"$enablestring" = xdisable; then
9101 if test $wxUSE_MEDIACTRL = no; then
9102 result=yes
9103 else
9104 result=no
9105 fi
9106 else
9107 result=$wxUSE_MEDIACTRL
9108 fi
9109
9110 { echo "$as_me:$LINENO: result: $result" >&5
9111 echo "${ECHO_T}$result" >&6; }
9112
9113
9114 enablestring=
9115 defaultval=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x"$enablestring" = xdisable; then
9118 defaultval=yes
9119 else
9120 defaultval=no
9121 fi
9122 fi
9123
9124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9126 # Check whether --enable-gstreamer8 was given.
9127 if test "${enable_gstreamer8+set}" = set; then
9128 enableval=$enable_gstreamer8;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9131 else
9132 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9133 fi
9134
9135 else
9136
9137 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9138
9139 fi
9140
9141
9142 eval "$wx_cv_use_gstreamer8"
9143
9144 if test x"$enablestring" = xdisable; then
9145 if test $wxUSE_GSTREAMER8 = no; then
9146 result=yes
9147 else
9148 result=no
9149 fi
9150 else
9151 result=$wxUSE_GSTREAMER8
9152 fi
9153
9154 { echo "$as_me:$LINENO: result: $result" >&5
9155 echo "${ECHO_T}$result" >&6; }
9156
9157
9158 enablestring=
9159 defaultval=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x"$enablestring" = xdisable; then
9162 defaultval=yes
9163 else
9164 defaultval=no
9165 fi
9166 fi
9167
9168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9170 # Check whether --enable-webkit was given.
9171 if test "${enable_webkit+set}" = set; then
9172 enableval=$enable_webkit;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9175 else
9176 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9177 fi
9178
9179 else
9180
9181 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9182
9183 fi
9184
9185
9186 eval "$wx_cv_use_webkit"
9187
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_WEBKIT = no; then
9190 result=yes
9191 else
9192 result=no
9193 fi
9194 else
9195 result=$wxUSE_WEBKIT
9196 fi
9197
9198 { echo "$as_me:$LINENO: result: $result" >&5
9199 echo "${ECHO_T}$result" >&6; }
9200
9201
9202 enablestring=
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9206 defaultval=yes
9207 else
9208 defaultval=no
9209 fi
9210 fi
9211
9212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9214 # Check whether --enable-richtext was given.
9215 if test "${enable_richtext+set}" = set; then
9216 enableval=$enable_richtext;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9219 else
9220 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9221 fi
9222
9223 else
9224
9225 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9226
9227 fi
9228
9229
9230 eval "$wx_cv_use_richtext"
9231
9232 if test x"$enablestring" = xdisable; then
9233 if test $wxUSE_RICHTEXT = no; then
9234 result=yes
9235 else
9236 result=no
9237 fi
9238 else
9239 result=$wxUSE_RICHTEXT
9240 fi
9241
9242 { echo "$as_me:$LINENO: result: $result" >&5
9243 echo "${ECHO_T}$result" >&6; }
9244
9245
9246 enablestring=
9247 defaultval=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x"$enablestring" = xdisable; then
9250 defaultval=yes
9251 else
9252 defaultval=no
9253 fi
9254 fi
9255
9256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9258 # Check whether --enable-graphics_ctx was given.
9259 if test "${enable_graphics_ctx+set}" = set; then
9260 enableval=$enable_graphics_ctx;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9263 else
9264 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9265 fi
9266
9267 else
9268
9269 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9270
9271 fi
9272
9273
9274 eval "$wx_cv_use_graphics_ctx"
9275
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9278 result=yes
9279 else
9280 result=no
9281 fi
9282 else
9283 result=$wxUSE_GRAPHICS_CONTEXT
9284 fi
9285
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9288
9289
9290 enablestring=
9291 defaultval=$wxUSE_ALL_FEATURES
9292 if test -z "$defaultval"; then
9293 if test x"$enablestring" = xdisable; then
9294 defaultval=yes
9295 else
9296 defaultval=no
9297 fi
9298 fi
9299
9300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9301 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9302 # Check whether --enable-postscript was given.
9303 if test "${enable_postscript+set}" = set; then
9304 enableval=$enable_postscript;
9305 if test "$enableval" = yes; then
9306 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9307 else
9308 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9309 fi
9310
9311 else
9312
9313 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9314
9315 fi
9316
9317
9318 eval "$wx_cv_use_postscript"
9319
9320 if test x"$enablestring" = xdisable; then
9321 if test $wxUSE_POSTSCRIPT = no; then
9322 result=yes
9323 else
9324 result=no
9325 fi
9326 else
9327 result=$wxUSE_POSTSCRIPT
9328 fi
9329
9330 { echo "$as_me:$LINENO: result: $result" >&5
9331 echo "${ECHO_T}$result" >&6; }
9332
9333
9334 enablestring=
9335 defaultval=$wxUSE_ALL_FEATURES
9336 if test -z "$defaultval"; then
9337 if test x"$enablestring" = xdisable; then
9338 defaultval=yes
9339 else
9340 defaultval=no
9341 fi
9342 fi
9343
9344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9346 # Check whether --enable-printarch was given.
9347 if test "${enable_printarch+set}" = set; then
9348 enableval=$enable_printarch;
9349 if test "$enableval" = yes; then
9350 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9351 else
9352 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9353 fi
9354
9355 else
9356
9357 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9358
9359 fi
9360
9361
9362 eval "$wx_cv_use_printarch"
9363
9364 if test x"$enablestring" = xdisable; then
9365 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9366 result=yes
9367 else
9368 result=no
9369 fi
9370 else
9371 result=$wxUSE_PRINTING_ARCHITECTURE
9372 fi
9373
9374 { echo "$as_me:$LINENO: result: $result" >&5
9375 echo "${ECHO_T}$result" >&6; }
9376
9377
9378 enablestring=
9379 defaultval=$wxUSE_ALL_FEATURES
9380 if test -z "$defaultval"; then
9381 if test x"$enablestring" = xdisable; then
9382 defaultval=yes
9383 else
9384 defaultval=no
9385 fi
9386 fi
9387
9388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9390 # Check whether --enable-svg was given.
9391 if test "${enable_svg+set}" = set; then
9392 enableval=$enable_svg;
9393 if test "$enableval" = yes; then
9394 wx_cv_use_svg='wxUSE_SVG=yes'
9395 else
9396 wx_cv_use_svg='wxUSE_SVG=no'
9397 fi
9398
9399 else
9400
9401 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9402
9403 fi
9404
9405
9406 eval "$wx_cv_use_svg"
9407
9408 if test x"$enablestring" = xdisable; then
9409 if test $wxUSE_SVG = no; then
9410 result=yes
9411 else
9412 result=no
9413 fi
9414 else
9415 result=$wxUSE_SVG
9416 fi
9417
9418 { echo "$as_me:$LINENO: result: $result" >&5
9419 echo "${ECHO_T}$result" >&6; }
9420
9421
9422
9423
9424 enablestring=
9425 defaultval=$wxUSE_ALL_FEATURES
9426 if test -z "$defaultval"; then
9427 if test x"$enablestring" = xdisable; then
9428 defaultval=yes
9429 else
9430 defaultval=no
9431 fi
9432 fi
9433
9434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9436 # Check whether --enable-clipboard was given.
9437 if test "${enable_clipboard+set}" = set; then
9438 enableval=$enable_clipboard;
9439 if test "$enableval" = yes; then
9440 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9441 else
9442 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9443 fi
9444
9445 else
9446
9447 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9448
9449 fi
9450
9451
9452 eval "$wx_cv_use_clipboard"
9453
9454 if test x"$enablestring" = xdisable; then
9455 if test $wxUSE_CLIPBOARD = no; then
9456 result=yes
9457 else
9458 result=no
9459 fi
9460 else
9461 result=$wxUSE_CLIPBOARD
9462 fi
9463
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9466
9467
9468 enablestring=
9469 defaultval=$wxUSE_ALL_FEATURES
9470 if test -z "$defaultval"; then
9471 if test x"$enablestring" = xdisable; then
9472 defaultval=yes
9473 else
9474 defaultval=no
9475 fi
9476 fi
9477
9478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9480 # Check whether --enable-dnd was given.
9481 if test "${enable_dnd+set}" = set; then
9482 enableval=$enable_dnd;
9483 if test "$enableval" = yes; then
9484 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9485 else
9486 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9487 fi
9488
9489 else
9490
9491 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9492
9493 fi
9494
9495
9496 eval "$wx_cv_use_dnd"
9497
9498 if test x"$enablestring" = xdisable; then
9499 if test $wxUSE_DRAG_AND_DROP = no; then
9500 result=yes
9501 else
9502 result=no
9503 fi
9504 else
9505 result=$wxUSE_DRAG_AND_DROP
9506 fi
9507
9508 { echo "$as_me:$LINENO: result: $result" >&5
9509 echo "${ECHO_T}$result" >&6; }
9510
9511
9512 enablestring=
9513 defaultval=$wxUSE_ALL_FEATURES
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}-metafile" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9524 # Check whether --enable-metafile was given.
9525 if test "${enable_metafile+set}" = set; then
9526 enableval=$enable_metafile;
9527 if test "$enableval" = yes; then
9528 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9529 else
9530 wx_cv_use_metafile='wxUSE_METAFILE=no'
9531 fi
9532
9533 else
9534
9535 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9536
9537 fi
9538
9539
9540 eval "$wx_cv_use_metafile"
9541
9542 if test x"$enablestring" = xdisable; then
9543 if test $wxUSE_METAFILE = no; then
9544 result=yes
9545 else
9546 result=no
9547 fi
9548 else
9549 result=$wxUSE_METAFILE
9550 fi
9551
9552 { echo "$as_me:$LINENO: result: $result" >&5
9553 echo "${ECHO_T}$result" >&6; }
9554
9555
9556
9557 DEFAULT_wxUSE_CONTROLS=none
9558
9559 enablestring=disable
9560 defaultval=
9561 if test -z "$defaultval"; then
9562 if test x"$enablestring" = xdisable; then
9563 defaultval=yes
9564 else
9565 defaultval=no
9566 fi
9567 fi
9568
9569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9571 # Check whether --enable-controls was given.
9572 if test "${enable_controls+set}" = set; then
9573 enableval=$enable_controls;
9574 if test "$enableval" = yes; then
9575 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9576 else
9577 wx_cv_use_controls='wxUSE_CONTROLS=no'
9578 fi
9579
9580 else
9581
9582 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9583
9584 fi
9585
9586
9587 eval "$wx_cv_use_controls"
9588
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_CONTROLS = no; then
9591 result=yes
9592 else
9593 result=no
9594 fi
9595 else
9596 result=$wxUSE_CONTROLS
9597 fi
9598
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9601
9602
9603 if test "$wxUSE_CONTROLS" = "no"; then
9604 DEFAULT_wxUSE_ACCEL=no
9605 DEFAULT_wxUSE_ANIMATIONCTRL=no
9606 DEFAULT_wxUSE_BMPBUTTON=no
9607 DEFAULT_wxUSE_BUTTON=no
9608 DEFAULT_wxUSE_CALCTRL=no
9609 DEFAULT_wxUSE_CARET=no
9610 DEFAULT_wxUSE_CHECKBOX=no
9611 DEFAULT_wxUSE_CHECKLISTBOX=no
9612 DEFAULT_wxUSE_CHOICE=no
9613 DEFAULT_wxUSE_CHOICEBOOK=no
9614 DEFAULT_wxUSE_COLLPANE=no
9615 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9616 DEFAULT_wxUSE_COMBOBOX=no
9617 DEFAULT_wxUSE_COMBOBOX=no
9618 DEFAULT_wxUSE_DATAVIEWCTRL=no
9619 DEFAULT_wxUSE_DATEPICKCTRL=no
9620 DEFAULT_wxUSE_DETECT_SM=no
9621 DEFAULT_wxUSE_DIRPICKERCTRL=no
9622 DEFAULT_wxUSE_DISPLAY=no
9623 DEFAULT_wxUSE_FILECTRL=no
9624 DEFAULT_wxUSE_FILEPICKERCTRL=no
9625 DEFAULT_wxUSE_FONTPICKERCTRL=no
9626 DEFAULT_wxUSE_GAUGE=no
9627 DEFAULT_wxUSE_GRID=no
9628 DEFAULT_wxUSE_HEADERCTRL=no
9629 DEFAULT_wxUSE_HYPERLINKCTRL=no
9630 DEFAULT_wxUSE_IMAGLIST=no
9631 DEFAULT_wxUSE_LISTBOOK=no
9632 DEFAULT_wxUSE_LISTBOX=no
9633 DEFAULT_wxUSE_LISTCTRL=no
9634 DEFAULT_wxUSE_NOTEBOOK=no
9635 DEFAULT_wxUSE_POPUPWIN=no
9636 DEFAULT_wxUSE_RADIOBOX=no
9637 DEFAULT_wxUSE_RADIOBTN=no
9638 DEFAULT_wxUSE_REARRANGECTRL=no
9639 DEFAULT_wxUSE_SASH=no
9640 DEFAULT_wxUSE_SCROLLBAR=no
9641 DEFAULT_wxUSE_SEARCHCTRL=no
9642 DEFAULT_wxUSE_SLIDER=no
9643 DEFAULT_wxUSE_SPINBTN=no
9644 DEFAULT_wxUSE_SPINCTRL=no
9645 DEFAULT_wxUSE_SPLITTER=no
9646 DEFAULT_wxUSE_STATBMP=no
9647 DEFAULT_wxUSE_STATBOX=no
9648 DEFAULT_wxUSE_STATLINE=no
9649 DEFAULT_wxUSE_STATUSBAR=no
9650 DEFAULT_wxUSE_TIPWINDOW=no
9651 DEFAULT_wxUSE_TOGGLEBTN=no
9652 DEFAULT_wxUSE_TOOLBAR=no
9653 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9654 DEFAULT_wxUSE_TOOLBOOK=no
9655 DEFAULT_wxUSE_TOOLTIPS=no
9656 DEFAULT_wxUSE_TREEBOOK=no
9657 DEFAULT_wxUSE_TREECTRL=no
9658 fi
9659
9660
9661 enablestring=
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9665 defaultval=yes
9666 else
9667 defaultval=no
9668 fi
9669 fi
9670
9671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9673 # Check whether --enable-accel was given.
9674 if test "${enable_accel+set}" = set; then
9675 enableval=$enable_accel;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_accel='wxUSE_ACCEL=yes'
9678 else
9679 wx_cv_use_accel='wxUSE_ACCEL=no'
9680 fi
9681
9682 else
9683
9684 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9685
9686 fi
9687
9688
9689 eval "$wx_cv_use_accel"
9690
9691 if test x"$enablestring" = xdisable; then
9692 if test $wxUSE_ACCEL = no; then
9693 result=yes
9694 else
9695 result=no
9696 fi
9697 else
9698 result=$wxUSE_ACCEL
9699 fi
9700
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9703
9704
9705 enablestring=
9706 defaultval=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x"$enablestring" = xdisable; then
9709 defaultval=yes
9710 else
9711 defaultval=no
9712 fi
9713 fi
9714
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9717 # Check whether --enable-animatectrl was given.
9718 if test "${enable_animatectrl+set}" = set; then
9719 enableval=$enable_animatectrl;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9722 else
9723 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9724 fi
9725
9726 else
9727
9728 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9729
9730 fi
9731
9732
9733 eval "$wx_cv_use_animatectrl"
9734
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_ANIMATIONCTRL = no; then
9737 result=yes
9738 else
9739 result=no
9740 fi
9741 else
9742 result=$wxUSE_ANIMATIONCTRL
9743 fi
9744
9745 { echo "$as_me:$LINENO: result: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9747
9748
9749 enablestring=
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9753 defaultval=yes
9754 else
9755 defaultval=no
9756 fi
9757 fi
9758
9759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9761 # Check whether --enable-bmpbutton was given.
9762 if test "${enable_bmpbutton+set}" = set; then
9763 enableval=$enable_bmpbutton;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9766 else
9767 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9768 fi
9769
9770 else
9771
9772 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9773
9774 fi
9775
9776
9777 eval "$wx_cv_use_bmpbutton"
9778
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_BMPBUTTON = no; then
9781 result=yes
9782 else
9783 result=no
9784 fi
9785 else
9786 result=$wxUSE_BMPBUTTON
9787 fi
9788
9789 { echo "$as_me:$LINENO: result: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9791
9792
9793 enablestring=
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9797 defaultval=yes
9798 else
9799 defaultval=no
9800 fi
9801 fi
9802
9803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9805 # Check whether --enable-bmpcombobox was given.
9806 if test "${enable_bmpcombobox+set}" = set; then
9807 enableval=$enable_bmpcombobox;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9810 else
9811 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9812 fi
9813
9814 else
9815
9816 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9817
9818 fi
9819
9820
9821 eval "$wx_cv_use_bmpcombobox"
9822
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_BITMAPCOMBOBOX = no; then
9825 result=yes
9826 else
9827 result=no
9828 fi
9829 else
9830 result=$wxUSE_BITMAPCOMBOBOX
9831 fi
9832
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9835
9836
9837 enablestring=
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9841 defaultval=yes
9842 else
9843 defaultval=no
9844 fi
9845 fi
9846
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9849 # Check whether --enable-button was given.
9850 if test "${enable_button+set}" = set; then
9851 enableval=$enable_button;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_button='wxUSE_BUTTON=yes'
9854 else
9855 wx_cv_use_button='wxUSE_BUTTON=no'
9856 fi
9857
9858 else
9859
9860 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9861
9862 fi
9863
9864
9865 eval "$wx_cv_use_button"
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_BUTTON = no; then
9869 result=yes
9870 else
9871 result=no
9872 fi
9873 else
9874 result=$wxUSE_BUTTON
9875 fi
9876
9877 { echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9879
9880
9881 enablestring=
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9885 defaultval=yes
9886 else
9887 defaultval=no
9888 fi
9889 fi
9890
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9893 # Check whether --enable-calendar was given.
9894 if test "${enable_calendar+set}" = set; then
9895 enableval=$enable_calendar;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9898 else
9899 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9900 fi
9901
9902 else
9903
9904 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_calendar"
9910
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CALCTRL = no; then
9913 result=yes
9914 else
9915 result=no
9916 fi
9917 else
9918 result=$wxUSE_CALCTRL
9919 fi
9920
9921 { echo "$as_me:$LINENO: result: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9923
9924
9925 enablestring=
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9929 defaultval=yes
9930 else
9931 defaultval=no
9932 fi
9933 fi
9934
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9937 # Check whether --enable-caret was given.
9938 if test "${enable_caret+set}" = set; then
9939 enableval=$enable_caret;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_caret='wxUSE_CARET=yes'
9942 else
9943 wx_cv_use_caret='wxUSE_CARET=no'
9944 fi
9945
9946 else
9947
9948 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9949
9950 fi
9951
9952
9953 eval "$wx_cv_use_caret"
9954
9955 if test x"$enablestring" = xdisable; then
9956 if test $wxUSE_CARET = no; then
9957 result=yes
9958 else
9959 result=no
9960 fi
9961 else
9962 result=$wxUSE_CARET
9963 fi
9964
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9967
9968
9969 enablestring=
9970 defaultval=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x"$enablestring" = xdisable; then
9973 defaultval=yes
9974 else
9975 defaultval=no
9976 fi
9977 fi
9978
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9981 # Check whether --enable-checkbox was given.
9982 if test "${enable_checkbox+set}" = set; then
9983 enableval=$enable_checkbox;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9986 else
9987 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9988 fi
9989
9990 else
9991
9992 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9993
9994 fi
9995
9996
9997 eval "$wx_cv_use_checkbox"
9998
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHECKBOX = no; then
10001 result=yes
10002 else
10003 result=no
10004 fi
10005 else
10006 result=$wxUSE_CHECKBOX
10007 fi
10008
10009 { echo "$as_me:$LINENO: result: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10011
10012
10013 enablestring=
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10017 defaultval=yes
10018 else
10019 defaultval=no
10020 fi
10021 fi
10022
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10025 # Check whether --enable-checklst was given.
10026 if test "${enable_checklst+set}" = set; then
10027 enableval=$enable_checklst;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10030 else
10031 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10032 fi
10033
10034 else
10035
10036 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10037
10038 fi
10039
10040
10041 eval "$wx_cv_use_checklst"
10042
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_CHECKLST = no; then
10045 result=yes
10046 else
10047 result=no
10048 fi
10049 else
10050 result=$wxUSE_CHECKLST
10051 fi
10052
10053 { echo "$as_me:$LINENO: result: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10055
10056
10057 enablestring=
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10061 defaultval=yes
10062 else
10063 defaultval=no
10064 fi
10065 fi
10066
10067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10069 # Check whether --enable-choice was given.
10070 if test "${enable_choice+set}" = set; then
10071 enableval=$enable_choice;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_choice='wxUSE_CHOICE=yes'
10074 else
10075 wx_cv_use_choice='wxUSE_CHOICE=no'
10076 fi
10077
10078 else
10079
10080 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10081
10082 fi
10083
10084
10085 eval "$wx_cv_use_choice"
10086
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_CHOICE = no; then
10089 result=yes
10090 else
10091 result=no
10092 fi
10093 else
10094 result=$wxUSE_CHOICE
10095 fi
10096
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10099
10100
10101 enablestring=
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10105 defaultval=yes
10106 else
10107 defaultval=no
10108 fi
10109 fi
10110
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10113 # Check whether --enable-choicebook was given.
10114 if test "${enable_choicebook+set}" = set; then
10115 enableval=$enable_choicebook;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10118 else
10119 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10120 fi
10121
10122 else
10123
10124 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10125
10126 fi
10127
10128
10129 eval "$wx_cv_use_choicebook"
10130
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_CHOICEBOOK = no; then
10133 result=yes
10134 else
10135 result=no
10136 fi
10137 else
10138 result=$wxUSE_CHOICEBOOK
10139 fi
10140
10141 { echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10143
10144
10145 enablestring=
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10149 defaultval=yes
10150 else
10151 defaultval=no
10152 fi
10153 fi
10154
10155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10157 # Check whether --enable-collpane was given.
10158 if test "${enable_collpane+set}" = set; then
10159 enableval=$enable_collpane;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10162 else
10163 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10164 fi
10165
10166 else
10167
10168 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10169
10170 fi
10171
10172
10173 eval "$wx_cv_use_collpane"
10174
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COLLPANE = no; then
10177 result=yes
10178 else
10179 result=no
10180 fi
10181 else
10182 result=$wxUSE_COLLPANE
10183 fi
10184
10185 { echo "$as_me:$LINENO: result: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10187
10188
10189 enablestring=
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10193 defaultval=yes
10194 else
10195 defaultval=no
10196 fi
10197 fi
10198
10199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10200 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10201 # Check whether --enable-colourpicker was given.
10202 if test "${enable_colourpicker+set}" = set; then
10203 enableval=$enable_colourpicker;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10206 else
10207 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10208 fi
10209
10210 else
10211
10212 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10213
10214 fi
10215
10216
10217 eval "$wx_cv_use_colourpicker"
10218
10219 if test x"$enablestring" = xdisable; then
10220 if test $wxUSE_COLOURPICKERCTRL = no; then
10221 result=yes
10222 else
10223 result=no
10224 fi
10225 else
10226 result=$wxUSE_COLOURPICKERCTRL
10227 fi
10228
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10231
10232
10233 enablestring=
10234 defaultval=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x"$enablestring" = xdisable; then
10237 defaultval=yes
10238 else
10239 defaultval=no
10240 fi
10241 fi
10242
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10245 # Check whether --enable-combobox was given.
10246 if test "${enable_combobox+set}" = set; then
10247 enableval=$enable_combobox;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10250 else
10251 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10252 fi
10253
10254 else
10255
10256 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10257
10258 fi
10259
10260
10261 eval "$wx_cv_use_combobox"
10262
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_COMBOBOX = no; then
10265 result=yes
10266 else
10267 result=no
10268 fi
10269 else
10270 result=$wxUSE_COMBOBOX
10271 fi
10272
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10275
10276
10277 enablestring=
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10281 defaultval=yes
10282 else
10283 defaultval=no
10284 fi
10285 fi
10286
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10289 # Check whether --enable-comboctrl was given.
10290 if test "${enable_comboctrl+set}" = set; then
10291 enableval=$enable_comboctrl;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10294 else
10295 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10296 fi
10297
10298 else
10299
10300 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10301
10302 fi
10303
10304
10305 eval "$wx_cv_use_comboctrl"
10306
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_COMBOCTRL = no; then
10309 result=yes
10310 else
10311 result=no
10312 fi
10313 else
10314 result=$wxUSE_COMBOCTRL
10315 fi
10316
10317 { echo "$as_me:$LINENO: result: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10319
10320
10321 enablestring=
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10325 defaultval=yes
10326 else
10327 defaultval=no
10328 fi
10329 fi
10330
10331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10333 # Check whether --enable-dataviewctrl was given.
10334 if test "${enable_dataviewctrl+set}" = set; then
10335 enableval=$enable_dataviewctrl;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10338 else
10339 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10340 fi
10341
10342 else
10343
10344 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10345
10346 fi
10347
10348
10349 eval "$wx_cv_use_dataviewctrl"
10350
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_DATAVIEWCTRL = no; then
10353 result=yes
10354 else
10355 result=no
10356 fi
10357 else
10358 result=$wxUSE_DATAVIEWCTRL
10359 fi
10360
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10363
10364
10365 enablestring=
10366 defaultval=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x"$enablestring" = xdisable; then
10369 defaultval=yes
10370 else
10371 defaultval=no
10372 fi
10373 fi
10374
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10377 # Check whether --enable-datepick was given.
10378 if test "${enable_datepick+set}" = set; then
10379 enableval=$enable_datepick;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10382 else
10383 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10384 fi
10385
10386 else
10387
10388 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10389
10390 fi
10391
10392
10393 eval "$wx_cv_use_datepick"
10394
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DATEPICKCTRL = no; then
10397 result=yes
10398 else
10399 result=no
10400 fi
10401 else
10402 result=$wxUSE_DATEPICKCTRL
10403 fi
10404
10405 { echo "$as_me:$LINENO: result: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10407
10408
10409 enablestring=
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10413 defaultval=yes
10414 else
10415 defaultval=no
10416 fi
10417 fi
10418
10419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10421 # Check whether --enable-detect_sm was given.
10422 if test "${enable_detect_sm+set}" = set; then
10423 enableval=$enable_detect_sm;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10426 else
10427 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10428 fi
10429
10430 else
10431
10432 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10433
10434 fi
10435
10436
10437 eval "$wx_cv_use_detect_sm"
10438
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_DETECT_SM = no; then
10441 result=yes
10442 else
10443 result=no
10444 fi
10445 else
10446 result=$wxUSE_DETECT_SM
10447 fi
10448
10449 { echo "$as_me:$LINENO: result: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10451
10452
10453 enablestring=
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10457 defaultval=yes
10458 else
10459 defaultval=no
10460 fi
10461 fi
10462
10463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10465 # Check whether --enable-dirpicker was given.
10466 if test "${enable_dirpicker+set}" = set; then
10467 enableval=$enable_dirpicker;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10470 else
10471 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10472 fi
10473
10474 else
10475
10476 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10477
10478 fi
10479
10480
10481 eval "$wx_cv_use_dirpicker"
10482
10483 if test x"$enablestring" = xdisable; then
10484 if test $wxUSE_DIRPICKERCTRL = no; then
10485 result=yes
10486 else
10487 result=no
10488 fi
10489 else
10490 result=$wxUSE_DIRPICKERCTRL
10491 fi
10492
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10495
10496
10497 enablestring=
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10501 defaultval=yes
10502 else
10503 defaultval=no
10504 fi
10505 fi
10506
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10509 # Check whether --enable-display was given.
10510 if test "${enable_display+set}" = set; then
10511 enableval=$enable_display;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_display='wxUSE_DISPLAY=yes'
10514 else
10515 wx_cv_use_display='wxUSE_DISPLAY=no'
10516 fi
10517
10518 else
10519
10520 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10521
10522 fi
10523
10524
10525 eval "$wx_cv_use_display"
10526
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_DISPLAY = no; then
10529 result=yes
10530 else
10531 result=no
10532 fi
10533 else
10534 result=$wxUSE_DISPLAY
10535 fi
10536
10537 { echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10539
10540
10541 enablestring=
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10545 defaultval=yes
10546 else
10547 defaultval=no
10548 fi
10549 fi
10550
10551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10553 # Check whether --enable-editablebox was given.
10554 if test "${enable_editablebox+set}" = set; then
10555 enableval=$enable_editablebox;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10558 else
10559 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10560 fi
10561
10562 else
10563
10564 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10565
10566 fi
10567
10568
10569 eval "$wx_cv_use_editablebox"
10570
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_EDITABLELISTBOX = no; then
10573 result=yes
10574 else
10575 result=no
10576 fi
10577 else
10578 result=$wxUSE_EDITABLELISTBOX
10579 fi
10580
10581 { echo "$as_me:$LINENO: result: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10583
10584
10585 enablestring=
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10589 defaultval=yes
10590 else
10591 defaultval=no
10592 fi
10593 fi
10594
10595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10597 # Check whether --enable-filectrl was given.
10598 if test "${enable_filectrl+set}" = set; then
10599 enableval=$enable_filectrl;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10602 else
10603 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10604 fi
10605
10606 else
10607
10608 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10609
10610 fi
10611
10612
10613 eval "$wx_cv_use_filectrl"
10614
10615 if test x"$enablestring" = xdisable; then
10616 if test $wxUSE_FILECTRL = no; then
10617 result=yes
10618 else
10619 result=no
10620 fi
10621 else
10622 result=$wxUSE_FILECTRL
10623 fi
10624
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10627
10628
10629 enablestring=
10630 defaultval=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x"$enablestring" = xdisable; then
10633 defaultval=yes
10634 else
10635 defaultval=no
10636 fi
10637 fi
10638
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10641 # Check whether --enable-filepicker was given.
10642 if test "${enable_filepicker+set}" = set; then
10643 enableval=$enable_filepicker;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10646 else
10647 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10648 fi
10649
10650 else
10651
10652 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10653
10654 fi
10655
10656
10657 eval "$wx_cv_use_filepicker"
10658
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_FILEPICKERCTRL = no; then
10661 result=yes
10662 else
10663 result=no
10664 fi
10665 else
10666 result=$wxUSE_FILEPICKERCTRL
10667 fi
10668
10669 { echo "$as_me:$LINENO: result: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10671
10672
10673 enablestring=
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10677 defaultval=yes
10678 else
10679 defaultval=no
10680 fi
10681 fi
10682
10683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10685 # Check whether --enable-fontpicker was given.
10686 if test "${enable_fontpicker+set}" = set; then
10687 enableval=$enable_fontpicker;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10690 else
10691 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10692 fi
10693
10694 else
10695
10696 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10697
10698 fi
10699
10700
10701 eval "$wx_cv_use_fontpicker"
10702
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_FONTPICKERCTRL = no; then
10705 result=yes
10706 else
10707 result=no
10708 fi
10709 else
10710 result=$wxUSE_FONTPICKERCTRL
10711 fi
10712
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10715
10716
10717 enablestring=
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10721 defaultval=yes
10722 else
10723 defaultval=no
10724 fi
10725 fi
10726
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10729 # Check whether --enable-gauge was given.
10730 if test "${enable_gauge+set}" = set; then
10731 enableval=$enable_gauge;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10734 else
10735 wx_cv_use_gauge='wxUSE_GAUGE=no'
10736 fi
10737
10738 else
10739
10740 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10741
10742 fi
10743
10744
10745 eval "$wx_cv_use_gauge"
10746
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_GAUGE = no; then
10749 result=yes
10750 else
10751 result=no
10752 fi
10753 else
10754 result=$wxUSE_GAUGE
10755 fi
10756
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10759
10760
10761 enablestring=
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10765 defaultval=yes
10766 else
10767 defaultval=no
10768 fi
10769 fi
10770
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10773 # Check whether --enable-grid was given.
10774 if test "${enable_grid+set}" = set; then
10775 enableval=$enable_grid;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_grid='wxUSE_GRID=yes'
10778 else
10779 wx_cv_use_grid='wxUSE_GRID=no'
10780 fi
10781
10782 else
10783
10784 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10785
10786 fi
10787
10788
10789 eval "$wx_cv_use_grid"
10790
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_GRID = no; then
10793 result=yes
10794 else
10795 result=no
10796 fi
10797 else
10798 result=$wxUSE_GRID
10799 fi
10800
10801 { echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10803
10804
10805 enablestring=
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10809 defaultval=yes
10810 else
10811 defaultval=no
10812 fi
10813 fi
10814
10815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10817 # Check whether --enable-headerctrl was given.
10818 if test "${enable_headerctrl+set}" = set; then
10819 enableval=$enable_headerctrl;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10822 else
10823 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10824 fi
10825
10826 else
10827
10828 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10829
10830 fi
10831
10832
10833 eval "$wx_cv_use_headerctrl"
10834
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_HEADERCTRL = no; then
10837 result=yes
10838 else
10839 result=no
10840 fi
10841 else
10842 result=$wxUSE_HEADERCTRL
10843 fi
10844
10845 { echo "$as_me:$LINENO: result: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10847
10848
10849 enablestring=
10850 defaultval=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x"$enablestring" = xdisable; then
10853 defaultval=yes
10854 else
10855 defaultval=no
10856 fi
10857 fi
10858
10859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10860 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10861 # Check whether --enable-hyperlink was given.
10862 if test "${enable_hyperlink+set}" = set; then
10863 enableval=$enable_hyperlink;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10866 else
10867 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10868 fi
10869
10870 else
10871
10872 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10873
10874 fi
10875
10876
10877 eval "$wx_cv_use_hyperlink"
10878
10879 if test x"$enablestring" = xdisable; then
10880 if test $wxUSE_HYPERLINKCTRL = no; then
10881 result=yes
10882 else
10883 result=no
10884 fi
10885 else
10886 result=$wxUSE_HYPERLINKCTRL
10887 fi
10888
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10891
10892
10893 enablestring=
10894 defaultval=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x"$enablestring" = xdisable; then
10897 defaultval=yes
10898 else
10899 defaultval=no
10900 fi
10901 fi
10902
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10905 # Check whether --enable-imaglist was given.
10906 if test "${enable_imaglist+set}" = set; then
10907 enableval=$enable_imaglist;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10910 else
10911 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10912 fi
10913
10914 else
10915
10916 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10917
10918 fi
10919
10920
10921 eval "$wx_cv_use_imaglist"
10922
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_IMAGLIST = no; then
10925 result=yes
10926 else
10927 result=no
10928 fi
10929 else
10930 result=$wxUSE_IMAGLIST
10931 fi
10932
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10935
10936
10937 enablestring=
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10941 defaultval=yes
10942 else
10943 defaultval=no
10944 fi
10945 fi
10946
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10949 # Check whether --enable-infobar was given.
10950 if test "${enable_infobar+set}" = set; then
10951 enableval=$enable_infobar;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
10954 else
10955 wx_cv_use_infobar='wxUSE_INFOBAR=no'
10956 fi
10957
10958 else
10959
10960 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10961
10962 fi
10963
10964
10965 eval "$wx_cv_use_infobar"
10966
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_INFOBAR = no; then
10969 result=yes
10970 else
10971 result=no
10972 fi
10973 else
10974 result=$wxUSE_INFOBAR
10975 fi
10976
10977 { echo "$as_me:$LINENO: result: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10979
10980
10981 enablestring=
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10985 defaultval=yes
10986 else
10987 defaultval=no
10988 fi
10989 fi
10990
10991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10993 # Check whether --enable-listbook was given.
10994 if test "${enable_listbook+set}" = set; then
10995 enableval=$enable_listbook;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10998 else
10999 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11000 fi
11001
11002 else
11003
11004 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11005
11006 fi
11007
11008
11009 eval "$wx_cv_use_listbook"
11010
11011 if test x"$enablestring" = xdisable; then
11012 if test $wxUSE_LISTBOOK = no; then
11013 result=yes
11014 else
11015 result=no
11016 fi
11017 else
11018 result=$wxUSE_LISTBOOK
11019 fi
11020
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11023
11024
11025 enablestring=
11026 defaultval=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x"$enablestring" = xdisable; then
11029 defaultval=yes
11030 else
11031 defaultval=no
11032 fi
11033 fi
11034
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11037 # Check whether --enable-listbox was given.
11038 if test "${enable_listbox+set}" = set; then
11039 enableval=$enable_listbox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11042 else
11043 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11044 fi
11045
11046 else
11047
11048 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11049
11050 fi
11051
11052
11053 eval "$wx_cv_use_listbox"
11054
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_LISTBOX = no; then
11057 result=yes
11058 else
11059 result=no
11060 fi
11061 else
11062 result=$wxUSE_LISTBOX
11063 fi
11064
11065 { echo "$as_me:$LINENO: result: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11067
11068
11069 enablestring=
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11073 defaultval=yes
11074 else
11075 defaultval=no
11076 fi
11077 fi
11078
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11081 # Check whether --enable-listctrl was given.
11082 if test "${enable_listctrl+set}" = set; then
11083 enableval=$enable_listctrl;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11086 else
11087 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11088 fi
11089
11090 else
11091
11092 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11093
11094 fi
11095
11096
11097 eval "$wx_cv_use_listctrl"
11098
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_LISTCTRL = no; then
11101 result=yes
11102 else
11103 result=no
11104 fi
11105 else
11106 result=$wxUSE_LISTCTRL
11107 fi
11108
11109 { echo "$as_me:$LINENO: result: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11111
11112
11113 enablestring=
11114 defaultval=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x"$enablestring" = xdisable; then
11117 defaultval=yes
11118 else
11119 defaultval=no
11120 fi
11121 fi
11122
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11125 # Check whether --enable-notebook was given.
11126 if test "${enable_notebook+set}" = set; then
11127 enableval=$enable_notebook;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11130 else
11131 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11132 fi
11133
11134 else
11135
11136 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11137
11138 fi
11139
11140
11141 eval "$wx_cv_use_notebook"
11142
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_NOTEBOOK = no; then
11145 result=yes
11146 else
11147 result=no
11148 fi
11149 else
11150 result=$wxUSE_NOTEBOOK
11151 fi
11152
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11155
11156
11157 enablestring=
11158 defaultval=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x"$enablestring" = xdisable; then
11161 defaultval=yes
11162 else
11163 defaultval=no
11164 fi
11165 fi
11166
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11169 # Check whether --enable-notifmsg was given.
11170 if test "${enable_notifmsg+set}" = set; then
11171 enableval=$enable_notifmsg;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11174 else
11175 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11176 fi
11177
11178 else
11179
11180 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11181
11182 fi
11183
11184
11185 eval "$wx_cv_use_notifmsg"
11186
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11189 result=yes
11190 else
11191 result=no
11192 fi
11193 else
11194 result=$wxUSE_NOTIFICATION_MESSAGE
11195 fi
11196
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11199
11200
11201 enablestring=
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11205 defaultval=yes
11206 else
11207 defaultval=no
11208 fi
11209 fi
11210
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11213 # Check whether --enable-odcombobox was given.
11214 if test "${enable_odcombobox+set}" = set; then
11215 enableval=$enable_odcombobox;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11218 else
11219 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11220 fi
11221
11222 else
11223
11224 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11225
11226 fi
11227
11228
11229 eval "$wx_cv_use_odcombobox"
11230
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_ODCOMBOBOX = no; then
11233 result=yes
11234 else
11235 result=no
11236 fi
11237 else
11238 result=$wxUSE_ODCOMBOBOX
11239 fi
11240
11241 { echo "$as_me:$LINENO: result: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11243
11244
11245 enablestring=
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11249 defaultval=yes
11250 else
11251 defaultval=no
11252 fi
11253 fi
11254
11255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11257 # Check whether --enable-popupwin was given.
11258 if test "${enable_popupwin+set}" = set; then
11259 enableval=$enable_popupwin;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11262 else
11263 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11264 fi
11265
11266 else
11267
11268 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11269
11270 fi
11271
11272
11273 eval "$wx_cv_use_popupwin"
11274
11275 if test x"$enablestring" = xdisable; then
11276 if test $wxUSE_POPUPWIN = no; then
11277 result=yes
11278 else
11279 result=no
11280 fi
11281 else
11282 result=$wxUSE_POPUPWIN
11283 fi
11284
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11287
11288
11289 enablestring=
11290 defaultval=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x"$enablestring" = xdisable; then
11293 defaultval=yes
11294 else
11295 defaultval=no
11296 fi
11297 fi
11298
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11301 # Check whether --enable-radiobox was given.
11302 if test "${enable_radiobox+set}" = set; then
11303 enableval=$enable_radiobox;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11306 else
11307 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11308 fi
11309
11310 else
11311
11312 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11313
11314 fi
11315
11316
11317 eval "$wx_cv_use_radiobox"
11318
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_RADIOBOX = no; then
11321 result=yes
11322 else
11323 result=no
11324 fi
11325 else
11326 result=$wxUSE_RADIOBOX
11327 fi
11328
11329 { echo "$as_me:$LINENO: result: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11331
11332
11333 enablestring=
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11337 defaultval=yes
11338 else
11339 defaultval=no
11340 fi
11341 fi
11342
11343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11345 # Check whether --enable-radiobtn was given.
11346 if test "${enable_radiobtn+set}" = set; then
11347 enableval=$enable_radiobtn;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11350 else
11351 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11352 fi
11353
11354 else
11355
11356 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11357
11358 fi
11359
11360
11361 eval "$wx_cv_use_radiobtn"
11362
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_RADIOBTN = no; then
11365 result=yes
11366 else
11367 result=no
11368 fi
11369 else
11370 result=$wxUSE_RADIOBTN
11371 fi
11372
11373 { echo "$as_me:$LINENO: result: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11375
11376
11377 enablestring=
11378 defaultval=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x"$enablestring" = xdisable; then
11381 defaultval=yes
11382 else
11383 defaultval=no
11384 fi
11385 fi
11386
11387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11388 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11389 # Check whether --enable-rearrangectrl was given.
11390 if test "${enable_rearrangectrl+set}" = set; then
11391 enableval=$enable_rearrangectrl;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11394 else
11395 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11396 fi
11397
11398 else
11399
11400 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11401
11402 fi
11403
11404
11405 eval "$wx_cv_use_rearrangectrl"
11406
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_REARRANGECTRL = no; then
11409 result=yes
11410 else
11411 result=no
11412 fi
11413 else
11414 result=$wxUSE_REARRANGECTRL
11415 fi
11416
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11419
11420
11421 enablestring=
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11425 defaultval=yes
11426 else
11427 defaultval=no
11428 fi
11429 fi
11430
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11433 # Check whether --enable-sash was given.
11434 if test "${enable_sash+set}" = set; then
11435 enableval=$enable_sash;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_sash='wxUSE_SASH=yes'
11438 else
11439 wx_cv_use_sash='wxUSE_SASH=no'
11440 fi
11441
11442 else
11443
11444 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11445
11446 fi
11447
11448
11449 eval "$wx_cv_use_sash"
11450
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SASH = no; then
11453 result=yes
11454 else
11455 result=no
11456 fi
11457 else
11458 result=$wxUSE_SASH
11459 fi
11460
11461 { echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11463
11464
11465 enablestring=
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11469 defaultval=yes
11470 else
11471 defaultval=no
11472 fi
11473 fi
11474
11475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11477 # Check whether --enable-scrollbar was given.
11478 if test "${enable_scrollbar+set}" = set; then
11479 enableval=$enable_scrollbar;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11482 else
11483 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11484 fi
11485
11486 else
11487
11488 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11489
11490 fi
11491
11492
11493 eval "$wx_cv_use_scrollbar"
11494
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_SCROLLBAR = no; then
11497 result=yes
11498 else
11499 result=no
11500 fi
11501 else
11502 result=$wxUSE_SCROLLBAR
11503 fi
11504
11505 { echo "$as_me:$LINENO: result: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11507
11508
11509 enablestring=
11510 defaultval=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x"$enablestring" = xdisable; then
11513 defaultval=yes
11514 else
11515 defaultval=no
11516 fi
11517 fi
11518
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11521 # Check whether --enable-searchctrl was given.
11522 if test "${enable_searchctrl+set}" = set; then
11523 enableval=$enable_searchctrl;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11526 else
11527 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11528 fi
11529
11530 else
11531
11532 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11533
11534 fi
11535
11536
11537 eval "$wx_cv_use_searchctrl"
11538
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_SEARCHCTRL = no; then
11541 result=yes
11542 else
11543 result=no
11544 fi
11545 else
11546 result=$wxUSE_SEARCHCTRL
11547 fi
11548
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11551
11552
11553 enablestring=
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11557 defaultval=yes
11558 else
11559 defaultval=no
11560 fi
11561 fi
11562
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11565 # Check whether --enable-slider was given.
11566 if test "${enable_slider+set}" = set; then
11567 enableval=$enable_slider;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_slider='wxUSE_SLIDER=yes'
11570 else
11571 wx_cv_use_slider='wxUSE_SLIDER=no'
11572 fi
11573
11574 else
11575
11576 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11577
11578 fi
11579
11580
11581 eval "$wx_cv_use_slider"
11582
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_SLIDER = no; then
11585 result=yes
11586 else
11587 result=no
11588 fi
11589 else
11590 result=$wxUSE_SLIDER
11591 fi
11592
11593 { echo "$as_me:$LINENO: result: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11595
11596
11597 enablestring=
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11601 defaultval=yes
11602 else
11603 defaultval=no
11604 fi
11605 fi
11606
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11609 # Check whether --enable-spinbtn was given.
11610 if test "${enable_spinbtn+set}" = set; then
11611 enableval=$enable_spinbtn;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11614 else
11615 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11616 fi
11617
11618 else
11619
11620 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11621
11622 fi
11623
11624
11625 eval "$wx_cv_use_spinbtn"
11626
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_SPINBTN = no; then
11629 result=yes
11630 else
11631 result=no
11632 fi
11633 else
11634 result=$wxUSE_SPINBTN
11635 fi
11636
11637 { echo "$as_me:$LINENO: result: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11639
11640
11641 enablestring=
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11645 defaultval=yes
11646 else
11647 defaultval=no
11648 fi
11649 fi
11650
11651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11652 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11653 # Check whether --enable-spinctrl was given.
11654 if test "${enable_spinctrl+set}" = set; then
11655 enableval=$enable_spinctrl;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11658 else
11659 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11660 fi
11661
11662 else
11663
11664 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11665
11666 fi
11667
11668
11669 eval "$wx_cv_use_spinctrl"
11670
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_SPINCTRL = no; then
11673 result=yes
11674 else
11675 result=no
11676 fi
11677 else
11678 result=$wxUSE_SPINCTRL
11679 fi
11680
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11683
11684
11685 enablestring=
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11689 defaultval=yes
11690 else
11691 defaultval=no
11692 fi
11693 fi
11694
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11697 # Check whether --enable-splitter was given.
11698 if test "${enable_splitter+set}" = set; then
11699 enableval=$enable_splitter;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11702 else
11703 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11704 fi
11705
11706 else
11707
11708 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11709
11710 fi
11711
11712
11713 eval "$wx_cv_use_splitter"
11714
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_SPLITTER = no; then
11717 result=yes
11718 else
11719 result=no
11720 fi
11721 else
11722 result=$wxUSE_SPLITTER
11723 fi
11724
11725 { echo "$as_me:$LINENO: result: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11727
11728
11729 enablestring=
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11733 defaultval=yes
11734 else
11735 defaultval=no
11736 fi
11737 fi
11738
11739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11741 # Check whether --enable-statbmp was given.
11742 if test "${enable_statbmp+set}" = set; then
11743 enableval=$enable_statbmp;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11746 else
11747 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11748 fi
11749
11750 else
11751
11752 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11753
11754 fi
11755
11756
11757 eval "$wx_cv_use_statbmp"
11758
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_STATBMP = no; then
11761 result=yes
11762 else
11763 result=no
11764 fi
11765 else
11766 result=$wxUSE_STATBMP
11767 fi
11768
11769 { echo "$as_me:$LINENO: result: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11771
11772
11773 enablestring=
11774 defaultval=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x"$enablestring" = xdisable; then
11777 defaultval=yes
11778 else
11779 defaultval=no
11780 fi
11781 fi
11782
11783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11784 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11785 # Check whether --enable-statbox was given.
11786 if test "${enable_statbox+set}" = set; then
11787 enableval=$enable_statbox;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11790 else
11791 wx_cv_use_statbox='wxUSE_STATBOX=no'
11792 fi
11793
11794 else
11795
11796 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11797
11798 fi
11799
11800
11801 eval "$wx_cv_use_statbox"
11802
11803 if test x"$enablestring" = xdisable; then
11804 if test $wxUSE_STATBOX = no; then
11805 result=yes
11806 else
11807 result=no
11808 fi
11809 else
11810 result=$wxUSE_STATBOX
11811 fi
11812
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11815
11816
11817 enablestring=
11818 defaultval=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x"$enablestring" = xdisable; then
11821 defaultval=yes
11822 else
11823 defaultval=no
11824 fi
11825 fi
11826
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11829 # Check whether --enable-statline was given.
11830 if test "${enable_statline+set}" = set; then
11831 enableval=$enable_statline;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_statline='wxUSE_STATLINE=yes'
11834 else
11835 wx_cv_use_statline='wxUSE_STATLINE=no'
11836 fi
11837
11838 else
11839
11840 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11841
11842 fi
11843
11844
11845 eval "$wx_cv_use_statline"
11846
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_STATLINE = no; then
11849 result=yes
11850 else
11851 result=no
11852 fi
11853 else
11854 result=$wxUSE_STATLINE
11855 fi
11856
11857 { echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11859
11860
11861 enablestring=
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11865 defaultval=yes
11866 else
11867 defaultval=no
11868 fi
11869 fi
11870
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11873 # Check whether --enable-stattext was given.
11874 if test "${enable_stattext+set}" = set; then
11875 enableval=$enable_stattext;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11878 else
11879 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11880 fi
11881
11882 else
11883
11884 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11885
11886 fi
11887
11888
11889 eval "$wx_cv_use_stattext"
11890
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_STATTEXT = no; then
11893 result=yes
11894 else
11895 result=no
11896 fi
11897 else
11898 result=$wxUSE_STATTEXT
11899 fi
11900
11901 { echo "$as_me:$LINENO: result: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11903
11904
11905 enablestring=
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11909 defaultval=yes
11910 else
11911 defaultval=no
11912 fi
11913 fi
11914
11915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11917 # Check whether --enable-statusbar was given.
11918 if test "${enable_statusbar+set}" = set; then
11919 enableval=$enable_statusbar;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11922 else
11923 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11924 fi
11925
11926 else
11927
11928 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11929
11930 fi
11931
11932
11933 eval "$wx_cv_use_statusbar"
11934
11935 if test x"$enablestring" = xdisable; then
11936 if test $wxUSE_STATUSBAR = no; then
11937 result=yes
11938 else
11939 result=no
11940 fi
11941 else
11942 result=$wxUSE_STATUSBAR
11943 fi
11944
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11947
11948
11949 enablestring=
11950 defaultval=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x"$enablestring" = xdisable; then
11953 defaultval=yes
11954 else
11955 defaultval=no
11956 fi
11957 fi
11958
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11961 # Check whether --enable-taskbaricon was given.
11962 if test "${enable_taskbaricon+set}" = set; then
11963 enableval=$enable_taskbaricon;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11966 else
11967 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11968 fi
11969
11970 else
11971
11972 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11973
11974 fi
11975
11976
11977 eval "$wx_cv_use_taskbaricon"
11978
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TASKBARICON = no; then
11981 result=yes
11982 else
11983 result=no
11984 fi
11985 else
11986 result=$wxUSE_TASKBARICON
11987 fi
11988
11989 { echo "$as_me:$LINENO: result: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11991
11992
11993 enablestring=
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
11997 defaultval=yes
11998 else
11999 defaultval=no
12000 fi
12001 fi
12002
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12005 # Check whether --enable-tbarnative was given.
12006 if test "${enable_tbarnative+set}" = set; then
12007 enableval=$enable_tbarnative;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12010 else
12011 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12012 fi
12013
12014 else
12015
12016 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12017
12018 fi
12019
12020
12021 eval "$wx_cv_use_tbarnative"
12022
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TOOLBAR_NATIVE = no; then
12025 result=yes
12026 else
12027 result=no
12028 fi
12029 else
12030 result=$wxUSE_TOOLBAR_NATIVE
12031 fi
12032
12033 { echo "$as_me:$LINENO: result: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12035
12036
12037 enablestring=
12038 defaultval=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x"$enablestring" = xdisable; then
12041 defaultval=yes
12042 else
12043 defaultval=no
12044 fi
12045 fi
12046
12047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12048 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12049 # Check whether --enable-textctrl was given.
12050 if test "${enable_textctrl+set}" = set; then
12051 enableval=$enable_textctrl;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12054 else
12055 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12056 fi
12057
12058 else
12059
12060 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12061
12062 fi
12063
12064
12065 eval "$wx_cv_use_textctrl"
12066
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_TEXTCTRL = no; then
12069 result=yes
12070 else
12071 result=no
12072 fi
12073 else
12074 result=$wxUSE_TEXTCTRL
12075 fi
12076
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12079
12080
12081 enablestring=
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12085 defaultval=yes
12086 else
12087 defaultval=no
12088 fi
12089 fi
12090
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12093 # Check whether --enable-tipwindow was given.
12094 if test "${enable_tipwindow+set}" = set; then
12095 enableval=$enable_tipwindow;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12098 else
12099 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12100 fi
12101
12102 else
12103
12104 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12105
12106 fi
12107
12108
12109 eval "$wx_cv_use_tipwindow"
12110
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_TIPWINDOW = no; then
12113 result=yes
12114 else
12115 result=no
12116 fi
12117 else
12118 result=$wxUSE_TIPWINDOW
12119 fi
12120
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12123
12124
12125 enablestring=
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12129 defaultval=yes
12130 else
12131 defaultval=no
12132 fi
12133 fi
12134
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12137 # Check whether --enable-togglebtn was given.
12138 if test "${enable_togglebtn+set}" = set; then
12139 enableval=$enable_togglebtn;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12142 else
12143 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12144 fi
12145
12146 else
12147
12148 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12149
12150 fi
12151
12152
12153 eval "$wx_cv_use_togglebtn"
12154
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_TOGGLEBTN = no; then
12157 result=yes
12158 else
12159 result=no
12160 fi
12161 else
12162 result=$wxUSE_TOGGLEBTN
12163 fi
12164
12165 { echo "$as_me:$LINENO: result: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12167
12168
12169 enablestring=
12170 defaultval=$wxUSE_ALL_FEATURES
12171 if test -z "$defaultval"; then
12172 if test x"$enablestring" = xdisable; then
12173 defaultval=yes
12174 else
12175 defaultval=no
12176 fi
12177 fi
12178
12179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12180 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12181 # Check whether --enable-toolbar was given.
12182 if test "${enable_toolbar+set}" = set; then
12183 enableval=$enable_toolbar;
12184 if test "$enableval" = yes; then
12185 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12186 else
12187 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12188 fi
12189
12190 else
12191
12192 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12193
12194 fi
12195
12196
12197 eval "$wx_cv_use_toolbar"
12198
12199 if test x"$enablestring" = xdisable; then
12200 if test $wxUSE_TOOLBAR = no; then
12201 result=yes
12202 else
12203 result=no
12204 fi
12205 else
12206 result=$wxUSE_TOOLBAR
12207 fi
12208
12209 { echo "$as_me:$LINENO: result: $result" >&5
12210 echo "${ECHO_T}$result" >&6; }
12211
12212
12213 enablestring=
12214 defaultval=$wxUSE_ALL_FEATURES
12215 if test -z "$defaultval"; then
12216 if test x"$enablestring" = xdisable; then
12217 defaultval=yes
12218 else
12219 defaultval=no
12220 fi
12221 fi
12222
12223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12224 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12225 # Check whether --enable-toolbook was given.
12226 if test "${enable_toolbook+set}" = set; then
12227 enableval=$enable_toolbook;
12228 if test "$enableval" = yes; then
12229 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12230 else
12231 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12232 fi
12233
12234 else
12235
12236 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12237
12238 fi
12239
12240
12241 eval "$wx_cv_use_toolbook"
12242
12243 if test x"$enablestring" = xdisable; then
12244 if test $wxUSE_TOOLBOOK = no; then
12245 result=yes
12246 else
12247 result=no
12248 fi
12249 else
12250 result=$wxUSE_TOOLBOOK
12251 fi
12252
12253 { echo "$as_me:$LINENO: result: $result" >&5
12254 echo "${ECHO_T}$result" >&6; }
12255
12256
12257 enablestring=
12258 defaultval=$wxUSE_ALL_FEATURES
12259 if test -z "$defaultval"; then
12260 if test x"$enablestring" = xdisable; then
12261 defaultval=yes
12262 else
12263 defaultval=no
12264 fi
12265 fi
12266
12267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12268 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12269 # Check whether --enable-treebook was given.
12270 if test "${enable_treebook+set}" = set; then
12271 enableval=$enable_treebook;
12272 if test "$enableval" = yes; then
12273 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12274 else
12275 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12276 fi
12277
12278 else
12279
12280 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12281
12282 fi
12283
12284
12285 eval "$wx_cv_use_treebook"
12286
12287 if test x"$enablestring" = xdisable; then
12288 if test $wxUSE_TREEBOOK = no; then
12289 result=yes
12290 else
12291 result=no
12292 fi
12293 else
12294 result=$wxUSE_TREEBOOK
12295 fi
12296
12297 { echo "$as_me:$LINENO: result: $result" >&5
12298 echo "${ECHO_T}$result" >&6; }
12299
12300
12301 enablestring=
12302 defaultval=$wxUSE_ALL_FEATURES
12303 if test -z "$defaultval"; then
12304 if test x"$enablestring" = xdisable; then
12305 defaultval=yes
12306 else
12307 defaultval=no
12308 fi
12309 fi
12310
12311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12312 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12313 # Check whether --enable-treectrl was given.
12314 if test "${enable_treectrl+set}" = set; then
12315 enableval=$enable_treectrl;
12316 if test "$enableval" = yes; then
12317 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12318 else
12319 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12320 fi
12321
12322 else
12323
12324 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12325
12326 fi
12327
12328
12329 eval "$wx_cv_use_treectrl"
12330
12331 if test x"$enablestring" = xdisable; then
12332 if test $wxUSE_TREECTRL = no; then
12333 result=yes
12334 else
12335 result=no
12336 fi
12337 else
12338 result=$wxUSE_TREECTRL
12339 fi
12340
12341 { echo "$as_me:$LINENO: result: $result" >&5
12342 echo "${ECHO_T}$result" >&6; }
12343
12344
12345
12346
12347 enablestring=
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12351 defaultval=yes
12352 else
12353 defaultval=no
12354 fi
12355 fi
12356
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12359 # Check whether --enable-commondlg was given.
12360 if test "${enable_commondlg+set}" = set; then
12361 enableval=$enable_commondlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12364 else
12365 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12366 fi
12367
12368 else
12369
12370 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12371
12372 fi
12373
12374
12375 eval "$wx_cv_use_commondlg"
12376
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_COMMONDLGS = no; then
12379 result=yes
12380 else
12381 result=no
12382 fi
12383 else
12384 result=$wxUSE_COMMONDLGS
12385 fi
12386
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12389
12390
12391 enablestring=
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12395 defaultval=yes
12396 else
12397 defaultval=no
12398 fi
12399 fi
12400
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12403 # Check whether --enable-aboutdlg was given.
12404 if test "${enable_aboutdlg+set}" = set; then
12405 enableval=$enable_aboutdlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12408 else
12409 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12410 fi
12411
12412 else
12413
12414 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12415
12416 fi
12417
12418
12419 eval "$wx_cv_use_aboutdlg"
12420
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_ABOUTDLG = no; then
12423 result=yes
12424 else
12425 result=no
12426 fi
12427 else
12428 result=$wxUSE_ABOUTDLG
12429 fi
12430
12431 { echo "$as_me:$LINENO: result: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12433
12434
12435 enablestring=
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12439 defaultval=yes
12440 else
12441 defaultval=no
12442 fi
12443 fi
12444
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12447 # Check whether --enable-choicedlg was given.
12448 if test "${enable_choicedlg+set}" = set; then
12449 enableval=$enable_choicedlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12452 else
12453 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12454 fi
12455
12456 else
12457
12458 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12459
12460 fi
12461
12462
12463 eval "$wx_cv_use_choicedlg"
12464
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_CHOICEDLG = no; then
12467 result=yes
12468 else
12469 result=no
12470 fi
12471 else
12472 result=$wxUSE_CHOICEDLG
12473 fi
12474
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12477
12478
12479 enablestring=
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12483 defaultval=yes
12484 else
12485 defaultval=no
12486 fi
12487 fi
12488
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12491 # Check whether --enable-coldlg was given.
12492 if test "${enable_coldlg+set}" = set; then
12493 enableval=$enable_coldlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12496 else
12497 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12498 fi
12499
12500 else
12501
12502 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12503
12504 fi
12505
12506
12507 eval "$wx_cv_use_coldlg"
12508
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_COLOURDLG = no; then
12511 result=yes
12512 else
12513 result=no
12514 fi
12515 else
12516 result=$wxUSE_COLOURDLG
12517 fi
12518
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12521
12522
12523 enablestring=
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12527 defaultval=yes
12528 else
12529 defaultval=no
12530 fi
12531 fi
12532
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12535 # Check whether --enable-filedlg was given.
12536 if test "${enable_filedlg+set}" = set; then
12537 enableval=$enable_filedlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12540 else
12541 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12542 fi
12543
12544 else
12545
12546 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12547
12548 fi
12549
12550
12551 eval "$wx_cv_use_filedlg"
12552
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_FILEDLG = no; then
12555 result=yes
12556 else
12557 result=no
12558 fi
12559 else
12560 result=$wxUSE_FILEDLG
12561 fi
12562
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12565
12566
12567 enablestring=
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12571 defaultval=yes
12572 else
12573 defaultval=no
12574 fi
12575 fi
12576
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12579 # Check whether --enable-finddlg was given.
12580 if test "${enable_finddlg+set}" = set; then
12581 enableval=$enable_finddlg;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12584 else
12585 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12586 fi
12587
12588 else
12589
12590 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12591
12592 fi
12593
12594
12595 eval "$wx_cv_use_finddlg"
12596
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_FINDREPLDLG = no; then
12599 result=yes
12600 else
12601 result=no
12602 fi
12603 else
12604 result=$wxUSE_FINDREPLDLG
12605 fi
12606
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12609
12610
12611 enablestring=
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12615 defaultval=yes
12616 else
12617 defaultval=no
12618 fi
12619 fi
12620
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12623 # Check whether --enable-fontdlg was given.
12624 if test "${enable_fontdlg+set}" = set; then
12625 enableval=$enable_fontdlg;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12628 else
12629 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12630 fi
12631
12632 else
12633
12634 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12635
12636 fi
12637
12638
12639 eval "$wx_cv_use_fontdlg"
12640
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_FONTDLG = no; then
12643 result=yes
12644 else
12645 result=no
12646 fi
12647 else
12648 result=$wxUSE_FONTDLG
12649 fi
12650
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12653
12654
12655 enablestring=
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12659 defaultval=yes
12660 else
12661 defaultval=no
12662 fi
12663 fi
12664
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-dirdlg was given.
12668 if test "${enable_dirdlg+set}" = set; then
12669 enableval=$enable_dirdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12672 else
12673 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12674 fi
12675
12676 else
12677
12678 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12679
12680 fi
12681
12682
12683 eval "$wx_cv_use_dirdlg"
12684
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_DIRDLG = no; then
12687 result=yes
12688 else
12689 result=no
12690 fi
12691 else
12692 result=$wxUSE_DIRDLG
12693 fi
12694
12695 { echo "$as_me:$LINENO: result: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12697
12698
12699 enablestring=
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12703 defaultval=yes
12704 else
12705 defaultval=no
12706 fi
12707 fi
12708
12709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12711 # Check whether --enable-msgdlg was given.
12712 if test "${enable_msgdlg+set}" = set; then
12713 enableval=$enable_msgdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12716 else
12717 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12718 fi
12719
12720 else
12721
12722 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12723
12724 fi
12725
12726
12727 eval "$wx_cv_use_msgdlg"
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_MSGDLG = no; then
12731 result=yes
12732 else
12733 result=no
12734 fi
12735 else
12736 result=$wxUSE_MSGDLG
12737 fi
12738
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12755 # Check whether --enable-numberdlg was given.
12756 if test "${enable_numberdlg+set}" = set; then
12757 enableval=$enable_numberdlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12760 else
12761 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12762 fi
12763
12764 else
12765
12766 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12767
12768 fi
12769
12770
12771 eval "$wx_cv_use_numberdlg"
12772
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_NUMBERDLG = no; then
12775 result=yes
12776 else
12777 result=no
12778 fi
12779 else
12780 result=$wxUSE_NUMBERDLG
12781 fi
12782
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12785
12786
12787 enablestring=
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12791 defaultval=yes
12792 else
12793 defaultval=no
12794 fi
12795 fi
12796
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12799 # Check whether --enable-splash was given.
12800 if test "${enable_splash+set}" = set; then
12801 enableval=$enable_splash;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_splash='wxUSE_SPLASH=yes'
12804 else
12805 wx_cv_use_splash='wxUSE_SPLASH=no'
12806 fi
12807
12808 else
12809
12810 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12811
12812 fi
12813
12814
12815 eval "$wx_cv_use_splash"
12816
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_SPLASH = no; then
12819 result=yes
12820 else
12821 result=no
12822 fi
12823 else
12824 result=$wxUSE_SPLASH
12825 fi
12826
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12829
12830
12831 enablestring=
12832 defaultval=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x"$enablestring" = xdisable; then
12835 defaultval=yes
12836 else
12837 defaultval=no
12838 fi
12839 fi
12840
12841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12842 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12843 # Check whether --enable-textdlg was given.
12844 if test "${enable_textdlg+set}" = set; then
12845 enableval=$enable_textdlg;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12848 else
12849 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12850 fi
12851
12852 else
12853
12854 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12855
12856 fi
12857
12858
12859 eval "$wx_cv_use_textdlg"
12860
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_TEXTDLG = no; then
12863 result=yes
12864 else
12865 result=no
12866 fi
12867 else
12868 result=$wxUSE_TEXTDLG
12869 fi
12870
12871 { echo "$as_me:$LINENO: result: $result" >&5
12872 echo "${ECHO_T}$result" >&6; }
12873
12874
12875 enablestring=
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12879 defaultval=yes
12880 else
12881 defaultval=no
12882 fi
12883 fi
12884
12885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12886 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12887 # Check whether --enable-tipdlg was given.
12888 if test "${enable_tipdlg+set}" = set; then
12889 enableval=$enable_tipdlg;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12892 else
12893 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12894 fi
12895
12896 else
12897
12898 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12899
12900 fi
12901
12902
12903 eval "$wx_cv_use_tipdlg"
12904
12905 if test x"$enablestring" = xdisable; then
12906 if test $wxUSE_STARTUP_TIPS = no; then
12907 result=yes
12908 else
12909 result=no
12910 fi
12911 else
12912 result=$wxUSE_STARTUP_TIPS
12913 fi
12914
12915 { echo "$as_me:$LINENO: result: $result" >&5
12916 echo "${ECHO_T}$result" >&6; }
12917
12918
12919 enablestring=
12920 defaultval=$wxUSE_ALL_FEATURES
12921 if test -z "$defaultval"; then
12922 if test x"$enablestring" = xdisable; then
12923 defaultval=yes
12924 else
12925 defaultval=no
12926 fi
12927 fi
12928
12929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12930 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12931 # Check whether --enable-progressdlg was given.
12932 if test "${enable_progressdlg+set}" = set; then
12933 enableval=$enable_progressdlg;
12934 if test "$enableval" = yes; then
12935 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12936 else
12937 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12938 fi
12939
12940 else
12941
12942 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12943
12944 fi
12945
12946
12947 eval "$wx_cv_use_progressdlg"
12948
12949 if test x"$enablestring" = xdisable; then
12950 if test $wxUSE_PROGRESSDLG = no; then
12951 result=yes
12952 else
12953 result=no
12954 fi
12955 else
12956 result=$wxUSE_PROGRESSDLG
12957 fi
12958
12959 { echo "$as_me:$LINENO: result: $result" >&5
12960 echo "${ECHO_T}$result" >&6; }
12961
12962
12963 enablestring=
12964 defaultval=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x"$enablestring" = xdisable; then
12967 defaultval=yes
12968 else
12969 defaultval=no
12970 fi
12971 fi
12972
12973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12974 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12975 # Check whether --enable-wizarddlg was given.
12976 if test "${enable_wizarddlg+set}" = set; then
12977 enableval=$enable_wizarddlg;
12978 if test "$enableval" = yes; then
12979 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12980 else
12981 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12982 fi
12983
12984 else
12985
12986 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12987
12988 fi
12989
12990
12991 eval "$wx_cv_use_wizarddlg"
12992
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_WIZARDDLG = no; then
12995 result=yes
12996 else
12997 result=no
12998 fi
12999 else
13000 result=$wxUSE_WIZARDDLG
13001 fi
13002
13003 { echo "$as_me:$LINENO: result: $result" >&5
13004 echo "${ECHO_T}$result" >&6; }
13005
13006
13007
13008
13009 enablestring=
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13013 defaultval=yes
13014 else
13015 defaultval=no
13016 fi
13017 fi
13018
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13021 # Check whether --enable-menus was given.
13022 if test "${enable_menus+set}" = set; then
13023 enableval=$enable_menus;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_menus='wxUSE_MENUS=yes'
13026 else
13027 wx_cv_use_menus='wxUSE_MENUS=no'
13028 fi
13029
13030 else
13031
13032 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13033
13034 fi
13035
13036
13037 eval "$wx_cv_use_menus"
13038
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_MENUS = no; then
13041 result=yes
13042 else
13043 result=no
13044 fi
13045 else
13046 result=$wxUSE_MENUS
13047 fi
13048
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13051
13052
13053 enablestring=
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13057 defaultval=yes
13058 else
13059 defaultval=no
13060 fi
13061 fi
13062
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13065 # Check whether --enable-miniframe was given.
13066 if test "${enable_miniframe+set}" = set; then
13067 enableval=$enable_miniframe;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13070 else
13071 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13072 fi
13073
13074 else
13075
13076 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13077
13078 fi
13079
13080
13081 eval "$wx_cv_use_miniframe"
13082
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_MINIFRAME = no; then
13085 result=yes
13086 else
13087 result=no
13088 fi
13089 else
13090 result=$wxUSE_MINIFRAME
13091 fi
13092
13093 { echo "$as_me:$LINENO: result: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13095
13096
13097 enablestring=
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13101 defaultval=yes
13102 else
13103 defaultval=no
13104 fi
13105 fi
13106
13107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13108 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13109 # Check whether --enable-tooltips was given.
13110 if test "${enable_tooltips+set}" = set; then
13111 enableval=$enable_tooltips;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13114 else
13115 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13116 fi
13117
13118 else
13119
13120 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13121
13122 fi
13123
13124
13125 eval "$wx_cv_use_tooltips"
13126
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_TOOLTIPS = no; then
13129 result=yes
13130 else
13131 result=no
13132 fi
13133 else
13134 result=$wxUSE_TOOLTIPS
13135 fi
13136
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13139
13140
13141 enablestring=
13142 defaultval=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x"$enablestring" = xdisable; then
13145 defaultval=yes
13146 else
13147 defaultval=no
13148 fi
13149 fi
13150
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13153 # Check whether --enable-splines was given.
13154 if test "${enable_splines+set}" = set; then
13155 enableval=$enable_splines;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_splines='wxUSE_SPLINES=yes'
13158 else
13159 wx_cv_use_splines='wxUSE_SPLINES=no'
13160 fi
13161
13162 else
13163
13164 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13165
13166 fi
13167
13168
13169 eval "$wx_cv_use_splines"
13170
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_SPLINES = no; then
13173 result=yes
13174 else
13175 result=no
13176 fi
13177 else
13178 result=$wxUSE_SPLINES
13179 fi
13180
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13183
13184
13185 enablestring=
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13189 defaultval=yes
13190 else
13191 defaultval=no
13192 fi
13193 fi
13194
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13197 # Check whether --enable-mousewheel was given.
13198 if test "${enable_mousewheel+set}" = set; then
13199 enableval=$enable_mousewheel;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13202 else
13203 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13204 fi
13205
13206 else
13207
13208 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13209
13210 fi
13211
13212
13213 eval "$wx_cv_use_mousewheel"
13214
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_MOUSEWHEEL = no; then
13217 result=yes
13218 else
13219 result=no
13220 fi
13221 else
13222 result=$wxUSE_MOUSEWHEEL
13223 fi
13224
13225 { echo "$as_me:$LINENO: result: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13227
13228
13229 enablestring=
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13233 defaultval=yes
13234 else
13235 defaultval=no
13236 fi
13237 fi
13238
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13241 # Check whether --enable-validators was given.
13242 if test "${enable_validators+set}" = set; then
13243 enableval=$enable_validators;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13246 else
13247 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13248 fi
13249
13250 else
13251
13252 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13253
13254 fi
13255
13256
13257 eval "$wx_cv_use_validators"
13258
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_VALIDATORS = no; then
13261 result=yes
13262 else
13263 result=no
13264 fi
13265 else
13266 result=$wxUSE_VALIDATORS
13267 fi
13268
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13271
13272
13273 enablestring=
13274 defaultval=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x"$enablestring" = xdisable; then
13277 defaultval=yes
13278 else
13279 defaultval=no
13280 fi
13281 fi
13282
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13285 # Check whether --enable-busyinfo was given.
13286 if test "${enable_busyinfo+set}" = set; then
13287 enableval=$enable_busyinfo;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13290 else
13291 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13292 fi
13293
13294 else
13295
13296 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13297
13298 fi
13299
13300
13301 eval "$wx_cv_use_busyinfo"
13302
13303 if test x"$enablestring" = xdisable; then
13304 if test $wxUSE_BUSYINFO = no; then
13305 result=yes
13306 else
13307 result=no
13308 fi
13309 else
13310 result=$wxUSE_BUSYINFO
13311 fi
13312
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13315
13316
13317 enablestring=
13318 defaultval=$wxUSE_ALL_FEATURES
13319 if test -z "$defaultval"; then
13320 if test x"$enablestring" = xdisable; then
13321 defaultval=yes
13322 else
13323 defaultval=no
13324 fi
13325 fi
13326
13327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13328 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13329 # Check whether --enable-joystick was given.
13330 if test "${enable_joystick+set}" = set; then
13331 enableval=$enable_joystick;
13332 if test "$enableval" = yes; then
13333 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13334 else
13335 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13336 fi
13337
13338 else
13339
13340 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13341
13342 fi
13343
13344
13345 eval "$wx_cv_use_joystick"
13346
13347 if test x"$enablestring" = xdisable; then
13348 if test $wxUSE_JOYSTICK = no; then
13349 result=yes
13350 else
13351 result=no
13352 fi
13353 else
13354 result=$wxUSE_JOYSTICK
13355 fi
13356
13357 { echo "$as_me:$LINENO: result: $result" >&5
13358 echo "${ECHO_T}$result" >&6; }
13359
13360
13361 enablestring=
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13365 defaultval=yes
13366 else
13367 defaultval=no
13368 fi
13369 fi
13370
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13373 # Check whether --enable-metafile was given.
13374 if test "${enable_metafile+set}" = set; then
13375 enableval=$enable_metafile;
13376 if test "$enableval" = yes; then
13377 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13378 else
13379 wx_cv_use_metafile='wxUSE_METAFILE=no'
13380 fi
13381
13382 else
13383
13384 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13385
13386 fi
13387
13388
13389 eval "$wx_cv_use_metafile"
13390
13391 if test x"$enablestring" = xdisable; then
13392 if test $wxUSE_METAFILE = no; then
13393 result=yes
13394 else
13395 result=no
13396 fi
13397 else
13398 result=$wxUSE_METAFILE
13399 fi
13400
13401 { echo "$as_me:$LINENO: result: $result" >&5
13402 echo "${ECHO_T}$result" >&6; }
13403
13404
13405 enablestring=
13406 defaultval=$wxUSE_ALL_FEATURES
13407 if test -z "$defaultval"; then
13408 if test x"$enablestring" = xdisable; then
13409 defaultval=yes
13410 else
13411 defaultval=no
13412 fi
13413 fi
13414
13415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13416 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13417 # Check whether --enable-dragimage was given.
13418 if test "${enable_dragimage+set}" = set; then
13419 enableval=$enable_dragimage;
13420 if test "$enableval" = yes; then
13421 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13422 else
13423 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13424 fi
13425
13426 else
13427
13428 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13429
13430 fi
13431
13432
13433 eval "$wx_cv_use_dragimage"
13434
13435 if test x"$enablestring" = xdisable; then
13436 if test $wxUSE_DRAGIMAGE = no; then
13437 result=yes
13438 else
13439 result=no
13440 fi
13441 else
13442 result=$wxUSE_DRAGIMAGE
13443 fi
13444
13445 { echo "$as_me:$LINENO: result: $result" >&5
13446 echo "${ECHO_T}$result" >&6; }
13447
13448
13449 enablestring=
13450 defaultval=$wxUSE_ALL_FEATURES
13451 if test -z "$defaultval"; then
13452 if test x"$enablestring" = xdisable; then
13453 defaultval=yes
13454 else
13455 defaultval=no
13456 fi
13457 fi
13458
13459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13460 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13461 # Check whether --enable-accessibility was given.
13462 if test "${enable_accessibility+set}" = set; then
13463 enableval=$enable_accessibility;
13464 if test "$enableval" = yes; then
13465 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13466 else
13467 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13468 fi
13469
13470 else
13471
13472 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13473
13474 fi
13475
13476
13477 eval "$wx_cv_use_accessibility"
13478
13479 if test x"$enablestring" = xdisable; then
13480 if test $wxUSE_ACCESSIBILITY = no; then
13481 result=yes
13482 else
13483 result=no
13484 fi
13485 else
13486 result=$wxUSE_ACCESSIBILITY
13487 fi
13488
13489 { echo "$as_me:$LINENO: result: $result" >&5
13490 echo "${ECHO_T}$result" >&6; }
13491
13492
13493
13494
13495 enablestring=
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13499 defaultval=yes
13500 else
13501 defaultval=no
13502 fi
13503 fi
13504
13505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13506 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13507 # Check whether --enable-palette was given.
13508 if test "${enable_palette+set}" = set; then
13509 enableval=$enable_palette;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_palette='wxUSE_PALETTE=yes'
13512 else
13513 wx_cv_use_palette='wxUSE_PALETTE=no'
13514 fi
13515
13516 else
13517
13518 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13519
13520 fi
13521
13522
13523 eval "$wx_cv_use_palette"
13524
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_PALETTE = no; then
13527 result=yes
13528 else
13529 result=no
13530 fi
13531 else
13532 result=$wxUSE_PALETTE
13533 fi
13534
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13537
13538
13539 enablestring=
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13543 defaultval=yes
13544 else
13545 defaultval=no
13546 fi
13547 fi
13548
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13551 # Check whether --enable-image was given.
13552 if test "${enable_image+set}" = set; then
13553 enableval=$enable_image;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_image='wxUSE_IMAGE=yes'
13556 else
13557 wx_cv_use_image='wxUSE_IMAGE=no'
13558 fi
13559
13560 else
13561
13562 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13563
13564 fi
13565
13566
13567 eval "$wx_cv_use_image"
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_IMAGE = no; then
13571 result=yes
13572 else
13573 result=no
13574 fi
13575 else
13576 result=$wxUSE_IMAGE
13577 fi
13578
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13595 # Check whether --enable-gif was given.
13596 if test "${enable_gif+set}" = set; then
13597 enableval=$enable_gif;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_gif='wxUSE_GIF=yes'
13600 else
13601 wx_cv_use_gif='wxUSE_GIF=no'
13602 fi
13603
13604 else
13605
13606 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13607
13608 fi
13609
13610
13611 eval "$wx_cv_use_gif"
13612
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_GIF = no; then
13615 result=yes
13616 else
13617 result=no
13618 fi
13619 else
13620 result=$wxUSE_GIF
13621 fi
13622
13623 { echo "$as_me:$LINENO: result: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13625
13626
13627 enablestring=
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13631 defaultval=yes
13632 else
13633 defaultval=no
13634 fi
13635 fi
13636
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13639 # Check whether --enable-pcx was given.
13640 if test "${enable_pcx+set}" = set; then
13641 enableval=$enable_pcx;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_pcx='wxUSE_PCX=yes'
13644 else
13645 wx_cv_use_pcx='wxUSE_PCX=no'
13646 fi
13647
13648 else
13649
13650 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13651
13652 fi
13653
13654
13655 eval "$wx_cv_use_pcx"
13656
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_PCX = no; then
13659 result=yes
13660 else
13661 result=no
13662 fi
13663 else
13664 result=$wxUSE_PCX
13665 fi
13666
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13669
13670
13671 enablestring=
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13675 defaultval=yes
13676 else
13677 defaultval=no
13678 fi
13679 fi
13680
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13683 # Check whether --enable-tga was given.
13684 if test "${enable_tga+set}" = set; then
13685 enableval=$enable_tga;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_tga='wxUSE_TGA=yes'
13688 else
13689 wx_cv_use_tga='wxUSE_TGA=no'
13690 fi
13691
13692 else
13693
13694 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13695
13696 fi
13697
13698
13699 eval "$wx_cv_use_tga"
13700
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_TGA = no; then
13703 result=yes
13704 else
13705 result=no
13706 fi
13707 else
13708 result=$wxUSE_TGA
13709 fi
13710
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13713
13714
13715 enablestring=
13716 defaultval=$wxUSE_ALL_FEATURES
13717 if test -z "$defaultval"; then
13718 if test x"$enablestring" = xdisable; then
13719 defaultval=yes
13720 else
13721 defaultval=no
13722 fi
13723 fi
13724
13725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13726 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13727 # Check whether --enable-iff was given.
13728 if test "${enable_iff+set}" = set; then
13729 enableval=$enable_iff;
13730 if test "$enableval" = yes; then
13731 wx_cv_use_iff='wxUSE_IFF=yes'
13732 else
13733 wx_cv_use_iff='wxUSE_IFF=no'
13734 fi
13735
13736 else
13737
13738 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13739
13740 fi
13741
13742
13743 eval "$wx_cv_use_iff"
13744
13745 if test x"$enablestring" = xdisable; then
13746 if test $wxUSE_IFF = no; then
13747 result=yes
13748 else
13749 result=no
13750 fi
13751 else
13752 result=$wxUSE_IFF
13753 fi
13754
13755 { echo "$as_me:$LINENO: result: $result" >&5
13756 echo "${ECHO_T}$result" >&6; }
13757
13758
13759 enablestring=
13760 defaultval=$wxUSE_ALL_FEATURES
13761 if test -z "$defaultval"; then
13762 if test x"$enablestring" = xdisable; then
13763 defaultval=yes
13764 else
13765 defaultval=no
13766 fi
13767 fi
13768
13769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13770 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13771 # Check whether --enable-pnm was given.
13772 if test "${enable_pnm+set}" = set; then
13773 enableval=$enable_pnm;
13774 if test "$enableval" = yes; then
13775 wx_cv_use_pnm='wxUSE_PNM=yes'
13776 else
13777 wx_cv_use_pnm='wxUSE_PNM=no'
13778 fi
13779
13780 else
13781
13782 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13783
13784 fi
13785
13786
13787 eval "$wx_cv_use_pnm"
13788
13789 if test x"$enablestring" = xdisable; then
13790 if test $wxUSE_PNM = no; then
13791 result=yes
13792 else
13793 result=no
13794 fi
13795 else
13796 result=$wxUSE_PNM
13797 fi
13798
13799 { echo "$as_me:$LINENO: result: $result" >&5
13800 echo "${ECHO_T}$result" >&6; }
13801
13802
13803 enablestring=
13804 defaultval=$wxUSE_ALL_FEATURES
13805 if test -z "$defaultval"; then
13806 if test x"$enablestring" = xdisable; then
13807 defaultval=yes
13808 else
13809 defaultval=no
13810 fi
13811 fi
13812
13813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13814 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13815 # Check whether --enable-xpm was given.
13816 if test "${enable_xpm+set}" = set; then
13817 enableval=$enable_xpm;
13818 if test "$enableval" = yes; then
13819 wx_cv_use_xpm='wxUSE_XPM=yes'
13820 else
13821 wx_cv_use_xpm='wxUSE_XPM=no'
13822 fi
13823
13824 else
13825
13826 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13827
13828 fi
13829
13830
13831 eval "$wx_cv_use_xpm"
13832
13833 if test x"$enablestring" = xdisable; then
13834 if test $wxUSE_XPM = no; then
13835 result=yes
13836 else
13837 result=no
13838 fi
13839 else
13840 result=$wxUSE_XPM
13841 fi
13842
13843 { echo "$as_me:$LINENO: result: $result" >&5
13844 echo "${ECHO_T}$result" >&6; }
13845
13846
13847 enablestring=
13848 defaultval=$wxUSE_ALL_FEATURES
13849 if test -z "$defaultval"; then
13850 if test x"$enablestring" = xdisable; then
13851 defaultval=yes
13852 else
13853 defaultval=no
13854 fi
13855 fi
13856
13857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13858 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13859 # Check whether --enable-ico_cur was given.
13860 if test "${enable_ico_cur+set}" = set; then
13861 enableval=$enable_ico_cur;
13862 if test "$enableval" = yes; then
13863 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13864 else
13865 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13866 fi
13867
13868 else
13869
13870 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13871
13872 fi
13873
13874
13875 eval "$wx_cv_use_ico_cur"
13876
13877 if test x"$enablestring" = xdisable; then
13878 if test $wxUSE_ICO_CUR = no; then
13879 result=yes
13880 else
13881 result=no
13882 fi
13883 else
13884 result=$wxUSE_ICO_CUR
13885 fi
13886
13887 { echo "$as_me:$LINENO: result: $result" >&5
13888 echo "${ECHO_T}$result" >&6; }
13889
13890
13891
13892
13893 enablestring=
13894 defaultval=$wxUSE_ALL_FEATURES
13895 if test -z "$defaultval"; then
13896 if test x"$enablestring" = xdisable; then
13897 defaultval=yes
13898 else
13899 defaultval=no
13900 fi
13901 fi
13902
13903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13904 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13905 # Check whether --enable-dccache was given.
13906 if test "${enable_dccache+set}" = set; then
13907 enableval=$enable_dccache;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13910 else
13911 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13912 fi
13913
13914 else
13915
13916 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13917
13918 fi
13919
13920
13921 eval "$wx_cv_use_dccache"
13922
13923 if test x"$enablestring" = xdisable; then
13924 if test $wxUSE_DC_CACHEING = no; then
13925 result=yes
13926 else
13927 result=no
13928 fi
13929 else
13930 result=$wxUSE_DC_CACHEING
13931 fi
13932
13933 { echo "$as_me:$LINENO: result: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13935
13936
13937 enablestring=
13938 defaultval=$wxUSE_ALL_FEATURES
13939 if test -z "$defaultval"; then
13940 if test x"$enablestring" = xdisable; then
13941 defaultval=yes
13942 else
13943 defaultval=no
13944 fi
13945 fi
13946
13947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13948 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13949 # Check whether --enable-ps-in-msw was given.
13950 if test "${enable_ps_in_msw+set}" = set; then
13951 enableval=$enable_ps_in_msw;
13952 if test "$enableval" = yes; then
13953 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13954 else
13955 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13956 fi
13957
13958 else
13959
13960 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13961
13962 fi
13963
13964
13965 eval "$wx_cv_use_ps_in_msw"
13966
13967 if test x"$enablestring" = xdisable; then
13968 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13969 result=yes
13970 else
13971 result=no
13972 fi
13973 else
13974 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13975 fi
13976
13977 { echo "$as_me:$LINENO: result: $result" >&5
13978 echo "${ECHO_T}$result" >&6; }
13979
13980
13981 enablestring=
13982 defaultval=$wxUSE_ALL_FEATURES
13983 if test -z "$defaultval"; then
13984 if test x"$enablestring" = xdisable; then
13985 defaultval=yes
13986 else
13987 defaultval=no
13988 fi
13989 fi
13990
13991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13992 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13993 # Check whether --enable-ownerdrawn was given.
13994 if test "${enable_ownerdrawn+set}" = set; then
13995 enableval=$enable_ownerdrawn;
13996 if test "$enableval" = yes; then
13997 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13998 else
13999 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14000 fi
14001
14002 else
14003
14004 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14005
14006 fi
14007
14008
14009 eval "$wx_cv_use_ownerdrawn"
14010
14011 if test x"$enablestring" = xdisable; then
14012 if test $wxUSE_OWNER_DRAWN = no; then
14013 result=yes
14014 else
14015 result=no
14016 fi
14017 else
14018 result=$wxUSE_OWNER_DRAWN
14019 fi
14020
14021 { echo "$as_me:$LINENO: result: $result" >&5
14022 echo "${ECHO_T}$result" >&6; }
14023
14024
14025 enablestring=
14026 defaultval=$wxUSE_ALL_FEATURES
14027 if test -z "$defaultval"; then
14028 if test x"$enablestring" = xdisable; then
14029 defaultval=yes
14030 else
14031 defaultval=no
14032 fi
14033 fi
14034
14035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14036 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14037 # Check whether --enable-uxtheme was given.
14038 if test "${enable_uxtheme+set}" = set; then
14039 enableval=$enable_uxtheme;
14040 if test "$enableval" = yes; then
14041 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14042 else
14043 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14044 fi
14045
14046 else
14047
14048 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14049
14050 fi
14051
14052
14053 eval "$wx_cv_use_uxtheme"
14054
14055 if test x"$enablestring" = xdisable; then
14056 if test $wxUSE_UXTHEME = no; then
14057 result=yes
14058 else
14059 result=no
14060 fi
14061 else
14062 result=$wxUSE_UXTHEME
14063 fi
14064
14065 { echo "$as_me:$LINENO: result: $result" >&5
14066 echo "${ECHO_T}$result" >&6; }
14067
14068
14069 enablestring=
14070 defaultval=$wxUSE_ALL_FEATURES
14071 if test -z "$defaultval"; then
14072 if test x"$enablestring" = xdisable; then
14073 defaultval=yes
14074 else
14075 defaultval=no
14076 fi
14077 fi
14078
14079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14080 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14081 # Check whether --enable-wxdib was given.
14082 if test "${enable_wxdib+set}" = set; then
14083 enableval=$enable_wxdib;
14084 if test "$enableval" = yes; then
14085 wx_cv_use_wxdib='wxUSE_DIB=yes'
14086 else
14087 wx_cv_use_wxdib='wxUSE_DIB=no'
14088 fi
14089
14090 else
14091
14092 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14093
14094 fi
14095
14096
14097 eval "$wx_cv_use_wxdib"
14098
14099 if test x"$enablestring" = xdisable; then
14100 if test $wxUSE_DIB = no; then
14101 result=yes
14102 else
14103 result=no
14104 fi
14105 else
14106 result=$wxUSE_DIB
14107 fi
14108
14109 { echo "$as_me:$LINENO: result: $result" >&5
14110 echo "${ECHO_T}$result" >&6; }
14111
14112
14113 if test "$wxUSE_MSW" != 1; then
14114 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14115 fi
14116
14117
14118 enablestring=
14119 defaultval=$wxUSE_ALL_FEATURES
14120 if test -z "$defaultval"; then
14121 if test x"$enablestring" = xdisable; then
14122 defaultval=yes
14123 else
14124 defaultval=no
14125 fi
14126 fi
14127
14128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14129 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14130 # Check whether --enable-autoidman was given.
14131 if test "${enable_autoidman+set}" = set; then
14132 enableval=$enable_autoidman;
14133 if test "$enableval" = yes; then
14134 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14135 else
14136 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14137 fi
14138
14139 else
14140
14141 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14142
14143 fi
14144
14145
14146 eval "$wx_cv_use_autoidman"
14147
14148 if test x"$enablestring" = xdisable; then
14149 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14150 result=yes
14151 else
14152 result=no
14153 fi
14154 else
14155 result=$wxUSE_AUTOID_MANAGEMENT
14156 fi
14157
14158 { echo "$as_me:$LINENO: result: $result" >&5
14159 echo "${ECHO_T}$result" >&6; }
14160
14161
14162 fi
14163
14164
14165 cat >confcache <<\_ACEOF
14166 # This file is a shell script that caches the results of configure
14167 # tests run on this system so they can be shared between configure
14168 # scripts and configure runs, see configure's option --config-cache.
14169 # It is not useful on other systems. If it contains results you don't
14170 # want to keep, you may remove or edit it.
14171 #
14172 # config.status only pays attention to the cache file if you give it
14173 # the --recheck option to rerun configure.
14174 #
14175 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14176 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14177 # following values.
14178
14179 _ACEOF
14180
14181 # The following way of writing the cache mishandles newlines in values,
14182 # but we know of no workaround that is simple, portable, and efficient.
14183 # So, we kill variables containing newlines.
14184 # Ultrix sh set writes to stderr and can't be redirected directly,
14185 # and sets the high bit in the cache file unless we assign to the vars.
14186 (
14187 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14188 eval ac_val=\$$ac_var
14189 case $ac_val in #(
14190 *${as_nl}*)
14191 case $ac_var in #(
14192 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14193 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14194 esac
14195 case $ac_var in #(
14196 _ | IFS | as_nl) ;; #(
14197 *) $as_unset $ac_var ;;
14198 esac ;;
14199 esac
14200 done
14201
14202 (set) 2>&1 |
14203 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14204 *${as_nl}ac_space=\ *)
14205 # `set' does not quote correctly, so add quotes (double-quote
14206 # substitution turns \\\\ into \\, and sed turns \\ into \).
14207 sed -n \
14208 "s/'/'\\\\''/g;
14209 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14210 ;; #(
14211 *)
14212 # `set' quotes correctly as required by POSIX, so do not add quotes.
14213 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14214 ;;
14215 esac |
14216 sort
14217 ) |
14218 sed '
14219 /^ac_cv_env_/b end
14220 t clear
14221 :clear
14222 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14223 t end
14224 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14225 :end' >>confcache
14226 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14227 if test -w "$cache_file"; then
14228 test "x$cache_file" != "x/dev/null" &&
14229 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14230 echo "$as_me: updating cache $cache_file" >&6;}
14231 cat confcache >$cache_file
14232 else
14233 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14234 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14235 fi
14236 fi
14237 rm -f confcache
14238
14239 CFLAGS=${CFLAGS:=}
14240
14241
14242
14243 ac_ext=c
14244 ac_cpp='$CPP $CPPFLAGS'
14245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14248 if test -n "$ac_tool_prefix"; then
14249 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14250 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14253 if test "${ac_cv_prog_CC+set}" = set; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14255 else
14256 if test -n "$CC"; then
14257 ac_cv_prog_CC="$CC" # Let the user override the test.
14258 else
14259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14260 for as_dir in $PATH
14261 do
14262 IFS=$as_save_IFS
14263 test -z "$as_dir" && as_dir=.
14264 for ac_exec_ext in '' $ac_executable_extensions; do
14265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14266 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14268 break 2
14269 fi
14270 done
14271 done
14272 IFS=$as_save_IFS
14273
14274 fi
14275 fi
14276 CC=$ac_cv_prog_CC
14277 if test -n "$CC"; then
14278 { echo "$as_me:$LINENO: result: $CC" >&5
14279 echo "${ECHO_T}$CC" >&6; }
14280 else
14281 { echo "$as_me:$LINENO: result: no" >&5
14282 echo "${ECHO_T}no" >&6; }
14283 fi
14284
14285
14286 fi
14287 if test -z "$ac_cv_prog_CC"; then
14288 ac_ct_CC=$CC
14289 # Extract the first word of "gcc", so it can be a program name with args.
14290 set dummy gcc; ac_word=$2
14291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14293 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 else
14296 if test -n "$ac_ct_CC"; then
14297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14298 else
14299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14300 for as_dir in $PATH
14301 do
14302 IFS=$as_save_IFS
14303 test -z "$as_dir" && as_dir=.
14304 for ac_exec_ext in '' $ac_executable_extensions; do
14305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14306 ac_cv_prog_ac_ct_CC="gcc"
14307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14308 break 2
14309 fi
14310 done
14311 done
14312 IFS=$as_save_IFS
14313
14314 fi
14315 fi
14316 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14317 if test -n "$ac_ct_CC"; then
14318 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14319 echo "${ECHO_T}$ac_ct_CC" >&6; }
14320 else
14321 { echo "$as_me:$LINENO: result: no" >&5
14322 echo "${ECHO_T}no" >&6; }
14323 fi
14324
14325 if test "x$ac_ct_CC" = x; then
14326 CC=""
14327 else
14328 case $cross_compiling:$ac_tool_warned in
14329 yes:)
14330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14331 whose name does not start with the host triplet. If you think this
14332 configuration is useful to you, please write to autoconf@gnu.org." >&5
14333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14334 whose name does not start with the host triplet. If you think this
14335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14336 ac_tool_warned=yes ;;
14337 esac
14338 CC=$ac_ct_CC
14339 fi
14340 else
14341 CC="$ac_cv_prog_CC"
14342 fi
14343
14344 if test -z "$CC"; then
14345 if test -n "$ac_tool_prefix"; then
14346 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14347 set dummy ${ac_tool_prefix}cc; ac_word=$2
14348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14350 if test "${ac_cv_prog_CC+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 if test -n "$CC"; then
14354 ac_cv_prog_CC="$CC" # Let the user override the test.
14355 else
14356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357 for as_dir in $PATH
14358 do
14359 IFS=$as_save_IFS
14360 test -z "$as_dir" && as_dir=.
14361 for ac_exec_ext in '' $ac_executable_extensions; do
14362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14363 ac_cv_prog_CC="${ac_tool_prefix}cc"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 break 2
14366 fi
14367 done
14368 done
14369 IFS=$as_save_IFS
14370
14371 fi
14372 fi
14373 CC=$ac_cv_prog_CC
14374 if test -n "$CC"; then
14375 { echo "$as_me:$LINENO: result: $CC" >&5
14376 echo "${ECHO_T}$CC" >&6; }
14377 else
14378 { echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6; }
14380 fi
14381
14382
14383 fi
14384 fi
14385 if test -z "$CC"; then
14386 # Extract the first word of "cc", so it can be a program name with args.
14387 set dummy cc; ac_word=$2
14388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14390 if test "${ac_cv_prog_CC+set}" = set; then
14391 echo $ECHO_N "(cached) $ECHO_C" >&6
14392 else
14393 if test -n "$CC"; then
14394 ac_cv_prog_CC="$CC" # Let the user override the test.
14395 else
14396 ac_prog_rejected=no
14397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14398 for as_dir in $PATH
14399 do
14400 IFS=$as_save_IFS
14401 test -z "$as_dir" && as_dir=.
14402 for ac_exec_ext in '' $ac_executable_extensions; do
14403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14404 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14405 ac_prog_rejected=yes
14406 continue
14407 fi
14408 ac_cv_prog_CC="cc"
14409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14410 break 2
14411 fi
14412 done
14413 done
14414 IFS=$as_save_IFS
14415
14416 if test $ac_prog_rejected = yes; then
14417 # We found a bogon in the path, so make sure we never use it.
14418 set dummy $ac_cv_prog_CC
14419 shift
14420 if test $# != 0; then
14421 # We chose a different compiler from the bogus one.
14422 # However, it has the same basename, so the bogon will be chosen
14423 # first if we set CC to just the basename; use the full file name.
14424 shift
14425 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14426 fi
14427 fi
14428 fi
14429 fi
14430 CC=$ac_cv_prog_CC
14431 if test -n "$CC"; then
14432 { echo "$as_me:$LINENO: result: $CC" >&5
14433 echo "${ECHO_T}$CC" >&6; }
14434 else
14435 { echo "$as_me:$LINENO: result: no" >&5
14436 echo "${ECHO_T}no" >&6; }
14437 fi
14438
14439
14440 fi
14441 if test -z "$CC"; then
14442 if test -n "$ac_tool_prefix"; then
14443 for ac_prog in cl.exe
14444 do
14445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14449 if test "${ac_cv_prog_CC+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 else
14452 if test -n "$CC"; then
14453 ac_cv_prog_CC="$CC" # Let the user override the test.
14454 else
14455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14456 for as_dir in $PATH
14457 do
14458 IFS=$as_save_IFS
14459 test -z "$as_dir" && as_dir=.
14460 for ac_exec_ext in '' $ac_executable_extensions; do
14461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14462 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14464 break 2
14465 fi
14466 done
14467 done
14468 IFS=$as_save_IFS
14469
14470 fi
14471 fi
14472 CC=$ac_cv_prog_CC
14473 if test -n "$CC"; then
14474 { echo "$as_me:$LINENO: result: $CC" >&5
14475 echo "${ECHO_T}$CC" >&6; }
14476 else
14477 { echo "$as_me:$LINENO: result: no" >&5
14478 echo "${ECHO_T}no" >&6; }
14479 fi
14480
14481
14482 test -n "$CC" && break
14483 done
14484 fi
14485 if test -z "$CC"; then
14486 ac_ct_CC=$CC
14487 for ac_prog in cl.exe
14488 do
14489 # Extract the first word of "$ac_prog", so it can be a program name with args.
14490 set dummy $ac_prog; ac_word=$2
14491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14494 echo $ECHO_N "(cached) $ECHO_C" >&6
14495 else
14496 if test -n "$ac_ct_CC"; then
14497 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14498 else
14499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14500 for as_dir in $PATH
14501 do
14502 IFS=$as_save_IFS
14503 test -z "$as_dir" && as_dir=.
14504 for ac_exec_ext in '' $ac_executable_extensions; do
14505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14506 ac_cv_prog_ac_ct_CC="$ac_prog"
14507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14508 break 2
14509 fi
14510 done
14511 done
14512 IFS=$as_save_IFS
14513
14514 fi
14515 fi
14516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14517 if test -n "$ac_ct_CC"; then
14518 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14519 echo "${ECHO_T}$ac_ct_CC" >&6; }
14520 else
14521 { echo "$as_me:$LINENO: result: no" >&5
14522 echo "${ECHO_T}no" >&6; }
14523 fi
14524
14525
14526 test -n "$ac_ct_CC" && break
14527 done
14528
14529 if test "x$ac_ct_CC" = x; then
14530 CC=""
14531 else
14532 case $cross_compiling:$ac_tool_warned in
14533 yes:)
14534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14535 whose name does not start with the host triplet. If you think this
14536 configuration is useful to you, please write to autoconf@gnu.org." >&5
14537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14538 whose name does not start with the host triplet. If you think this
14539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14540 ac_tool_warned=yes ;;
14541 esac
14542 CC=$ac_ct_CC
14543 fi
14544 fi
14545
14546 fi
14547
14548
14549 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14550 See \`config.log' for more details." >&5
14551 echo "$as_me: error: no acceptable C compiler found in \$PATH
14552 See \`config.log' for more details." >&2;}
14553 { (exit 1); exit 1; }; }
14554
14555 # Provide some information about the compiler.
14556 echo "$as_me:$LINENO: checking for C compiler version" >&5
14557 ac_compiler=`set X $ac_compile; echo $2`
14558 { (ac_try="$ac_compiler --version >&5"
14559 case "(($ac_try" in
14560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14561 *) ac_try_echo=$ac_try;;
14562 esac
14563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14564 (eval "$ac_compiler --version >&5") 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }
14568 { (ac_try="$ac_compiler -v >&5"
14569 case "(($ac_try" in
14570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14571 *) ac_try_echo=$ac_try;;
14572 esac
14573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14574 (eval "$ac_compiler -v >&5") 2>&5
14575 ac_status=$?
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }
14578 { (ac_try="$ac_compiler -V >&5"
14579 case "(($ac_try" in
14580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14581 *) ac_try_echo=$ac_try;;
14582 esac
14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14584 (eval "$ac_compiler -V >&5") 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }
14588
14589 cat >conftest.$ac_ext <<_ACEOF
14590 /* confdefs.h. */
14591 _ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595
14596 int
14597 main ()
14598 {
14599
14600 ;
14601 return 0;
14602 }
14603 _ACEOF
14604 ac_clean_files_save=$ac_clean_files
14605 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14606 # Try to create an executable without -o first, disregard a.out.
14607 # It will help us diagnose broken compilers, and finding out an intuition
14608 # of exeext.
14609 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14610 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14611 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14612 #
14613 # List of possible output files, starting from the most likely.
14614 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14615 # only as a last resort. b.out is created by i960 compilers.
14616 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14617 #
14618 # The IRIX 6 linker writes into existing files which may not be
14619 # executable, retaining their permissions. Remove them first so a
14620 # subsequent execution test works.
14621 ac_rmfiles=
14622 for ac_file in $ac_files
14623 do
14624 case $ac_file in
14625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14626 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14627 esac
14628 done
14629 rm -f $ac_rmfiles
14630
14631 if { (ac_try="$ac_link_default"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14635 esac
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_link_default") 2>&5
14638 ac_status=$?
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; then
14641 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14642 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14643 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14644 # so that the user can short-circuit this test for compilers unknown to
14645 # Autoconf.
14646 for ac_file in $ac_files ''
14647 do
14648 test -f "$ac_file" || continue
14649 case $ac_file in
14650 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14651 ;;
14652 [ab].out )
14653 # We found the default executable, but exeext='' is most
14654 # certainly right.
14655 break;;
14656 *.* )
14657 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14658 then :; else
14659 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14660 fi
14661 # We set ac_cv_exeext here because the later test for it is not
14662 # safe: cross compilers may not add the suffix if given an `-o'
14663 # argument, so we may need to know it at that point already.
14664 # Even if this section looks crufty: it has the advantage of
14665 # actually working.
14666 break;;
14667 * )
14668 break;;
14669 esac
14670 done
14671 test "$ac_cv_exeext" = no && ac_cv_exeext=
14672
14673 else
14674 ac_file=''
14675 fi
14676
14677 { echo "$as_me:$LINENO: result: $ac_file" >&5
14678 echo "${ECHO_T}$ac_file" >&6; }
14679 if test -z "$ac_file"; then
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14682
14683 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14684 See \`config.log' for more details." >&5
14685 echo "$as_me: error: C compiler cannot create executables
14686 See \`config.log' for more details." >&2;}
14687 { (exit 77); exit 77; }; }
14688 fi
14689
14690 ac_exeext=$ac_cv_exeext
14691
14692 # Check that the compiler produces executables we can run. If not, either
14693 # the compiler is broken, or we cross compile.
14694 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14695 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14696 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14697 # If not cross compiling, check that we can run a simple program.
14698 if test "$cross_compiling" != yes; then
14699 if { ac_try='./$ac_file'
14700 { (case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14703 esac
14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_try") 2>&5
14706 ac_status=$?
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14709 cross_compiling=no
14710 else
14711 if test "$cross_compiling" = maybe; then
14712 cross_compiling=yes
14713 else
14714 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14715 If you meant to cross compile, use \`--host'.
14716 See \`config.log' for more details." >&5
14717 echo "$as_me: error: cannot run C compiled programs.
14718 If you meant to cross compile, use \`--host'.
14719 See \`config.log' for more details." >&2;}
14720 { (exit 1); exit 1; }; }
14721 fi
14722 fi
14723 fi
14724 { echo "$as_me:$LINENO: result: yes" >&5
14725 echo "${ECHO_T}yes" >&6; }
14726
14727 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14728 ac_clean_files=$ac_clean_files_save
14729 # Check that the compiler produces executables we can run. If not, either
14730 # the compiler is broken, or we cross compile.
14731 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14732 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14733 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14734 echo "${ECHO_T}$cross_compiling" >&6; }
14735
14736 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14737 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14738 if { (ac_try="$ac_link"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14742 esac
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_link") 2>&5
14745 ac_status=$?
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; then
14748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14749 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14750 # work properly (i.e., refer to `conftest.exe'), while it won't with
14751 # `rm'.
14752 for ac_file in conftest.exe conftest conftest.*; do
14753 test -f "$ac_file" || continue
14754 case $ac_file in
14755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14757 break;;
14758 * ) break;;
14759 esac
14760 done
14761 else
14762 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14763 See \`config.log' for more details." >&5
14764 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14765 See \`config.log' for more details." >&2;}
14766 { (exit 1); exit 1; }; }
14767 fi
14768
14769 rm -f conftest$ac_cv_exeext
14770 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14771 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14772
14773 rm -f conftest.$ac_ext
14774 EXEEXT=$ac_cv_exeext
14775 ac_exeext=$EXEEXT
14776 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14777 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14778 if test "${ac_cv_objext+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 else
14781 cat >conftest.$ac_ext <<_ACEOF
14782 /* confdefs.h. */
14783 _ACEOF
14784 cat confdefs.h >>conftest.$ac_ext
14785 cat >>conftest.$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14787
14788 int
14789 main ()
14790 {
14791
14792 ;
14793 return 0;
14794 }
14795 _ACEOF
14796 rm -f conftest.o conftest.obj
14797 if { (ac_try="$ac_compile"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14801 esac
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_compile") 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; then
14807 for ac_file in conftest.o conftest.obj conftest.*; do
14808 test -f "$ac_file" || continue;
14809 case $ac_file in
14810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14811 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14812 break;;
14813 esac
14814 done
14815 else
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14818
14819 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14820 See \`config.log' for more details." >&5
14821 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14822 See \`config.log' for more details." >&2;}
14823 { (exit 1); exit 1; }; }
14824 fi
14825
14826 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14827 fi
14828 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14829 echo "${ECHO_T}$ac_cv_objext" >&6; }
14830 OBJEXT=$ac_cv_objext
14831 ac_objext=$OBJEXT
14832 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14833 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14834 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14835 echo $ECHO_N "(cached) $ECHO_C" >&6
14836 else
14837 cat >conftest.$ac_ext <<_ACEOF
14838 /* confdefs.h. */
14839 _ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14843
14844 int
14845 main ()
14846 {
14847 #ifndef __GNUC__
14848 choke me
14849 #endif
14850
14851 ;
14852 return 0;
14853 }
14854 _ACEOF
14855 rm -f conftest.$ac_objext
14856 if { (ac_try="$ac_compile"
14857 case "(($ac_try" in
14858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14859 *) ac_try_echo=$ac_try;;
14860 esac
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_compile") 2>conftest.er1
14863 ac_status=$?
14864 grep -v '^ *+' conftest.er1 >conftest.err
14865 rm -f conftest.er1
14866 cat conftest.err >&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); } && {
14869 test -z "$ac_c_werror_flag" ||
14870 test ! -s conftest.err
14871 } && test -s conftest.$ac_objext; then
14872 ac_compiler_gnu=yes
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 ac_compiler_gnu=no
14878 fi
14879
14880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14882
14883 fi
14884 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14885 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14886 GCC=`test $ac_compiler_gnu = yes && echo yes`
14887 ac_test_CFLAGS=${CFLAGS+set}
14888 ac_save_CFLAGS=$CFLAGS
14889 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14891 if test "${ac_cv_prog_cc_g+set}" = set; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 else
14894 ac_save_c_werror_flag=$ac_c_werror_flag
14895 ac_c_werror_flag=yes
14896 ac_cv_prog_cc_g=no
14897 CFLAGS="-g"
14898 cat >conftest.$ac_ext <<_ACEOF
14899 /* confdefs.h. */
14900 _ACEOF
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904
14905 int
14906 main ()
14907 {
14908
14909 ;
14910 return 0;
14911 }
14912 _ACEOF
14913 rm -f conftest.$ac_objext
14914 if { (ac_try="$ac_compile"
14915 case "(($ac_try" in
14916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14917 *) ac_try_echo=$ac_try;;
14918 esac
14919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14920 (eval "$ac_compile") 2>conftest.er1
14921 ac_status=$?
14922 grep -v '^ *+' conftest.er1 >conftest.err
14923 rm -f conftest.er1
14924 cat conftest.err >&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } && {
14927 test -z "$ac_c_werror_flag" ||
14928 test ! -s conftest.err
14929 } && test -s conftest.$ac_objext; then
14930 ac_cv_prog_cc_g=yes
14931 else
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.$ac_ext >&5
14934
14935 CFLAGS=""
14936 cat >conftest.$ac_ext <<_ACEOF
14937 /* confdefs.h. */
14938 _ACEOF
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14942
14943 int
14944 main ()
14945 {
14946
14947 ;
14948 return 0;
14949 }
14950 _ACEOF
14951 rm -f conftest.$ac_objext
14952 if { (ac_try="$ac_compile"
14953 case "(($ac_try" in
14954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14955 *) ac_try_echo=$ac_try;;
14956 esac
14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14958 (eval "$ac_compile") 2>conftest.er1
14959 ac_status=$?
14960 grep -v '^ *+' conftest.er1 >conftest.err
14961 rm -f conftest.er1
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } && {
14965 test -z "$ac_c_werror_flag" ||
14966 test ! -s conftest.err
14967 } && test -s conftest.$ac_objext; then
14968 :
14969 else
14970 echo "$as_me: failed program was:" >&5
14971 sed 's/^/| /' conftest.$ac_ext >&5
14972
14973 ac_c_werror_flag=$ac_save_c_werror_flag
14974 CFLAGS="-g"
14975 cat >conftest.$ac_ext <<_ACEOF
14976 /* confdefs.h. */
14977 _ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14981
14982 int
14983 main ()
14984 {
14985
14986 ;
14987 return 0;
14988 }
14989 _ACEOF
14990 rm -f conftest.$ac_objext
14991 if { (ac_try="$ac_compile"
14992 case "(($ac_try" in
14993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14994 *) ac_try_echo=$ac_try;;
14995 esac
14996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14997 (eval "$ac_compile") 2>conftest.er1
14998 ac_status=$?
14999 grep -v '^ *+' conftest.er1 >conftest.err
15000 rm -f conftest.er1
15001 cat conftest.err >&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } && {
15004 test -z "$ac_c_werror_flag" ||
15005 test ! -s conftest.err
15006 } && test -s conftest.$ac_objext; then
15007 ac_cv_prog_cc_g=yes
15008 else
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.$ac_ext >&5
15011
15012
15013 fi
15014
15015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15016 fi
15017
15018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15019 fi
15020
15021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15022 ac_c_werror_flag=$ac_save_c_werror_flag
15023 fi
15024 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15025 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15026 if test "$ac_test_CFLAGS" = set; then
15027 CFLAGS=$ac_save_CFLAGS
15028 elif test $ac_cv_prog_cc_g = yes; then
15029 if test "$GCC" = yes; then
15030 CFLAGS="-g -O2"
15031 else
15032 CFLAGS="-g"
15033 fi
15034 else
15035 if test "$GCC" = yes; then
15036 CFLAGS="-O2"
15037 else
15038 CFLAGS=
15039 fi
15040 fi
15041 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15042 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15043 if test "${ac_cv_prog_cc_c89+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 else
15046 ac_cv_prog_cc_c89=no
15047 ac_save_CC=$CC
15048 cat >conftest.$ac_ext <<_ACEOF
15049 /* confdefs.h. */
15050 _ACEOF
15051 cat confdefs.h >>conftest.$ac_ext
15052 cat >>conftest.$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054 #include <stdarg.h>
15055 #include <stdio.h>
15056 #include <sys/types.h>
15057 #include <sys/stat.h>
15058 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15059 struct buf { int x; };
15060 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15061 static char *e (p, i)
15062 char **p;
15063 int i;
15064 {
15065 return p[i];
15066 }
15067 static char *f (char * (*g) (char **, int), char **p, ...)
15068 {
15069 char *s;
15070 va_list v;
15071 va_start (v,p);
15072 s = g (p, va_arg (v,int));
15073 va_end (v);
15074 return s;
15075 }
15076
15077 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15078 function prototypes and stuff, but not '\xHH' hex character constants.
15079 These don't provoke an error unfortunately, instead are silently treated
15080 as 'x'. The following induces an error, until -std is added to get
15081 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15082 array size at least. It's necessary to write '\x00'==0 to get something
15083 that's true only with -std. */
15084 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15085
15086 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15087 inside strings and character constants. */
15088 #define FOO(x) 'x'
15089 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15090
15091 int test (int i, double x);
15092 struct s1 {int (*f) (int a);};
15093 struct s2 {int (*f) (double a);};
15094 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15095 int argc;
15096 char **argv;
15097 int
15098 main ()
15099 {
15100 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15101 ;
15102 return 0;
15103 }
15104 _ACEOF
15105 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15106 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15107 do
15108 CC="$ac_save_CC $ac_arg"
15109 rm -f conftest.$ac_objext
15110 if { (ac_try="$ac_compile"
15111 case "(($ac_try" in
15112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15113 *) ac_try_echo=$ac_try;;
15114 esac
15115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15116 (eval "$ac_compile") 2>conftest.er1
15117 ac_status=$?
15118 grep -v '^ *+' conftest.er1 >conftest.err
15119 rm -f conftest.er1
15120 cat conftest.err >&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } && {
15123 test -z "$ac_c_werror_flag" ||
15124 test ! -s conftest.err
15125 } && test -s conftest.$ac_objext; then
15126 ac_cv_prog_cc_c89=$ac_arg
15127 else
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.$ac_ext >&5
15130
15131
15132 fi
15133
15134 rm -f core conftest.err conftest.$ac_objext
15135 test "x$ac_cv_prog_cc_c89" != "xno" && break
15136 done
15137 rm -f conftest.$ac_ext
15138 CC=$ac_save_CC
15139
15140 fi
15141 # AC_CACHE_VAL
15142 case "x$ac_cv_prog_cc_c89" in
15143 x)
15144 { echo "$as_me:$LINENO: result: none needed" >&5
15145 echo "${ECHO_T}none needed" >&6; } ;;
15146 xno)
15147 { echo "$as_me:$LINENO: result: unsupported" >&5
15148 echo "${ECHO_T}unsupported" >&6; } ;;
15149 *)
15150 CC="$CC $ac_cv_prog_cc_c89"
15151 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15152 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15153 esac
15154
15155
15156 ac_ext=c
15157 ac_cpp='$CPP $CPPFLAGS'
15158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15161
15162
15163
15164
15165 ac_ext=c
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15170
15171 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15172 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15173 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 else
15176 cat >conftest.$ac_ext <<_ACEOF
15177 /* confdefs.h. */
15178 _ACEOF
15179 cat confdefs.h >>conftest.$ac_ext
15180 cat >>conftest.$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15182
15183 int
15184 main ()
15185 {
15186
15187 #ifndef __INTEL_COMPILER
15188 choke me
15189 #endif
15190
15191 ;
15192 return 0;
15193 }
15194 _ACEOF
15195 rm -f conftest.$ac_objext
15196 if { (ac_try="$ac_compile"
15197 case "(($ac_try" in
15198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15199 *) ac_try_echo=$ac_try;;
15200 esac
15201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15202 (eval "$ac_compile") 2>conftest.er1
15203 ac_status=$?
15204 grep -v '^ *+' conftest.er1 >conftest.err
15205 rm -f conftest.er1
15206 cat conftest.err >&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } && {
15209 test -z "$ac_c_werror_flag" ||
15210 test ! -s conftest.err
15211 } && test -s conftest.$ac_objext; then
15212 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15213 else
15214 echo "$as_me: failed program was:" >&5
15215 sed 's/^/| /' conftest.$ac_ext >&5
15216
15217 bakefile_cv_c_compiler___INTEL_COMPILER=no
15218
15219 fi
15220
15221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15222
15223
15224 fi
15225 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15226 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15227 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15228 :; INTELCC=yes
15229 else
15230 :;
15231 fi
15232 ac_ext=c
15233 ac_cpp='$CPP $CPPFLAGS'
15234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15237
15238
15239
15240
15241 if test "$INTELCC" = "yes"; then
15242
15243
15244 ac_ext=c
15245 ac_cpp='$CPP $CPPFLAGS'
15246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15249
15250 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15251 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15252 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15254 else
15255 cat >conftest.$ac_ext <<_ACEOF
15256 /* confdefs.h. */
15257 _ACEOF
15258 cat confdefs.h >>conftest.$ac_ext
15259 cat >>conftest.$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15261
15262 int
15263 main ()
15264 {
15265
15266 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15267 choke me
15268 #endif
15269
15270 ;
15271 return 0;
15272 }
15273 _ACEOF
15274 rm -f conftest.$ac_objext
15275 if { (ac_try="$ac_compile"
15276 case "(($ac_try" in
15277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15278 *) ac_try_echo=$ac_try;;
15279 esac
15280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15281 (eval "$ac_compile") 2>conftest.er1
15282 ac_status=$?
15283 grep -v '^ *+' conftest.er1 >conftest.err
15284 rm -f conftest.er1
15285 cat conftest.err >&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } && {
15288 test -z "$ac_c_werror_flag" ||
15289 test ! -s conftest.err
15290 } && test -s conftest.$ac_objext; then
15291 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15292 else
15293 echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15295
15296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15297
15298 fi
15299
15300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15301
15302
15303 fi
15304 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15305 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15306 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15307 :; INTELCC8=yes
15308 else
15309 :;
15310 fi
15311 ac_ext=c
15312 ac_cpp='$CPP $CPPFLAGS'
15313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15316
15317
15318
15319
15320
15321 ac_ext=c
15322 ac_cpp='$CPP $CPPFLAGS'
15323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15326
15327 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15328 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15329 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 cat >conftest.$ac_ext <<_ACEOF
15333 /* confdefs.h. */
15334 _ACEOF
15335 cat confdefs.h >>conftest.$ac_ext
15336 cat >>conftest.$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15338
15339 int
15340 main ()
15341 {
15342
15343 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15344 choke me
15345 #endif
15346
15347 ;
15348 return 0;
15349 }
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15374
15375 fi
15376
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15378
15379
15380 fi
15381 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15382 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15383 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15384 :; INTELCC10=yes
15385 else
15386 :;
15387 fi
15388 ac_ext=c
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15393
15394
15395
15396 fi
15397
15398 if test "x$GCC" != "xyes"; then
15399 if test "xCC" = "xC"; then
15400 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15401 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15402 if test "${bakefile_cv_c_exto+set}" = set; then
15403 echo $ECHO_N "(cached) $ECHO_C" >&6
15404 else
15405 cat >conftest.$ac_ext <<_ACEOF
15406 /* confdefs.h. */
15407 _ACEOF
15408 cat confdefs.h >>conftest.$ac_ext
15409 cat >>conftest.$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15411
15412 int
15413 main ()
15414 {
15415
15416 ;
15417 return 0;
15418 }
15419 _ACEOF
15420 rm -f conftest.$ac_objext conftest.$ac_ext.o
15421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15422 (eval $ac_compile) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; then
15426 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15427 case $ac_file in
15428 conftest.$ac_ext.o)
15429 bakefile_cv_c_exto="-ext o"
15430 ;;
15431 *)
15432 ;;
15433 esac
15434 done
15435 else
15436 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15437 See \`config.log' for more details." >&5
15438 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15439 See \`config.log' for more details." >&2;}
15440 { (exit 1); exit 1; }; }
15441
15442 fi
15443
15444 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15445
15446 fi
15447 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15448 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15449 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15450 if test "c" = "c"; then
15451 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15452 fi
15453 if test "c" = "cxx"; then
15454 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15455 fi
15456 fi
15457
15458 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15459 unset ac_cv_prog_cc_g
15460 ac_test_CFLAGS=${CFLAGS+set}
15461 ac_save_CFLAGS=$CFLAGS
15462 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15463 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15464 if test "${ac_cv_prog_cc_g+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15466 else
15467 ac_save_c_werror_flag=$ac_c_werror_flag
15468 ac_c_werror_flag=yes
15469 ac_cv_prog_cc_g=no
15470 CFLAGS="-g"
15471 cat >conftest.$ac_ext <<_ACEOF
15472 /* confdefs.h. */
15473 _ACEOF
15474 cat confdefs.h >>conftest.$ac_ext
15475 cat >>conftest.$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15477
15478 int
15479 main ()
15480 {
15481
15482 ;
15483 return 0;
15484 }
15485 _ACEOF
15486 rm -f conftest.$ac_objext
15487 if { (ac_try="$ac_compile"
15488 case "(($ac_try" in
15489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15490 *) ac_try_echo=$ac_try;;
15491 esac
15492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_compile") 2>conftest.er1
15494 ac_status=$?
15495 grep -v '^ *+' conftest.er1 >conftest.err
15496 rm -f conftest.er1
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } && {
15500 test -z "$ac_c_werror_flag" ||
15501 test ! -s conftest.err
15502 } && test -s conftest.$ac_objext; then
15503 ac_cv_prog_cc_g=yes
15504 else
15505 echo "$as_me: failed program was:" >&5
15506 sed 's/^/| /' conftest.$ac_ext >&5
15507
15508 CFLAGS=""
15509 cat >conftest.$ac_ext <<_ACEOF
15510 /* confdefs.h. */
15511 _ACEOF
15512 cat confdefs.h >>conftest.$ac_ext
15513 cat >>conftest.$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15515
15516 int
15517 main ()
15518 {
15519
15520 ;
15521 return 0;
15522 }
15523 _ACEOF
15524 rm -f conftest.$ac_objext
15525 if { (ac_try="$ac_compile"
15526 case "(($ac_try" in
15527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15528 *) ac_try_echo=$ac_try;;
15529 esac
15530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15531 (eval "$ac_compile") 2>conftest.er1
15532 ac_status=$?
15533 grep -v '^ *+' conftest.er1 >conftest.err
15534 rm -f conftest.er1
15535 cat conftest.err >&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } && {
15538 test -z "$ac_c_werror_flag" ||
15539 test ! -s conftest.err
15540 } && test -s conftest.$ac_objext; then
15541 :
15542 else
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.$ac_ext >&5
15545
15546 ac_c_werror_flag=$ac_save_c_werror_flag
15547 CFLAGS="-g"
15548 cat >conftest.$ac_ext <<_ACEOF
15549 /* confdefs.h. */
15550 _ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554
15555 int
15556 main ()
15557 {
15558
15559 ;
15560 return 0;
15561 }
15562 _ACEOF
15563 rm -f conftest.$ac_objext
15564 if { (ac_try="$ac_compile"
15565 case "(($ac_try" in
15566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15567 *) ac_try_echo=$ac_try;;
15568 esac
15569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15570 (eval "$ac_compile") 2>conftest.er1
15571 ac_status=$?
15572 grep -v '^ *+' conftest.er1 >conftest.err
15573 rm -f conftest.er1
15574 cat conftest.err >&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } && {
15577 test -z "$ac_c_werror_flag" ||
15578 test ! -s conftest.err
15579 } && test -s conftest.$ac_objext; then
15580 ac_cv_prog_cc_g=yes
15581 else
15582 echo "$as_me: failed program was:" >&5
15583 sed 's/^/| /' conftest.$ac_ext >&5
15584
15585
15586 fi
15587
15588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589 fi
15590
15591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15592 fi
15593
15594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15595 ac_c_werror_flag=$ac_save_c_werror_flag
15596 fi
15597 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15598 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15599 if test "$ac_test_CFLAGS" = set; then
15600 CFLAGS=$ac_save_CFLAGS
15601 elif test $ac_cv_prog_cc_g = yes; then
15602 if test "$GCC" = yes; then
15603 CFLAGS="-g -O2"
15604 else
15605 CFLAGS="-g"
15606 fi
15607 else
15608 if test "$GCC" = yes; then
15609 CFLAGS="-O2"
15610 else
15611 CFLAGS=
15612 fi
15613 fi
15614 fi
15615 fi
15616
15617 case `uname -s` in
15618 AIX*)
15619
15620
15621 ac_ext=c
15622 ac_cpp='$CPP $CPPFLAGS'
15623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15626
15627 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15628 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15629 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15630 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 else
15632 cat >conftest.$ac_ext <<_ACEOF
15633 /* confdefs.h. */
15634 _ACEOF
15635 cat confdefs.h >>conftest.$ac_ext
15636 cat >>conftest.$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15638
15639 int
15640 main ()
15641 {
15642
15643 #ifndef __xlC__
15644 choke me
15645 #endif
15646
15647 ;
15648 return 0;
15649 }
15650 _ACEOF
15651 rm -f conftest.$ac_objext
15652 if { (ac_try="$ac_compile"
15653 case "(($ac_try" in
15654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15655 *) ac_try_echo=$ac_try;;
15656 esac
15657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15658 (eval "$ac_compile") 2>conftest.er1
15659 ac_status=$?
15660 grep -v '^ *+' conftest.er1 >conftest.err
15661 rm -f conftest.er1
15662 cat conftest.err >&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } && {
15665 test -z "$ac_c_werror_flag" ||
15666 test ! -s conftest.err
15667 } && test -s conftest.$ac_objext; then
15668 bakefile_cv_c_compiler___xlC__=yes
15669 else
15670 echo "$as_me: failed program was:" >&5
15671 sed 's/^/| /' conftest.$ac_ext >&5
15672
15673 bakefile_cv_c_compiler___xlC__=no
15674
15675 fi
15676
15677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15678
15679
15680 fi
15681 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15682 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15683 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15684 :; XLCC=yes
15685 else
15686 :;
15687 fi
15688 ac_ext=c
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15693
15694
15695
15696 ;;
15697
15698 Darwin)
15699
15700
15701 ac_ext=c
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15706
15707 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15708 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15709 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15710 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 else
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718
15719 int
15720 main ()
15721 {
15722
15723 #ifndef __MWERKS__
15724 choke me
15725 #endif
15726
15727 ;
15728 return 0;
15729 }
15730 _ACEOF
15731 rm -f conftest.$ac_objext
15732 if { (ac_try="$ac_compile"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15736 esac
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_compile") 2>conftest.er1
15739 ac_status=$?
15740 grep -v '^ *+' conftest.er1 >conftest.err
15741 rm -f conftest.er1
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest.$ac_objext; then
15748 bakefile_cv_c_compiler___MWERKS__=yes
15749 else
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15752
15753 bakefile_cv_c_compiler___MWERKS__=no
15754
15755 fi
15756
15757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15758
15759
15760 fi
15761 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15762 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15763 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15764 :; MWCC=yes
15765 else
15766 :;
15767 fi
15768 ac_ext=c
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15773
15774
15775
15776 if test "$MWCC" != "yes"; then
15777
15778
15779 ac_ext=c
15780 ac_cpp='$CPP $CPPFLAGS'
15781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15784
15785 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15786 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15787 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15788 echo $ECHO_N "(cached) $ECHO_C" >&6
15789 else
15790 cat >conftest.$ac_ext <<_ACEOF
15791 /* confdefs.h. */
15792 _ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15796
15797 int
15798 main ()
15799 {
15800
15801 #ifndef __xlC__
15802 choke me
15803 #endif
15804
15805 ;
15806 return 0;
15807 }
15808 _ACEOF
15809 rm -f conftest.$ac_objext
15810 if { (ac_try="$ac_compile"
15811 case "(($ac_try" in
15812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15813 *) ac_try_echo=$ac_try;;
15814 esac
15815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15816 (eval "$ac_compile") 2>conftest.er1
15817 ac_status=$?
15818 grep -v '^ *+' conftest.er1 >conftest.err
15819 rm -f conftest.er1
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } && {
15823 test -z "$ac_c_werror_flag" ||
15824 test ! -s conftest.err
15825 } && test -s conftest.$ac_objext; then
15826 bakefile_cv_c_compiler___xlC__=yes
15827 else
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.$ac_ext >&5
15830
15831 bakefile_cv_c_compiler___xlC__=no
15832
15833 fi
15834
15835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15836
15837
15838 fi
15839 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15840 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15841 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15842 :; XLCC=yes
15843 else
15844 :;
15845 fi
15846 ac_ext=c
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851
15852
15853
15854 fi
15855 ;;
15856
15857 IRIX*)
15858
15859
15860 ac_ext=c
15861 ac_cpp='$CPP $CPPFLAGS'
15862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15865
15866 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15867 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15868 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15869 echo $ECHO_N "(cached) $ECHO_C" >&6
15870 else
15871 cat >conftest.$ac_ext <<_ACEOF
15872 /* confdefs.h. */
15873 _ACEOF
15874 cat confdefs.h >>conftest.$ac_ext
15875 cat >>conftest.$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15877
15878 int
15879 main ()
15880 {
15881
15882 #ifndef _SGI_COMPILER_VERSION
15883 choke me
15884 #endif
15885
15886 ;
15887 return 0;
15888 }
15889 _ACEOF
15890 rm -f conftest.$ac_objext
15891 if { (ac_try="$ac_compile"
15892 case "(($ac_try" in
15893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15894 *) ac_try_echo=$ac_try;;
15895 esac
15896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15897 (eval "$ac_compile") 2>conftest.er1
15898 ac_status=$?
15899 grep -v '^ *+' conftest.er1 >conftest.err
15900 rm -f conftest.er1
15901 cat conftest.err >&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } && {
15904 test -z "$ac_c_werror_flag" ||
15905 test ! -s conftest.err
15906 } && test -s conftest.$ac_objext; then
15907 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15908 else
15909 echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5
15911
15912 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15913
15914 fi
15915
15916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15917
15918
15919 fi
15920 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15921 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15922 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15923 :; SGICC=yes
15924 else
15925 :;
15926 fi
15927 ac_ext=c
15928 ac_cpp='$CPP $CPPFLAGS'
15929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15932
15933
15934
15935 ;;
15936
15937 Linux*)
15938 if test "$INTELCC" != "yes"; then
15939
15940
15941 ac_ext=c
15942 ac_cpp='$CPP $CPPFLAGS'
15943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15946
15947 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15948 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15949 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15951 else
15952 cat >conftest.$ac_ext <<_ACEOF
15953 /* confdefs.h. */
15954 _ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958
15959 int
15960 main ()
15961 {
15962
15963 #ifndef __SUNPRO_C
15964 choke me
15965 #endif
15966
15967 ;
15968 return 0;
15969 }
15970 _ACEOF
15971 rm -f conftest.$ac_objext
15972 if { (ac_try="$ac_compile"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15976 esac
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_compile") 2>conftest.er1
15979 ac_status=$?
15980 grep -v '^ *+' conftest.er1 >conftest.err
15981 rm -f conftest.er1
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } && {
15985 test -z "$ac_c_werror_flag" ||
15986 test ! -s conftest.err
15987 } && test -s conftest.$ac_objext; then
15988 bakefile_cv_c_compiler___SUNPRO_C=yes
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 bakefile_cv_c_compiler___SUNPRO_C=no
15994
15995 fi
15996
15997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15998
15999
16000 fi
16001 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16002 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16003 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16004 :; SUNCC=yes
16005 else
16006 :;
16007 fi
16008 ac_ext=c
16009 ac_cpp='$CPP $CPPFLAGS'
16010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16013
16014
16015
16016 fi
16017 ;;
16018
16019 HP-UX*)
16020
16021
16022 ac_ext=c
16023 ac_cpp='$CPP $CPPFLAGS'
16024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16027
16028 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16029 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16030 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16032 else
16033 cat >conftest.$ac_ext <<_ACEOF
16034 /* confdefs.h. */
16035 _ACEOF
16036 cat confdefs.h >>conftest.$ac_ext
16037 cat >>conftest.$ac_ext <<_ACEOF
16038 /* end confdefs.h. */
16039
16040 int
16041 main ()
16042 {
16043
16044 #ifndef __HP_cc
16045 choke me
16046 #endif
16047
16048 ;
16049 return 0;
16050 }
16051 _ACEOF
16052 rm -f conftest.$ac_objext
16053 if { (ac_try="$ac_compile"
16054 case "(($ac_try" in
16055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16056 *) ac_try_echo=$ac_try;;
16057 esac
16058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16059 (eval "$ac_compile") 2>conftest.er1
16060 ac_status=$?
16061 grep -v '^ *+' conftest.er1 >conftest.err
16062 rm -f conftest.er1
16063 cat conftest.err >&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } && {
16066 test -z "$ac_c_werror_flag" ||
16067 test ! -s conftest.err
16068 } && test -s conftest.$ac_objext; then
16069 bakefile_cv_c_compiler___HP_cc=yes
16070 else
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.$ac_ext >&5
16073
16074 bakefile_cv_c_compiler___HP_cc=no
16075
16076 fi
16077
16078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16079
16080
16081 fi
16082 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16083 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16084 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16085 :; HPCC=yes
16086 else
16087 :;
16088 fi
16089 ac_ext=c
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094
16095
16096
16097 ;;
16098
16099 OSF1)
16100
16101
16102 ac_ext=c
16103 ac_cpp='$CPP $CPPFLAGS'
16104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16107
16108 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16109 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16110 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 else
16113 cat >conftest.$ac_ext <<_ACEOF
16114 /* confdefs.h. */
16115 _ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119
16120 int
16121 main ()
16122 {
16123
16124 #ifndef __DECC
16125 choke me
16126 #endif
16127
16128 ;
16129 return 0;
16130 }
16131 _ACEOF
16132 rm -f conftest.$ac_objext
16133 if { (ac_try="$ac_compile"
16134 case "(($ac_try" in
16135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16136 *) ac_try_echo=$ac_try;;
16137 esac
16138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16139 (eval "$ac_compile") 2>conftest.er1
16140 ac_status=$?
16141 grep -v '^ *+' conftest.er1 >conftest.err
16142 rm -f conftest.er1
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } && {
16146 test -z "$ac_c_werror_flag" ||
16147 test ! -s conftest.err
16148 } && test -s conftest.$ac_objext; then
16149 bakefile_cv_c_compiler___DECC=yes
16150 else
16151 echo "$as_me: failed program was:" >&5
16152 sed 's/^/| /' conftest.$ac_ext >&5
16153
16154 bakefile_cv_c_compiler___DECC=no
16155
16156 fi
16157
16158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16159
16160
16161 fi
16162 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16163 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16164 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16165 :; COMPAQCC=yes
16166 else
16167 :;
16168 fi
16169 ac_ext=c
16170 ac_cpp='$CPP $CPPFLAGS'
16171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16174
16175
16176
16177 ;;
16178
16179 SunOS)
16180
16181
16182 ac_ext=c
16183 ac_cpp='$CPP $CPPFLAGS'
16184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16187
16188 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16189 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16190 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 else
16193 cat >conftest.$ac_ext <<_ACEOF
16194 /* confdefs.h. */
16195 _ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16199
16200 int
16201 main ()
16202 {
16203
16204 #ifndef __SUNPRO_C
16205 choke me
16206 #endif
16207
16208 ;
16209 return 0;
16210 }
16211 _ACEOF
16212 rm -f conftest.$ac_objext
16213 if { (ac_try="$ac_compile"
16214 case "(($ac_try" in
16215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16216 *) ac_try_echo=$ac_try;;
16217 esac
16218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16219 (eval "$ac_compile") 2>conftest.er1
16220 ac_status=$?
16221 grep -v '^ *+' conftest.er1 >conftest.err
16222 rm -f conftest.er1
16223 cat conftest.err >&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } && {
16226 test -z "$ac_c_werror_flag" ||
16227 test ! -s conftest.err
16228 } && test -s conftest.$ac_objext; then
16229 bakefile_cv_c_compiler___SUNPRO_C=yes
16230 else
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.$ac_ext >&5
16233
16234 bakefile_cv_c_compiler___SUNPRO_C=no
16235
16236 fi
16237
16238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16239
16240
16241 fi
16242 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16243 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16244 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16245 :; SUNCC=yes
16246 else
16247 :;
16248 fi
16249 ac_ext=c
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16254
16255
16256
16257 ;;
16258 esac
16259 fi
16260
16261
16262
16263 ac_ext=c
16264 ac_cpp='$CPP $CPPFLAGS'
16265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16268 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16269 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16270 # On Suns, sometimes $CPP names a directory.
16271 if test -n "$CPP" && test -d "$CPP"; then
16272 CPP=
16273 fi
16274 if test -z "$CPP"; then
16275 if test "${ac_cv_prog_CPP+set}" = set; then
16276 echo $ECHO_N "(cached) $ECHO_C" >&6
16277 else
16278 # Double quotes because CPP needs to be expanded
16279 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16280 do
16281 ac_preproc_ok=false
16282 for ac_c_preproc_warn_flag in '' yes
16283 do
16284 # Use a header file that comes with gcc, so configuring glibc
16285 # with a fresh cross-compiler works.
16286 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16287 # <limits.h> exists even on freestanding compilers.
16288 # On the NeXT, cc -E runs the code through the compiler's parser,
16289 # not just through cpp. "Syntax error" is here to catch this case.
16290 cat >conftest.$ac_ext <<_ACEOF
16291 /* confdefs.h. */
16292 _ACEOF
16293 cat confdefs.h >>conftest.$ac_ext
16294 cat >>conftest.$ac_ext <<_ACEOF
16295 /* end confdefs.h. */
16296 #ifdef __STDC__
16297 # include <limits.h>
16298 #else
16299 # include <assert.h>
16300 #endif
16301 Syntax error
16302 _ACEOF
16303 if { (ac_try="$ac_cpp conftest.$ac_ext"
16304 case "(($ac_try" in
16305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16306 *) ac_try_echo=$ac_try;;
16307 esac
16308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16309 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16310 ac_status=$?
16311 grep -v '^ *+' conftest.er1 >conftest.err
16312 rm -f conftest.er1
16313 cat conftest.err >&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } >/dev/null && {
16316 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16317 test ! -s conftest.err
16318 }; then
16319 :
16320 else
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16323
16324 # Broken: fails on valid input.
16325 continue
16326 fi
16327
16328 rm -f conftest.err conftest.$ac_ext
16329
16330 # OK, works on sane cases. Now check whether nonexistent headers
16331 # can be detected and how.
16332 cat >conftest.$ac_ext <<_ACEOF
16333 /* confdefs.h. */
16334 _ACEOF
16335 cat confdefs.h >>conftest.$ac_ext
16336 cat >>conftest.$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 #include <ac_nonexistent.h>
16339 _ACEOF
16340 if { (ac_try="$ac_cpp conftest.$ac_ext"
16341 case "(($ac_try" in
16342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16343 *) ac_try_echo=$ac_try;;
16344 esac
16345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16347 ac_status=$?
16348 grep -v '^ *+' conftest.er1 >conftest.err
16349 rm -f conftest.er1
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } >/dev/null && {
16353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16354 test ! -s conftest.err
16355 }; then
16356 # Broken: success on invalid input.
16357 continue
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 # Passes both tests.
16363 ac_preproc_ok=:
16364 break
16365 fi
16366
16367 rm -f conftest.err conftest.$ac_ext
16368
16369 done
16370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16371 rm -f conftest.err conftest.$ac_ext
16372 if $ac_preproc_ok; then
16373 break
16374 fi
16375
16376 done
16377 ac_cv_prog_CPP=$CPP
16378
16379 fi
16380 CPP=$ac_cv_prog_CPP
16381 else
16382 ac_cv_prog_CPP=$CPP
16383 fi
16384 { echo "$as_me:$LINENO: result: $CPP" >&5
16385 echo "${ECHO_T}$CPP" >&6; }
16386 ac_preproc_ok=false
16387 for ac_c_preproc_warn_flag in '' yes
16388 do
16389 # Use a header file that comes with gcc, so configuring glibc
16390 # with a fresh cross-compiler works.
16391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16392 # <limits.h> exists even on freestanding compilers.
16393 # On the NeXT, cc -E runs the code through the compiler's parser,
16394 # not just through cpp. "Syntax error" is here to catch this case.
16395 cat >conftest.$ac_ext <<_ACEOF
16396 /* confdefs.h. */
16397 _ACEOF
16398 cat confdefs.h >>conftest.$ac_ext
16399 cat >>conftest.$ac_ext <<_ACEOF
16400 /* end confdefs.h. */
16401 #ifdef __STDC__
16402 # include <limits.h>
16403 #else
16404 # include <assert.h>
16405 #endif
16406 Syntax error
16407 _ACEOF
16408 if { (ac_try="$ac_cpp conftest.$ac_ext"
16409 case "(($ac_try" in
16410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16411 *) ac_try_echo=$ac_try;;
16412 esac
16413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16414 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16415 ac_status=$?
16416 grep -v '^ *+' conftest.er1 >conftest.err
16417 rm -f conftest.er1
16418 cat conftest.err >&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } >/dev/null && {
16421 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16422 test ! -s conftest.err
16423 }; then
16424 :
16425 else
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.$ac_ext >&5
16428
16429 # Broken: fails on valid input.
16430 continue
16431 fi
16432
16433 rm -f conftest.err conftest.$ac_ext
16434
16435 # OK, works on sane cases. Now check whether nonexistent headers
16436 # can be detected and how.
16437 cat >conftest.$ac_ext <<_ACEOF
16438 /* confdefs.h. */
16439 _ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 #include <ac_nonexistent.h>
16444 _ACEOF
16445 if { (ac_try="$ac_cpp conftest.$ac_ext"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16449 esac
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16452 ac_status=$?
16453 grep -v '^ *+' conftest.er1 >conftest.err
16454 rm -f conftest.er1
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } >/dev/null && {
16458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16459 test ! -s conftest.err
16460 }; then
16461 # Broken: success on invalid input.
16462 continue
16463 else
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.$ac_ext >&5
16466
16467 # Passes both tests.
16468 ac_preproc_ok=:
16469 break
16470 fi
16471
16472 rm -f conftest.err conftest.$ac_ext
16473
16474 done
16475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16476 rm -f conftest.err conftest.$ac_ext
16477 if $ac_preproc_ok; then
16478 :
16479 else
16480 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16481 See \`config.log' for more details." >&5
16482 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16483 See \`config.log' for more details." >&2;}
16484 { (exit 1); exit 1; }; }
16485 fi
16486
16487 ac_ext=c
16488 ac_cpp='$CPP $CPPFLAGS'
16489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16492
16493
16494 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16495 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16496 if test "${ac_cv_path_GREP+set}" = set; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 else
16499 # Extract the first word of "grep ggrep" to use in msg output
16500 if test -z "$GREP"; then
16501 set dummy grep ggrep; ac_prog_name=$2
16502 if test "${ac_cv_path_GREP+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 else
16505 ac_path_GREP_found=false
16506 # Loop through the user's path and test for each of PROGNAME-LIST
16507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16509 do
16510 IFS=$as_save_IFS
16511 test -z "$as_dir" && as_dir=.
16512 for ac_prog in grep ggrep; do
16513 for ac_exec_ext in '' $ac_executable_extensions; do
16514 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16515 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16516 # Check for GNU ac_path_GREP and select it if it is found.
16517 # Check for GNU $ac_path_GREP
16518 case `"$ac_path_GREP" --version 2>&1` in
16519 *GNU*)
16520 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16521 *)
16522 ac_count=0
16523 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16524 while :
16525 do
16526 cat "conftest.in" "conftest.in" >"conftest.tmp"
16527 mv "conftest.tmp" "conftest.in"
16528 cp "conftest.in" "conftest.nl"
16529 echo 'GREP' >> "conftest.nl"
16530 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16532 ac_count=`expr $ac_count + 1`
16533 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16534 # Best one so far, save it but keep looking for a better one
16535 ac_cv_path_GREP="$ac_path_GREP"
16536 ac_path_GREP_max=$ac_count
16537 fi
16538 # 10*(2^10) chars as input seems more than enough
16539 test $ac_count -gt 10 && break
16540 done
16541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16542 esac
16543
16544
16545 $ac_path_GREP_found && break 3
16546 done
16547 done
16548
16549 done
16550 IFS=$as_save_IFS
16551
16552
16553 fi
16554
16555 GREP="$ac_cv_path_GREP"
16556 if test -z "$GREP"; then
16557 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16558 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16559 { (exit 1); exit 1; }; }
16560 fi
16561
16562 else
16563 ac_cv_path_GREP=$GREP
16564 fi
16565
16566
16567 fi
16568 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16569 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16570 GREP="$ac_cv_path_GREP"
16571
16572
16573 { echo "$as_me:$LINENO: checking for egrep" >&5
16574 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16575 if test "${ac_cv_path_EGREP+set}" = set; then
16576 echo $ECHO_N "(cached) $ECHO_C" >&6
16577 else
16578 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16579 then ac_cv_path_EGREP="$GREP -E"
16580 else
16581 # Extract the first word of "egrep" to use in msg output
16582 if test -z "$EGREP"; then
16583 set dummy egrep; ac_prog_name=$2
16584 if test "${ac_cv_path_EGREP+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 else
16587 ac_path_EGREP_found=false
16588 # Loop through the user's path and test for each of PROGNAME-LIST
16589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16590 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16591 do
16592 IFS=$as_save_IFS
16593 test -z "$as_dir" && as_dir=.
16594 for ac_prog in egrep; do
16595 for ac_exec_ext in '' $ac_executable_extensions; do
16596 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16597 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16598 # Check for GNU ac_path_EGREP and select it if it is found.
16599 # Check for GNU $ac_path_EGREP
16600 case `"$ac_path_EGREP" --version 2>&1` in
16601 *GNU*)
16602 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16603 *)
16604 ac_count=0
16605 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16606 while :
16607 do
16608 cat "conftest.in" "conftest.in" >"conftest.tmp"
16609 mv "conftest.tmp" "conftest.in"
16610 cp "conftest.in" "conftest.nl"
16611 echo 'EGREP' >> "conftest.nl"
16612 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16613 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16614 ac_count=`expr $ac_count + 1`
16615 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16616 # Best one so far, save it but keep looking for a better one
16617 ac_cv_path_EGREP="$ac_path_EGREP"
16618 ac_path_EGREP_max=$ac_count
16619 fi
16620 # 10*(2^10) chars as input seems more than enough
16621 test $ac_count -gt 10 && break
16622 done
16623 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16624 esac
16625
16626
16627 $ac_path_EGREP_found && break 3
16628 done
16629 done
16630
16631 done
16632 IFS=$as_save_IFS
16633
16634
16635 fi
16636
16637 EGREP="$ac_cv_path_EGREP"
16638 if test -z "$EGREP"; then
16639 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16640 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16641 { (exit 1); exit 1; }; }
16642 fi
16643
16644 else
16645 ac_cv_path_EGREP=$EGREP
16646 fi
16647
16648
16649 fi
16650 fi
16651 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16652 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16653 EGREP="$ac_cv_path_EGREP"
16654
16655
16656 if test $ac_cv_c_compiler_gnu = yes; then
16657 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16658 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16659 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16661 else
16662 ac_pattern="Autoconf.*'x'"
16663 cat >conftest.$ac_ext <<_ACEOF
16664 /* confdefs.h. */
16665 _ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16669 #include <sgtty.h>
16670 Autoconf TIOCGETP
16671 _ACEOF
16672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16673 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16674 ac_cv_prog_gcc_traditional=yes
16675 else
16676 ac_cv_prog_gcc_traditional=no
16677 fi
16678 rm -f conftest*
16679
16680
16681 if test $ac_cv_prog_gcc_traditional = no; then
16682 cat >conftest.$ac_ext <<_ACEOF
16683 /* confdefs.h. */
16684 _ACEOF
16685 cat confdefs.h >>conftest.$ac_ext
16686 cat >>conftest.$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16688 #include <termio.h>
16689 Autoconf TCGETA
16690 _ACEOF
16691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16692 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16693 ac_cv_prog_gcc_traditional=yes
16694 fi
16695 rm -f conftest*
16696
16697 fi
16698 fi
16699 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16700 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16701 if test $ac_cv_prog_gcc_traditional = yes; then
16702 CC="$CC -traditional"
16703 fi
16704 fi
16705
16706
16707 CXXFLAGS=${CXXFLAGS:=}
16708
16709
16710
16711 ac_ext=cpp
16712 ac_cpp='$CXXCPP $CPPFLAGS'
16713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16716 if test -z "$CXX"; then
16717 if test -n "$CCC"; then
16718 CXX=$CCC
16719 else
16720 if test -n "$ac_tool_prefix"; then
16721 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16722 do
16723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16727 if test "${ac_cv_prog_CXX+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 else
16730 if test -n "$CXX"; then
16731 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16732 else
16733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16734 for as_dir in $PATH
16735 do
16736 IFS=$as_save_IFS
16737 test -z "$as_dir" && as_dir=.
16738 for ac_exec_ext in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16742 break 2
16743 fi
16744 done
16745 done
16746 IFS=$as_save_IFS
16747
16748 fi
16749 fi
16750 CXX=$ac_cv_prog_CXX
16751 if test -n "$CXX"; then
16752 { echo "$as_me:$LINENO: result: $CXX" >&5
16753 echo "${ECHO_T}$CXX" >&6; }
16754 else
16755 { echo "$as_me:$LINENO: result: no" >&5
16756 echo "${ECHO_T}no" >&6; }
16757 fi
16758
16759
16760 test -n "$CXX" && break
16761 done
16762 fi
16763 if test -z "$CXX"; then
16764 ac_ct_CXX=$CXX
16765 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16766 do
16767 # Extract the first word of "$ac_prog", so it can be a program name with args.
16768 set dummy $ac_prog; ac_word=$2
16769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16771 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16772 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 else
16774 if test -n "$ac_ct_CXX"; then
16775 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16776 else
16777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16778 for as_dir in $PATH
16779 do
16780 IFS=$as_save_IFS
16781 test -z "$as_dir" && as_dir=.
16782 for ac_exec_ext in '' $ac_executable_extensions; do
16783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16784 ac_cv_prog_ac_ct_CXX="$ac_prog"
16785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16786 break 2
16787 fi
16788 done
16789 done
16790 IFS=$as_save_IFS
16791
16792 fi
16793 fi
16794 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16795 if test -n "$ac_ct_CXX"; then
16796 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16797 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16798 else
16799 { echo "$as_me:$LINENO: result: no" >&5
16800 echo "${ECHO_T}no" >&6; }
16801 fi
16802
16803
16804 test -n "$ac_ct_CXX" && break
16805 done
16806
16807 if test "x$ac_ct_CXX" = x; then
16808 CXX="g++"
16809 else
16810 case $cross_compiling:$ac_tool_warned in
16811 yes:)
16812 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16813 whose name does not start with the host triplet. If you think this
16814 configuration is useful to you, please write to autoconf@gnu.org." >&5
16815 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16816 whose name does not start with the host triplet. If you think this
16817 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16818 ac_tool_warned=yes ;;
16819 esac
16820 CXX=$ac_ct_CXX
16821 fi
16822 fi
16823
16824 fi
16825 fi
16826 # Provide some information about the compiler.
16827 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16828 ac_compiler=`set X $ac_compile; echo $2`
16829 { (ac_try="$ac_compiler --version >&5"
16830 case "(($ac_try" in
16831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16832 *) ac_try_echo=$ac_try;;
16833 esac
16834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16835 (eval "$ac_compiler --version >&5") 2>&5
16836 ac_status=$?
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }
16839 { (ac_try="$ac_compiler -v >&5"
16840 case "(($ac_try" in
16841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16842 *) ac_try_echo=$ac_try;;
16843 esac
16844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16845 (eval "$ac_compiler -v >&5") 2>&5
16846 ac_status=$?
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }
16849 { (ac_try="$ac_compiler -V >&5"
16850 case "(($ac_try" in
16851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16852 *) ac_try_echo=$ac_try;;
16853 esac
16854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16855 (eval "$ac_compiler -V >&5") 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }
16859
16860 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16861 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16862 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 else
16865 cat >conftest.$ac_ext <<_ACEOF
16866 /* confdefs.h. */
16867 _ACEOF
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871
16872 int
16873 main ()
16874 {
16875 #ifndef __GNUC__
16876 choke me
16877 #endif
16878
16879 ;
16880 return 0;
16881 }
16882 _ACEOF
16883 rm -f conftest.$ac_objext
16884 if { (ac_try="$ac_compile"
16885 case "(($ac_try" in
16886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16887 *) ac_try_echo=$ac_try;;
16888 esac
16889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16890 (eval "$ac_compile") 2>conftest.er1
16891 ac_status=$?
16892 grep -v '^ *+' conftest.er1 >conftest.err
16893 rm -f conftest.er1
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } && {
16897 test -z "$ac_cxx_werror_flag" ||
16898 test ! -s conftest.err
16899 } && test -s conftest.$ac_objext; then
16900 ac_compiler_gnu=yes
16901 else
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16904
16905 ac_compiler_gnu=no
16906 fi
16907
16908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16909 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16910
16911 fi
16912 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16913 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16914 GXX=`test $ac_compiler_gnu = yes && echo yes`
16915 ac_test_CXXFLAGS=${CXXFLAGS+set}
16916 ac_save_CXXFLAGS=$CXXFLAGS
16917 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16918 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16919 if test "${ac_cv_prog_cxx_g+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 else
16922 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16923 ac_cxx_werror_flag=yes
16924 ac_cv_prog_cxx_g=no
16925 CXXFLAGS="-g"
16926 cat >conftest.$ac_ext <<_ACEOF
16927 /* confdefs.h. */
16928 _ACEOF
16929 cat confdefs.h >>conftest.$ac_ext
16930 cat >>conftest.$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16932
16933 int
16934 main ()
16935 {
16936
16937 ;
16938 return 0;
16939 }
16940 _ACEOF
16941 rm -f conftest.$ac_objext
16942 if { (ac_try="$ac_compile"
16943 case "(($ac_try" in
16944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16946 esac
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_compile") 2>conftest.er1
16949 ac_status=$?
16950 grep -v '^ *+' conftest.er1 >conftest.err
16951 rm -f conftest.er1
16952 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } && {
16955 test -z "$ac_cxx_werror_flag" ||
16956 test ! -s conftest.err
16957 } && test -s conftest.$ac_objext; then
16958 ac_cv_prog_cxx_g=yes
16959 else
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16962
16963 CXXFLAGS=""
16964 cat >conftest.$ac_ext <<_ACEOF
16965 /* confdefs.h. */
16966 _ACEOF
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16970
16971 int
16972 main ()
16973 {
16974
16975 ;
16976 return 0;
16977 }
16978 _ACEOF
16979 rm -f conftest.$ac_objext
16980 if { (ac_try="$ac_compile"
16981 case "(($ac_try" in
16982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16983 *) ac_try_echo=$ac_try;;
16984 esac
16985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16986 (eval "$ac_compile") 2>conftest.er1
16987 ac_status=$?
16988 grep -v '^ *+' conftest.er1 >conftest.err
16989 rm -f conftest.er1
16990 cat conftest.err >&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); } && {
16993 test -z "$ac_cxx_werror_flag" ||
16994 test ! -s conftest.err
16995 } && test -s conftest.$ac_objext; then
16996 :
16997 else
16998 echo "$as_me: failed program was:" >&5
16999 sed 's/^/| /' conftest.$ac_ext >&5
17000
17001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17002 CXXFLAGS="-g"
17003 cat >conftest.$ac_ext <<_ACEOF
17004 /* confdefs.h. */
17005 _ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009
17010 int
17011 main ()
17012 {
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 rm -f conftest.$ac_objext
17019 if { (ac_try="$ac_compile"
17020 case "(($ac_try" in
17021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17022 *) ac_try_echo=$ac_try;;
17023 esac
17024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17025 (eval "$ac_compile") 2>conftest.er1
17026 ac_status=$?
17027 grep -v '^ *+' conftest.er1 >conftest.err
17028 rm -f conftest.er1
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } && {
17032 test -z "$ac_cxx_werror_flag" ||
17033 test ! -s conftest.err
17034 } && test -s conftest.$ac_objext; then
17035 ac_cv_prog_cxx_g=yes
17036 else
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17039
17040
17041 fi
17042
17043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17044 fi
17045
17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17047 fi
17048
17049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17051 fi
17052 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17053 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17054 if test "$ac_test_CXXFLAGS" = set; then
17055 CXXFLAGS=$ac_save_CXXFLAGS
17056 elif test $ac_cv_prog_cxx_g = yes; then
17057 if test "$GXX" = yes; then
17058 CXXFLAGS="-g -O2"
17059 else
17060 CXXFLAGS="-g"
17061 fi
17062 else
17063 if test "$GXX" = yes; then
17064 CXXFLAGS="-O2"
17065 else
17066 CXXFLAGS=
17067 fi
17068 fi
17069 ac_ext=c
17070 ac_cpp='$CPP $CPPFLAGS'
17071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17074
17075
17076
17077
17078 ac_ext=cpp
17079 ac_cpp='$CXXCPP $CPPFLAGS'
17080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17083
17084 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17085 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17086 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 else
17089 cat >conftest.$ac_ext <<_ACEOF
17090 /* confdefs.h. */
17091 _ACEOF
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095
17096 int
17097 main ()
17098 {
17099
17100 #ifndef __INTEL_COMPILER
17101 choke me
17102 #endif
17103
17104 ;
17105 return 0;
17106 }
17107 _ACEOF
17108 rm -f conftest.$ac_objext
17109 if { (ac_try="$ac_compile"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17113 esac
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_compile") 2>conftest.er1
17116 ac_status=$?
17117 grep -v '^ *+' conftest.er1 >conftest.err
17118 rm -f conftest.er1
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } && {
17122 test -z "$ac_cxx_werror_flag" ||
17123 test ! -s conftest.err
17124 } && test -s conftest.$ac_objext; then
17125 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17126 else
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17129
17130 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17131
17132 fi
17133
17134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17135
17136
17137 fi
17138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17140 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17141 :; INTELCXX=yes
17142 else
17143 :;
17144 fi
17145 ac_ext=c
17146 ac_cpp='$CPP $CPPFLAGS'
17147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17150
17151
17152
17153
17154 if test "$INTELCXX" = "yes"; then
17155
17156
17157 ac_ext=cpp
17158 ac_cpp='$CXXCPP $CPPFLAGS'
17159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17162
17163 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17164 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17165 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 else
17168 cat >conftest.$ac_ext <<_ACEOF
17169 /* confdefs.h. */
17170 _ACEOF
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174
17175 int
17176 main ()
17177 {
17178
17179 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17180 choke me
17181 #endif
17182
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 rm -f conftest.$ac_objext
17188 if { (ac_try="$ac_compile"
17189 case "(($ac_try" in
17190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17192 esac
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
17195 ac_status=$?
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && {
17201 test -z "$ac_cxx_werror_flag" ||
17202 test ! -s conftest.err
17203 } && test -s conftest.$ac_objext; then
17204 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17205 else
17206 echo "$as_me: failed program was:" >&5
17207 sed 's/^/| /' conftest.$ac_ext >&5
17208
17209 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17210
17211 fi
17212
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214
17215
17216 fi
17217 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17218 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17219 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17220 :; INTELCXX8=yes
17221 else
17222 :;
17223 fi
17224 ac_ext=c
17225 ac_cpp='$CPP $CPPFLAGS'
17226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17229
17230
17231
17232
17233
17234 ac_ext=cpp
17235 ac_cpp='$CXXCPP $CPPFLAGS'
17236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17239
17240 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17241 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17242 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17243 echo $ECHO_N "(cached) $ECHO_C" >&6
17244 else
17245 cat >conftest.$ac_ext <<_ACEOF
17246 /* confdefs.h. */
17247 _ACEOF
17248 cat confdefs.h >>conftest.$ac_ext
17249 cat >>conftest.$ac_ext <<_ACEOF
17250 /* end confdefs.h. */
17251
17252 int
17253 main ()
17254 {
17255
17256 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17257 choke me
17258 #endif
17259
17260 ;
17261 return 0;
17262 }
17263 _ACEOF
17264 rm -f conftest.$ac_objext
17265 if { (ac_try="$ac_compile"
17266 case "(($ac_try" in
17267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17268 *) ac_try_echo=$ac_try;;
17269 esac
17270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17271 (eval "$ac_compile") 2>conftest.er1
17272 ac_status=$?
17273 grep -v '^ *+' conftest.er1 >conftest.err
17274 rm -f conftest.er1
17275 cat conftest.err >&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } && {
17278 test -z "$ac_cxx_werror_flag" ||
17279 test ! -s conftest.err
17280 } && test -s conftest.$ac_objext; then
17281 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17282 else
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17285
17286 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17287
17288 fi
17289
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17291
17292
17293 fi
17294 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17295 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17296 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17297 :; INTELCXX10=yes
17298 else
17299 :;
17300 fi
17301 ac_ext=c
17302 ac_cpp='$CPP $CPPFLAGS'
17303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17306
17307
17308
17309 fi
17310
17311 if test "x$GCXX" != "xyes"; then
17312 if test "xCXX" = "xC"; then
17313 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17314 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17315 if test "${bakefile_cv_c_exto+set}" = set; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 else
17318 cat >conftest.$ac_ext <<_ACEOF
17319 /* confdefs.h. */
17320 _ACEOF
17321 cat confdefs.h >>conftest.$ac_ext
17322 cat >>conftest.$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17324
17325 int
17326 main ()
17327 {
17328
17329 ;
17330 return 0;
17331 }
17332 _ACEOF
17333 rm -f conftest.$ac_objext conftest.$ac_ext.o
17334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17335 (eval $ac_compile) 2>&5
17336 ac_status=$?
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; then
17339 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17340 case $ac_file in
17341 conftest.$ac_ext.o)
17342 bakefile_cv_c_exto="-ext o"
17343 ;;
17344 *)
17345 ;;
17346 esac
17347 done
17348 else
17349 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17350 See \`config.log' for more details." >&5
17351 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17352 See \`config.log' for more details." >&2;}
17353 { (exit 1); exit 1; }; }
17354
17355 fi
17356
17357 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17358
17359 fi
17360 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17361 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17362 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17363 if test "c" = "c"; then
17364 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17365 fi
17366 if test "c" = "cxx"; then
17367 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17368 fi
17369 fi
17370
17371 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17372 unset ac_cv_prog_cc_g
17373 ac_test_CFLAGS=${CFLAGS+set}
17374 ac_save_CFLAGS=$CFLAGS
17375 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17376 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17377 if test "${ac_cv_prog_cc_g+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17379 else
17380 ac_save_c_werror_flag=$ac_c_werror_flag
17381 ac_c_werror_flag=yes
17382 ac_cv_prog_cc_g=no
17383 CFLAGS="-g"
17384 cat >conftest.$ac_ext <<_ACEOF
17385 /* confdefs.h. */
17386 _ACEOF
17387 cat confdefs.h >>conftest.$ac_ext
17388 cat >>conftest.$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390
17391 int
17392 main ()
17393 {
17394
17395 ;
17396 return 0;
17397 }
17398 _ACEOF
17399 rm -f conftest.$ac_objext
17400 if { (ac_try="$ac_compile"
17401 case "(($ac_try" in
17402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17403 *) ac_try_echo=$ac_try;;
17404 esac
17405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17406 (eval "$ac_compile") 2>conftest.er1
17407 ac_status=$?
17408 grep -v '^ *+' conftest.er1 >conftest.err
17409 rm -f conftest.er1
17410 cat conftest.err >&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); } && {
17413 test -z "$ac_c_werror_flag" ||
17414 test ! -s conftest.err
17415 } && test -s conftest.$ac_objext; then
17416 ac_cv_prog_cc_g=yes
17417 else
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17420
17421 CFLAGS=""
17422 cat >conftest.$ac_ext <<_ACEOF
17423 /* confdefs.h. */
17424 _ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428
17429 int
17430 main ()
17431 {
17432
17433 ;
17434 return 0;
17435 }
17436 _ACEOF
17437 rm -f conftest.$ac_objext
17438 if { (ac_try="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17442 esac
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17445 ac_status=$?
17446 grep -v '^ *+' conftest.er1 >conftest.err
17447 rm -f conftest.er1
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_c_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.$ac_objext; then
17454 :
17455 else
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17458
17459 ac_c_werror_flag=$ac_save_c_werror_flag
17460 CFLAGS="-g"
17461 cat >conftest.$ac_ext <<_ACEOF
17462 /* confdefs.h. */
17463 _ACEOF
17464 cat confdefs.h >>conftest.$ac_ext
17465 cat >>conftest.$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17467
17468 int
17469 main ()
17470 {
17471
17472 ;
17473 return 0;
17474 }
17475 _ACEOF
17476 rm -f conftest.$ac_objext
17477 if { (ac_try="$ac_compile"
17478 case "(($ac_try" in
17479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17480 *) ac_try_echo=$ac_try;;
17481 esac
17482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17483 (eval "$ac_compile") 2>conftest.er1
17484 ac_status=$?
17485 grep -v '^ *+' conftest.er1 >conftest.err
17486 rm -f conftest.er1
17487 cat conftest.err >&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); } && {
17490 test -z "$ac_c_werror_flag" ||
17491 test ! -s conftest.err
17492 } && test -s conftest.$ac_objext; then
17493 ac_cv_prog_cc_g=yes
17494 else
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17497
17498
17499 fi
17500
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 fi
17503
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505 fi
17506
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17508 ac_c_werror_flag=$ac_save_c_werror_flag
17509 fi
17510 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17511 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17512 if test "$ac_test_CFLAGS" = set; then
17513 CFLAGS=$ac_save_CFLAGS
17514 elif test $ac_cv_prog_cc_g = yes; then
17515 if test "$GCC" = yes; then
17516 CFLAGS="-g -O2"
17517 else
17518 CFLAGS="-g"
17519 fi
17520 else
17521 if test "$GCC" = yes; then
17522 CFLAGS="-O2"
17523 else
17524 CFLAGS=
17525 fi
17526 fi
17527 fi
17528 fi
17529
17530 case `uname -s` in
17531 AIX*)
17532
17533
17534 ac_ext=cpp
17535 ac_cpp='$CXXCPP $CPPFLAGS'
17536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17539
17540 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17541 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17542 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 else
17545 cat >conftest.$ac_ext <<_ACEOF
17546 /* confdefs.h. */
17547 _ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551
17552 int
17553 main ()
17554 {
17555
17556 #ifndef __xlC__
17557 choke me
17558 #endif
17559
17560 ;
17561 return 0;
17562 }
17563 _ACEOF
17564 rm -f conftest.$ac_objext
17565 if { (ac_try="$ac_compile"
17566 case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17569 esac
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_compile") 2>conftest.er1
17572 ac_status=$?
17573 grep -v '^ *+' conftest.er1 >conftest.err
17574 rm -f conftest.er1
17575 cat conftest.err >&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } && {
17578 test -z "$ac_cxx_werror_flag" ||
17579 test ! -s conftest.err
17580 } && test -s conftest.$ac_objext; then
17581 bakefile_cv_cxx_compiler___xlC__=yes
17582 else
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5
17585
17586 bakefile_cv_cxx_compiler___xlC__=no
17587
17588 fi
17589
17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591
17592
17593 fi
17594 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17595 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17596 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17597 :; XLCXX=yes
17598 else
17599 :;
17600 fi
17601 ac_ext=c
17602 ac_cpp='$CPP $CPPFLAGS'
17603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17606
17607
17608
17609 ;;
17610
17611 Darwin)
17612
17613
17614 ac_ext=cpp
17615 ac_cpp='$CXXCPP $CPPFLAGS'
17616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17619
17620 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17621 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17622 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17624 else
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631
17632 int
17633 main ()
17634 {
17635
17636 #ifndef __MWERKS__
17637 choke me
17638 #endif
17639
17640 ;
17641 return 0;
17642 }
17643 _ACEOF
17644 rm -f conftest.$ac_objext
17645 if { (ac_try="$ac_compile"
17646 case "(($ac_try" in
17647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17649 esac
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_compile") 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } && {
17658 test -z "$ac_cxx_werror_flag" ||
17659 test ! -s conftest.err
17660 } && test -s conftest.$ac_objext; then
17661 bakefile_cv_cxx_compiler___MWERKS__=yes
17662 else
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17665
17666 bakefile_cv_cxx_compiler___MWERKS__=no
17667
17668 fi
17669
17670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17671
17672
17673 fi
17674 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17675 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17676 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17677 :; MWCXX=yes
17678 else
17679 :;
17680 fi
17681 ac_ext=c
17682 ac_cpp='$CPP $CPPFLAGS'
17683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17686
17687
17688
17689 if test "$MWCXX" != "yes"; then
17690
17691
17692 ac_ext=cpp
17693 ac_cpp='$CXXCPP $CPPFLAGS'
17694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17697
17698 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17699 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17700 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17702 else
17703 cat >conftest.$ac_ext <<_ACEOF
17704 /* confdefs.h. */
17705 _ACEOF
17706 cat confdefs.h >>conftest.$ac_ext
17707 cat >>conftest.$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709
17710 int
17711 main ()
17712 {
17713
17714 #ifndef __xlC__
17715 choke me
17716 #endif
17717
17718 ;
17719 return 0;
17720 }
17721 _ACEOF
17722 rm -f conftest.$ac_objext
17723 if { (ac_try="$ac_compile"
17724 case "(($ac_try" in
17725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17726 *) ac_try_echo=$ac_try;;
17727 esac
17728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17729 (eval "$ac_compile") 2>conftest.er1
17730 ac_status=$?
17731 grep -v '^ *+' conftest.er1 >conftest.err
17732 rm -f conftest.er1
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } && {
17736 test -z "$ac_cxx_werror_flag" ||
17737 test ! -s conftest.err
17738 } && test -s conftest.$ac_objext; then
17739 bakefile_cv_cxx_compiler___xlC__=yes
17740 else
17741 echo "$as_me: failed program was:" >&5
17742 sed 's/^/| /' conftest.$ac_ext >&5
17743
17744 bakefile_cv_cxx_compiler___xlC__=no
17745
17746 fi
17747
17748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749
17750
17751 fi
17752 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17753 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17754 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17755 :; XLCXX=yes
17756 else
17757 :;
17758 fi
17759 ac_ext=c
17760 ac_cpp='$CPP $CPPFLAGS'
17761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17764
17765
17766
17767 fi
17768 ;;
17769
17770 IRIX*)
17771
17772
17773 ac_ext=cpp
17774 ac_cpp='$CXXCPP $CPPFLAGS'
17775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17778
17779 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17780 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17781 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 else
17784 cat >conftest.$ac_ext <<_ACEOF
17785 /* confdefs.h. */
17786 _ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790
17791 int
17792 main ()
17793 {
17794
17795 #ifndef _SGI_COMPILER_VERSION
17796 choke me
17797 #endif
17798
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 rm -f conftest.$ac_objext
17804 if { (ac_try="$ac_compile"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17808 esac
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_compile") 2>conftest.er1
17811 ac_status=$?
17812 grep -v '^ *+' conftest.er1 >conftest.err
17813 rm -f conftest.er1
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && {
17817 test -z "$ac_cxx_werror_flag" ||
17818 test ! -s conftest.err
17819 } && test -s conftest.$ac_objext; then
17820 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17821 else
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.$ac_ext >&5
17824
17825 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17826
17827 fi
17828
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830
17831
17832 fi
17833 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17834 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17835 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17836 :; SGICXX=yes
17837 else
17838 :;
17839 fi
17840 ac_ext=c
17841 ac_cpp='$CPP $CPPFLAGS'
17842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17845
17846
17847
17848 ;;
17849
17850 Linux*)
17851 if test "$INTELCXX" != "yes"; then
17852
17853
17854 ac_ext=cpp
17855 ac_cpp='$CXXCPP $CPPFLAGS'
17856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17859
17860 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17861 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17862 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17863 echo $ECHO_N "(cached) $ECHO_C" >&6
17864 else
17865 cat >conftest.$ac_ext <<_ACEOF
17866 /* confdefs.h. */
17867 _ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871
17872 int
17873 main ()
17874 {
17875
17876 #ifndef __SUNPRO_CC
17877 choke me
17878 #endif
17879
17880 ;
17881 return 0;
17882 }
17883 _ACEOF
17884 rm -f conftest.$ac_objext
17885 if { (ac_try="$ac_compile"
17886 case "(($ac_try" in
17887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17888 *) ac_try_echo=$ac_try;;
17889 esac
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_compile") 2>conftest.er1
17892 ac_status=$?
17893 grep -v '^ *+' conftest.er1 >conftest.err
17894 rm -f conftest.er1
17895 cat conftest.err >&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } && {
17898 test -z "$ac_cxx_werror_flag" ||
17899 test ! -s conftest.err
17900 } && test -s conftest.$ac_objext; then
17901 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17902 else
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.$ac_ext >&5
17905
17906 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17907
17908 fi
17909
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911
17912
17913 fi
17914 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17915 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17916 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17917 :; SUNCXX=yes
17918 else
17919 :;
17920 fi
17921 ac_ext=c
17922 ac_cpp='$CPP $CPPFLAGS'
17923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17926
17927
17928
17929 fi
17930 ;;
17931
17932 HP-UX*)
17933
17934
17935 ac_ext=cpp
17936 ac_cpp='$CXXCPP $CPPFLAGS'
17937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17940
17941 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17942 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17943 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17945 else
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952
17953 int
17954 main ()
17955 {
17956
17957 #ifndef __HP_aCC
17958 choke me
17959 #endif
17960
17961 ;
17962 return 0;
17963 }
17964 _ACEOF
17965 rm -f conftest.$ac_objext
17966 if { (ac_try="$ac_compile"
17967 case "(($ac_try" in
17968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17969 *) ac_try_echo=$ac_try;;
17970 esac
17971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17972 (eval "$ac_compile") 2>conftest.er1
17973 ac_status=$?
17974 grep -v '^ *+' conftest.er1 >conftest.err
17975 rm -f conftest.er1
17976 cat conftest.err >&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } && {
17979 test -z "$ac_cxx_werror_flag" ||
17980 test ! -s conftest.err
17981 } && test -s conftest.$ac_objext; then
17982 bakefile_cv_cxx_compiler___HP_aCC=yes
17983 else
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.$ac_ext >&5
17986
17987 bakefile_cv_cxx_compiler___HP_aCC=no
17988
17989 fi
17990
17991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17992
17993
17994 fi
17995 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17996 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17997 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17998 :; HPCXX=yes
17999 else
18000 :;
18001 fi
18002 ac_ext=c
18003 ac_cpp='$CPP $CPPFLAGS'
18004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18007
18008
18009
18010 ;;
18011
18012 OSF1)
18013
18014
18015 ac_ext=cpp
18016 ac_cpp='$CXXCPP $CPPFLAGS'
18017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18020
18021 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18022 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18023 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 else
18026 cat >conftest.$ac_ext <<_ACEOF
18027 /* confdefs.h. */
18028 _ACEOF
18029 cat confdefs.h >>conftest.$ac_ext
18030 cat >>conftest.$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032
18033 int
18034 main ()
18035 {
18036
18037 #ifndef __DECCXX
18038 choke me
18039 #endif
18040
18041 ;
18042 return 0;
18043 }
18044 _ACEOF
18045 rm -f conftest.$ac_objext
18046 if { (ac_try="$ac_compile"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18049 *) ac_try_echo=$ac_try;;
18050 esac
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_compile") 2>conftest.er1
18053 ac_status=$?
18054 grep -v '^ *+' conftest.er1 >conftest.err
18055 rm -f conftest.er1
18056 cat conftest.err >&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } && {
18059 test -z "$ac_cxx_werror_flag" ||
18060 test ! -s conftest.err
18061 } && test -s conftest.$ac_objext; then
18062 bakefile_cv_cxx_compiler___DECCXX=yes
18063 else
18064 echo "$as_me: failed program was:" >&5
18065 sed 's/^/| /' conftest.$ac_ext >&5
18066
18067 bakefile_cv_cxx_compiler___DECCXX=no
18068
18069 fi
18070
18071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18072
18073
18074 fi
18075 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18076 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18077 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18078 :; COMPAQCXX=yes
18079 else
18080 :;
18081 fi
18082 ac_ext=c
18083 ac_cpp='$CPP $CPPFLAGS'
18084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18087
18088
18089
18090 ;;
18091
18092 SunOS)
18093
18094
18095 ac_ext=cpp
18096 ac_cpp='$CXXCPP $CPPFLAGS'
18097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18100
18101 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18102 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18103 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18105 else
18106 cat >conftest.$ac_ext <<_ACEOF
18107 /* confdefs.h. */
18108 _ACEOF
18109 cat confdefs.h >>conftest.$ac_ext
18110 cat >>conftest.$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112
18113 int
18114 main ()
18115 {
18116
18117 #ifndef __SUNPRO_CC
18118 choke me
18119 #endif
18120
18121 ;
18122 return 0;
18123 }
18124 _ACEOF
18125 rm -f conftest.$ac_objext
18126 if { (ac_try="$ac_compile"
18127 case "(($ac_try" in
18128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18129 *) ac_try_echo=$ac_try;;
18130 esac
18131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18132 (eval "$ac_compile") 2>conftest.er1
18133 ac_status=$?
18134 grep -v '^ *+' conftest.er1 >conftest.err
18135 rm -f conftest.er1
18136 cat conftest.err >&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } && {
18139 test -z "$ac_cxx_werror_flag" ||
18140 test ! -s conftest.err
18141 } && test -s conftest.$ac_objext; then
18142 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18143 else
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18146
18147 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18148
18149 fi
18150
18151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18152
18153
18154 fi
18155 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18156 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18157 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18158 :; SUNCXX=yes
18159 else
18160 :;
18161 fi
18162 ac_ext=c
18163 ac_cpp='$CPP $CPPFLAGS'
18164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18167
18168
18169
18170 ;;
18171 esac
18172 fi
18173
18174
18175
18176 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18177 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18178 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18179 { (exit 1); exit 1; }; }
18180 fi
18181
18182 if test "x$SUNCXX" != xyes; then
18183 if test -n "$ac_tool_prefix"; then
18184 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18185 set dummy ${ac_tool_prefix}ar; ac_word=$2
18186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18188 if test "${ac_cv_prog_AR+set}" = set; then
18189 echo $ECHO_N "(cached) $ECHO_C" >&6
18190 else
18191 if test -n "$AR"; then
18192 ac_cv_prog_AR="$AR" # Let the user override the test.
18193 else
18194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18195 for as_dir in $PATH
18196 do
18197 IFS=$as_save_IFS
18198 test -z "$as_dir" && as_dir=.
18199 for ac_exec_ext in '' $ac_executable_extensions; do
18200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18201 ac_cv_prog_AR="${ac_tool_prefix}ar"
18202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18203 break 2
18204 fi
18205 done
18206 done
18207 IFS=$as_save_IFS
18208
18209 fi
18210 fi
18211 AR=$ac_cv_prog_AR
18212 if test -n "$AR"; then
18213 { echo "$as_me:$LINENO: result: $AR" >&5
18214 echo "${ECHO_T}$AR" >&6; }
18215 else
18216 { echo "$as_me:$LINENO: result: no" >&5
18217 echo "${ECHO_T}no" >&6; }
18218 fi
18219
18220
18221 fi
18222 if test -z "$ac_cv_prog_AR"; then
18223 ac_ct_AR=$AR
18224 # Extract the first word of "ar", so it can be a program name with args.
18225 set dummy ar; ac_word=$2
18226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18228 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 else
18231 if test -n "$ac_ct_AR"; then
18232 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18233 else
18234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18235 for as_dir in $PATH
18236 do
18237 IFS=$as_save_IFS
18238 test -z "$as_dir" && as_dir=.
18239 for ac_exec_ext in '' $ac_executable_extensions; do
18240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18241 ac_cv_prog_ac_ct_AR="ar"
18242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18243 break 2
18244 fi
18245 done
18246 done
18247 IFS=$as_save_IFS
18248
18249 fi
18250 fi
18251 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18252 if test -n "$ac_ct_AR"; then
18253 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18254 echo "${ECHO_T}$ac_ct_AR" >&6; }
18255 else
18256 { echo "$as_me:$LINENO: result: no" >&5
18257 echo "${ECHO_T}no" >&6; }
18258 fi
18259
18260 if test "x$ac_ct_AR" = x; then
18261 AR=""
18262 else
18263 case $cross_compiling:$ac_tool_warned in
18264 yes:)
18265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18266 whose name does not start with the host triplet. If you think this
18267 configuration is useful to you, please write to autoconf@gnu.org." >&5
18268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18269 whose name does not start with the host triplet. If you think this
18270 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18271 ac_tool_warned=yes ;;
18272 esac
18273 AR=$ac_ct_AR
18274 fi
18275 else
18276 AR="$ac_cv_prog_AR"
18277 fi
18278
18279 if test "x$AR" = "x" ; then
18280 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18281 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18282 { (exit 1); exit 1; }; }
18283 fi
18284 fi
18285
18286
18287 if test "$wxUSE_MAC" = 1; then
18288
18289 retest_macosx_linking=no
18290
18291 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18292 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18293 # Implicitly turn on the new --with-macosx-sdk using the default
18294 # SDK which provides the behavior this option has always had.
18295 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18296 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18297 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18298 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18299 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18300 wxUSE_MACOSX_SDK=yes
18301 fi
18302 else
18303 # Complain to user if he specified an argument to --enable-universal_binary
18304 # and also 1) specified --with-macosx-sdk using the default (yes) or
18305 # 2) specified --with-macosx-sdk using a path or 3) specified
18306 # --without-macosx-sdk (no).
18307 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18308 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18309 See \`config.log' for more details." >&5
18310 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18311 See \`config.log' for more details." >&2;}
18312 { (exit 1); exit 1; }; }
18313 else
18314 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18315 # special-case the empty string because the below test simply
18316 # converts "no" to the empty string anyway.
18317 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18318 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18319 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18320 fi
18321 fi
18322 OSX_UNIV_OPTS="-arch ppc -arch i386"
18323 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18324 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18325 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18326 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18327 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18328 retest_macosx_linking=yes
18329
18330 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18331 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18332 bk_use_pch=no
18333 fi
18334
18335 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18336 wxUSE_MACOSX_SDK=
18337 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18338 # TODO: Search for most recent SDK and use it.
18339 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18340 fi
18341
18342
18343 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18344 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18345 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18346 if ! test -d "$wxUSE_MACOSX_SDK"; then
18347 { { echo "$as_me:$LINENO: error: not found
18348 See \`config.log' for more details." >&5
18349 echo "$as_me: error: not found
18350 See \`config.log' for more details." >&2;}
18351 { (exit 1); exit 1; }; }
18352 else
18353 { echo "$as_me:$LINENO: result: exists" >&5
18354 echo "${ECHO_T}exists" >&6; }
18355 fi
18356 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18357 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18358 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18359 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18360 retest_macosx_linking=yes
18361 fi
18362
18363 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18364 wxUSE_MACOSX_VERSION_MIN=
18365 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18366 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18367 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18368 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18369
18370 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/'`
18371
18372 # If that failed, try again with the new key
18373 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18374
18375 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/'`
18376
18377 fi
18378
18379 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18380 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18381 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18382 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18383 else
18384 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18385 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18386 wxUSE_MACOSX_VERSION_MIN=
18387 fi
18388 else
18389 wxUSE_MACOSX_VERSION_MIN=
18390 fi
18391 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18392 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18393 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18394 # otherwise configure stops on leopard for universal_binary
18395 wxUSE_MACOSX_VERSION_MIN=10.4
18396 else
18397 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18398 wxUSE_MACOSX_VERSION_MIN=10.5
18399 fi
18400 fi
18401
18402 NEEDS_GCC40="no"
18403 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18404 NEEDS_GCC40="yes"
18405 fi
18406
18407 if test "$wxUSE_OSX_CARBON" = 1; then
18408 NEEDS_GCC40="yes"
18409 fi
18410
18411 if test "x$NEEDS_GCC40" == "xyes"; then
18412 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18413 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18414 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18415 if test "x$CC" = "xgcc"; then
18416 CCVERSION=`$CC --version | grep 4.[2-9].`
18417 if test "x$CCVERSION" != "x"; then
18418 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18419 CC="/usr/bin/gcc-4.0"
18420 fi
18421 fi
18422
18423 if test "x$CXX" = "xg++"; then
18424 CCVERSION=`$CXX --version | grep 4.[2-9].`
18425 if test "x$CCVERSION" != "x"; then
18426 CXX="/usr/bin/g++-4.0"
18427 fi
18428 fi
18429 fi
18430
18431 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18432 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18433 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18434 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18435 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18436 retest_macosx_linking=yes
18437 fi
18438
18439 if test "x$retest_macosx_linking" = "xyes"; then
18440 ac_ext=c
18441 ac_cpp='$CPP $CPPFLAGS'
18442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18445
18446 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18447 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18448 cat >conftest.$ac_ext <<_ACEOF
18449 /* confdefs.h. */
18450 _ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454
18455 int
18456 main ()
18457 {
18458
18459 ;
18460 return 0;
18461 }
18462 _ACEOF
18463 rm -f conftest.$ac_objext conftest$ac_exeext
18464 if { (ac_try="$ac_link"
18465 case "(($ac_try" in
18466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18467 *) ac_try_echo=$ac_try;;
18468 esac
18469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18470 (eval "$ac_link") 2>conftest.er1
18471 ac_status=$?
18472 grep -v '^ *+' conftest.er1 >conftest.err
18473 rm -f conftest.er1
18474 cat conftest.err >&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); } && {
18477 test -z "$ac_c_werror_flag" ||
18478 test ! -s conftest.err
18479 } && test -s conftest$ac_exeext &&
18480 $as_test_x conftest$ac_exeext; then
18481 { echo "$as_me:$LINENO: result: yes" >&5
18482 echo "${ECHO_T}yes" >&6; }
18483 else
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.$ac_ext >&5
18486
18487 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18488 See \`config.log' for more details." >&5
18489 echo "$as_me: error: no. Try a different SDK
18490 See \`config.log' for more details." >&2;}
18491 { (exit 1); exit 1; }; }; exit 1
18492 fi
18493
18494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18495 conftest$ac_exeext conftest.$ac_ext
18496 ac_ext=c
18497 ac_cpp='$CPP $CPPFLAGS'
18498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18501
18502
18503 ac_ext=cpp
18504 ac_cpp='$CXXCPP $CPPFLAGS'
18505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18508
18509 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18510 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18511 cat >conftest.$ac_ext <<_ACEOF
18512 /* confdefs.h. */
18513 _ACEOF
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517
18518 int
18519 main ()
18520 {
18521
18522 ;
18523 return 0;
18524 }
18525 _ACEOF
18526 rm -f conftest.$ac_objext conftest$ac_exeext
18527 if { (ac_try="$ac_link"
18528 case "(($ac_try" in
18529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18530 *) ac_try_echo=$ac_try;;
18531 esac
18532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18533 (eval "$ac_link") 2>conftest.er1
18534 ac_status=$?
18535 grep -v '^ *+' conftest.er1 >conftest.err
18536 rm -f conftest.er1
18537 cat conftest.err >&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); } && {
18540 test -z "$ac_cxx_werror_flag" ||
18541 test ! -s conftest.err
18542 } && test -s conftest$ac_exeext &&
18543 $as_test_x conftest$ac_exeext; then
18544 { echo "$as_me:$LINENO: result: yes" >&5
18545 echo "${ECHO_T}yes" >&6; }
18546 else
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18549
18550 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18551 See \`config.log' for more details." >&5
18552 echo "$as_me: error: no. Try a different SDK
18553 See \`config.log' for more details." >&2;}
18554 { (exit 1); exit 1; }; }; exit 1
18555 fi
18556
18557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18558 conftest$ac_exeext conftest.$ac_ext
18559 ac_ext=c
18560 ac_cpp='$CPP $CPPFLAGS'
18561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18564
18565 fi
18566
18567 fi
18568 case "${host}" in
18569
18570 *-*-darwin* )
18571 INSTALL_PROGRAM="cp -fp"
18572 INSTALL_DATA="cp -fp"
18573 ;;
18574 *)
18575 ;;
18576 esac
18577
18578
18579 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18580 CXXFLAGS="-qunique $CXXFLAGS"
18581 fi
18582
18583 case "${host}" in
18584 powerpc-*-darwin* )
18585 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18586 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593
18594 int
18595 main ()
18596 {
18597 #ifndef __POWERPC__
18598 choke me for lack of PowerPC
18599 #endif
18600
18601 ;
18602 return 0;
18603 }
18604 _ACEOF
18605 rm -f conftest.$ac_objext
18606 if { (ac_try="$ac_compile"
18607 case "(($ac_try" in
18608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18609 *) ac_try_echo=$ac_try;;
18610 esac
18611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18612 (eval "$ac_compile") 2>conftest.er1
18613 ac_status=$?
18614 grep -v '^ *+' conftest.er1 >conftest.err
18615 rm -f conftest.er1
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } && {
18619 test -z "$ac_c_werror_flag" ||
18620 test ! -s conftest.err
18621 } && test -s conftest.$ac_objext; then
18622 { echo "$as_me:$LINENO: result: yes" >&5
18623 echo "${ECHO_T}yes" >&6; }
18624 else
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18627
18628 { echo "$as_me:$LINENO: result: no" >&5
18629 echo "${ECHO_T}no" >&6; }
18630 cat >>confdefs.h <<\_ACEOF
18631 #define __POWERPC__ 1
18632 _ACEOF
18633
18634
18635 fi
18636
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 ;;
18639 esac
18640
18641 case "${host}" in
18642 *-*-darwin* )
18643 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18644 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18645 cat >conftest.$ac_ext <<_ACEOF
18646 /* confdefs.h. */
18647 _ACEOF
18648 cat confdefs.h >>conftest.$ac_ext
18649 cat >>conftest.$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651 #include <CoreFoundation/CFBase.h>
18652
18653 int
18654 main ()
18655 {
18656
18657 ;
18658 return 0;
18659 }
18660 _ACEOF
18661 rm -f conftest.$ac_objext
18662 if { (ac_try="$ac_compile"
18663 case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18666 esac
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_compile") 2>conftest.er1
18669 ac_status=$?
18670 grep -v '^ *+' conftest.er1 >conftest.err
18671 rm -f conftest.er1
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest.$ac_objext; then
18678 { echo "$as_me:$LINENO: result: yes" >&5
18679 echo "${ECHO_T}yes" >&6; }
18680 else
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.$ac_ext >&5
18683
18684 { echo "$as_me:$LINENO: result: no" >&5
18685 echo "${ECHO_T}no" >&6; }
18686 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18687 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 #define __CF_USE_FRAMEWORK_INCLUDES__
18695 #include <CoreFoundation/CFBase.h>
18696
18697 int
18698 main ()
18699 {
18700
18701 ;
18702 return 0;
18703 }
18704 _ACEOF
18705 rm -f conftest.$ac_objext
18706 if { (ac_try="$ac_compile"
18707 case "(($ac_try" in
18708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18710 esac
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_compile") 2>conftest.er1
18713 ac_status=$?
18714 grep -v '^ *+' conftest.er1 >conftest.err
18715 rm -f conftest.er1
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } && {
18719 test -z "$ac_c_werror_flag" ||
18720 test ! -s conftest.err
18721 } && test -s conftest.$ac_objext; then
18722 { echo "$as_me:$LINENO: result: yes" >&5
18723 echo "${ECHO_T}yes" >&6; }
18724 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18728
18729 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18730 See \`config.log' for more details." >&5
18731 echo "$as_me: error: no. CoreFoundation not available.
18732 See \`config.log' for more details." >&2;}
18733 { (exit 1); exit 1; }; }
18734
18735 fi
18736
18737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18738
18739
18740 fi
18741
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18743 ;;
18744 esac
18745
18746 wants_win32=0
18747 doesnt_want_win32=0
18748 case "${host}" in
18749 *-*-cygwin*)
18750 if test "$wxUSE_MSW" = 1 ; then
18751 wants_win32=1
18752 else
18753 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18754 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18755 if test "${wx_cv_nocygwin+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 else
18758
18759 cat >conftest.$ac_ext <<_ACEOF
18760 /* confdefs.h. */
18761 _ACEOF
18762 cat confdefs.h >>conftest.$ac_ext
18763 cat >>conftest.$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765
18766 int
18767 main ()
18768 {
18769
18770 #ifdef __MINGW32__
18771 choke me
18772 #endif
18773
18774 ;
18775 return 0;
18776 }
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (ac_try="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18783 esac
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18786 ac_status=$?
18787 grep -v '^ *+' conftest.er1 >conftest.err
18788 rm -f conftest.er1
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18795 wx_cv_nocygwin=no
18796 else
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18799
18800 wx_cv_nocygwin=yes
18801
18802 fi
18803
18804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18805
18806
18807 fi
18808 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18809 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18810
18811 if test "$wx_cv_nocygwin" = "yes"; then
18812 wants_win32=1
18813 else
18814 doesnt_want_win32=1
18815 fi
18816 fi
18817 if test "$wants_win32" = 1 ; then
18818 BAKEFILE_FORCE_PLATFORM=win32
18819 fi
18820 ;;
18821 *-*-mingw*)
18822 wants_win32=1
18823 ;;
18824 esac
18825
18826 if test "$wxUSE_WINE" = "yes"; then
18827 wants_win32=1
18828 LDFLAGS_GUI="-mwindows"
18829 fi
18830
18831 if test "$wants_win32" = 1 ; then
18832 USE_UNIX=0
18833 USE_WIN32=1
18834 cat >>confdefs.h <<\_ACEOF
18835 #define __WIN32__ 1
18836 _ACEOF
18837
18838 cat >>confdefs.h <<\_ACEOF
18839 #define __WIN95__ 1
18840 _ACEOF
18841
18842 cat >>confdefs.h <<\_ACEOF
18843 #define __WINDOWS__ 1
18844 _ACEOF
18845
18846 cat >>confdefs.h <<\_ACEOF
18847 #define __GNUWIN32__ 1
18848 _ACEOF
18849
18850 cat >>confdefs.h <<\_ACEOF
18851 #define STRICT 1
18852 _ACEOF
18853
18854 fi
18855 if test "$doesnt_want_win32" = 1 ; then
18856 USE_UNIX=1
18857 USE_WIN32=0
18858 fi
18859
18860 if test "$USE_UNIX" = 1 ; then
18861 wxUSE_UNIX=yes
18862 cat >>confdefs.h <<\_ACEOF
18863 #define __UNIX__ 1
18864 _ACEOF
18865
18866 fi
18867
18868 case "${host}" in
18869 *-pc-os2_emx | *-pc-os2-emx )
18870 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18871 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18872 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18873 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 else
18876 ac_check_lib_save_LIBS=$LIBS
18877 LIBS="-lcExt $LIBS"
18878 cat >conftest.$ac_ext <<_ACEOF
18879 /* confdefs.h. */
18880 _ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884
18885 /* Override any GCC internal prototype to avoid an error.
18886 Use char because int might match the return type of a GCC
18887 builtin and then its argument prototype would still apply. */
18888 #ifdef __cplusplus
18889 extern "C"
18890 #endif
18891 char drand48 ();
18892 int
18893 main ()
18894 {
18895 return drand48 ();
18896 ;
18897 return 0;
18898 }
18899 _ACEOF
18900 rm -f conftest.$ac_objext conftest$ac_exeext
18901 if { (ac_try="$ac_link"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18905 esac
18906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_link") 2>conftest.er1
18908 ac_status=$?
18909 grep -v '^ *+' conftest.er1 >conftest.err
18910 rm -f conftest.er1
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest$ac_exeext &&
18917 $as_test_x conftest$ac_exeext; then
18918 ac_cv_lib_cExt_drand48=yes
18919 else
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18922
18923 ac_cv_lib_cExt_drand48=no
18924 fi
18925
18926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18927 conftest$ac_exeext conftest.$ac_ext
18928 LIBS=$ac_check_lib_save_LIBS
18929 fi
18930 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18931 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18932 if test $ac_cv_lib_cExt_drand48 = yes; then
18933 LIBS="$LIBS -lcExt"
18934 fi
18935
18936 else
18937 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18938 fi
18939 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18940 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18941 if test "${wx_cv_gccversion+set}" = set; then
18942 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 else
18944
18945 if test "$cross_compiling" = yes; then
18946 wx_cv_gccversion="EMX2"
18947
18948 else
18949 cat >conftest.$ac_ext <<_ACEOF
18950 /* confdefs.h. */
18951 _ACEOF
18952 cat confdefs.h >>conftest.$ac_ext
18953 cat >>conftest.$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18955
18956 #include <stdio.h>
18957
18958 int main()
18959 {
18960 FILE *f=fopen("conftestval", "w");
18961 if (!f) exit(1);
18962 fprintf(f,
18963 #if (__GNUC__ < 3)
18964 "EMX2"
18965 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18966 "EMX3"
18967 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18968 "Innotek5"
18969 #else
18970 "Innotek6"
18971 #endif
18972 );
18973 exit(0);
18974 }
18975
18976 _ACEOF
18977 rm -f conftest$ac_exeext
18978 if { (ac_try="$ac_link"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18982 esac
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_link") 2>&5
18985 ac_status=$?
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18988 { (case "(($ac_try" in
18989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18990 *) ac_try_echo=$ac_try;;
18991 esac
18992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18993 (eval "$ac_try") 2>&5
18994 ac_status=$?
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; }; then
18997 wx_cv_gccversion=`cat conftestval`
18998 else
18999 echo "$as_me: program exited with status $ac_status" >&5
19000 echo "$as_me: failed program was:" >&5
19001 sed 's/^/| /' conftest.$ac_ext >&5
19002
19003 ( exit $ac_status )
19004 wx_cv_gccversion="EMX2"
19005 fi
19006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19007 fi
19008
19009
19010
19011 fi
19012 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19013 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19014 if test "$wx_cv_gccversion" = "EMX2"; then
19015 LIBS="$LIBS -lstdcpp"
19016 LDFLAGS="$LDFLAGS -Zsysv-signals"
19017 else
19018 if test "$wx_cv_gccversion" = "EMX3"; then
19019 LIBS="$LIBS -lstdcxx -lgcc"
19020 LDFLAGS="$LDFLAGS -Zsysv-signals"
19021 else
19022 LIBS="$LIBS -lstdc++"
19023 fi
19024 fi
19025 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19026 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19027 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19028 wxUSE_OMF=yes
19029 enable_omf=yes
19030 fi
19031 ;;
19032 *)
19033
19034 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19035 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19036 if test "${ac_cv_string_strcasecmp+set}" = set; then
19037 echo $ECHO_N "(cached) $ECHO_C" >&6
19038 else
19039
19040 cat >conftest.$ac_ext <<_ACEOF
19041 /* confdefs.h. */
19042 _ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046
19047 #include <string.h>
19048
19049 int
19050 main ()
19051 {
19052
19053 strcasecmp("foo", "bar");
19054
19055 ;
19056 return 0;
19057 }
19058 _ACEOF
19059 rm -f conftest.$ac_objext conftest$ac_exeext
19060 if { (ac_try="$ac_link"
19061 case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19064 esac
19065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_link") 2>conftest.er1
19067 ac_status=$?
19068 grep -v '^ *+' conftest.er1 >conftest.err
19069 rm -f conftest.er1
19070 cat conftest.err >&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } && {
19073 test -z "$ac_c_werror_flag" ||
19074 test ! -s conftest.err
19075 } && test -s conftest$ac_exeext &&
19076 $as_test_x conftest$ac_exeext; then
19077 ac_cv_string_strcasecmp=yes
19078 else
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19081
19082 ac_cv_string_strcasecmp=no
19083
19084 fi
19085
19086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19087 conftest$ac_exeext conftest.$ac_ext
19088
19089 fi
19090 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19091 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19092
19093 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19094 cat >>confdefs.h <<\_ACEOF
19095 #define HAVE_STRCASECMP_IN_STRING_H 1
19096 _ACEOF
19097
19098 else
19099 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19100 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19101 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19102 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 else
19104
19105 cat >conftest.$ac_ext <<_ACEOF
19106 /* confdefs.h. */
19107 _ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111
19112 #include <strings.h>
19113
19114 int
19115 main ()
19116 {
19117
19118 strcasecmp("foo", "bar");
19119
19120 ;
19121 return 0;
19122 }
19123 _ACEOF
19124 rm -f conftest.$ac_objext conftest$ac_exeext
19125 if { (ac_try="$ac_link"
19126 case "(($ac_try" in
19127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19128 *) ac_try_echo=$ac_try;;
19129 esac
19130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19131 (eval "$ac_link") 2>conftest.er1
19132 ac_status=$?
19133 grep -v '^ *+' conftest.er1 >conftest.err
19134 rm -f conftest.er1
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } && {
19138 test -z "$ac_c_werror_flag" ||
19139 test ! -s conftest.err
19140 } && test -s conftest$ac_exeext &&
19141 $as_test_x conftest$ac_exeext; then
19142 ac_cv_strings_strcasecmp=yes
19143 else
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19146
19147 ac_cv_strings_strcasecmp=no
19148
19149 fi
19150
19151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19152 conftest$ac_exeext conftest.$ac_ext
19153
19154 fi
19155 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19156 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19157
19158 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19159 cat >>confdefs.h <<\_ACEOF
19160 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19161 _ACEOF
19162
19163 else
19164 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19165 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19166 { (exit 1); exit 1; }; }
19167 fi
19168 fi
19169
19170 ;;
19171 esac
19172
19173
19174 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19175 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19176 if test "${ac_cv_header_stdc+set}" = set; then
19177 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 else
19179 cat >conftest.$ac_ext <<_ACEOF
19180 /* confdefs.h. */
19181 _ACEOF
19182 cat confdefs.h >>conftest.$ac_ext
19183 cat >>conftest.$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19185 #include <stdlib.h>
19186 #include <stdarg.h>
19187 #include <string.h>
19188 #include <float.h>
19189
19190 int
19191 main ()
19192 {
19193
19194 ;
19195 return 0;
19196 }
19197 _ACEOF
19198 rm -f conftest.$ac_objext
19199 if { (ac_try="$ac_compile"
19200 case "(($ac_try" in
19201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19202 *) ac_try_echo=$ac_try;;
19203 esac
19204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19205 (eval "$ac_compile") 2>conftest.er1
19206 ac_status=$?
19207 grep -v '^ *+' conftest.er1 >conftest.err
19208 rm -f conftest.er1
19209 cat conftest.err >&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } && {
19212 test -z "$ac_c_werror_flag" ||
19213 test ! -s conftest.err
19214 } && test -s conftest.$ac_objext; then
19215 ac_cv_header_stdc=yes
19216 else
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19219
19220 ac_cv_header_stdc=no
19221 fi
19222
19223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19224
19225 if test $ac_cv_header_stdc = yes; then
19226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19227 cat >conftest.$ac_ext <<_ACEOF
19228 /* confdefs.h. */
19229 _ACEOF
19230 cat confdefs.h >>conftest.$ac_ext
19231 cat >>conftest.$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19233 #include <string.h>
19234
19235 _ACEOF
19236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19237 $EGREP "memchr" >/dev/null 2>&1; then
19238 :
19239 else
19240 ac_cv_header_stdc=no
19241 fi
19242 rm -f conftest*
19243
19244 fi
19245
19246 if test $ac_cv_header_stdc = yes; then
19247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19248 cat >conftest.$ac_ext <<_ACEOF
19249 /* confdefs.h. */
19250 _ACEOF
19251 cat confdefs.h >>conftest.$ac_ext
19252 cat >>conftest.$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19254 #include <stdlib.h>
19255
19256 _ACEOF
19257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19258 $EGREP "free" >/dev/null 2>&1; then
19259 :
19260 else
19261 ac_cv_header_stdc=no
19262 fi
19263 rm -f conftest*
19264
19265 fi
19266
19267 if test $ac_cv_header_stdc = yes; then
19268 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19269 if test "$cross_compiling" = yes; then
19270 :
19271 else
19272 cat >conftest.$ac_ext <<_ACEOF
19273 /* confdefs.h. */
19274 _ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 #include <ctype.h>
19279 #include <stdlib.h>
19280 #if ((' ' & 0x0FF) == 0x020)
19281 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19282 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19283 #else
19284 # define ISLOWER(c) \
19285 (('a' <= (c) && (c) <= 'i') \
19286 || ('j' <= (c) && (c) <= 'r') \
19287 || ('s' <= (c) && (c) <= 'z'))
19288 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19289 #endif
19290
19291 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19292 int
19293 main ()
19294 {
19295 int i;
19296 for (i = 0; i < 256; i++)
19297 if (XOR (islower (i), ISLOWER (i))
19298 || toupper (i) != TOUPPER (i))
19299 return 2;
19300 return 0;
19301 }
19302 _ACEOF
19303 rm -f conftest$ac_exeext
19304 if { (ac_try="$ac_link"
19305 case "(($ac_try" in
19306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19307 *) ac_try_echo=$ac_try;;
19308 esac
19309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_link") 2>&5
19311 ac_status=$?
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19314 { (case "(($ac_try" in
19315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19316 *) ac_try_echo=$ac_try;;
19317 esac
19318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19319 (eval "$ac_try") 2>&5
19320 ac_status=$?
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); }; }; then
19323 :
19324 else
19325 echo "$as_me: program exited with status $ac_status" >&5
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5
19328
19329 ( exit $ac_status )
19330 ac_cv_header_stdc=no
19331 fi
19332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19333 fi
19334
19335
19336 fi
19337 fi
19338 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19339 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19340 if test $ac_cv_header_stdc = yes; then
19341
19342 cat >>confdefs.h <<\_ACEOF
19343 #define STDC_HEADERS 1
19344 _ACEOF
19345
19346 fi
19347
19348 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19359 inttypes.h stdint.h unistd.h
19360 do
19361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19365 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 else
19367 cat >conftest.$ac_ext <<_ACEOF
19368 /* confdefs.h. */
19369 _ACEOF
19370 cat confdefs.h >>conftest.$ac_ext
19371 cat >>conftest.$ac_ext <<_ACEOF
19372 /* end confdefs.h. */
19373 $ac_includes_default
19374
19375 #include <$ac_header>
19376 _ACEOF
19377 rm -f conftest.$ac_objext
19378 if { (ac_try="$ac_compile"
19379 case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19382 esac
19383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_compile") 2>conftest.er1
19385 ac_status=$?
19386 grep -v '^ *+' conftest.er1 >conftest.err
19387 rm -f conftest.er1
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } && {
19391 test -z "$ac_c_werror_flag" ||
19392 test ! -s conftest.err
19393 } && test -s conftest.$ac_objext; then
19394 eval "$as_ac_Header=yes"
19395 else
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19398
19399 eval "$as_ac_Header=no"
19400 fi
19401
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19403 fi
19404 ac_res=`eval echo '${'$as_ac_Header'}'`
19405 { echo "$as_me:$LINENO: result: $ac_res" >&5
19406 echo "${ECHO_T}$ac_res" >&6; }
19407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19410 _ACEOF
19411
19412 fi
19413
19414 done
19415
19416
19417
19418
19419 for ac_header in langinfo.h wchar.h
19420 do
19421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19425 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 else
19427 cat >conftest.$ac_ext <<_ACEOF
19428 /* confdefs.h. */
19429 _ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 $ac_includes_default
19434
19435 #include <$ac_header>
19436 _ACEOF
19437 rm -f conftest.$ac_objext
19438 if { (ac_try="$ac_compile"
19439 case "(($ac_try" in
19440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19441 *) ac_try_echo=$ac_try;;
19442 esac
19443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_compile") 2>conftest.er1
19445 ac_status=$?
19446 grep -v '^ *+' conftest.er1 >conftest.err
19447 rm -f conftest.er1
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } && {
19451 test -z "$ac_c_werror_flag" ||
19452 test ! -s conftest.err
19453 } && test -s conftest.$ac_objext; then
19454 eval "$as_ac_Header=yes"
19455 else
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.$ac_ext >&5
19458
19459 eval "$as_ac_Header=no"
19460 fi
19461
19462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19463 fi
19464 ac_res=`eval echo '${'$as_ac_Header'}'`
19465 { echo "$as_me:$LINENO: result: $ac_res" >&5
19466 echo "${ECHO_T}$ac_res" >&6; }
19467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19468 cat >>confdefs.h <<_ACEOF
19469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19470 _ACEOF
19471
19472 fi
19473
19474 done
19475
19476
19477 if test "$ac_cv_header_wchar_h" != "yes"; then
19478
19479 for ac_header in wcstr.h
19480 do
19481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 else
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19494
19495 #include <$ac_header>
19496 _ACEOF
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19502 esac
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.$ac_objext; then
19514 eval "$as_ac_Header=yes"
19515 else
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19518
19519 eval "$as_ac_Header=no"
19520 fi
19521
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 fi
19524 ac_res=`eval echo '${'$as_ac_Header'}'`
19525 { echo "$as_me:$LINENO: result: $ac_res" >&5
19526 echo "${ECHO_T}$ac_res" >&6; }
19527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19528 cat >>confdefs.h <<_ACEOF
19529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19530 _ACEOF
19531
19532 fi
19533
19534 done
19535
19536 fi
19537
19538 case "${host}" in
19539 *-pc-os2_emx | *-pc-os2-emx )
19540 if test $ac_cv_header_langinfo_h = "yes" \
19541 -a \( "$wx_cv_gccversion" = "EMX2" \
19542 -o "$wx_cv_gccversion" = "EMX3" \
19543 -o "$wx_cv_gccversion" = "Innotek5" \); then
19544 LIBS="$LIBS -lintl"
19545 fi
19546 ;;
19547 esac
19548
19549 if test "$USE_UNIX" = 1 ; then
19550
19551 for ac_header in sys/select.h
19552 do
19553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19558 else
19559 cat >conftest.$ac_ext <<_ACEOF
19560 /* confdefs.h. */
19561 _ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19566
19567 #include <$ac_header>
19568 _ACEOF
19569 rm -f conftest.$ac_objext
19570 if { (ac_try="$ac_compile"
19571 case "(($ac_try" in
19572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19573 *) ac_try_echo=$ac_try;;
19574 esac
19575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19576 (eval "$ac_compile") 2>conftest.er1
19577 ac_status=$?
19578 grep -v '^ *+' conftest.er1 >conftest.err
19579 rm -f conftest.er1
19580 cat conftest.err >&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } && {
19583 test -z "$ac_c_werror_flag" ||
19584 test ! -s conftest.err
19585 } && test -s conftest.$ac_objext; then
19586 eval "$as_ac_Header=yes"
19587 else
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19590
19591 eval "$as_ac_Header=no"
19592 fi
19593
19594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19595 fi
19596 ac_res=`eval echo '${'$as_ac_Header'}'`
19597 { echo "$as_me:$LINENO: result: $ac_res" >&5
19598 echo "${ECHO_T}$ac_res" >&6; }
19599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19600 cat >>confdefs.h <<_ACEOF
19601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19602 _ACEOF
19603
19604 fi
19605
19606 done
19607
19608 fi
19609
19610
19611 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19612 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19613 if test "${ac_cv_c_const+set}" = set; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 else
19616 cat >conftest.$ac_ext <<_ACEOF
19617 /* confdefs.h. */
19618 _ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622
19623 int
19624 main ()
19625 {
19626 /* FIXME: Include the comments suggested by Paul. */
19627 #ifndef __cplusplus
19628 /* Ultrix mips cc rejects this. */
19629 typedef int charset[2];
19630 const charset cs;
19631 /* SunOS 4.1.1 cc rejects this. */
19632 char const *const *pcpcc;
19633 char **ppc;
19634 /* NEC SVR4.0.2 mips cc rejects this. */
19635 struct point {int x, y;};
19636 static struct point const zero = {0,0};
19637 /* AIX XL C 1.02.0.0 rejects this.
19638 It does not let you subtract one const X* pointer from another in
19639 an arm of an if-expression whose if-part is not a constant
19640 expression */
19641 const char *g = "string";
19642 pcpcc = &g + (g ? g-g : 0);
19643 /* HPUX 7.0 cc rejects these. */
19644 ++pcpcc;
19645 ppc = (char**) pcpcc;
19646 pcpcc = (char const *const *) ppc;
19647 { /* SCO 3.2v4 cc rejects this. */
19648 char *t;
19649 char const *s = 0 ? (char *) 0 : (char const *) 0;
19650
19651 *t++ = 0;
19652 if (s) return 0;
19653 }
19654 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19655 int x[] = {25, 17};
19656 const int *foo = &x[0];
19657 ++foo;
19658 }
19659 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19660 typedef const int *iptr;
19661 iptr p = 0;
19662 ++p;
19663 }
19664 { /* AIX XL C 1.02.0.0 rejects this saying
19665 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19666 struct s { int j; const int *ap[3]; };
19667 struct s *b; b->j = 5;
19668 }
19669 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19670 const int foo = 10;
19671 if (!foo) return 0;
19672 }
19673 return !cs[0] && !zero.x;
19674 #endif
19675
19676 ;
19677 return 0;
19678 }
19679 _ACEOF
19680 rm -f conftest.$ac_objext
19681 if { (ac_try="$ac_compile"
19682 case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19685 esac
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_compile") 2>conftest.er1
19688 ac_status=$?
19689 grep -v '^ *+' conftest.er1 >conftest.err
19690 rm -f conftest.er1
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest.$ac_objext; then
19697 ac_cv_c_const=yes
19698 else
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19701
19702 ac_cv_c_const=no
19703 fi
19704
19705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19706 fi
19707 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19708 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19709 if test $ac_cv_c_const = no; then
19710
19711 cat >>confdefs.h <<\_ACEOF
19712 #define const
19713 _ACEOF
19714
19715 fi
19716
19717 { echo "$as_me:$LINENO: checking for inline" >&5
19718 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19719 if test "${ac_cv_c_inline+set}" = set; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19721 else
19722 ac_cv_c_inline=no
19723 for ac_kw in inline __inline__ __inline; do
19724 cat >conftest.$ac_ext <<_ACEOF
19725 /* confdefs.h. */
19726 _ACEOF
19727 cat confdefs.h >>conftest.$ac_ext
19728 cat >>conftest.$ac_ext <<_ACEOF
19729 /* end confdefs.h. */
19730 #ifndef __cplusplus
19731 typedef int foo_t;
19732 static $ac_kw foo_t static_foo () {return 0; }
19733 $ac_kw foo_t foo () {return 0; }
19734 #endif
19735
19736 _ACEOF
19737 rm -f conftest.$ac_objext
19738 if { (ac_try="$ac_compile"
19739 case "(($ac_try" in
19740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741 *) ac_try_echo=$ac_try;;
19742 esac
19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_compile") 2>conftest.er1
19745 ac_status=$?
19746 grep -v '^ *+' conftest.er1 >conftest.err
19747 rm -f conftest.er1
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } && {
19751 test -z "$ac_c_werror_flag" ||
19752 test ! -s conftest.err
19753 } && test -s conftest.$ac_objext; then
19754 ac_cv_c_inline=$ac_kw
19755 else
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19758
19759
19760 fi
19761
19762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19763 test "$ac_cv_c_inline" != no && break
19764 done
19765
19766 fi
19767 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19768 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19769
19770
19771 case $ac_cv_c_inline in
19772 inline | yes) ;;
19773 *)
19774 case $ac_cv_c_inline in
19775 no) ac_val=;;
19776 *) ac_val=$ac_cv_c_inline;;
19777 esac
19778 cat >>confdefs.h <<_ACEOF
19779 #ifndef __cplusplus
19780 #define inline $ac_val
19781 #endif
19782 _ACEOF
19783 ;;
19784 esac
19785
19786
19787 { echo "$as_me:$LINENO: checking for short" >&5
19788 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19789 if test "${ac_cv_type_short+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 else
19792 cat >conftest.$ac_ext <<_ACEOF
19793 /* confdefs.h. */
19794 _ACEOF
19795 cat confdefs.h >>conftest.$ac_ext
19796 cat >>conftest.$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19798 $ac_includes_default
19799 typedef short ac__type_new_;
19800 int
19801 main ()
19802 {
19803 if ((ac__type_new_ *) 0)
19804 return 0;
19805 if (sizeof (ac__type_new_))
19806 return 0;
19807 ;
19808 return 0;
19809 }
19810 _ACEOF
19811 rm -f conftest.$ac_objext
19812 if { (ac_try="$ac_compile"
19813 case "(($ac_try" in
19814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19815 *) ac_try_echo=$ac_try;;
19816 esac
19817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19818 (eval "$ac_compile") 2>conftest.er1
19819 ac_status=$?
19820 grep -v '^ *+' conftest.er1 >conftest.err
19821 rm -f conftest.er1
19822 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } && {
19825 test -z "$ac_c_werror_flag" ||
19826 test ! -s conftest.err
19827 } && test -s conftest.$ac_objext; then
19828 ac_cv_type_short=yes
19829 else
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19832
19833 ac_cv_type_short=no
19834 fi
19835
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19837 fi
19838 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19839 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19840
19841 # The cast to long int works around a bug in the HP C Compiler
19842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19844 # This bug is HP SR number 8606223364.
19845 { echo "$as_me:$LINENO: checking size of short" >&5
19846 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19847 if test "${ac_cv_sizeof_short+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 else
19850 if test "$cross_compiling" = yes; then
19851 # Depending upon the size, compute the lo and hi bounds.
19852 cat >conftest.$ac_ext <<_ACEOF
19853 /* confdefs.h. */
19854 _ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 $ac_includes_default
19859 typedef short ac__type_sizeof_;
19860 int
19861 main ()
19862 {
19863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19864 test_array [0] = 0
19865
19866 ;
19867 return 0;
19868 }
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (ac_try="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19875 esac
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19878 ac_status=$?
19879 grep -v '^ *+' conftest.er1 >conftest.err
19880 rm -f conftest.er1
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } && {
19884 test -z "$ac_c_werror_flag" ||
19885 test ! -s conftest.err
19886 } && test -s conftest.$ac_objext; then
19887 ac_lo=0 ac_mid=0
19888 while :; do
19889 cat >conftest.$ac_ext <<_ACEOF
19890 /* confdefs.h. */
19891 _ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 $ac_includes_default
19896 typedef short ac__type_sizeof_;
19897 int
19898 main ()
19899 {
19900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19901 test_array [0] = 0
19902
19903 ;
19904 return 0;
19905 }
19906 _ACEOF
19907 rm -f conftest.$ac_objext
19908 if { (ac_try="$ac_compile"
19909 case "(($ac_try" in
19910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19912 esac
19913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_compile") 2>conftest.er1
19915 ac_status=$?
19916 grep -v '^ *+' conftest.er1 >conftest.err
19917 rm -f conftest.er1
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest.$ac_objext; then
19924 ac_hi=$ac_mid; break
19925 else
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19928
19929 ac_lo=`expr $ac_mid + 1`
19930 if test $ac_lo -le $ac_mid; then
19931 ac_lo= ac_hi=
19932 break
19933 fi
19934 ac_mid=`expr 2 '*' $ac_mid + 1`
19935 fi
19936
19937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19938 done
19939 else
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19942
19943 cat >conftest.$ac_ext <<_ACEOF
19944 /* confdefs.h. */
19945 _ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef short ac__type_sizeof_;
19951 int
19952 main ()
19953 {
19954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19955 test_array [0] = 0
19956
19957 ;
19958 return 0;
19959 }
19960 _ACEOF
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19965 *) ac_try_echo=$ac_try;;
19966 esac
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.$ac_objext; then
19978 ac_hi=-1 ac_mid=-1
19979 while :; do
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef short ac__type_sizeof_;
19988 int
19989 main ()
19990 {
19991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19992 test_array [0] = 0
19993
19994 ;
19995 return 0;
19996 }
19997 _ACEOF
19998 rm -f conftest.$ac_objext
19999 if { (ac_try="$ac_compile"
20000 case "(($ac_try" in
20001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20002 *) ac_try_echo=$ac_try;;
20003 esac
20004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20005 (eval "$ac_compile") 2>conftest.er1
20006 ac_status=$?
20007 grep -v '^ *+' conftest.er1 >conftest.err
20008 rm -f conftest.er1
20009 cat conftest.err >&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); } && {
20012 test -z "$ac_c_werror_flag" ||
20013 test ! -s conftest.err
20014 } && test -s conftest.$ac_objext; then
20015 ac_lo=$ac_mid; break
20016 else
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20019
20020 ac_hi=`expr '(' $ac_mid ')' - 1`
20021 if test $ac_mid -le $ac_hi; then
20022 ac_lo= ac_hi=
20023 break
20024 fi
20025 ac_mid=`expr 2 '*' $ac_mid`
20026 fi
20027
20028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 done
20030 else
20031 echo "$as_me: failed program was:" >&5
20032 sed 's/^/| /' conftest.$ac_ext >&5
20033
20034 ac_lo= ac_hi=
20035 fi
20036
20037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20038 fi
20039
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20041 # Binary search between lo and hi bounds.
20042 while test "x$ac_lo" != "x$ac_hi"; do
20043 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20044 cat >conftest.$ac_ext <<_ACEOF
20045 /* confdefs.h. */
20046 _ACEOF
20047 cat confdefs.h >>conftest.$ac_ext
20048 cat >>conftest.$ac_ext <<_ACEOF
20049 /* end confdefs.h. */
20050 $ac_includes_default
20051 typedef short ac__type_sizeof_;
20052 int
20053 main ()
20054 {
20055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20056 test_array [0] = 0
20057
20058 ;
20059 return 0;
20060 }
20061 _ACEOF
20062 rm -f conftest.$ac_objext
20063 if { (ac_try="$ac_compile"
20064 case "(($ac_try" in
20065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20066 *) ac_try_echo=$ac_try;;
20067 esac
20068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20069 (eval "$ac_compile") 2>conftest.er1
20070 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } && {
20076 test -z "$ac_c_werror_flag" ||
20077 test ! -s conftest.err
20078 } && test -s conftest.$ac_objext; then
20079 ac_hi=$ac_mid
20080 else
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.$ac_ext >&5
20083
20084 ac_lo=`expr '(' $ac_mid ')' + 1`
20085 fi
20086
20087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20088 done
20089 case $ac_lo in
20090 ?*) ac_cv_sizeof_short=$ac_lo;;
20091 '') if test "$ac_cv_type_short" = yes; then
20092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20093 See \`config.log' for more details." >&5
20094 echo "$as_me: error: cannot compute sizeof (short)
20095 See \`config.log' for more details." >&2;}
20096 { (exit 77); exit 77; }; }
20097 else
20098 ac_cv_sizeof_short=0
20099 fi ;;
20100 esac
20101 else
20102 cat >conftest.$ac_ext <<_ACEOF
20103 /* confdefs.h. */
20104 _ACEOF
20105 cat confdefs.h >>conftest.$ac_ext
20106 cat >>conftest.$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20108 $ac_includes_default
20109 typedef short ac__type_sizeof_;
20110 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20111 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20112 #include <stdio.h>
20113 #include <stdlib.h>
20114 int
20115 main ()
20116 {
20117
20118 FILE *f = fopen ("conftest.val", "w");
20119 if (! f)
20120 return 1;
20121 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20122 {
20123 long int i = longval ();
20124 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20125 return 1;
20126 fprintf (f, "%ld\n", i);
20127 }
20128 else
20129 {
20130 unsigned long int i = ulongval ();
20131 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20132 return 1;
20133 fprintf (f, "%lu\n", i);
20134 }
20135 return ferror (f) || fclose (f) != 0;
20136
20137 ;
20138 return 0;
20139 }
20140 _ACEOF
20141 rm -f conftest$ac_exeext
20142 if { (ac_try="$ac_link"
20143 case "(($ac_try" in
20144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20145 *) ac_try_echo=$ac_try;;
20146 esac
20147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20148 (eval "$ac_link") 2>&5
20149 ac_status=$?
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20152 { (case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20155 esac
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_try") 2>&5
20158 ac_status=$?
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 ac_cv_sizeof_short=`cat conftest.val`
20162 else
20163 echo "$as_me: program exited with status $ac_status" >&5
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20166
20167 ( exit $ac_status )
20168 if test "$ac_cv_type_short" = yes; then
20169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20170 See \`config.log' for more details." >&5
20171 echo "$as_me: error: cannot compute sizeof (short)
20172 See \`config.log' for more details." >&2;}
20173 { (exit 77); exit 77; }; }
20174 else
20175 ac_cv_sizeof_short=0
20176 fi
20177 fi
20178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20179 fi
20180 rm -f conftest.val
20181 fi
20182 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20183 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20184
20185
20186
20187 cat >>confdefs.h <<_ACEOF
20188 #define SIZEOF_SHORT $ac_cv_sizeof_short
20189 _ACEOF
20190
20191
20192 { echo "$as_me:$LINENO: checking for void *" >&5
20193 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20194 if test "${ac_cv_type_void_p+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 else
20197 cat >conftest.$ac_ext <<_ACEOF
20198 /* confdefs.h. */
20199 _ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 $ac_includes_default
20204 typedef void * ac__type_new_;
20205 int
20206 main ()
20207 {
20208 if ((ac__type_new_ *) 0)
20209 return 0;
20210 if (sizeof (ac__type_new_))
20211 return 0;
20212 ;
20213 return 0;
20214 }
20215 _ACEOF
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20221 esac
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20224 ac_status=$?
20225 grep -v '^ *+' conftest.er1 >conftest.err
20226 rm -f conftest.er1
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.$ac_objext; then
20233 ac_cv_type_void_p=yes
20234 else
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20237
20238 ac_cv_type_void_p=no
20239 fi
20240
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 fi
20243 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20244 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20245
20246 # The cast to long int works around a bug in the HP C Compiler
20247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20249 # This bug is HP SR number 8606223364.
20250 { echo "$as_me:$LINENO: checking size of void *" >&5
20251 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20252 if test "${ac_cv_sizeof_void_p+set}" = set; then
20253 echo $ECHO_N "(cached) $ECHO_C" >&6
20254 else
20255 if test "$cross_compiling" = yes; then
20256 # Depending upon the size, compute the lo and hi bounds.
20257 cat >conftest.$ac_ext <<_ACEOF
20258 /* confdefs.h. */
20259 _ACEOF
20260 cat confdefs.h >>conftest.$ac_ext
20261 cat >>conftest.$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 $ac_includes_default
20264 typedef void * ac__type_sizeof_;
20265 int
20266 main ()
20267 {
20268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20269 test_array [0] = 0
20270
20271 ;
20272 return 0;
20273 }
20274 _ACEOF
20275 rm -f conftest.$ac_objext
20276 if { (ac_try="$ac_compile"
20277 case "(($ac_try" in
20278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20279 *) ac_try_echo=$ac_try;;
20280 esac
20281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20282 (eval "$ac_compile") 2>conftest.er1
20283 ac_status=$?
20284 grep -v '^ *+' conftest.er1 >conftest.err
20285 rm -f conftest.er1
20286 cat conftest.err >&5
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); } && {
20289 test -z "$ac_c_werror_flag" ||
20290 test ! -s conftest.err
20291 } && test -s conftest.$ac_objext; then
20292 ac_lo=0 ac_mid=0
20293 while :; do
20294 cat >conftest.$ac_ext <<_ACEOF
20295 /* confdefs.h. */
20296 _ACEOF
20297 cat confdefs.h >>conftest.$ac_ext
20298 cat >>conftest.$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 $ac_includes_default
20301 typedef void * ac__type_sizeof_;
20302 int
20303 main ()
20304 {
20305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20306 test_array [0] = 0
20307
20308 ;
20309 return 0;
20310 }
20311 _ACEOF
20312 rm -f conftest.$ac_objext
20313 if { (ac_try="$ac_compile"
20314 case "(($ac_try" in
20315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20317 esac
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_compile") 2>conftest.er1
20320 ac_status=$?
20321 grep -v '^ *+' conftest.er1 >conftest.err
20322 rm -f conftest.er1
20323 cat conftest.err >&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } && {
20326 test -z "$ac_c_werror_flag" ||
20327 test ! -s conftest.err
20328 } && test -s conftest.$ac_objext; then
20329 ac_hi=$ac_mid; break
20330 else
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20333
20334 ac_lo=`expr $ac_mid + 1`
20335 if test $ac_lo -le $ac_mid; then
20336 ac_lo= ac_hi=
20337 break
20338 fi
20339 ac_mid=`expr 2 '*' $ac_mid + 1`
20340 fi
20341
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 done
20344 else
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20347
20348 cat >conftest.$ac_ext <<_ACEOF
20349 /* confdefs.h. */
20350 _ACEOF
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 $ac_includes_default
20355 typedef void * ac__type_sizeof_;
20356 int
20357 main ()
20358 {
20359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20360 test_array [0] = 0
20361
20362 ;
20363 return 0;
20364 }
20365 _ACEOF
20366 rm -f conftest.$ac_objext
20367 if { (ac_try="$ac_compile"
20368 case "(($ac_try" in
20369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20370 *) ac_try_echo=$ac_try;;
20371 esac
20372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20373 (eval "$ac_compile") 2>conftest.er1
20374 ac_status=$?
20375 grep -v '^ *+' conftest.er1 >conftest.err
20376 rm -f conftest.er1
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } && {
20380 test -z "$ac_c_werror_flag" ||
20381 test ! -s conftest.err
20382 } && test -s conftest.$ac_objext; then
20383 ac_hi=-1 ac_mid=-1
20384 while :; do
20385 cat >conftest.$ac_ext <<_ACEOF
20386 /* confdefs.h. */
20387 _ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef void * ac__type_sizeof_;
20393 int
20394 main ()
20395 {
20396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20397 test_array [0] = 0
20398
20399 ;
20400 return 0;
20401 }
20402 _ACEOF
20403 rm -f conftest.$ac_objext
20404 if { (ac_try="$ac_compile"
20405 case "(($ac_try" in
20406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20408 esac
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_compile") 2>conftest.er1
20411 ac_status=$?
20412 grep -v '^ *+' conftest.er1 >conftest.err
20413 rm -f conftest.er1
20414 cat conftest.err >&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); } && {
20417 test -z "$ac_c_werror_flag" ||
20418 test ! -s conftest.err
20419 } && test -s conftest.$ac_objext; then
20420 ac_lo=$ac_mid; break
20421 else
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20424
20425 ac_hi=`expr '(' $ac_mid ')' - 1`
20426 if test $ac_mid -le $ac_hi; then
20427 ac_lo= ac_hi=
20428 break
20429 fi
20430 ac_mid=`expr 2 '*' $ac_mid`
20431 fi
20432
20433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20434 done
20435 else
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.$ac_ext >&5
20438
20439 ac_lo= ac_hi=
20440 fi
20441
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 fi
20444
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20446 # Binary search between lo and hi bounds.
20447 while test "x$ac_lo" != "x$ac_hi"; do
20448 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20449 cat >conftest.$ac_ext <<_ACEOF
20450 /* confdefs.h. */
20451 _ACEOF
20452 cat confdefs.h >>conftest.$ac_ext
20453 cat >>conftest.$ac_ext <<_ACEOF
20454 /* end confdefs.h. */
20455 $ac_includes_default
20456 typedef void * ac__type_sizeof_;
20457 int
20458 main ()
20459 {
20460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20461 test_array [0] = 0
20462
20463 ;
20464 return 0;
20465 }
20466 _ACEOF
20467 rm -f conftest.$ac_objext
20468 if { (ac_try="$ac_compile"
20469 case "(($ac_try" in
20470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20471 *) ac_try_echo=$ac_try;;
20472 esac
20473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20474 (eval "$ac_compile") 2>conftest.er1
20475 ac_status=$?
20476 grep -v '^ *+' conftest.er1 >conftest.err
20477 rm -f conftest.er1
20478 cat conftest.err >&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); } && {
20481 test -z "$ac_c_werror_flag" ||
20482 test ! -s conftest.err
20483 } && test -s conftest.$ac_objext; then
20484 ac_hi=$ac_mid
20485 else
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20488
20489 ac_lo=`expr '(' $ac_mid ')' + 1`
20490 fi
20491
20492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20493 done
20494 case $ac_lo in
20495 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20496 '') if test "$ac_cv_type_void_p" = yes; then
20497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20498 See \`config.log' for more details." >&5
20499 echo "$as_me: error: cannot compute sizeof (void *)
20500 See \`config.log' for more details." >&2;}
20501 { (exit 77); exit 77; }; }
20502 else
20503 ac_cv_sizeof_void_p=0
20504 fi ;;
20505 esac
20506 else
20507 cat >conftest.$ac_ext <<_ACEOF
20508 /* confdefs.h. */
20509 _ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 $ac_includes_default
20514 typedef void * ac__type_sizeof_;
20515 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20516 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20517 #include <stdio.h>
20518 #include <stdlib.h>
20519 int
20520 main ()
20521 {
20522
20523 FILE *f = fopen ("conftest.val", "w");
20524 if (! f)
20525 return 1;
20526 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20527 {
20528 long int i = longval ();
20529 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20530 return 1;
20531 fprintf (f, "%ld\n", i);
20532 }
20533 else
20534 {
20535 unsigned long int i = ulongval ();
20536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20537 return 1;
20538 fprintf (f, "%lu\n", i);
20539 }
20540 return ferror (f) || fclose (f) != 0;
20541
20542 ;
20543 return 0;
20544 }
20545 _ACEOF
20546 rm -f conftest$ac_exeext
20547 if { (ac_try="$ac_link"
20548 case "(($ac_try" in
20549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20550 *) ac_try_echo=$ac_try;;
20551 esac
20552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20553 (eval "$ac_link") 2>&5
20554 ac_status=$?
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20557 { (case "(($ac_try" in
20558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20559 *) ac_try_echo=$ac_try;;
20560 esac
20561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20562 (eval "$ac_try") 2>&5
20563 ac_status=$?
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 ac_cv_sizeof_void_p=`cat conftest.val`
20567 else
20568 echo "$as_me: program exited with status $ac_status" >&5
20569 echo "$as_me: failed program was:" >&5
20570 sed 's/^/| /' conftest.$ac_ext >&5
20571
20572 ( exit $ac_status )
20573 if test "$ac_cv_type_void_p" = yes; then
20574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20575 See \`config.log' for more details." >&5
20576 echo "$as_me: error: cannot compute sizeof (void *)
20577 See \`config.log' for more details." >&2;}
20578 { (exit 77); exit 77; }; }
20579 else
20580 ac_cv_sizeof_void_p=0
20581 fi
20582 fi
20583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20584 fi
20585 rm -f conftest.val
20586 fi
20587 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20588 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20589
20590
20591
20592 cat >>confdefs.h <<_ACEOF
20593 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20594 _ACEOF
20595
20596
20597 { echo "$as_me:$LINENO: checking for int" >&5
20598 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20599 if test "${ac_cv_type_int+set}" = set; then
20600 echo $ECHO_N "(cached) $ECHO_C" >&6
20601 else
20602 cat >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h. */
20604 _ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20609 typedef int ac__type_new_;
20610 int
20611 main ()
20612 {
20613 if ((ac__type_new_ *) 0)
20614 return 0;
20615 if (sizeof (ac__type_new_))
20616 return 0;
20617 ;
20618 return 0;
20619 }
20620 _ACEOF
20621 rm -f conftest.$ac_objext
20622 if { (ac_try="$ac_compile"
20623 case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20626 esac
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_compile") 2>conftest.er1
20629 ac_status=$?
20630 grep -v '^ *+' conftest.er1 >conftest.err
20631 rm -f conftest.er1
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } && {
20635 test -z "$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20637 } && test -s conftest.$ac_objext; then
20638 ac_cv_type_int=yes
20639 else
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20642
20643 ac_cv_type_int=no
20644 fi
20645
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647 fi
20648 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20649 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20650
20651 # The cast to long int works around a bug in the HP C Compiler
20652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20654 # This bug is HP SR number 8606223364.
20655 { echo "$as_me:$LINENO: checking size of int" >&5
20656 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20657 if test "${ac_cv_sizeof_int+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 else
20660 if test "$cross_compiling" = yes; then
20661 # Depending upon the size, compute the lo and hi bounds.
20662 cat >conftest.$ac_ext <<_ACEOF
20663 /* confdefs.h. */
20664 _ACEOF
20665 cat confdefs.h >>conftest.$ac_ext
20666 cat >>conftest.$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20668 $ac_includes_default
20669 typedef int ac__type_sizeof_;
20670 int
20671 main ()
20672 {
20673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20674 test_array [0] = 0
20675
20676 ;
20677 return 0;
20678 }
20679 _ACEOF
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20688 ac_status=$?
20689 grep -v '^ *+' conftest.er1 >conftest.err
20690 rm -f conftest.er1
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.$ac_objext; then
20697 ac_lo=0 ac_mid=0
20698 while :; do
20699 cat >conftest.$ac_ext <<_ACEOF
20700 /* confdefs.h. */
20701 _ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 $ac_includes_default
20706 typedef int ac__type_sizeof_;
20707 int
20708 main ()
20709 {
20710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20711 test_array [0] = 0
20712
20713 ;
20714 return 0;
20715 }
20716 _ACEOF
20717 rm -f conftest.$ac_objext
20718 if { (ac_try="$ac_compile"
20719 case "(($ac_try" in
20720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20721 *) ac_try_echo=$ac_try;;
20722 esac
20723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20724 (eval "$ac_compile") 2>conftest.er1
20725 ac_status=$?
20726 grep -v '^ *+' conftest.er1 >conftest.err
20727 rm -f conftest.er1
20728 cat conftest.err >&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && {
20731 test -z "$ac_c_werror_flag" ||
20732 test ! -s conftest.err
20733 } && test -s conftest.$ac_objext; then
20734 ac_hi=$ac_mid; break
20735 else
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.$ac_ext >&5
20738
20739 ac_lo=`expr $ac_mid + 1`
20740 if test $ac_lo -le $ac_mid; then
20741 ac_lo= ac_hi=
20742 break
20743 fi
20744 ac_mid=`expr 2 '*' $ac_mid + 1`
20745 fi
20746
20747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20748 done
20749 else
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20752
20753 cat >conftest.$ac_ext <<_ACEOF
20754 /* confdefs.h. */
20755 _ACEOF
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20759 $ac_includes_default
20760 typedef int ac__type_sizeof_;
20761 int
20762 main ()
20763 {
20764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20765 test_array [0] = 0
20766
20767 ;
20768 return 0;
20769 }
20770 _ACEOF
20771 rm -f conftest.$ac_objext
20772 if { (ac_try="$ac_compile"
20773 case "(($ac_try" in
20774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20775 *) ac_try_echo=$ac_try;;
20776 esac
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_compile") 2>conftest.er1
20779 ac_status=$?
20780 grep -v '^ *+' conftest.er1 >conftest.err
20781 rm -f conftest.er1
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } && {
20785 test -z "$ac_c_werror_flag" ||
20786 test ! -s conftest.err
20787 } && test -s conftest.$ac_objext; then
20788 ac_hi=-1 ac_mid=-1
20789 while :; do
20790 cat >conftest.$ac_ext <<_ACEOF
20791 /* confdefs.h. */
20792 _ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef int ac__type_sizeof_;
20798 int
20799 main ()
20800 {
20801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20802 test_array [0] = 0
20803
20804 ;
20805 return 0;
20806 }
20807 _ACEOF
20808 rm -f conftest.$ac_objext
20809 if { (ac_try="$ac_compile"
20810 case "(($ac_try" in
20811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20812 *) ac_try_echo=$ac_try;;
20813 esac
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815 (eval "$ac_compile") 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } && {
20822 test -z "$ac_c_werror_flag" ||
20823 test ! -s conftest.err
20824 } && test -s conftest.$ac_objext; then
20825 ac_lo=$ac_mid; break
20826 else
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.$ac_ext >&5
20829
20830 ac_hi=`expr '(' $ac_mid ')' - 1`
20831 if test $ac_mid -le $ac_hi; then
20832 ac_lo= ac_hi=
20833 break
20834 fi
20835 ac_mid=`expr 2 '*' $ac_mid`
20836 fi
20837
20838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20839 done
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20843
20844 ac_lo= ac_hi=
20845 fi
20846
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 fi
20849
20850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20851 # Binary search between lo and hi bounds.
20852 while test "x$ac_lo" != "x$ac_hi"; do
20853 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20854 cat >conftest.$ac_ext <<_ACEOF
20855 /* confdefs.h. */
20856 _ACEOF
20857 cat confdefs.h >>conftest.$ac_ext
20858 cat >>conftest.$ac_ext <<_ACEOF
20859 /* end confdefs.h. */
20860 $ac_includes_default
20861 typedef int ac__type_sizeof_;
20862 int
20863 main ()
20864 {
20865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20866 test_array [0] = 0
20867
20868 ;
20869 return 0;
20870 }
20871 _ACEOF
20872 rm -f conftest.$ac_objext
20873 if { (ac_try="$ac_compile"
20874 case "(($ac_try" in
20875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20876 *) ac_try_echo=$ac_try;;
20877 esac
20878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20879 (eval "$ac_compile") 2>conftest.er1
20880 ac_status=$?
20881 grep -v '^ *+' conftest.er1 >conftest.err
20882 rm -f conftest.er1
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } && {
20886 test -z "$ac_c_werror_flag" ||
20887 test ! -s conftest.err
20888 } && test -s conftest.$ac_objext; then
20889 ac_hi=$ac_mid
20890 else
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20893
20894 ac_lo=`expr '(' $ac_mid ')' + 1`
20895 fi
20896
20897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 done
20899 case $ac_lo in
20900 ?*) ac_cv_sizeof_int=$ac_lo;;
20901 '') if test "$ac_cv_type_int" = yes; then
20902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20903 See \`config.log' for more details." >&5
20904 echo "$as_me: error: cannot compute sizeof (int)
20905 See \`config.log' for more details." >&2;}
20906 { (exit 77); exit 77; }; }
20907 else
20908 ac_cv_sizeof_int=0
20909 fi ;;
20910 esac
20911 else
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef int ac__type_sizeof_;
20920 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20921 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20922 #include <stdio.h>
20923 #include <stdlib.h>
20924 int
20925 main ()
20926 {
20927
20928 FILE *f = fopen ("conftest.val", "w");
20929 if (! f)
20930 return 1;
20931 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20932 {
20933 long int i = longval ();
20934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20935 return 1;
20936 fprintf (f, "%ld\n", i);
20937 }
20938 else
20939 {
20940 unsigned long int i = ulongval ();
20941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20942 return 1;
20943 fprintf (f, "%lu\n", i);
20944 }
20945 return ferror (f) || fclose (f) != 0;
20946
20947 ;
20948 return 0;
20949 }
20950 _ACEOF
20951 rm -f conftest$ac_exeext
20952 if { (ac_try="$ac_link"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20956 esac
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_link") 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20962 { (case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20965 esac
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_try") 2>&5
20968 ac_status=$?
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 ac_cv_sizeof_int=`cat conftest.val`
20972 else
20973 echo "$as_me: program exited with status $ac_status" >&5
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.$ac_ext >&5
20976
20977 ( exit $ac_status )
20978 if test "$ac_cv_type_int" = yes; then
20979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20980 See \`config.log' for more details." >&5
20981 echo "$as_me: error: cannot compute sizeof (int)
20982 See \`config.log' for more details." >&2;}
20983 { (exit 77); exit 77; }; }
20984 else
20985 ac_cv_sizeof_int=0
20986 fi
20987 fi
20988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20989 fi
20990 rm -f conftest.val
20991 fi
20992 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20993 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20994
20995
20996
20997 cat >>confdefs.h <<_ACEOF
20998 #define SIZEOF_INT $ac_cv_sizeof_int
20999 _ACEOF
21000
21001
21002 { echo "$as_me:$LINENO: checking for long" >&5
21003 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21004 if test "${ac_cv_type_long+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21006 else
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 typedef long ac__type_new_;
21015 int
21016 main ()
21017 {
21018 if ((ac__type_new_ *) 0)
21019 return 0;
21020 if (sizeof (ac__type_new_))
21021 return 0;
21022 ;
21023 return 0;
21024 }
21025 _ACEOF
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21031 esac
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21034 ac_status=$?
21035 grep -v '^ *+' conftest.er1 >conftest.err
21036 rm -f conftest.er1
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_cv_type_long=yes
21044 else
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21047
21048 ac_cv_type_long=no
21049 fi
21050
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 fi
21053 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21054 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21055
21056 # The cast to long int works around a bug in the HP C Compiler
21057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21059 # This bug is HP SR number 8606223364.
21060 { echo "$as_me:$LINENO: checking size of long" >&5
21061 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21062 if test "${ac_cv_sizeof_long+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21064 else
21065 if test "$cross_compiling" = yes; then
21066 # Depending upon the size, compute the lo and hi bounds.
21067 cat >conftest.$ac_ext <<_ACEOF
21068 /* confdefs.h. */
21069 _ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 typedef long ac__type_sizeof_;
21075 int
21076 main ()
21077 {
21078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21079 test_array [0] = 0
21080
21081 ;
21082 return 0;
21083 }
21084 _ACEOF
21085 rm -f conftest.$ac_objext
21086 if { (ac_try="$ac_compile"
21087 case "(($ac_try" in
21088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21089 *) ac_try_echo=$ac_try;;
21090 esac
21091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21092 (eval "$ac_compile") 2>conftest.er1
21093 ac_status=$?
21094 grep -v '^ *+' conftest.er1 >conftest.err
21095 rm -f conftest.er1
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } && {
21099 test -z "$ac_c_werror_flag" ||
21100 test ! -s conftest.err
21101 } && test -s conftest.$ac_objext; then
21102 ac_lo=0 ac_mid=0
21103 while :; do
21104 cat >conftest.$ac_ext <<_ACEOF
21105 /* confdefs.h. */
21106 _ACEOF
21107 cat confdefs.h >>conftest.$ac_ext
21108 cat >>conftest.$ac_ext <<_ACEOF
21109 /* end confdefs.h. */
21110 $ac_includes_default
21111 typedef long ac__type_sizeof_;
21112 int
21113 main ()
21114 {
21115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21116 test_array [0] = 0
21117
21118 ;
21119 return 0;
21120 }
21121 _ACEOF
21122 rm -f conftest.$ac_objext
21123 if { (ac_try="$ac_compile"
21124 case "(($ac_try" in
21125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21126 *) ac_try_echo=$ac_try;;
21127 esac
21128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21129 (eval "$ac_compile") 2>conftest.er1
21130 ac_status=$?
21131 grep -v '^ *+' conftest.er1 >conftest.err
21132 rm -f conftest.er1
21133 cat conftest.err >&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } && {
21136 test -z "$ac_c_werror_flag" ||
21137 test ! -s conftest.err
21138 } && test -s conftest.$ac_objext; then
21139 ac_hi=$ac_mid; break
21140 else
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.$ac_ext >&5
21143
21144 ac_lo=`expr $ac_mid + 1`
21145 if test $ac_lo -le $ac_mid; then
21146 ac_lo= ac_hi=
21147 break
21148 fi
21149 ac_mid=`expr 2 '*' $ac_mid + 1`
21150 fi
21151
21152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21153 done
21154 else
21155 echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.$ac_ext >&5
21157
21158 cat >conftest.$ac_ext <<_ACEOF
21159 /* confdefs.h. */
21160 _ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 $ac_includes_default
21165 typedef long ac__type_sizeof_;
21166 int
21167 main ()
21168 {
21169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21170 test_array [0] = 0
21171
21172 ;
21173 return 0;
21174 }
21175 _ACEOF
21176 rm -f conftest.$ac_objext
21177 if { (ac_try="$ac_compile"
21178 case "(($ac_try" in
21179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21181 esac
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_compile") 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } && {
21190 test -z "$ac_c_werror_flag" ||
21191 test ! -s conftest.err
21192 } && test -s conftest.$ac_objext; then
21193 ac_hi=-1 ac_mid=-1
21194 while :; do
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 typedef long ac__type_sizeof_;
21203 int
21204 main ()
21205 {
21206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21207 test_array [0] = 0
21208
21209 ;
21210 return 0;
21211 }
21212 _ACEOF
21213 rm -f conftest.$ac_objext
21214 if { (ac_try="$ac_compile"
21215 case "(($ac_try" in
21216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21217 *) ac_try_echo=$ac_try;;
21218 esac
21219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220 (eval "$ac_compile") 2>conftest.er1
21221 ac_status=$?
21222 grep -v '^ *+' conftest.er1 >conftest.err
21223 rm -f conftest.er1
21224 cat conftest.err >&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } && {
21227 test -z "$ac_c_werror_flag" ||
21228 test ! -s conftest.err
21229 } && test -s conftest.$ac_objext; then
21230 ac_lo=$ac_mid; break
21231 else
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.$ac_ext >&5
21234
21235 ac_hi=`expr '(' $ac_mid ')' - 1`
21236 if test $ac_mid -le $ac_hi; then
21237 ac_lo= ac_hi=
21238 break
21239 fi
21240 ac_mid=`expr 2 '*' $ac_mid`
21241 fi
21242
21243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 done
21245 else
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21248
21249 ac_lo= ac_hi=
21250 fi
21251
21252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21253 fi
21254
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21256 # Binary search between lo and hi bounds.
21257 while test "x$ac_lo" != "x$ac_hi"; do
21258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21266 typedef long ac__type_sizeof_;
21267 int
21268 main ()
21269 {
21270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21271 test_array [0] = 0
21272
21273 ;
21274 return 0;
21275 }
21276 _ACEOF
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21282 esac
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21285 ac_status=$?
21286 grep -v '^ *+' conftest.er1 >conftest.err
21287 rm -f conftest.er1
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.$ac_objext; then
21294 ac_hi=$ac_mid
21295 else
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21298
21299 ac_lo=`expr '(' $ac_mid ')' + 1`
21300 fi
21301
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303 done
21304 case $ac_lo in
21305 ?*) ac_cv_sizeof_long=$ac_lo;;
21306 '') if test "$ac_cv_type_long" = yes; then
21307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21308 See \`config.log' for more details." >&5
21309 echo "$as_me: error: cannot compute sizeof (long)
21310 See \`config.log' for more details." >&2;}
21311 { (exit 77); exit 77; }; }
21312 else
21313 ac_cv_sizeof_long=0
21314 fi ;;
21315 esac
21316 else
21317 cat >conftest.$ac_ext <<_ACEOF
21318 /* confdefs.h. */
21319 _ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21324 typedef long ac__type_sizeof_;
21325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21327 #include <stdio.h>
21328 #include <stdlib.h>
21329 int
21330 main ()
21331 {
21332
21333 FILE *f = fopen ("conftest.val", "w");
21334 if (! f)
21335 return 1;
21336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21337 {
21338 long int i = longval ();
21339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21340 return 1;
21341 fprintf (f, "%ld\n", i);
21342 }
21343 else
21344 {
21345 unsigned long int i = ulongval ();
21346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21347 return 1;
21348 fprintf (f, "%lu\n", i);
21349 }
21350 return ferror (f) || fclose (f) != 0;
21351
21352 ;
21353 return 0;
21354 }
21355 _ACEOF
21356 rm -f conftest$ac_exeext
21357 if { (ac_try="$ac_link"
21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21360 *) ac_try_echo=$ac_try;;
21361 esac
21362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_link") 2>&5
21364 ac_status=$?
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21367 { (case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21370 esac
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_try") 2>&5
21373 ac_status=$?
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; }; then
21376 ac_cv_sizeof_long=`cat conftest.val`
21377 else
21378 echo "$as_me: program exited with status $ac_status" >&5
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21381
21382 ( exit $ac_status )
21383 if test "$ac_cv_type_long" = yes; then
21384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21385 See \`config.log' for more details." >&5
21386 echo "$as_me: error: cannot compute sizeof (long)
21387 See \`config.log' for more details." >&2;}
21388 { (exit 77); exit 77; }; }
21389 else
21390 ac_cv_sizeof_long=0
21391 fi
21392 fi
21393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21394 fi
21395 rm -f conftest.val
21396 fi
21397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21398 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21399
21400
21401
21402 cat >>confdefs.h <<_ACEOF
21403 #define SIZEOF_LONG $ac_cv_sizeof_long
21404 _ACEOF
21405
21406
21407 { echo "$as_me:$LINENO: checking for size_t" >&5
21408 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21409 if test "${ac_cv_type_size_t+set}" = set; then
21410 echo $ECHO_N "(cached) $ECHO_C" >&6
21411 else
21412 cat >conftest.$ac_ext <<_ACEOF
21413 /* confdefs.h. */
21414 _ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 $ac_includes_default
21419 typedef size_t ac__type_new_;
21420 int
21421 main ()
21422 {
21423 if ((ac__type_new_ *) 0)
21424 return 0;
21425 if (sizeof (ac__type_new_))
21426 return 0;
21427 ;
21428 return 0;
21429 }
21430 _ACEOF
21431 rm -f conftest.$ac_objext
21432 if { (ac_try="$ac_compile"
21433 case "(($ac_try" in
21434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21435 *) ac_try_echo=$ac_try;;
21436 esac
21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438 (eval "$ac_compile") 2>conftest.er1
21439 ac_status=$?
21440 grep -v '^ *+' conftest.er1 >conftest.err
21441 rm -f conftest.er1
21442 cat conftest.err >&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } && {
21445 test -z "$ac_c_werror_flag" ||
21446 test ! -s conftest.err
21447 } && test -s conftest.$ac_objext; then
21448 ac_cv_type_size_t=yes
21449 else
21450 echo "$as_me: failed program was:" >&5
21451 sed 's/^/| /' conftest.$ac_ext >&5
21452
21453 ac_cv_type_size_t=no
21454 fi
21455
21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457 fi
21458 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21459 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21460
21461 # The cast to long int works around a bug in the HP C Compiler
21462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21464 # This bug is HP SR number 8606223364.
21465 { echo "$as_me:$LINENO: checking size of size_t" >&5
21466 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21467 if test "${ac_cv_sizeof_size_t+set}" = set; then
21468 echo $ECHO_N "(cached) $ECHO_C" >&6
21469 else
21470 if test "$cross_compiling" = yes; then
21471 # Depending upon the size, compute the lo and hi bounds.
21472 cat >conftest.$ac_ext <<_ACEOF
21473 /* confdefs.h. */
21474 _ACEOF
21475 cat confdefs.h >>conftest.$ac_ext
21476 cat >>conftest.$ac_ext <<_ACEOF
21477 /* end confdefs.h. */
21478 $ac_includes_default
21479 typedef size_t ac__type_sizeof_;
21480 int
21481 main ()
21482 {
21483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21484 test_array [0] = 0
21485
21486 ;
21487 return 0;
21488 }
21489 _ACEOF
21490 rm -f conftest.$ac_objext
21491 if { (ac_try="$ac_compile"
21492 case "(($ac_try" in
21493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21494 *) ac_try_echo=$ac_try;;
21495 esac
21496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21497 (eval "$ac_compile") 2>conftest.er1
21498 ac_status=$?
21499 grep -v '^ *+' conftest.er1 >conftest.err
21500 rm -f conftest.er1
21501 cat conftest.err >&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); } && {
21504 test -z "$ac_c_werror_flag" ||
21505 test ! -s conftest.err
21506 } && test -s conftest.$ac_objext; then
21507 ac_lo=0 ac_mid=0
21508 while :; do
21509 cat >conftest.$ac_ext <<_ACEOF
21510 /* confdefs.h. */
21511 _ACEOF
21512 cat confdefs.h >>conftest.$ac_ext
21513 cat >>conftest.$ac_ext <<_ACEOF
21514 /* end confdefs.h. */
21515 $ac_includes_default
21516 typedef size_t ac__type_sizeof_;
21517 int
21518 main ()
21519 {
21520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21521 test_array [0] = 0
21522
21523 ;
21524 return 0;
21525 }
21526 _ACEOF
21527 rm -f conftest.$ac_objext
21528 if { (ac_try="$ac_compile"
21529 case "(($ac_try" in
21530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21531 *) ac_try_echo=$ac_try;;
21532 esac
21533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21534 (eval "$ac_compile") 2>conftest.er1
21535 ac_status=$?
21536 grep -v '^ *+' conftest.er1 >conftest.err
21537 rm -f conftest.er1
21538 cat conftest.err >&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); } && {
21541 test -z "$ac_c_werror_flag" ||
21542 test ! -s conftest.err
21543 } && test -s conftest.$ac_objext; then
21544 ac_hi=$ac_mid; break
21545 else
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.$ac_ext >&5
21548
21549 ac_lo=`expr $ac_mid + 1`
21550 if test $ac_lo -le $ac_mid; then
21551 ac_lo= ac_hi=
21552 break
21553 fi
21554 ac_mid=`expr 2 '*' $ac_mid + 1`
21555 fi
21556
21557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21558 done
21559 else
21560 echo "$as_me: failed program was:" >&5
21561 sed 's/^/| /' conftest.$ac_ext >&5
21562
21563 cat >conftest.$ac_ext <<_ACEOF
21564 /* confdefs.h. */
21565 _ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569 $ac_includes_default
21570 typedef size_t ac__type_sizeof_;
21571 int
21572 main ()
21573 {
21574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21575 test_array [0] = 0
21576
21577 ;
21578 return 0;
21579 }
21580 _ACEOF
21581 rm -f conftest.$ac_objext
21582 if { (ac_try="$ac_compile"
21583 case "(($ac_try" in
21584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21585 *) ac_try_echo=$ac_try;;
21586 esac
21587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21588 (eval "$ac_compile") 2>conftest.er1
21589 ac_status=$?
21590 grep -v '^ *+' conftest.er1 >conftest.err
21591 rm -f conftest.er1
21592 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } && {
21595 test -z "$ac_c_werror_flag" ||
21596 test ! -s conftest.err
21597 } && test -s conftest.$ac_objext; then
21598 ac_hi=-1 ac_mid=-1
21599 while :; do
21600 cat >conftest.$ac_ext <<_ACEOF
21601 /* confdefs.h. */
21602 _ACEOF
21603 cat confdefs.h >>conftest.$ac_ext
21604 cat >>conftest.$ac_ext <<_ACEOF
21605 /* end confdefs.h. */
21606 $ac_includes_default
21607 typedef size_t ac__type_sizeof_;
21608 int
21609 main ()
21610 {
21611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21612 test_array [0] = 0
21613
21614 ;
21615 return 0;
21616 }
21617 _ACEOF
21618 rm -f conftest.$ac_objext
21619 if { (ac_try="$ac_compile"
21620 case "(($ac_try" in
21621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21622 *) ac_try_echo=$ac_try;;
21623 esac
21624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21625 (eval "$ac_compile") 2>conftest.er1
21626 ac_status=$?
21627 grep -v '^ *+' conftest.er1 >conftest.err
21628 rm -f conftest.er1
21629 cat conftest.err >&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } && {
21632 test -z "$ac_c_werror_flag" ||
21633 test ! -s conftest.err
21634 } && test -s conftest.$ac_objext; then
21635 ac_lo=$ac_mid; break
21636 else
21637 echo "$as_me: failed program was:" >&5
21638 sed 's/^/| /' conftest.$ac_ext >&5
21639
21640 ac_hi=`expr '(' $ac_mid ')' - 1`
21641 if test $ac_mid -le $ac_hi; then
21642 ac_lo= ac_hi=
21643 break
21644 fi
21645 ac_mid=`expr 2 '*' $ac_mid`
21646 fi
21647
21648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21649 done
21650 else
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21653
21654 ac_lo= ac_hi=
21655 fi
21656
21657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21658 fi
21659
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661 # Binary search between lo and hi bounds.
21662 while test "x$ac_lo" != "x$ac_hi"; do
21663 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21664 cat >conftest.$ac_ext <<_ACEOF
21665 /* confdefs.h. */
21666 _ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 $ac_includes_default
21671 typedef size_t ac__type_sizeof_;
21672 int
21673 main ()
21674 {
21675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21676 test_array [0] = 0
21677
21678 ;
21679 return 0;
21680 }
21681 _ACEOF
21682 rm -f conftest.$ac_objext
21683 if { (ac_try="$ac_compile"
21684 case "(($ac_try" in
21685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21686 *) ac_try_echo=$ac_try;;
21687 esac
21688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21689 (eval "$ac_compile") 2>conftest.er1
21690 ac_status=$?
21691 grep -v '^ *+' conftest.er1 >conftest.err
21692 rm -f conftest.er1
21693 cat conftest.err >&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && {
21696 test -z "$ac_c_werror_flag" ||
21697 test ! -s conftest.err
21698 } && test -s conftest.$ac_objext; then
21699 ac_hi=$ac_mid
21700 else
21701 echo "$as_me: failed program was:" >&5
21702 sed 's/^/| /' conftest.$ac_ext >&5
21703
21704 ac_lo=`expr '(' $ac_mid ')' + 1`
21705 fi
21706
21707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21708 done
21709 case $ac_lo in
21710 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21711 '') if test "$ac_cv_type_size_t" = yes; then
21712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21713 See \`config.log' for more details." >&5
21714 echo "$as_me: error: cannot compute sizeof (size_t)
21715 See \`config.log' for more details." >&2;}
21716 { (exit 77); exit 77; }; }
21717 else
21718 ac_cv_sizeof_size_t=0
21719 fi ;;
21720 esac
21721 else
21722 cat >conftest.$ac_ext <<_ACEOF
21723 /* confdefs.h. */
21724 _ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 $ac_includes_default
21729 typedef size_t ac__type_sizeof_;
21730 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21731 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21732 #include <stdio.h>
21733 #include <stdlib.h>
21734 int
21735 main ()
21736 {
21737
21738 FILE *f = fopen ("conftest.val", "w");
21739 if (! f)
21740 return 1;
21741 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21742 {
21743 long int i = longval ();
21744 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21745 return 1;
21746 fprintf (f, "%ld\n", i);
21747 }
21748 else
21749 {
21750 unsigned long int i = ulongval ();
21751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21752 return 1;
21753 fprintf (f, "%lu\n", i);
21754 }
21755 return ferror (f) || fclose (f) != 0;
21756
21757 ;
21758 return 0;
21759 }
21760 _ACEOF
21761 rm -f conftest$ac_exeext
21762 if { (ac_try="$ac_link"
21763 case "(($ac_try" in
21764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21765 *) ac_try_echo=$ac_try;;
21766 esac
21767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_link") 2>&5
21769 ac_status=$?
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21772 { (case "(($ac_try" in
21773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21774 *) ac_try_echo=$ac_try;;
21775 esac
21776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21777 (eval "$ac_try") 2>&5
21778 ac_status=$?
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); }; }; then
21781 ac_cv_sizeof_size_t=`cat conftest.val`
21782 else
21783 echo "$as_me: program exited with status $ac_status" >&5
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787 ( exit $ac_status )
21788 if test "$ac_cv_type_size_t" = yes; then
21789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21790 See \`config.log' for more details." >&5
21791 echo "$as_me: error: cannot compute sizeof (size_t)
21792 See \`config.log' for more details." >&2;}
21793 { (exit 77); exit 77; }; }
21794 else
21795 ac_cv_sizeof_size_t=0
21796 fi
21797 fi
21798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21799 fi
21800 rm -f conftest.val
21801 fi
21802 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21803 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21804
21805
21806
21807 cat >>confdefs.h <<_ACEOF
21808 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21809 _ACEOF
21810
21811
21812
21813 case "${host}" in
21814 arm-*-linux* )
21815 { echo "$as_me:$LINENO: checking for long long" >&5
21816 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21817 if test "${ac_cv_type_long_long+set}" = set; then
21818 echo $ECHO_N "(cached) $ECHO_C" >&6
21819 else
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 $ac_includes_default
21827 typedef long long ac__type_new_;
21828 int
21829 main ()
21830 {
21831 if ((ac__type_new_ *) 0)
21832 return 0;
21833 if (sizeof (ac__type_new_))
21834 return 0;
21835 ;
21836 return 0;
21837 }
21838 _ACEOF
21839 rm -f conftest.$ac_objext
21840 if { (ac_try="$ac_compile"
21841 case "(($ac_try" in
21842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21843 *) ac_try_echo=$ac_try;;
21844 esac
21845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21846 (eval "$ac_compile") 2>conftest.er1
21847 ac_status=$?
21848 grep -v '^ *+' conftest.er1 >conftest.err
21849 rm -f conftest.er1
21850 cat conftest.err >&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); } && {
21853 test -z "$ac_c_werror_flag" ||
21854 test ! -s conftest.err
21855 } && test -s conftest.$ac_objext; then
21856 ac_cv_type_long_long=yes
21857 else
21858 echo "$as_me: failed program was:" >&5
21859 sed 's/^/| /' conftest.$ac_ext >&5
21860
21861 ac_cv_type_long_long=no
21862 fi
21863
21864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21865 fi
21866 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21867 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21868
21869 # The cast to long int works around a bug in the HP C Compiler
21870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21872 # This bug is HP SR number 8606223364.
21873 { echo "$as_me:$LINENO: checking size of long long" >&5
21874 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21875 if test "${ac_cv_sizeof_long_long+set}" = set; then
21876 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 else
21878 if test "$cross_compiling" = yes; then
21879 # Depending upon the size, compute the lo and hi bounds.
21880 cat >conftest.$ac_ext <<_ACEOF
21881 /* confdefs.h. */
21882 _ACEOF
21883 cat confdefs.h >>conftest.$ac_ext
21884 cat >>conftest.$ac_ext <<_ACEOF
21885 /* end confdefs.h. */
21886 $ac_includes_default
21887 typedef long long ac__type_sizeof_;
21888 int
21889 main ()
21890 {
21891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21892 test_array [0] = 0
21893
21894 ;
21895 return 0;
21896 }
21897 _ACEOF
21898 rm -f conftest.$ac_objext
21899 if { (ac_try="$ac_compile"
21900 case "(($ac_try" in
21901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21902 *) ac_try_echo=$ac_try;;
21903 esac
21904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21905 (eval "$ac_compile") 2>conftest.er1
21906 ac_status=$?
21907 grep -v '^ *+' conftest.er1 >conftest.err
21908 rm -f conftest.er1
21909 cat conftest.err >&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); } && {
21912 test -z "$ac_c_werror_flag" ||
21913 test ! -s conftest.err
21914 } && test -s conftest.$ac_objext; then
21915 ac_lo=0 ac_mid=0
21916 while :; do
21917 cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h. */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_sizeof_;
21925 int
21926 main ()
21927 {
21928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21929 test_array [0] = 0
21930
21931 ;
21932 return 0;
21933 }
21934 _ACEOF
21935 rm -f conftest.$ac_objext
21936 if { (ac_try="$ac_compile"
21937 case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21940 esac
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_compile") 2>conftest.er1
21943 ac_status=$?
21944 grep -v '^ *+' conftest.er1 >conftest.err
21945 rm -f conftest.er1
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest.$ac_objext; then
21952 ac_hi=$ac_mid; break
21953 else
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.$ac_ext >&5
21956
21957 ac_lo=`expr $ac_mid + 1`
21958 if test $ac_lo -le $ac_mid; then
21959 ac_lo= ac_hi=
21960 break
21961 fi
21962 ac_mid=`expr 2 '*' $ac_mid + 1`
21963 fi
21964
21965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21966 done
21967 else
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 cat >conftest.$ac_ext <<_ACEOF
21972 /* confdefs.h. */
21973 _ACEOF
21974 cat confdefs.h >>conftest.$ac_ext
21975 cat >>conftest.$ac_ext <<_ACEOF
21976 /* end confdefs.h. */
21977 $ac_includes_default
21978 typedef long long ac__type_sizeof_;
21979 int
21980 main ()
21981 {
21982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21983 test_array [0] = 0
21984
21985 ;
21986 return 0;
21987 }
21988 _ACEOF
21989 rm -f conftest.$ac_objext
21990 if { (ac_try="$ac_compile"
21991 case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21994 esac
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_compile") 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } && {
22003 test -z "$ac_c_werror_flag" ||
22004 test ! -s conftest.err
22005 } && test -s conftest.$ac_objext; then
22006 ac_hi=-1 ac_mid=-1
22007 while :; do
22008 cat >conftest.$ac_ext <<_ACEOF
22009 /* confdefs.h. */
22010 _ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 typedef long long ac__type_sizeof_;
22016 int
22017 main ()
22018 {
22019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22020 test_array [0] = 0
22021
22022 ;
22023 return 0;
22024 }
22025 _ACEOF
22026 rm -f conftest.$ac_objext
22027 if { (ac_try="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22031 esac
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22034 ac_status=$?
22035 grep -v '^ *+' conftest.er1 >conftest.err
22036 rm -f conftest.er1
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22043 ac_lo=$ac_mid; break
22044 else
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.$ac_ext >&5
22047
22048 ac_hi=`expr '(' $ac_mid ')' - 1`
22049 if test $ac_mid -le $ac_hi; then
22050 ac_lo= ac_hi=
22051 break
22052 fi
22053 ac_mid=`expr 2 '*' $ac_mid`
22054 fi
22055
22056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22057 done
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22061
22062 ac_lo= ac_hi=
22063 fi
22064
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 fi
22067
22068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22069 # Binary search between lo and hi bounds.
22070 while test "x$ac_lo" != "x$ac_hi"; do
22071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22072 cat >conftest.$ac_ext <<_ACEOF
22073 /* confdefs.h. */
22074 _ACEOF
22075 cat confdefs.h >>conftest.$ac_ext
22076 cat >>conftest.$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078 $ac_includes_default
22079 typedef long long ac__type_sizeof_;
22080 int
22081 main ()
22082 {
22083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22084 test_array [0] = 0
22085
22086 ;
22087 return 0;
22088 }
22089 _ACEOF
22090 rm -f conftest.$ac_objext
22091 if { (ac_try="$ac_compile"
22092 case "(($ac_try" in
22093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22094 *) ac_try_echo=$ac_try;;
22095 esac
22096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22097 (eval "$ac_compile") 2>conftest.er1
22098 ac_status=$?
22099 grep -v '^ *+' conftest.er1 >conftest.err
22100 rm -f conftest.er1
22101 cat conftest.err >&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } && {
22104 test -z "$ac_c_werror_flag" ||
22105 test ! -s conftest.err
22106 } && test -s conftest.$ac_objext; then
22107 ac_hi=$ac_mid
22108 else
22109 echo "$as_me: failed program was:" >&5
22110 sed 's/^/| /' conftest.$ac_ext >&5
22111
22112 ac_lo=`expr '(' $ac_mid ')' + 1`
22113 fi
22114
22115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22116 done
22117 case $ac_lo in
22118 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22119 '') if test "$ac_cv_type_long_long" = yes; then
22120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22121 See \`config.log' for more details." >&5
22122 echo "$as_me: error: cannot compute sizeof (long long)
22123 See \`config.log' for more details." >&2;}
22124 { (exit 77); exit 77; }; }
22125 else
22126 ac_cv_sizeof_long_long=0
22127 fi ;;
22128 esac
22129 else
22130 cat >conftest.$ac_ext <<_ACEOF
22131 /* confdefs.h. */
22132 _ACEOF
22133 cat confdefs.h >>conftest.$ac_ext
22134 cat >>conftest.$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22136 $ac_includes_default
22137 typedef long long ac__type_sizeof_;
22138 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22139 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22140 #include <stdio.h>
22141 #include <stdlib.h>
22142 int
22143 main ()
22144 {
22145
22146 FILE *f = fopen ("conftest.val", "w");
22147 if (! f)
22148 return 1;
22149 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22150 {
22151 long int i = longval ();
22152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22153 return 1;
22154 fprintf (f, "%ld\n", i);
22155 }
22156 else
22157 {
22158 unsigned long int i = ulongval ();
22159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22160 return 1;
22161 fprintf (f, "%lu\n", i);
22162 }
22163 return ferror (f) || fclose (f) != 0;
22164
22165 ;
22166 return 0;
22167 }
22168 _ACEOF
22169 rm -f conftest$ac_exeext
22170 if { (ac_try="$ac_link"
22171 case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22174 esac
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_link") 2>&5
22177 ac_status=$?
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22180 { (case "(($ac_try" in
22181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22182 *) ac_try_echo=$ac_try;;
22183 esac
22184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22185 (eval "$ac_try") 2>&5
22186 ac_status=$?
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_sizeof_long_long=`cat conftest.val`
22190 else
22191 echo "$as_me: program exited with status $ac_status" >&5
22192 echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.$ac_ext >&5
22194
22195 ( exit $ac_status )
22196 if test "$ac_cv_type_long_long" = yes; then
22197 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22198 See \`config.log' for more details." >&5
22199 echo "$as_me: error: cannot compute sizeof (long long)
22200 See \`config.log' for more details." >&2;}
22201 { (exit 77); exit 77; }; }
22202 else
22203 ac_cv_sizeof_long_long=0
22204 fi
22205 fi
22206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22207 fi
22208 rm -f conftest.val
22209 fi
22210 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22211 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22212
22213
22214
22215 cat >>confdefs.h <<_ACEOF
22216 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22217 _ACEOF
22218
22219
22220 ;;
22221 *-hp-hpux* )
22222 { echo "$as_me:$LINENO: checking for long long" >&5
22223 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22224 if test "${ac_cv_type_long_long+set}" = set; then
22225 echo $ECHO_N "(cached) $ECHO_C" >&6
22226 else
22227 cat >conftest.$ac_ext <<_ACEOF
22228 /* confdefs.h. */
22229 _ACEOF
22230 cat confdefs.h >>conftest.$ac_ext
22231 cat >>conftest.$ac_ext <<_ACEOF
22232 /* end confdefs.h. */
22233 $ac_includes_default
22234 typedef long long ac__type_new_;
22235 int
22236 main ()
22237 {
22238 if ((ac__type_new_ *) 0)
22239 return 0;
22240 if (sizeof (ac__type_new_))
22241 return 0;
22242 ;
22243 return 0;
22244 }
22245 _ACEOF
22246 rm -f conftest.$ac_objext
22247 if { (ac_try="$ac_compile"
22248 case "(($ac_try" in
22249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22250 *) ac_try_echo=$ac_try;;
22251 esac
22252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22253 (eval "$ac_compile") 2>conftest.er1
22254 ac_status=$?
22255 grep -v '^ *+' conftest.er1 >conftest.err
22256 rm -f conftest.er1
22257 cat conftest.err >&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); } && {
22260 test -z "$ac_c_werror_flag" ||
22261 test ! -s conftest.err
22262 } && test -s conftest.$ac_objext; then
22263 ac_cv_type_long_long=yes
22264 else
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.$ac_ext >&5
22267
22268 ac_cv_type_long_long=no
22269 fi
22270
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272 fi
22273 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22274 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22275
22276 # The cast to long int works around a bug in the HP C Compiler
22277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22279 # This bug is HP SR number 8606223364.
22280 { echo "$as_me:$LINENO: checking size of long long" >&5
22281 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22282 if test "${ac_cv_sizeof_long_long+set}" = set; then
22283 echo $ECHO_N "(cached) $ECHO_C" >&6
22284 else
22285 if test "$cross_compiling" = yes; then
22286 # Depending upon the size, compute the lo and hi bounds.
22287 cat >conftest.$ac_ext <<_ACEOF
22288 /* confdefs.h. */
22289 _ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 $ac_includes_default
22294 typedef long long ac__type_sizeof_;
22295 int
22296 main ()
22297 {
22298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22299 test_array [0] = 0
22300
22301 ;
22302 return 0;
22303 }
22304 _ACEOF
22305 rm -f conftest.$ac_objext
22306 if { (ac_try="$ac_compile"
22307 case "(($ac_try" in
22308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22309 *) ac_try_echo=$ac_try;;
22310 esac
22311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22312 (eval "$ac_compile") 2>conftest.er1
22313 ac_status=$?
22314 grep -v '^ *+' conftest.er1 >conftest.err
22315 rm -f conftest.er1
22316 cat conftest.err >&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } && {
22319 test -z "$ac_c_werror_flag" ||
22320 test ! -s conftest.err
22321 } && test -s conftest.$ac_objext; then
22322 ac_lo=0 ac_mid=0
22323 while :; do
22324 cat >conftest.$ac_ext <<_ACEOF
22325 /* confdefs.h. */
22326 _ACEOF
22327 cat confdefs.h >>conftest.$ac_ext
22328 cat >>conftest.$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22330 $ac_includes_default
22331 typedef long long ac__type_sizeof_;
22332 int
22333 main ()
22334 {
22335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22336 test_array [0] = 0
22337
22338 ;
22339 return 0;
22340 }
22341 _ACEOF
22342 rm -f conftest.$ac_objext
22343 if { (ac_try="$ac_compile"
22344 case "(($ac_try" in
22345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22346 *) ac_try_echo=$ac_try;;
22347 esac
22348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22349 (eval "$ac_compile") 2>conftest.er1
22350 ac_status=$?
22351 grep -v '^ *+' conftest.er1 >conftest.err
22352 rm -f conftest.er1
22353 cat conftest.err >&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } && {
22356 test -z "$ac_c_werror_flag" ||
22357 test ! -s conftest.err
22358 } && test -s conftest.$ac_objext; then
22359 ac_hi=$ac_mid; break
22360 else
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.$ac_ext >&5
22363
22364 ac_lo=`expr $ac_mid + 1`
22365 if test $ac_lo -le $ac_mid; then
22366 ac_lo= ac_hi=
22367 break
22368 fi
22369 ac_mid=`expr 2 '*' $ac_mid + 1`
22370 fi
22371
22372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22373 done
22374 else
22375 echo "$as_me: failed program was:" >&5
22376 sed 's/^/| /' conftest.$ac_ext >&5
22377
22378 cat >conftest.$ac_ext <<_ACEOF
22379 /* confdefs.h. */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 typedef long long ac__type_sizeof_;
22386 int
22387 main ()
22388 {
22389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22390 test_array [0] = 0
22391
22392 ;
22393 return 0;
22394 }
22395 _ACEOF
22396 rm -f conftest.$ac_objext
22397 if { (ac_try="$ac_compile"
22398 case "(($ac_try" in
22399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22400 *) ac_try_echo=$ac_try;;
22401 esac
22402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22403 (eval "$ac_compile") 2>conftest.er1
22404 ac_status=$?
22405 grep -v '^ *+' conftest.er1 >conftest.err
22406 rm -f conftest.er1
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } && {
22410 test -z "$ac_c_werror_flag" ||
22411 test ! -s conftest.err
22412 } && test -s conftest.$ac_objext; then
22413 ac_hi=-1 ac_mid=-1
22414 while :; do
22415 cat >conftest.$ac_ext <<_ACEOF
22416 /* confdefs.h. */
22417 _ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef long long ac__type_sizeof_;
22423 int
22424 main ()
22425 {
22426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22427 test_array [0] = 0
22428
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 rm -f conftest.$ac_objext
22434 if { (ac_try="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22437 *) ac_try_echo=$ac_try;;
22438 esac
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22441 ac_status=$?
22442 grep -v '^ *+' conftest.er1 >conftest.err
22443 rm -f conftest.er1
22444 cat conftest.err >&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.$ac_objext; then
22450 ac_lo=$ac_mid; break
22451 else
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.$ac_ext >&5
22454
22455 ac_hi=`expr '(' $ac_mid ')' - 1`
22456 if test $ac_mid -le $ac_hi; then
22457 ac_lo= ac_hi=
22458 break
22459 fi
22460 ac_mid=`expr 2 '*' $ac_mid`
22461 fi
22462
22463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22464 done
22465 else
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22468
22469 ac_lo= ac_hi=
22470 fi
22471
22472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 fi
22474
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 # Binary search between lo and hi bounds.
22477 while test "x$ac_lo" != "x$ac_hi"; do
22478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22479 cat >conftest.$ac_ext <<_ACEOF
22480 /* confdefs.h. */
22481 _ACEOF
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 $ac_includes_default
22486 typedef long long ac__type_sizeof_;
22487 int
22488 main ()
22489 {
22490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22491 test_array [0] = 0
22492
22493 ;
22494 return 0;
22495 }
22496 _ACEOF
22497 rm -f conftest.$ac_objext
22498 if { (ac_try="$ac_compile"
22499 case "(($ac_try" in
22500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22502 esac
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_compile") 2>conftest.er1
22505 ac_status=$?
22506 grep -v '^ *+' conftest.er1 >conftest.err
22507 rm -f conftest.er1
22508 cat conftest.err >&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } && {
22511 test -z "$ac_c_werror_flag" ||
22512 test ! -s conftest.err
22513 } && test -s conftest.$ac_objext; then
22514 ac_hi=$ac_mid
22515 else
22516 echo "$as_me: failed program was:" >&5
22517 sed 's/^/| /' conftest.$ac_ext >&5
22518
22519 ac_lo=`expr '(' $ac_mid ')' + 1`
22520 fi
22521
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22523 done
22524 case $ac_lo in
22525 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22526 '') if test "$ac_cv_type_long_long" = yes; then
22527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22528 See \`config.log' for more details." >&5
22529 echo "$as_me: error: cannot compute sizeof (long long)
22530 See \`config.log' for more details." >&2;}
22531 { (exit 77); exit 77; }; }
22532 else
22533 ac_cv_sizeof_long_long=0
22534 fi ;;
22535 esac
22536 else
22537 cat >conftest.$ac_ext <<_ACEOF
22538 /* confdefs.h. */
22539 _ACEOF
22540 cat confdefs.h >>conftest.$ac_ext
22541 cat >>conftest.$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22543 $ac_includes_default
22544 typedef long long ac__type_sizeof_;
22545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22547 #include <stdio.h>
22548 #include <stdlib.h>
22549 int
22550 main ()
22551 {
22552
22553 FILE *f = fopen ("conftest.val", "w");
22554 if (! f)
22555 return 1;
22556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22557 {
22558 long int i = longval ();
22559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22560 return 1;
22561 fprintf (f, "%ld\n", i);
22562 }
22563 else
22564 {
22565 unsigned long int i = ulongval ();
22566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22567 return 1;
22568 fprintf (f, "%lu\n", i);
22569 }
22570 return ferror (f) || fclose (f) != 0;
22571
22572 ;
22573 return 0;
22574 }
22575 _ACEOF
22576 rm -f conftest$ac_exeext
22577 if { (ac_try="$ac_link"
22578 case "(($ac_try" in
22579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22580 *) ac_try_echo=$ac_try;;
22581 esac
22582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22583 (eval "$ac_link") 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22587 { (case "(($ac_try" in
22588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22589 *) ac_try_echo=$ac_try;;
22590 esac
22591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22592 (eval "$ac_try") 2>&5
22593 ac_status=$?
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 ac_cv_sizeof_long_long=`cat conftest.val`
22597 else
22598 echo "$as_me: program exited with status $ac_status" >&5
22599 echo "$as_me: failed program was:" >&5
22600 sed 's/^/| /' conftest.$ac_ext >&5
22601
22602 ( exit $ac_status )
22603 if test "$ac_cv_type_long_long" = yes; then
22604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22605 See \`config.log' for more details." >&5
22606 echo "$as_me: error: cannot compute sizeof (long long)
22607 See \`config.log' for more details." >&2;}
22608 { (exit 77); exit 77; }; }
22609 else
22610 ac_cv_sizeof_long_long=0
22611 fi
22612 fi
22613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22614 fi
22615 rm -f conftest.val
22616 fi
22617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22618 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22619
22620
22621
22622 cat >>confdefs.h <<_ACEOF
22623 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22624 _ACEOF
22625
22626
22627 if test "$ac_cv_sizeof_long_long" != 0; then
22628 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22629 fi
22630 ;;
22631 * )
22632 { echo "$as_me:$LINENO: checking for long long" >&5
22633 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22634 if test "${ac_cv_type_long_long+set}" = set; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 else
22637 cat >conftest.$ac_ext <<_ACEOF
22638 /* confdefs.h. */
22639 _ACEOF
22640 cat confdefs.h >>conftest.$ac_ext
22641 cat >>conftest.$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22643 $ac_includes_default
22644 typedef long long ac__type_new_;
22645 int
22646 main ()
22647 {
22648 if ((ac__type_new_ *) 0)
22649 return 0;
22650 if (sizeof (ac__type_new_))
22651 return 0;
22652 ;
22653 return 0;
22654 }
22655 _ACEOF
22656 rm -f conftest.$ac_objext
22657 if { (ac_try="$ac_compile"
22658 case "(($ac_try" in
22659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22660 *) ac_try_echo=$ac_try;;
22661 esac
22662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22663 (eval "$ac_compile") 2>conftest.er1
22664 ac_status=$?
22665 grep -v '^ *+' conftest.er1 >conftest.err
22666 rm -f conftest.er1
22667 cat conftest.err >&5
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); } && {
22670 test -z "$ac_c_werror_flag" ||
22671 test ! -s conftest.err
22672 } && test -s conftest.$ac_objext; then
22673 ac_cv_type_long_long=yes
22674 else
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.$ac_ext >&5
22677
22678 ac_cv_type_long_long=no
22679 fi
22680
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 fi
22683 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22684 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22685
22686 # The cast to long int works around a bug in the HP C Compiler
22687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22689 # This bug is HP SR number 8606223364.
22690 { echo "$as_me:$LINENO: checking size of long long" >&5
22691 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22692 if test "${ac_cv_sizeof_long_long+set}" = set; then
22693 echo $ECHO_N "(cached) $ECHO_C" >&6
22694 else
22695 if test "$cross_compiling" = yes; then
22696 # Depending upon the size, compute the lo and hi bounds.
22697 cat >conftest.$ac_ext <<_ACEOF
22698 /* confdefs.h. */
22699 _ACEOF
22700 cat confdefs.h >>conftest.$ac_ext
22701 cat >>conftest.$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 $ac_includes_default
22704 typedef long long ac__type_sizeof_;
22705 int
22706 main ()
22707 {
22708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22709 test_array [0] = 0
22710
22711 ;
22712 return 0;
22713 }
22714 _ACEOF
22715 rm -f conftest.$ac_objext
22716 if { (ac_try="$ac_compile"
22717 case "(($ac_try" in
22718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22719 *) ac_try_echo=$ac_try;;
22720 esac
22721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22722 (eval "$ac_compile") 2>conftest.er1
22723 ac_status=$?
22724 grep -v '^ *+' conftest.er1 >conftest.err
22725 rm -f conftest.er1
22726 cat conftest.err >&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); } && {
22729 test -z "$ac_c_werror_flag" ||
22730 test ! -s conftest.err
22731 } && test -s conftest.$ac_objext; then
22732 ac_lo=0 ac_mid=0
22733 while :; do
22734 cat >conftest.$ac_ext <<_ACEOF
22735 /* confdefs.h. */
22736 _ACEOF
22737 cat confdefs.h >>conftest.$ac_ext
22738 cat >>conftest.$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22740 $ac_includes_default
22741 typedef long long ac__type_sizeof_;
22742 int
22743 main ()
22744 {
22745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22746 test_array [0] = 0
22747
22748 ;
22749 return 0;
22750 }
22751 _ACEOF
22752 rm -f conftest.$ac_objext
22753 if { (ac_try="$ac_compile"
22754 case "(($ac_try" in
22755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22756 *) ac_try_echo=$ac_try;;
22757 esac
22758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22759 (eval "$ac_compile") 2>conftest.er1
22760 ac_status=$?
22761 grep -v '^ *+' conftest.er1 >conftest.err
22762 rm -f conftest.er1
22763 cat conftest.err >&5
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); } && {
22766 test -z "$ac_c_werror_flag" ||
22767 test ! -s conftest.err
22768 } && test -s conftest.$ac_objext; then
22769 ac_hi=$ac_mid; break
22770 else
22771 echo "$as_me: failed program was:" >&5
22772 sed 's/^/| /' conftest.$ac_ext >&5
22773
22774 ac_lo=`expr $ac_mid + 1`
22775 if test $ac_lo -le $ac_mid; then
22776 ac_lo= ac_hi=
22777 break
22778 fi
22779 ac_mid=`expr 2 '*' $ac_mid + 1`
22780 fi
22781
22782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22783 done
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22787
22788 cat >conftest.$ac_ext <<_ACEOF
22789 /* confdefs.h. */
22790 _ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 $ac_includes_default
22795 typedef long long ac__type_sizeof_;
22796 int
22797 main ()
22798 {
22799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22800 test_array [0] = 0
22801
22802 ;
22803 return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22811 esac
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22814 ac_status=$?
22815 grep -v '^ *+' conftest.er1 >conftest.err
22816 rm -f conftest.er1
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_c_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22823 ac_hi=-1 ac_mid=-1
22824 while :; do
22825 cat >conftest.$ac_ext <<_ACEOF
22826 /* confdefs.h. */
22827 _ACEOF
22828 cat confdefs.h >>conftest.$ac_ext
22829 cat >>conftest.$ac_ext <<_ACEOF
22830 /* end confdefs.h. */
22831 $ac_includes_default
22832 typedef long long ac__type_sizeof_;
22833 int
22834 main ()
22835 {
22836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22837 test_array [0] = 0
22838
22839 ;
22840 return 0;
22841 }
22842 _ACEOF
22843 rm -f conftest.$ac_objext
22844 if { (ac_try="$ac_compile"
22845 case "(($ac_try" in
22846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22847 *) ac_try_echo=$ac_try;;
22848 esac
22849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22850 (eval "$ac_compile") 2>conftest.er1
22851 ac_status=$?
22852 grep -v '^ *+' conftest.er1 >conftest.err
22853 rm -f conftest.er1
22854 cat conftest.err >&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } && {
22857 test -z "$ac_c_werror_flag" ||
22858 test ! -s conftest.err
22859 } && test -s conftest.$ac_objext; then
22860 ac_lo=$ac_mid; break
22861 else
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.$ac_ext >&5
22864
22865 ac_hi=`expr '(' $ac_mid ')' - 1`
22866 if test $ac_mid -le $ac_hi; then
22867 ac_lo= ac_hi=
22868 break
22869 fi
22870 ac_mid=`expr 2 '*' $ac_mid`
22871 fi
22872
22873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22874 done
22875 else
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.$ac_ext >&5
22878
22879 ac_lo= ac_hi=
22880 fi
22881
22882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22883 fi
22884
22885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 # Binary search between lo and hi bounds.
22887 while test "x$ac_lo" != "x$ac_hi"; do
22888 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22889 cat >conftest.$ac_ext <<_ACEOF
22890 /* confdefs.h. */
22891 _ACEOF
22892 cat confdefs.h >>conftest.$ac_ext
22893 cat >>conftest.$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22895 $ac_includes_default
22896 typedef long long ac__type_sizeof_;
22897 int
22898 main ()
22899 {
22900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22901 test_array [0] = 0
22902
22903 ;
22904 return 0;
22905 }
22906 _ACEOF
22907 rm -f conftest.$ac_objext
22908 if { (ac_try="$ac_compile"
22909 case "(($ac_try" in
22910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22911 *) ac_try_echo=$ac_try;;
22912 esac
22913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22914 (eval "$ac_compile") 2>conftest.er1
22915 ac_status=$?
22916 grep -v '^ *+' conftest.er1 >conftest.err
22917 rm -f conftest.er1
22918 cat conftest.err >&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); } && {
22921 test -z "$ac_c_werror_flag" ||
22922 test ! -s conftest.err
22923 } && test -s conftest.$ac_objext; then
22924 ac_hi=$ac_mid
22925 else
22926 echo "$as_me: failed program was:" >&5
22927 sed 's/^/| /' conftest.$ac_ext >&5
22928
22929 ac_lo=`expr '(' $ac_mid ')' + 1`
22930 fi
22931
22932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22933 done
22934 case $ac_lo in
22935 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22936 '') if test "$ac_cv_type_long_long" = yes; then
22937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22938 See \`config.log' for more details." >&5
22939 echo "$as_me: error: cannot compute sizeof (long long)
22940 See \`config.log' for more details." >&2;}
22941 { (exit 77); exit 77; }; }
22942 else
22943 ac_cv_sizeof_long_long=0
22944 fi ;;
22945 esac
22946 else
22947 cat >conftest.$ac_ext <<_ACEOF
22948 /* confdefs.h. */
22949 _ACEOF
22950 cat confdefs.h >>conftest.$ac_ext
22951 cat >>conftest.$ac_ext <<_ACEOF
22952 /* end confdefs.h. */
22953 $ac_includes_default
22954 typedef long long ac__type_sizeof_;
22955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22957 #include <stdio.h>
22958 #include <stdlib.h>
22959 int
22960 main ()
22961 {
22962
22963 FILE *f = fopen ("conftest.val", "w");
22964 if (! f)
22965 return 1;
22966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22967 {
22968 long int i = longval ();
22969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22970 return 1;
22971 fprintf (f, "%ld\n", i);
22972 }
22973 else
22974 {
22975 unsigned long int i = ulongval ();
22976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22977 return 1;
22978 fprintf (f, "%lu\n", i);
22979 }
22980 return ferror (f) || fclose (f) != 0;
22981
22982 ;
22983 return 0;
22984 }
22985 _ACEOF
22986 rm -f conftest$ac_exeext
22987 if { (ac_try="$ac_link"
22988 case "(($ac_try" in
22989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22990 *) ac_try_echo=$ac_try;;
22991 esac
22992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22993 (eval "$ac_link") 2>&5
22994 ac_status=$?
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22997 { (case "(($ac_try" in
22998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23000 esac
23001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_try") 2>&5
23003 ac_status=$?
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); }; }; then
23006 ac_cv_sizeof_long_long=`cat conftest.val`
23007 else
23008 echo "$as_me: program exited with status $ac_status" >&5
23009 echo "$as_me: failed program was:" >&5
23010 sed 's/^/| /' conftest.$ac_ext >&5
23011
23012 ( exit $ac_status )
23013 if test "$ac_cv_type_long_long" = yes; then
23014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23015 See \`config.log' for more details." >&5
23016 echo "$as_me: error: cannot compute sizeof (long long)
23017 See \`config.log' for more details." >&2;}
23018 { (exit 77); exit 77; }; }
23019 else
23020 ac_cv_sizeof_long_long=0
23021 fi
23022 fi
23023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23024 fi
23025 rm -f conftest.val
23026 fi
23027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23028 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23029
23030
23031
23032 cat >>confdefs.h <<_ACEOF
23033 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23034 _ACEOF
23035
23036
23037 esac
23038
23039 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23040 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23041 if test "${ac_cv_type_wchar_t+set}" = set; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23043 else
23044 cat >conftest.$ac_ext <<_ACEOF
23045 /* confdefs.h. */
23046 _ACEOF
23047 cat confdefs.h >>conftest.$ac_ext
23048 cat >>conftest.$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050
23051 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23052 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23053 # error "fake wchar_t"
23054 #endif
23055 #ifdef HAVE_WCHAR_H
23056 # ifdef __CYGWIN__
23057 # include <stddef.h>
23058 # endif
23059 # include <wchar.h>
23060 #endif
23061 #ifdef HAVE_STDLIB_H
23062 # include <stdlib.h>
23063 #endif
23064 #include <stdio.h>
23065
23066
23067
23068 typedef wchar_t ac__type_new_;
23069 int
23070 main ()
23071 {
23072 if ((ac__type_new_ *) 0)
23073 return 0;
23074 if (sizeof (ac__type_new_))
23075 return 0;
23076 ;
23077 return 0;
23078 }
23079 _ACEOF
23080 rm -f conftest.$ac_objext
23081 if { (ac_try="$ac_compile"
23082 case "(($ac_try" in
23083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23084 *) ac_try_echo=$ac_try;;
23085 esac
23086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23087 (eval "$ac_compile") 2>conftest.er1
23088 ac_status=$?
23089 grep -v '^ *+' conftest.er1 >conftest.err
23090 rm -f conftest.er1
23091 cat conftest.err >&5
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); } && {
23094 test -z "$ac_c_werror_flag" ||
23095 test ! -s conftest.err
23096 } && test -s conftest.$ac_objext; then
23097 ac_cv_type_wchar_t=yes
23098 else
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.$ac_ext >&5
23101
23102 ac_cv_type_wchar_t=no
23103 fi
23104
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 fi
23107 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23108 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23109
23110 # The cast to long int works around a bug in the HP C Compiler
23111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23113 # This bug is HP SR number 8606223364.
23114 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23115 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23116 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23117 echo $ECHO_N "(cached) $ECHO_C" >&6
23118 else
23119 if test "$cross_compiling" = yes; then
23120 # Depending upon the size, compute the lo and hi bounds.
23121 cat >conftest.$ac_ext <<_ACEOF
23122 /* confdefs.h. */
23123 _ACEOF
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23127
23128 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23129 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23130 # error "fake wchar_t"
23131 #endif
23132 #ifdef HAVE_WCHAR_H
23133 # ifdef __CYGWIN__
23134 # include <stddef.h>
23135 # endif
23136 # include <wchar.h>
23137 #endif
23138 #ifdef HAVE_STDLIB_H
23139 # include <stdlib.h>
23140 #endif
23141 #include <stdio.h>
23142
23143
23144
23145 typedef wchar_t ac__type_sizeof_;
23146 int
23147 main ()
23148 {
23149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23150 test_array [0] = 0
23151
23152 ;
23153 return 0;
23154 }
23155 _ACEOF
23156 rm -f conftest.$ac_objext
23157 if { (ac_try="$ac_compile"
23158 case "(($ac_try" in
23159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23160 *) ac_try_echo=$ac_try;;
23161 esac
23162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23163 (eval "$ac_compile") 2>conftest.er1
23164 ac_status=$?
23165 grep -v '^ *+' conftest.er1 >conftest.err
23166 rm -f conftest.er1
23167 cat conftest.err >&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); } && {
23170 test -z "$ac_c_werror_flag" ||
23171 test ! -s conftest.err
23172 } && test -s conftest.$ac_objext; then
23173 ac_lo=0 ac_mid=0
23174 while :; do
23175 cat >conftest.$ac_ext <<_ACEOF
23176 /* confdefs.h. */
23177 _ACEOF
23178 cat confdefs.h >>conftest.$ac_ext
23179 cat >>conftest.$ac_ext <<_ACEOF
23180 /* end confdefs.h. */
23181
23182 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23183 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23184 # error "fake wchar_t"
23185 #endif
23186 #ifdef HAVE_WCHAR_H
23187 # ifdef __CYGWIN__
23188 # include <stddef.h>
23189 # endif
23190 # include <wchar.h>
23191 #endif
23192 #ifdef HAVE_STDLIB_H
23193 # include <stdlib.h>
23194 #endif
23195 #include <stdio.h>
23196
23197
23198
23199 typedef wchar_t ac__type_sizeof_;
23200 int
23201 main ()
23202 {
23203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23204 test_array [0] = 0
23205
23206 ;
23207 return 0;
23208 }
23209 _ACEOF
23210 rm -f conftest.$ac_objext
23211 if { (ac_try="$ac_compile"
23212 case "(($ac_try" in
23213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23214 *) ac_try_echo=$ac_try;;
23215 esac
23216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23217 (eval "$ac_compile") 2>conftest.er1
23218 ac_status=$?
23219 grep -v '^ *+' conftest.er1 >conftest.err
23220 rm -f conftest.er1
23221 cat conftest.err >&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } && {
23224 test -z "$ac_c_werror_flag" ||
23225 test ! -s conftest.err
23226 } && test -s conftest.$ac_objext; then
23227 ac_hi=$ac_mid; break
23228 else
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.$ac_ext >&5
23231
23232 ac_lo=`expr $ac_mid + 1`
23233 if test $ac_lo -le $ac_mid; then
23234 ac_lo= ac_hi=
23235 break
23236 fi
23237 ac_mid=`expr 2 '*' $ac_mid + 1`
23238 fi
23239
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23241 done
23242 else
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.$ac_ext >&5
23245
23246 cat >conftest.$ac_ext <<_ACEOF
23247 /* confdefs.h. */
23248 _ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252
23253 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23254 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23255 # error "fake wchar_t"
23256 #endif
23257 #ifdef HAVE_WCHAR_H
23258 # ifdef __CYGWIN__
23259 # include <stddef.h>
23260 # endif
23261 # include <wchar.h>
23262 #endif
23263 #ifdef HAVE_STDLIB_H
23264 # include <stdlib.h>
23265 #endif
23266 #include <stdio.h>
23267
23268
23269
23270 typedef wchar_t ac__type_sizeof_;
23271 int
23272 main ()
23273 {
23274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23275 test_array [0] = 0
23276
23277 ;
23278 return 0;
23279 }
23280 _ACEOF
23281 rm -f conftest.$ac_objext
23282 if { (ac_try="$ac_compile"
23283 case "(($ac_try" in
23284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23285 *) ac_try_echo=$ac_try;;
23286 esac
23287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23288 (eval "$ac_compile") 2>conftest.er1
23289 ac_status=$?
23290 grep -v '^ *+' conftest.er1 >conftest.err
23291 rm -f conftest.er1
23292 cat conftest.err >&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } && {
23295 test -z "$ac_c_werror_flag" ||
23296 test ! -s conftest.err
23297 } && test -s conftest.$ac_objext; then
23298 ac_hi=-1 ac_mid=-1
23299 while :; do
23300 cat >conftest.$ac_ext <<_ACEOF
23301 /* confdefs.h. */
23302 _ACEOF
23303 cat confdefs.h >>conftest.$ac_ext
23304 cat >>conftest.$ac_ext <<_ACEOF
23305 /* end confdefs.h. */
23306
23307 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23308 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23309 # error "fake wchar_t"
23310 #endif
23311 #ifdef HAVE_WCHAR_H
23312 # ifdef __CYGWIN__
23313 # include <stddef.h>
23314 # endif
23315 # include <wchar.h>
23316 #endif
23317 #ifdef HAVE_STDLIB_H
23318 # include <stdlib.h>
23319 #endif
23320 #include <stdio.h>
23321
23322
23323
23324 typedef wchar_t ac__type_sizeof_;
23325 int
23326 main ()
23327 {
23328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23329 test_array [0] = 0
23330
23331 ;
23332 return 0;
23333 }
23334 _ACEOF
23335 rm -f conftest.$ac_objext
23336 if { (ac_try="$ac_compile"
23337 case "(($ac_try" in
23338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23339 *) ac_try_echo=$ac_try;;
23340 esac
23341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23342 (eval "$ac_compile") 2>conftest.er1
23343 ac_status=$?
23344 grep -v '^ *+' conftest.er1 >conftest.err
23345 rm -f conftest.er1
23346 cat conftest.err >&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); } && {
23349 test -z "$ac_c_werror_flag" ||
23350 test ! -s conftest.err
23351 } && test -s conftest.$ac_objext; then
23352 ac_lo=$ac_mid; break
23353 else
23354 echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.$ac_ext >&5
23356
23357 ac_hi=`expr '(' $ac_mid ')' - 1`
23358 if test $ac_mid -le $ac_hi; then
23359 ac_lo= ac_hi=
23360 break
23361 fi
23362 ac_mid=`expr 2 '*' $ac_mid`
23363 fi
23364
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 done
23367 else
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.$ac_ext >&5
23370
23371 ac_lo= ac_hi=
23372 fi
23373
23374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23375 fi
23376
23377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23378 # Binary search between lo and hi bounds.
23379 while test "x$ac_lo" != "x$ac_hi"; do
23380 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23381 cat >conftest.$ac_ext <<_ACEOF
23382 /* confdefs.h. */
23383 _ACEOF
23384 cat confdefs.h >>conftest.$ac_ext
23385 cat >>conftest.$ac_ext <<_ACEOF
23386 /* end confdefs.h. */
23387
23388 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23389 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23390 # error "fake wchar_t"
23391 #endif
23392 #ifdef HAVE_WCHAR_H
23393 # ifdef __CYGWIN__
23394 # include <stddef.h>
23395 # endif
23396 # include <wchar.h>
23397 #endif
23398 #ifdef HAVE_STDLIB_H
23399 # include <stdlib.h>
23400 #endif
23401 #include <stdio.h>
23402
23403
23404
23405 typedef wchar_t ac__type_sizeof_;
23406 int
23407 main ()
23408 {
23409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23410 test_array [0] = 0
23411
23412 ;
23413 return 0;
23414 }
23415 _ACEOF
23416 rm -f conftest.$ac_objext
23417 if { (ac_try="$ac_compile"
23418 case "(($ac_try" in
23419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23420 *) ac_try_echo=$ac_try;;
23421 esac
23422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23423 (eval "$ac_compile") 2>conftest.er1
23424 ac_status=$?
23425 grep -v '^ *+' conftest.er1 >conftest.err
23426 rm -f conftest.er1
23427 cat conftest.err >&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } && {
23430 test -z "$ac_c_werror_flag" ||
23431 test ! -s conftest.err
23432 } && test -s conftest.$ac_objext; then
23433 ac_hi=$ac_mid
23434 else
23435 echo "$as_me: failed program was:" >&5
23436 sed 's/^/| /' conftest.$ac_ext >&5
23437
23438 ac_lo=`expr '(' $ac_mid ')' + 1`
23439 fi
23440
23441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23442 done
23443 case $ac_lo in
23444 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23445 '') if test "$ac_cv_type_wchar_t" = yes; then
23446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23447 See \`config.log' for more details." >&5
23448 echo "$as_me: error: cannot compute sizeof (wchar_t)
23449 See \`config.log' for more details." >&2;}
23450 { (exit 77); exit 77; }; }
23451 else
23452 ac_cv_sizeof_wchar_t=0
23453 fi ;;
23454 esac
23455 else
23456 cat >conftest.$ac_ext <<_ACEOF
23457 /* confdefs.h. */
23458 _ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23462
23463 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23464 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23465 # error "fake wchar_t"
23466 #endif
23467 #ifdef HAVE_WCHAR_H
23468 # ifdef __CYGWIN__
23469 # include <stddef.h>
23470 # endif
23471 # include <wchar.h>
23472 #endif
23473 #ifdef HAVE_STDLIB_H
23474 # include <stdlib.h>
23475 #endif
23476 #include <stdio.h>
23477
23478
23479
23480 typedef wchar_t ac__type_sizeof_;
23481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23483 #include <stdio.h>
23484 #include <stdlib.h>
23485 int
23486 main ()
23487 {
23488
23489 FILE *f = fopen ("conftest.val", "w");
23490 if (! f)
23491 return 1;
23492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23493 {
23494 long int i = longval ();
23495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23496 return 1;
23497 fprintf (f, "%ld\n", i);
23498 }
23499 else
23500 {
23501 unsigned long int i = ulongval ();
23502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23503 return 1;
23504 fprintf (f, "%lu\n", i);
23505 }
23506 return ferror (f) || fclose (f) != 0;
23507
23508 ;
23509 return 0;
23510 }
23511 _ACEOF
23512 rm -f conftest$ac_exeext
23513 if { (ac_try="$ac_link"
23514 case "(($ac_try" in
23515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23516 *) ac_try_echo=$ac_try;;
23517 esac
23518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23519 (eval "$ac_link") 2>&5
23520 ac_status=$?
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23523 { (case "(($ac_try" in
23524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23525 *) ac_try_echo=$ac_try;;
23526 esac
23527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23528 (eval "$ac_try") 2>&5
23529 ac_status=$?
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); }; }; then
23532 ac_cv_sizeof_wchar_t=`cat conftest.val`
23533 else
23534 echo "$as_me: program exited with status $ac_status" >&5
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23537
23538 ( exit $ac_status )
23539 if test "$ac_cv_type_wchar_t" = yes; then
23540 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23541 See \`config.log' for more details." >&5
23542 echo "$as_me: error: cannot compute sizeof (wchar_t)
23543 See \`config.log' for more details." >&2;}
23544 { (exit 77); exit 77; }; }
23545 else
23546 ac_cv_sizeof_wchar_t=0
23547 fi
23548 fi
23549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23550 fi
23551 rm -f conftest.val
23552 fi
23553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23554 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23555
23556
23557
23558 cat >>confdefs.h <<_ACEOF
23559 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23560 _ACEOF
23561
23562
23563 if test "$ac_cv_sizeof_wchar_t" != 0; then
23564 wxUSE_WCHAR_T=yes
23565 else
23566 wxUSE_WCHAR_T=no
23567 fi
23568
23569 { echo "$as_me:$LINENO: checking for va_copy" >&5
23570 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23571 if test "${wx_cv_func_va_copy+set}" = set; then
23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23573 else
23574
23575 ac_ext=cpp
23576 ac_cpp='$CXXCPP $CPPFLAGS'
23577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23580
23581 cat >conftest.$ac_ext <<_ACEOF
23582
23583 #include <stdarg.h>
23584 void foo(char *f, ...)
23585 {
23586 va_list ap1, ap2;
23587 va_start(ap1, f);
23588 va_copy(ap2, ap1);
23589 va_end(ap2);
23590 va_end(ap1);
23591 }
23592 int main()
23593 {
23594 foo("hi", 17);
23595 return 0;
23596 }
23597 _ACEOF
23598 rm -f conftest.$ac_objext conftest$ac_exeext
23599 if { (ac_try="$ac_link"
23600 case "(($ac_try" in
23601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23602 *) ac_try_echo=$ac_try;;
23603 esac
23604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23605 (eval "$ac_link") 2>conftest.er1
23606 ac_status=$?
23607 grep -v '^ *+' conftest.er1 >conftest.err
23608 rm -f conftest.er1
23609 cat conftest.err >&5
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); } && {
23612 test -z "$ac_cxx_werror_flag" ||
23613 test ! -s conftest.err
23614 } && test -s conftest$ac_exeext &&
23615 $as_test_x conftest$ac_exeext; then
23616 wx_cv_func_va_copy=yes
23617 else
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.$ac_ext >&5
23620
23621 wx_cv_func_va_copy=no
23622
23623 fi
23624
23625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23626 conftest$ac_exeext conftest.$ac_ext
23627 ac_ext=c
23628 ac_cpp='$CPP $CPPFLAGS'
23629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23632
23633
23634
23635 fi
23636 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23637 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23638
23639 if test $wx_cv_func_va_copy = "yes"; then
23640 cat >>confdefs.h <<\_ACEOF
23641 #define HAVE_VA_COPY 1
23642 _ACEOF
23643
23644 else
23645 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23646 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23647 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23649 else
23650
23651 if test "$cross_compiling" = yes; then
23652 wx_cv_type_va_list_lvalue=yes
23653
23654 else
23655 cat >conftest.$ac_ext <<_ACEOF
23656
23657 #include <stdarg.h>
23658 int foo(char *f, ...)
23659 {
23660 va_list ap1, ap2;
23661 va_start(ap1, f);
23662 ap2 = ap1;
23663 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23664 return 1;
23665 va_end(ap2);
23666 va_end(ap1);
23667 return 0;
23668 }
23669 int main()
23670 {
23671 return foo("hi", 17);
23672 }
23673 _ACEOF
23674 rm -f conftest$ac_exeext
23675 if { (ac_try="$ac_link"
23676 case "(($ac_try" in
23677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23678 *) ac_try_echo=$ac_try;;
23679 esac
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_link") 2>&5
23682 ac_status=$?
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23685 { (case "(($ac_try" in
23686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23687 *) ac_try_echo=$ac_try;;
23688 esac
23689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23690 (eval "$ac_try") 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23694 wx_cv_type_va_list_lvalue=yes
23695 else
23696 echo "$as_me: program exited with status $ac_status" >&5
23697 echo "$as_me: failed program was:" >&5
23698 sed 's/^/| /' conftest.$ac_ext >&5
23699
23700 ( exit $ac_status )
23701 wx_cv_type_va_list_lvalue=no
23702 fi
23703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23704 fi
23705
23706
23707
23708
23709 fi
23710 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23711 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23712
23713 if test $wx_cv_type_va_list_lvalue != "yes"; then
23714 cat >>confdefs.h <<\_ACEOF
23715 #define VA_LIST_IS_ARRAY 1
23716 _ACEOF
23717
23718 fi
23719 fi
23720
23721 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23722
23723 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23724 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23725 if test "${wx_cv_have_variadic_macros+set}" = set; then
23726 echo $ECHO_N "(cached) $ECHO_C" >&6
23727 else
23728
23729 ac_ext=cpp
23730 ac_cpp='$CXXCPP $CPPFLAGS'
23731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23734
23735 cat >conftest.$ac_ext <<_ACEOF
23736 /* confdefs.h. */
23737 _ACEOF
23738 cat confdefs.h >>conftest.$ac_ext
23739 cat >>conftest.$ac_ext <<_ACEOF
23740 /* end confdefs.h. */
23741
23742 #include <stdio.h>
23743 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23744
23745 int
23746 main ()
23747 {
23748
23749 test("%s %d %p", "test", 1, 0);
23750
23751
23752 ;
23753 return 0;
23754 }
23755 _ACEOF
23756 rm -f conftest.$ac_objext
23757 if { (ac_try="$ac_compile"
23758 case "(($ac_try" in
23759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23760 *) ac_try_echo=$ac_try;;
23761 esac
23762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23763 (eval "$ac_compile") 2>conftest.er1
23764 ac_status=$?
23765 grep -v '^ *+' conftest.er1 >conftest.err
23766 rm -f conftest.er1
23767 cat conftest.err >&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); } && {
23770 test -z "$ac_cxx_werror_flag" ||
23771 test ! -s conftest.err
23772 } && test -s conftest.$ac_objext; then
23773 wx_cv_have_variadic_macros=yes
23774 else
23775 echo "$as_me: failed program was:" >&5
23776 sed 's/^/| /' conftest.$ac_ext >&5
23777
23778 wx_cv_have_variadic_macros=no
23779
23780 fi
23781
23782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23783 ac_ext=c
23784 ac_cpp='$CPP $CPPFLAGS'
23785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23788
23789
23790
23791 fi
23792 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23793 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23794
23795 if test $wx_cv_have_variadic_macros = "yes"; then
23796 cat >>confdefs.h <<\_ACEOF
23797 #define HAVE_VARIADIC_MACROS 1
23798 _ACEOF
23799
23800 fi
23801
23802 fi
23803
23804 LARGEFILE_CPPFLAGS=
23805 # Check whether --enable-largefile was given.
23806 if test "${enable_largefile+set}" = set; then
23807 enableval=$enable_largefile;
23808 fi
23809
23810 if test "$enable_largefile" != no; then
23811 wx_largefile=no
23812
23813 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23814 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23815 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23816 echo $ECHO_N "(cached) $ECHO_C" >&6
23817 else
23818
23819 cat >conftest.$ac_ext <<_ACEOF
23820 /* confdefs.h. */
23821 _ACEOF
23822 cat confdefs.h >>conftest.$ac_ext
23823 cat >>conftest.$ac_ext <<_ACEOF
23824 /* end confdefs.h. */
23825 #define _FILE_OFFSET_BITS 64
23826 #include <sys/types.h>
23827 int
23828 main ()
23829 {
23830 typedef struct {
23831 unsigned int field: sizeof(off_t) == 8;
23832 } wxlf;
23833
23834 ;
23835 return 0;
23836 }
23837 _ACEOF
23838 rm -f conftest.$ac_objext
23839 if { (ac_try="$ac_compile"
23840 case "(($ac_try" in
23841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842 *) ac_try_echo=$ac_try;;
23843 esac
23844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23845 (eval "$ac_compile") 2>conftest.er1
23846 ac_status=$?
23847 grep -v '^ *+' conftest.er1 >conftest.err
23848 rm -f conftest.er1
23849 cat conftest.err >&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } && {
23852 test -z "$ac_c_werror_flag" ||
23853 test ! -s conftest.err
23854 } && test -s conftest.$ac_objext; then
23855 ac_cv_sys_file_offset_bits=64
23856 else
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23859
23860 ac_cv_sys_file_offset_bits=no
23861 fi
23862
23863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23864
23865
23866 fi
23867 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23868 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23869
23870 if test "$ac_cv_sys_file_offset_bits" != no; then
23871 wx_largefile=yes
23872 cat >>confdefs.h <<_ACEOF
23873 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23874 _ACEOF
23875
23876 fi
23877
23878 if test "x$wx_largefile" != "xyes"; then
23879
23880 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23881 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23882 if test "${ac_cv_sys_large_files+set}" = set; then
23883 echo $ECHO_N "(cached) $ECHO_C" >&6
23884 else
23885
23886 cat >conftest.$ac_ext <<_ACEOF
23887 /* confdefs.h. */
23888 _ACEOF
23889 cat confdefs.h >>conftest.$ac_ext
23890 cat >>conftest.$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23892 #define _LARGE_FILES 1
23893 #include <sys/types.h>
23894 int
23895 main ()
23896 {
23897 typedef struct {
23898 unsigned int field: sizeof(off_t) == 8;
23899 } wxlf;
23900
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 rm -f conftest.$ac_objext
23906 if { (ac_try="$ac_compile"
23907 case "(($ac_try" in
23908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23909 *) ac_try_echo=$ac_try;;
23910 esac
23911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23912 (eval "$ac_compile") 2>conftest.er1
23913 ac_status=$?
23914 grep -v '^ *+' conftest.er1 >conftest.err
23915 rm -f conftest.er1
23916 cat conftest.err >&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } && {
23919 test -z "$ac_c_werror_flag" ||
23920 test ! -s conftest.err
23921 } && test -s conftest.$ac_objext; then
23922 ac_cv_sys_large_files=1
23923 else
23924 echo "$as_me: failed program was:" >&5
23925 sed 's/^/| /' conftest.$ac_ext >&5
23926
23927 ac_cv_sys_large_files=no
23928 fi
23929
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931
23932
23933 fi
23934 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23935 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23936
23937 if test "$ac_cv_sys_large_files" != no; then
23938 wx_largefile=yes
23939 cat >>confdefs.h <<_ACEOF
23940 #define _LARGE_FILES $ac_cv_sys_large_files
23941 _ACEOF
23942
23943 fi
23944
23945 fi
23946
23947 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23948 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23949 if test "x$wx_largefile" = "xyes"; then
23950 cat >>confdefs.h <<\_ACEOF
23951 #define HAVE_LARGEFILE_SUPPORT 1
23952 _ACEOF
23953
23954 fi
23955 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23956 echo "${ECHO_T}$wx_largefile" >&6; }
23957 fi
23958
23959 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23960 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23961 elif test "$ac_cv_sys_large_files" = 1; then
23962 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23963 fi
23964
23965 if test -n "$LARGEFILE_CPPFLAGS"; then
23966 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23967
23968 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23969 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23970 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23971 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23973 else
23974
23975 ac_ext=cpp
23976 ac_cpp='$CXXCPP $CPPFLAGS'
23977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23980
23981 cat >conftest.$ac_ext <<_ACEOF
23982 /* confdefs.h. */
23983 _ACEOF
23984 cat confdefs.h >>conftest.$ac_ext
23985 cat >>conftest.$ac_ext <<_ACEOF
23986 /* end confdefs.h. */
23987
23988 int
23989 main ()
23990 {
23991
23992 #ifndef __STDC_EXT__
23993 choke me
23994 #endif
23995
23996 ;
23997 return 0;
23998 }
23999 _ACEOF
24000 rm -f conftest.$ac_objext
24001 if { (ac_try="$ac_compile"
24002 case "(($ac_try" in
24003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24004 *) ac_try_echo=$ac_try;;
24005 esac
24006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24007 (eval "$ac_compile") 2>conftest.er1
24008 ac_status=$?
24009 grep -v '^ *+' conftest.er1 >conftest.err
24010 rm -f conftest.er1
24011 cat conftest.err >&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } && {
24014 test -z "$ac_cxx_werror_flag" ||
24015 test ! -s conftest.err
24016 } && test -s conftest.$ac_objext; then
24017 wx_cv_STDC_EXT_required=no
24018 else
24019 echo "$as_me: failed program was:" >&5
24020 sed 's/^/| /' conftest.$ac_ext >&5
24021
24022 wx_cv_STDC_EXT_required=yes
24023
24024 fi
24025
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24027 ac_ext=c
24028 ac_cpp='$CPP $CPPFLAGS'
24029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24032
24033
24034
24035 fi
24036 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24037 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24038 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24039 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24040 fi
24041 fi
24042 fi
24043
24044 ac_ext=cpp
24045 ac_cpp='$CXXCPP $CPPFLAGS'
24046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24049
24050 old_CPPFLAGS="$CPPFLAGS"
24051 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24052 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24053 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24054 if test "${ac_cv_sys_largefile_source+set}" = set; then
24055 echo $ECHO_N "(cached) $ECHO_C" >&6
24056 else
24057 while :; do
24058 cat >conftest.$ac_ext <<_ACEOF
24059 /* confdefs.h. */
24060 _ACEOF
24061 cat confdefs.h >>conftest.$ac_ext
24062 cat >>conftest.$ac_ext <<_ACEOF
24063 /* end confdefs.h. */
24064 #include <sys/types.h> /* for off_t */
24065 #include <stdio.h>
24066 int
24067 main ()
24068 {
24069 int (*fp) (FILE *, off_t, int) = fseeko;
24070 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24071 ;
24072 return 0;
24073 }
24074 _ACEOF
24075 rm -f conftest.$ac_objext conftest$ac_exeext
24076 if { (ac_try="$ac_link"
24077 case "(($ac_try" in
24078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24079 *) ac_try_echo=$ac_try;;
24080 esac
24081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24082 (eval "$ac_link") 2>conftest.er1
24083 ac_status=$?
24084 grep -v '^ *+' conftest.er1 >conftest.err
24085 rm -f conftest.er1
24086 cat conftest.err >&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } && {
24089 test -z "$ac_cxx_werror_flag" ||
24090 test ! -s conftest.err
24091 } && test -s conftest$ac_exeext &&
24092 $as_test_x conftest$ac_exeext; then
24093 ac_cv_sys_largefile_source=no; break
24094 else
24095 echo "$as_me: failed program was:" >&5
24096 sed 's/^/| /' conftest.$ac_ext >&5
24097
24098
24099 fi
24100
24101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24102 conftest$ac_exeext conftest.$ac_ext
24103 cat >conftest.$ac_ext <<_ACEOF
24104 /* confdefs.h. */
24105 _ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #define _LARGEFILE_SOURCE 1
24110 #include <sys/types.h> /* for off_t */
24111 #include <stdio.h>
24112 int
24113 main ()
24114 {
24115 int (*fp) (FILE *, off_t, int) = fseeko;
24116 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24117 ;
24118 return 0;
24119 }
24120 _ACEOF
24121 rm -f conftest.$ac_objext conftest$ac_exeext
24122 if { (ac_try="$ac_link"
24123 case "(($ac_try" in
24124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24125 *) ac_try_echo=$ac_try;;
24126 esac
24127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24128 (eval "$ac_link") 2>conftest.er1
24129 ac_status=$?
24130 grep -v '^ *+' conftest.er1 >conftest.err
24131 rm -f conftest.er1
24132 cat conftest.err >&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); } && {
24135 test -z "$ac_cxx_werror_flag" ||
24136 test ! -s conftest.err
24137 } && test -s conftest$ac_exeext &&
24138 $as_test_x conftest$ac_exeext; then
24139 ac_cv_sys_largefile_source=1; break
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24143
24144
24145 fi
24146
24147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24148 conftest$ac_exeext conftest.$ac_ext
24149 ac_cv_sys_largefile_source=unknown
24150 break
24151 done
24152 fi
24153 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24154 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24155 case $ac_cv_sys_largefile_source in #(
24156 no | unknown) ;;
24157 *)
24158 cat >>confdefs.h <<_ACEOF
24159 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24160 _ACEOF
24161 ;;
24162 esac
24163 rm -f conftest*
24164
24165 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24166 # in glibc 2.1.3, but that breaks too many other things.
24167 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24168 if test $ac_cv_sys_largefile_source != unknown; then
24169
24170 cat >>confdefs.h <<\_ACEOF
24171 #define HAVE_FSEEKO 1
24172 _ACEOF
24173
24174 fi
24175
24176 CPPFLAGS="$old_CPPFLAGS"
24177 ac_ext=c
24178 ac_cpp='$CPP $CPPFLAGS'
24179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24182
24183 if test "$ac_cv_sys_largefile_source" != no; then
24184 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24185 fi
24186
24187 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24188 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24189 if test "${ac_cv_c_bigendian+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24191 else
24192 ac_cv_c_bigendian=unknown
24193 # See if sys/param.h defines the BYTE_ORDER macro.
24194 cat >conftest.$ac_ext <<_ACEOF
24195 /* confdefs.h. */
24196 _ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200 #include <sys/types.h>
24201 #include <sys/param.h>
24202 int
24203 main ()
24204 {
24205
24206 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24207 bogus endian macros
24208 #endif
24209 ;
24210 return 0;
24211 }
24212 _ACEOF
24213 rm -f conftest.$ac_objext
24214 if { (ac_try="$ac_compile"
24215 case "(($ac_try" in
24216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24217 *) ac_try_echo=$ac_try;;
24218 esac
24219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24220 (eval "$ac_compile") 2>conftest.er1
24221 ac_status=$?
24222 grep -v '^ *+' conftest.er1 >conftest.err
24223 rm -f conftest.er1
24224 cat conftest.err >&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } && {
24227 test -z "$ac_c_werror_flag" ||
24228 test ! -s conftest.err
24229 } && test -s conftest.$ac_objext; then
24230 # It does; now see whether it defined to BIG_ENDIAN or not.
24231 cat >conftest.$ac_ext <<_ACEOF
24232 /* confdefs.h. */
24233 _ACEOF
24234 cat confdefs.h >>conftest.$ac_ext
24235 cat >>conftest.$ac_ext <<_ACEOF
24236 /* end confdefs.h. */
24237 #include <sys/types.h>
24238 #include <sys/param.h>
24239 int
24240 main ()
24241 {
24242
24243 #if BYTE_ORDER != BIG_ENDIAN
24244 not big endian
24245 #endif
24246 ;
24247 return 0;
24248 }
24249 _ACEOF
24250 rm -f conftest.$ac_objext
24251 if { (ac_try="$ac_compile"
24252 case "(($ac_try" in
24253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24254 *) ac_try_echo=$ac_try;;
24255 esac
24256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24257 (eval "$ac_compile") 2>conftest.er1
24258 ac_status=$?
24259 grep -v '^ *+' conftest.er1 >conftest.err
24260 rm -f conftest.er1
24261 cat conftest.err >&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } && {
24264 test -z "$ac_c_werror_flag" ||
24265 test ! -s conftest.err
24266 } && test -s conftest.$ac_objext; then
24267 ac_cv_c_bigendian=yes
24268 else
24269 echo "$as_me: failed program was:" >&5
24270 sed 's/^/| /' conftest.$ac_ext >&5
24271
24272 ac_cv_c_bigendian=no
24273 fi
24274
24275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280
24281 fi
24282
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 if test $ac_cv_c_bigendian = unknown; then
24285 if test "$cross_compiling" = yes; then
24286 ac_cv_c_bigendian=unknown
24287 else
24288 cat >conftest.$ac_ext <<_ACEOF
24289 /* confdefs.h. */
24290 _ACEOF
24291 cat confdefs.h >>conftest.$ac_ext
24292 cat >>conftest.$ac_ext <<_ACEOF
24293 /* end confdefs.h. */
24294 main () {
24295 /* Are we little or big endian? From Harbison&Steele. */
24296 union
24297 {
24298 long l;
24299 char c[sizeof (long)];
24300 } u;
24301 u.l = 1;
24302 exit (u.c[sizeof (long) - 1] == 1);
24303 }
24304 _ACEOF
24305 rm -f conftest$ac_exeext
24306 if { (ac_try="$ac_link"
24307 case "(($ac_try" in
24308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24309 *) ac_try_echo=$ac_try;;
24310 esac
24311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24312 (eval "$ac_link") 2>&5
24313 ac_status=$?
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24316 { (case "(($ac_try" in
24317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24318 *) ac_try_echo=$ac_try;;
24319 esac
24320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24321 (eval "$ac_try") 2>&5
24322 ac_status=$?
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); }; }; then
24325 ac_cv_c_bigendian=no
24326 else
24327 echo "$as_me: program exited with status $ac_status" >&5
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.$ac_ext >&5
24330
24331 ( exit $ac_status )
24332 ac_cv_c_bigendian=yes
24333 fi
24334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24335 fi
24336
24337
24338 fi
24339 fi
24340 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24341 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24342 if test $ac_cv_c_bigendian = unknown; then
24343 { 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
24344 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;}
24345 fi
24346 if test $ac_cv_c_bigendian = yes; then
24347 cat >>confdefs.h <<\_ACEOF
24348 #define WORDS_BIGENDIAN 1
24349 _ACEOF
24350
24351 fi
24352
24353
24354
24355
24356 ac_ext=cpp
24357 ac_cpp='$CXXCPP $CPPFLAGS'
24358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24361
24362
24363
24364 for ac_header in iostream
24365 do
24366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24371 else
24372 cat >conftest.$ac_ext <<_ACEOF
24373 /* confdefs.h. */
24374 _ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378
24379
24380 #include <$ac_header>
24381 _ACEOF
24382 rm -f conftest.$ac_objext
24383 if { (ac_try="$ac_compile"
24384 case "(($ac_try" in
24385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24386 *) ac_try_echo=$ac_try;;
24387 esac
24388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24389 (eval "$ac_compile") 2>conftest.er1
24390 ac_status=$?
24391 grep -v '^ *+' conftest.er1 >conftest.err
24392 rm -f conftest.er1
24393 cat conftest.err >&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); } && {
24396 test -z "$ac_cxx_werror_flag" ||
24397 test ! -s conftest.err
24398 } && test -s conftest.$ac_objext; then
24399 eval "$as_ac_Header=yes"
24400 else
24401 echo "$as_me: failed program was:" >&5
24402 sed 's/^/| /' conftest.$ac_ext >&5
24403
24404 eval "$as_ac_Header=no"
24405 fi
24406
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 fi
24409 ac_res=`eval echo '${'$as_ac_Header'}'`
24410 { echo "$as_me:$LINENO: result: $ac_res" >&5
24411 echo "${ECHO_T}$ac_res" >&6; }
24412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24413 cat >>confdefs.h <<_ACEOF
24414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24415 _ACEOF
24416
24417 fi
24418
24419 done
24420
24421
24422 if test "$ac_cv_header_iostream" = "yes" ; then
24423 :
24424 else
24425 cat >>confdefs.h <<\_ACEOF
24426 #define wxUSE_IOSTREAMH 1
24427 _ACEOF
24428
24429 fi
24430
24431 ac_ext=c
24432 ac_cpp='$CPP $CPPFLAGS'
24433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24436
24437
24438
24439
24440 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24441 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24442 if test "${wx_cv_explicit+set}" = set; then
24443 echo $ECHO_N "(cached) $ECHO_C" >&6
24444 else
24445
24446
24447 ac_ext=cpp
24448 ac_cpp='$CXXCPP $CPPFLAGS'
24449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24452
24453
24454 cat >conftest.$ac_ext <<_ACEOF
24455 /* confdefs.h. */
24456 _ACEOF
24457 cat confdefs.h >>conftest.$ac_ext
24458 cat >>conftest.$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24460
24461 class Foo { public: explicit Foo(int) {} };
24462
24463 int
24464 main ()
24465 {
24466
24467 return 0;
24468
24469 ;
24470 return 0;
24471 }
24472 _ACEOF
24473 rm -f conftest.$ac_objext
24474 if { (ac_try="$ac_compile"
24475 case "(($ac_try" in
24476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24477 *) ac_try_echo=$ac_try;;
24478 esac
24479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24480 (eval "$ac_compile") 2>conftest.er1
24481 ac_status=$?
24482 grep -v '^ *+' conftest.er1 >conftest.err
24483 rm -f conftest.er1
24484 cat conftest.err >&5
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); } && {
24487 test -z "$ac_cxx_werror_flag" ||
24488 test ! -s conftest.err
24489 } && test -s conftest.$ac_objext; then
24490
24491 cat >conftest.$ac_ext <<_ACEOF
24492 /* confdefs.h. */
24493 _ACEOF
24494 cat confdefs.h >>conftest.$ac_ext
24495 cat >>conftest.$ac_ext <<_ACEOF
24496 /* end confdefs.h. */
24497
24498 class Foo { public: explicit Foo(int) {} };
24499 static void TakeFoo(const Foo& foo) { }
24500
24501 int
24502 main ()
24503 {
24504
24505 TakeFoo(17);
24506 return 0;
24507
24508 ;
24509 return 0;
24510 }
24511 _ACEOF
24512 rm -f conftest.$ac_objext
24513 if { (ac_try="$ac_compile"
24514 case "(($ac_try" in
24515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24516 *) ac_try_echo=$ac_try;;
24517 esac
24518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24519 (eval "$ac_compile") 2>conftest.er1
24520 ac_status=$?
24521 grep -v '^ *+' conftest.er1 >conftest.err
24522 rm -f conftest.er1
24523 cat conftest.err >&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); } && {
24526 test -z "$ac_cxx_werror_flag" ||
24527 test ! -s conftest.err
24528 } && test -s conftest.$ac_objext; then
24529 wx_cv_explicit=no
24530 else
24531 echo "$as_me: failed program was:" >&5
24532 sed 's/^/| /' conftest.$ac_ext >&5
24533
24534 wx_cv_explicit=yes
24535
24536 fi
24537
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539
24540 else
24541 echo "$as_me: failed program was:" >&5
24542 sed 's/^/| /' conftest.$ac_ext >&5
24543
24544 wx_cv_explicit=no
24545
24546 fi
24547
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24555
24556
24557 fi
24558 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24559 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24560
24561 if test "$wx_cv_explicit" = "yes"; then
24562 cat >>confdefs.h <<\_ACEOF
24563 #define HAVE_EXPLICIT 1
24564 _ACEOF
24565
24566 fi
24567
24568
24569 if test "x$SUNCXX" = xyes; then
24570 CXXFLAGS="-features=tmplife $CXXFLAGS"
24571 fi
24572
24573 if test "x$SUNCC" = xyes; then
24574 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24575 fi
24576
24577 if test "x$SGICC" = "xyes"; then
24578 CFLAGS="-woff 3970 $CFLAGS"
24579 fi
24580 if test "x$SGICXX" = "xyes"; then
24581 CXXFLAGS="-woff 3970 $CXXFLAGS"
24582 fi
24583
24584 if test "x$HPCC" = "xyes"; then
24585 CFLAGS="+W 2011,2450 $CFLAGS"
24586 fi
24587 if test "x$HPCXX" = "xyes"; then
24588 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24589 fi
24590
24591 if test "x$COMPAQCXX" = "xyes"; then
24592 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24593 fi
24594
24595 ac_ext=cpp
24596 ac_cpp='$CXXCPP $CPPFLAGS'
24597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24600
24601
24602 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24603 if test "$wxUSE_UNICODE" = "yes"; then
24604 std_string="std::wstring"
24605 char_type="wchar_t"
24606 else
24607 std_string="std::string"
24608 char_type="char"
24609 fi
24610
24611 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24612 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24613 if test "${wx_cv_class_stdstring+set}" = set; then
24614 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 else
24616
24617 cat >conftest.$ac_ext <<_ACEOF
24618 /* confdefs.h. */
24619 _ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h. */
24623 #include <string>
24624 int
24625 main ()
24626 {
24627 $std_string foo;
24628 ;
24629 return 0;
24630 }
24631 _ACEOF
24632 rm -f conftest.$ac_objext
24633 if { (ac_try="$ac_compile"
24634 case "(($ac_try" in
24635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24636 *) ac_try_echo=$ac_try;;
24637 esac
24638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24639 (eval "$ac_compile") 2>conftest.er1
24640 ac_status=$?
24641 grep -v '^ *+' conftest.er1 >conftest.err
24642 rm -f conftest.er1
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } && {
24646 test -z "$ac_cxx_werror_flag" ||
24647 test ! -s conftest.err
24648 } && test -s conftest.$ac_objext; then
24649 wx_cv_class_stdstring=yes
24650 else
24651 echo "$as_me: failed program was:" >&5
24652 sed 's/^/| /' conftest.$ac_ext >&5
24653
24654 wx_cv_class_stdstring=no
24655
24656 fi
24657
24658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24659
24660
24661 fi
24662 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24663 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24664
24665 if test "$wx_cv_class_stdstring" = yes; then
24666 if test "$wxUSE_UNICODE" = "yes"; then
24667 cat >>confdefs.h <<\_ACEOF
24668 #define HAVE_STD_WSTRING 1
24669 _ACEOF
24670
24671 fi
24672 else
24673 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24674 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24675 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24676 echo $ECHO_N "(cached) $ECHO_C" >&6
24677 else
24678
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685
24686 #ifdef HAVE_WCHAR_H
24687 # ifdef __CYGWIN__
24688 # include <stddef.h>
24689 # endif
24690 # include <wchar.h>
24691 #endif
24692 #ifdef HAVE_STDLIB_H
24693 # include <stdlib.h>
24694 #endif
24695 #include <stdio.h>
24696 #include <string>
24697
24698 int
24699 main ()
24700 {
24701 std::basic_string<$char_type> foo;
24702 const $char_type* dummy = foo.c_str();
24703 ;
24704 return 0;
24705 }
24706 _ACEOF
24707 rm -f conftest.$ac_objext
24708 if { (ac_try="$ac_compile"
24709 case "(($ac_try" in
24710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24711 *) ac_try_echo=$ac_try;;
24712 esac
24713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24714 (eval "$ac_compile") 2>conftest.er1
24715 ac_status=$?
24716 grep -v '^ *+' conftest.er1 >conftest.err
24717 rm -f conftest.er1
24718 cat conftest.err >&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); } && {
24721 test -z "$ac_cxx_werror_flag" ||
24722 test ! -s conftest.err
24723 } && test -s conftest.$ac_objext; then
24724 wx_cv_class_stdbasicstring=yes
24725 else
24726 echo "$as_me: failed program was:" >&5
24727 sed 's/^/| /' conftest.$ac_ext >&5
24728
24729 wx_cv_class_stdbasicstring=no
24730
24731 fi
24732
24733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24734
24735
24736 fi
24737 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24738 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24739
24740 if test "$wx_cv_class_stdbasicstring" != yes; then
24741 if test "$wxUSE_STL" = "yes"; then
24742 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24743 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24744 { (exit 1); exit 1; }; }
24745 elif test "$wxUSE_STD_STRING" = "yes"; then
24746 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24747 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24748 { (exit 1); exit 1; }; }
24749 else
24750 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24751 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24752 wxUSE_STD_STRING=no
24753 fi
24754 fi
24755 fi
24756 fi
24757
24758 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24759 { echo "$as_me:$LINENO: checking for std::istream" >&5
24760 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24761 if test "${ac_cv_type_std__istream+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 else
24764 cat >conftest.$ac_ext <<_ACEOF
24765 /* confdefs.h. */
24766 _ACEOF
24767 cat confdefs.h >>conftest.$ac_ext
24768 cat >>conftest.$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 #include <iostream>
24771
24772 typedef std::istream ac__type_new_;
24773 int
24774 main ()
24775 {
24776 if ((ac__type_new_ *) 0)
24777 return 0;
24778 if (sizeof (ac__type_new_))
24779 return 0;
24780 ;
24781 return 0;
24782 }
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24789 esac
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24792 ac_status=$?
24793 grep -v '^ *+' conftest.er1 >conftest.err
24794 rm -f conftest.er1
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 ac_cv_type_std__istream=yes
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 ac_cv_type_std__istream=no
24807 fi
24808
24809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24810 fi
24811 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24812 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24813 if test $ac_cv_type_std__istream = yes; then
24814
24815 cat >>confdefs.h <<_ACEOF
24816 #define HAVE_STD__ISTREAM 1
24817 _ACEOF
24818
24819
24820 else
24821 wxUSE_STD_IOSTREAM=no
24822 fi
24823 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24824 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24825 if test "${ac_cv_type_std__ostream+set}" = set; then
24826 echo $ECHO_N "(cached) $ECHO_C" >&6
24827 else
24828 cat >conftest.$ac_ext <<_ACEOF
24829 /* confdefs.h. */
24830 _ACEOF
24831 cat confdefs.h >>conftest.$ac_ext
24832 cat >>conftest.$ac_ext <<_ACEOF
24833 /* end confdefs.h. */
24834 #include <iostream>
24835
24836 typedef std::ostream ac__type_new_;
24837 int
24838 main ()
24839 {
24840 if ((ac__type_new_ *) 0)
24841 return 0;
24842 if (sizeof (ac__type_new_))
24843 return 0;
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 rm -f conftest.$ac_objext
24849 if { (ac_try="$ac_compile"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852 *) ac_try_echo=$ac_try;;
24853 esac
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_compile") 2>conftest.er1
24856 ac_status=$?
24857 grep -v '^ *+' conftest.er1 >conftest.err
24858 rm -f conftest.er1
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_cxx_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest.$ac_objext; then
24865 ac_cv_type_std__ostream=yes
24866 else
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.$ac_ext >&5
24869
24870 ac_cv_type_std__ostream=no
24871 fi
24872
24873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24874 fi
24875 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24876 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24877 if test $ac_cv_type_std__ostream = yes; then
24878
24879 cat >>confdefs.h <<_ACEOF
24880 #define HAVE_STD__OSTREAM 1
24881 _ACEOF
24882
24883
24884 else
24885 wxUSE_STD_IOSTREAM=no
24886 fi
24887
24888
24889 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24890 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24891 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24892 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24893 { (exit 1); exit 1; }; }
24894 else
24895 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24896 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24897 fi
24898 fi
24899 fi
24900
24901 if test "$wxUSE_STL" = "yes"; then
24902 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24903 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24904 if test "${wx_cv_lib_stl+set}" = set; then
24905 echo $ECHO_N "(cached) $ECHO_C" >&6
24906 else
24907 cat >conftest.$ac_ext <<_ACEOF
24908 /* confdefs.h. */
24909 _ACEOF
24910 cat confdefs.h >>conftest.$ac_ext
24911 cat >>conftest.$ac_ext <<_ACEOF
24912 /* end confdefs.h. */
24913 #include <string>
24914 #include <functional>
24915 #include <algorithm>
24916 #include <vector>
24917 #include <list>
24918 int
24919 main ()
24920 {
24921 std::vector<int> moo;
24922 std::list<int> foo;
24923 std::vector<int>::iterator it =
24924 std::find_if(moo.begin(), moo.end(),
24925 std::bind2nd(std::less<int>(), 3));
24926 ;
24927 return 0;
24928 }
24929 _ACEOF
24930 rm -f conftest.$ac_objext
24931 if { (ac_try="$ac_compile"
24932 case "(($ac_try" in
24933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24934 *) ac_try_echo=$ac_try;;
24935 esac
24936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24937 (eval "$ac_compile") 2>conftest.er1
24938 ac_status=$?
24939 grep -v '^ *+' conftest.er1 >conftest.err
24940 rm -f conftest.er1
24941 cat conftest.err >&5
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); } && {
24944 test -z "$ac_cxx_werror_flag" ||
24945 test ! -s conftest.err
24946 } && test -s conftest.$ac_objext; then
24947 wx_cv_lib_stl=yes
24948 else
24949 echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.$ac_ext >&5
24951
24952 wx_cv_lib_stl=no
24953
24954 fi
24955
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957
24958 fi
24959 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24960 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24961
24962 if test "$wx_cv_lib_stl" != yes; then
24963 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24964 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24965 { (exit 1); exit 1; }; }
24966 fi
24967
24968 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24969 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24970 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24971 echo $ECHO_N "(cached) $ECHO_C" >&6
24972 else
24973 cat >conftest.$ac_ext <<_ACEOF
24974 /* confdefs.h. */
24975 _ACEOF
24976 cat confdefs.h >>conftest.$ac_ext
24977 cat >>conftest.$ac_ext <<_ACEOF
24978 /* end confdefs.h. */
24979 #include <string>
24980 int
24981 main ()
24982 {
24983 std::string foo, bar;
24984 foo.compare(bar);
24985 foo.compare(1, 1, bar);
24986 foo.compare(1, 1, bar, 1, 1);
24987 foo.compare("");
24988 foo.compare(1, 1, "");
24989 foo.compare(1, 1, "", 2);
24990 ;
24991 return 0;
24992 }
24993 _ACEOF
24994 rm -f conftest.$ac_objext
24995 if { (ac_try="$ac_compile"
24996 case "(($ac_try" in
24997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24998 *) ac_try_echo=$ac_try;;
24999 esac
25000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25001 (eval "$ac_compile") 2>conftest.er1
25002 ac_status=$?
25003 grep -v '^ *+' conftest.er1 >conftest.err
25004 rm -f conftest.er1
25005 cat conftest.err >&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } && {
25008 test -z "$ac_cxx_werror_flag" ||
25009 test ! -s conftest.err
25010 } && test -s conftest.$ac_objext; then
25011 wx_cv_func_stdstring_compare=yes
25012 else
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.$ac_ext >&5
25015
25016 wx_cv_func_stdstring_compare=no
25017
25018 fi
25019
25020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25021
25022 fi
25023 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25024 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25025
25026 if test "$wx_cv_func_stdstring_compare" = yes; then
25027 cat >>confdefs.h <<\_ACEOF
25028 #define HAVE_STD_STRING_COMPARE 1
25029 _ACEOF
25030
25031 fi
25032
25033 if test "$wx_cv_class_gnuhashmapset" = yes; then
25034 cat >>confdefs.h <<\_ACEOF
25035 #define HAVE_EXT_HASH_MAP 1
25036 _ACEOF
25037
25038 cat >>confdefs.h <<\_ACEOF
25039 #define HAVE_GNU_CXX_HASH_MAP 1
25040 _ACEOF
25041
25042 fi
25043
25044 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25045 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25046 if test "${ac_cv_header_unordered_map+set}" = set; then
25047 echo $ECHO_N "(cached) $ECHO_C" >&6
25048 else
25049 cat >conftest.$ac_ext <<_ACEOF
25050 /* confdefs.h. */
25051 _ACEOF
25052 cat confdefs.h >>conftest.$ac_ext
25053 cat >>conftest.$ac_ext <<_ACEOF
25054 /* end confdefs.h. */
25055
25056
25057
25058 #include <unordered_map>
25059 _ACEOF
25060 rm -f conftest.$ac_objext
25061 if { (ac_try="$ac_compile"
25062 case "(($ac_try" in
25063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25064 *) ac_try_echo=$ac_try;;
25065 esac
25066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25067 (eval "$ac_compile") 2>conftest.er1
25068 ac_status=$?
25069 grep -v '^ *+' conftest.er1 >conftest.err
25070 rm -f conftest.er1
25071 cat conftest.err >&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); } && {
25074 test -z "$ac_cxx_werror_flag" ||
25075 test ! -s conftest.err
25076 } && test -s conftest.$ac_objext; then
25077 ac_cv_header_unordered_map=yes
25078 else
25079 echo "$as_me: failed program was:" >&5
25080 sed 's/^/| /' conftest.$ac_ext >&5
25081
25082 ac_cv_header_unordered_map=no
25083 fi
25084
25085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25086 fi
25087 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25088 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25089 if test $ac_cv_header_unordered_map = yes; then
25090 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25091 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25092 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25093 echo $ECHO_N "(cached) $ECHO_C" >&6
25094 else
25095 cat >conftest.$ac_ext <<_ACEOF
25096 /* confdefs.h. */
25097 _ACEOF
25098 cat confdefs.h >>conftest.$ac_ext
25099 cat >>conftest.$ac_ext <<_ACEOF
25100 /* end confdefs.h. */
25101 #include <unordered_map>
25102 #include <unordered_set>
25103 int
25104 main ()
25105 {
25106 std::unordered_map<double*, char*> test1;
25107 std::unordered_set<char*> test2;
25108 ;
25109 return 0;
25110 }
25111 _ACEOF
25112 rm -f conftest.$ac_objext
25113 if { (ac_try="$ac_compile"
25114 case "(($ac_try" in
25115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25116 *) ac_try_echo=$ac_try;;
25117 esac
25118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25119 (eval "$ac_compile") 2>conftest.er1
25120 ac_status=$?
25121 grep -v '^ *+' conftest.er1 >conftest.err
25122 rm -f conftest.er1
25123 cat conftest.err >&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); } && {
25126 test -z "$ac_cxx_werror_flag" ||
25127 test ! -s conftest.err
25128 } && test -s conftest.$ac_objext; then
25129 wx_cv_class_stdunorderedmapset=yes
25130 else
25131 echo "$as_me: failed program was:" >&5
25132 sed 's/^/| /' conftest.$ac_ext >&5
25133
25134 wx_cv_class_stdunorderedmapset=no
25135 fi
25136
25137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25138
25139
25140 fi
25141 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25142 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25143 fi
25144
25145
25146
25147 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25148 cat >>confdefs.h <<\_ACEOF
25149 #define HAVE_STD_UNORDERED_MAP 1
25150 _ACEOF
25151
25152 cat >>confdefs.h <<\_ACEOF
25153 #define HAVE_STD_UNORDERED_SET 1
25154 _ACEOF
25155
25156 else
25157 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25158 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25159 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25161 else
25162 cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h. */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168
25169
25170
25171 #include <tr1/unordered_map>
25172 _ACEOF
25173 rm -f conftest.$ac_objext
25174 if { (ac_try="$ac_compile"
25175 case "(($ac_try" in
25176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25177 *) ac_try_echo=$ac_try;;
25178 esac
25179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25180 (eval "$ac_compile") 2>conftest.er1
25181 ac_status=$?
25182 grep -v '^ *+' conftest.er1 >conftest.err
25183 rm -f conftest.er1
25184 cat conftest.err >&5
25185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25186 (exit $ac_status); } && {
25187 test -z "$ac_cxx_werror_flag" ||
25188 test ! -s conftest.err
25189 } && test -s conftest.$ac_objext; then
25190 ac_cv_header_tr1_unordered_map=yes
25191 else
25192 echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.$ac_ext >&5
25194
25195 ac_cv_header_tr1_unordered_map=no
25196 fi
25197
25198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25199 fi
25200 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25201 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25202 if test $ac_cv_header_tr1_unordered_map = yes; then
25203 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25204 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25205 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25206 echo $ECHO_N "(cached) $ECHO_C" >&6
25207 else
25208 cat >conftest.$ac_ext <<_ACEOF
25209 /* confdefs.h. */
25210 _ACEOF
25211 cat confdefs.h >>conftest.$ac_ext
25212 cat >>conftest.$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25214 #include <tr1/unordered_map>
25215 #include <tr1/unordered_set>
25216 int
25217 main ()
25218 {
25219 std::tr1::unordered_map<double*, char*> test1;
25220 std::tr1::unordered_set<char*> test2;
25221 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25222 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25223 #endif
25224 ;
25225 return 0;
25226 }
25227 _ACEOF
25228 rm -f conftest.$ac_objext
25229 if { (ac_try="$ac_compile"
25230 case "(($ac_try" in
25231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25232 *) ac_try_echo=$ac_try;;
25233 esac
25234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25235 (eval "$ac_compile") 2>conftest.er1
25236 ac_status=$?
25237 grep -v '^ *+' conftest.er1 >conftest.err
25238 rm -f conftest.er1
25239 cat conftest.err >&5
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); } && {
25242 test -z "$ac_cxx_werror_flag" ||
25243 test ! -s conftest.err
25244 } && test -s conftest.$ac_objext; then
25245 wx_cv_class_tr1unorderedmapset=yes
25246 else
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.$ac_ext >&5
25249
25250 wx_cv_class_tr1unorderedmapset=no
25251 fi
25252
25253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25254
25255
25256 fi
25257 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25258 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25259 fi
25260
25261
25262
25263 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25264 cat >>confdefs.h <<\_ACEOF
25265 #define HAVE_TR1_UNORDERED_MAP 1
25266 _ACEOF
25267
25268 cat >>confdefs.h <<\_ACEOF
25269 #define HAVE_TR1_UNORDERED_SET 1
25270 _ACEOF
25271
25272 else
25273 { echo "$as_me:$LINENO: checking for hash_map" >&5
25274 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25275 if test "${ac_cv_header_hash_map+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25277 else
25278 cat >conftest.$ac_ext <<_ACEOF
25279 /* confdefs.h. */
25280 _ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25284
25285
25286
25287 #include <hash_map>
25288 _ACEOF
25289 rm -f conftest.$ac_objext
25290 if { (ac_try="$ac_compile"
25291 case "(($ac_try" in
25292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25293 *) ac_try_echo=$ac_try;;
25294 esac
25295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25296 (eval "$ac_compile") 2>conftest.er1
25297 ac_status=$?
25298 grep -v '^ *+' conftest.er1 >conftest.err
25299 rm -f conftest.er1
25300 cat conftest.err >&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && {
25303 test -z "$ac_cxx_werror_flag" ||
25304 test ! -s conftest.err
25305 } && test -s conftest.$ac_objext; then
25306 ac_cv_header_hash_map=yes
25307 else
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.$ac_ext >&5
25310
25311 ac_cv_header_hash_map=no
25312 fi
25313
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25315 fi
25316 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25317 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25318 if test $ac_cv_header_hash_map = yes; then
25319 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25320 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25321 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25322 echo $ECHO_N "(cached) $ECHO_C" >&6
25323 else
25324 cat >conftest.$ac_ext <<_ACEOF
25325 /* confdefs.h. */
25326 _ACEOF
25327 cat confdefs.h >>conftest.$ac_ext
25328 cat >>conftest.$ac_ext <<_ACEOF
25329 /* end confdefs.h. */
25330 #include <hash_map>
25331 #include <hash_set>
25332 int
25333 main ()
25334 {
25335 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25336 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 rm -f conftest.$ac_objext
25342 if { (ac_try="$ac_compile"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25346 esac
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_compile") 2>conftest.er1
25349 ac_status=$?
25350 grep -v '^ *+' conftest.er1 >conftest.err
25351 rm -f conftest.er1
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_cxx_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest.$ac_objext; then
25358 wx_cv_class_stdhashmapset=yes
25359 else
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25362
25363 wx_cv_class_stdhashmapset=no
25364 fi
25365
25366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25367
25368
25369 fi
25370 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25371 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25372 fi
25373
25374
25375
25376 if test "$wx_cv_class_stdhashmapset" = yes; then
25377 cat >>confdefs.h <<\_ACEOF
25378 #define HAVE_HASH_MAP 1
25379 _ACEOF
25380
25381 cat >>confdefs.h <<\_ACEOF
25382 #define HAVE_STD_HASH_MAP 1
25383 _ACEOF
25384
25385 fi
25386
25387 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25388 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25389 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 else
25392 cat >conftest.$ac_ext <<_ACEOF
25393 /* confdefs.h. */
25394 _ACEOF
25395 cat confdefs.h >>conftest.$ac_ext
25396 cat >>conftest.$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25398
25399
25400
25401 #include <ext/hash_map>
25402 _ACEOF
25403 rm -f conftest.$ac_objext
25404 if { (ac_try="$ac_compile"
25405 case "(($ac_try" in
25406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25407 *) ac_try_echo=$ac_try;;
25408 esac
25409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25410 (eval "$ac_compile") 2>conftest.er1
25411 ac_status=$?
25412 grep -v '^ *+' conftest.er1 >conftest.err
25413 rm -f conftest.er1
25414 cat conftest.err >&5
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); } && {
25417 test -z "$ac_cxx_werror_flag" ||
25418 test ! -s conftest.err
25419 } && test -s conftest.$ac_objext; then
25420 ac_cv_header_ext_hash_map=yes
25421 else
25422 echo "$as_me: failed program was:" >&5
25423 sed 's/^/| /' conftest.$ac_ext >&5
25424
25425 ac_cv_header_ext_hash_map=no
25426 fi
25427
25428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25429 fi
25430 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25431 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25432 if test $ac_cv_header_ext_hash_map = yes; then
25433 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25434 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25435 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25436 echo $ECHO_N "(cached) $ECHO_C" >&6
25437 else
25438 cat >conftest.$ac_ext <<_ACEOF
25439 /* confdefs.h. */
25440 _ACEOF
25441 cat confdefs.h >>conftest.$ac_ext
25442 cat >>conftest.$ac_ext <<_ACEOF
25443 /* end confdefs.h. */
25444 #include <ext/hash_map>
25445 #include <ext/hash_set>
25446 int
25447 main ()
25448 {
25449 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25450 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25451 ;
25452 return 0;
25453 }
25454 _ACEOF
25455 rm -f conftest.$ac_objext
25456 if { (ac_try="$ac_compile"
25457 case "(($ac_try" in
25458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25459 *) ac_try_echo=$ac_try;;
25460 esac
25461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25462 (eval "$ac_compile") 2>conftest.er1
25463 ac_status=$?
25464 grep -v '^ *+' conftest.er1 >conftest.err
25465 rm -f conftest.er1
25466 cat conftest.err >&5
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); } && {
25469 test -z "$ac_cxx_werror_flag" ||
25470 test ! -s conftest.err
25471 } && test -s conftest.$ac_objext; then
25472 wx_cv_class_gnuhashmapset=yes
25473 else
25474 echo "$as_me: failed program was:" >&5
25475 sed 's/^/| /' conftest.$ac_ext >&5
25476
25477 wx_cv_class_gnuhashmapset=no
25478 fi
25479
25480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25481
25482
25483 fi
25484 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25485 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25486 fi
25487
25488
25489
25490 fi
25491 fi
25492 fi
25493
25494
25495
25496 if test -n "$GCC"; then
25497 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25498 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25499 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 else
25502
25503 cat >conftest.$ac_ext <<_ACEOF
25504 /* confdefs.h. */
25505 _ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509
25510 int
25511 main ()
25512 {
25513
25514 unsigned int value=0;
25515 /* wxAtomicInc doesn't use return value here */
25516 __sync_fetch_and_add(&value, 2);
25517 __sync_sub_and_fetch(&value, 1);
25518 /* but wxAtomicDec does, so mimic that: */
25519 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25520
25521 ;
25522 return 0;
25523 }
25524 _ACEOF
25525 rm -f conftest.$ac_objext conftest$ac_exeext
25526 if { (ac_try="$ac_link"
25527 case "(($ac_try" in
25528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25529 *) ac_try_echo=$ac_try;;
25530 esac
25531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25532 (eval "$ac_link") 2>conftest.er1
25533 ac_status=$?
25534 grep -v '^ *+' conftest.er1 >conftest.err
25535 rm -f conftest.er1
25536 cat conftest.err >&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } && {
25539 test -z "$ac_cxx_werror_flag" ||
25540 test ! -s conftest.err
25541 } && test -s conftest$ac_exeext &&
25542 $as_test_x conftest$ac_exeext; then
25543 wx_cv_cc_gcc_atomic_builtins=yes
25544 else
25545 echo "$as_me: failed program was:" >&5
25546 sed 's/^/| /' conftest.$ac_ext >&5
25547
25548 wx_cv_cc_gcc_atomic_builtins=no
25549 fi
25550
25551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25552 conftest$ac_exeext conftest.$ac_ext
25553
25554 fi
25555
25556 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25557 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25558 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25559 cat >>confdefs.h <<\_ACEOF
25560 #define HAVE_GCC_ATOMIC_BUILTINS 1
25561 _ACEOF
25562
25563 fi
25564 fi
25565
25566
25567 ac_ext=c
25568 ac_cpp='$CPP $CPPFLAGS'
25569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25572
25573
25574
25575 SEARCH_INCLUDE="\
25576 /usr/local/include \
25577 /usr/local/X11/include \
25578 /usr/local/include/X11 \
25579 /usr/local/X11R7/include \
25580 /usr/local/X11R6/include \
25581 /usr/local/include/X11R7 \
25582 /usr/local/include/X11R6 \
25583 \
25584 /usr/Motif-2.1/include \
25585 /usr/Motif-1.2/include \
25586 /usr/include/Motif1.2 \
25587 \
25588 /usr/dt/include \
25589 /usr/openwin/include \
25590 \
25591 /usr/include/Xm \
25592 \
25593 /usr/X11R7/include \
25594 /usr/X11R6/include \
25595 /usr/X11R6.4/include \
25596 \
25597 /usr/include/X11R7 \
25598 /usr/include/X11R6 \
25599 \
25600 /usr/X11/include \
25601 /usr/include/X11 \
25602 \
25603 /usr/XFree86/include/X11 \
25604 /usr/pkg/include \
25605 \
25606 /usr/local/X1R5/include \
25607 /usr/local/include/X11R5 \
25608 /usr/X11R5/include \
25609 /usr/include/X11R5 \
25610 \
25611 /usr/local/X11R4/include \
25612 /usr/local/include/X11R4 \
25613 /usr/X11R4/include \
25614 /usr/include/X11R4 \
25615 \
25616 /usr/openwin/share/include"
25617
25618 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25619 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25620
25621 case "${host}" in
25622 *-*-irix6* )
25623 if test "${wx_cv_std_libpath+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25625 else
25626
25627 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25628 for e in a so sl dylib dll.a; do
25629 libc="$d/libc.$e"
25630 if test -f $libc; then
25631 save_LIBS="$LIBS"
25632 LIBS="$libc"
25633 cat >conftest.$ac_ext <<_ACEOF
25634 int main() { return 0; }
25635 _ACEOF
25636 rm -f conftest.$ac_objext conftest$ac_exeext
25637 if { (ac_try="$ac_link"
25638 case "(($ac_try" in
25639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25640 *) ac_try_echo=$ac_try;;
25641 esac
25642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25643 (eval "$ac_link") 2>conftest.er1
25644 ac_status=$?
25645 grep -v '^ *+' conftest.er1 >conftest.err
25646 rm -f conftest.er1
25647 cat conftest.err >&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); } && {
25650 test -z "$ac_c_werror_flag" ||
25651 test ! -s conftest.err
25652 } && test -s conftest$ac_exeext &&
25653 $as_test_x conftest$ac_exeext; then
25654 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25655 else
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25658
25659
25660 fi
25661
25662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25663 conftest$ac_exeext conftest.$ac_ext
25664 LIBS="$save_LIBS"
25665 if test "x$wx_cv_std_libpath" != "x"; then
25666 break 2
25667 fi
25668 fi
25669 done
25670 done
25671 if test "x$wx_cv_std_libpath" = "x"; then
25672 wx_cv_std_libpath="lib"
25673 fi
25674
25675
25676 fi
25677
25678 ;;
25679
25680 *-*-solaris2* )
25681 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25682 wx_cv_std_libpath="lib/64"
25683 else
25684 wx_cv_std_libpath="lib"
25685 fi
25686 ;;
25687
25688 *-*-linux* )
25689 if test "$ac_cv_sizeof_void_p" = 8 -a \
25690 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25691 wx_cv_std_libpath="lib64"
25692 else
25693 wx_cv_std_libpath="lib"
25694 fi
25695 ;;
25696
25697 *)
25698 wx_cv_std_libpath="lib";
25699 ;;
25700 esac
25701
25702 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25703 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25704
25705 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25706
25707 if test "$build" != "$host" -a "$GCC" = yes; then
25708 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25709 cross_root=`dirname $cross_root`
25710 cross_root=`dirname $cross_root`
25711
25712 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25713 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25714 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25715
25716 if test -z "$PKG_CONFIG_PATH"; then
25717 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25718 export PKG_CONFIG_PATH
25719 fi
25720
25721 if test -z "$x_includes" -o "$x_includes" = NONE; then
25722
25723 ac_find_includes=
25724 for ac_dir in $SEARCH_INCLUDE /usr/include;
25725 do
25726 if test -f "$ac_dir/X11/Intrinsic.h"; then
25727 ac_find_includes=$ac_dir
25728 break
25729 fi
25730 done
25731
25732 x_includes=$ac_find_includes
25733 fi
25734 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25735
25736 ac_find_libraries=
25737 for ac_dir in $SEARCH_LIB;
25738 do
25739 for ac_extension in a so sl dylib dll.a; do
25740 if test -f "$ac_dir/libXt.$ac_extension"; then
25741 ac_find_libraries=$ac_dir
25742 break 2
25743 fi
25744 done
25745 done
25746
25747 x_libraries=$ac_find_libraries
25748 fi
25749 fi
25750 fi
25751
25752
25753 cat >confcache <<\_ACEOF
25754 # This file is a shell script that caches the results of configure
25755 # tests run on this system so they can be shared between configure
25756 # scripts and configure runs, see configure's option --config-cache.
25757 # It is not useful on other systems. If it contains results you don't
25758 # want to keep, you may remove or edit it.
25759 #
25760 # config.status only pays attention to the cache file if you give it
25761 # the --recheck option to rerun configure.
25762 #
25763 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25764 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25765 # following values.
25766
25767 _ACEOF
25768
25769 # The following way of writing the cache mishandles newlines in values,
25770 # but we know of no workaround that is simple, portable, and efficient.
25771 # So, we kill variables containing newlines.
25772 # Ultrix sh set writes to stderr and can't be redirected directly,
25773 # and sets the high bit in the cache file unless we assign to the vars.
25774 (
25775 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25776 eval ac_val=\$$ac_var
25777 case $ac_val in #(
25778 *${as_nl}*)
25779 case $ac_var in #(
25780 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25781 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25782 esac
25783 case $ac_var in #(
25784 _ | IFS | as_nl) ;; #(
25785 *) $as_unset $ac_var ;;
25786 esac ;;
25787 esac
25788 done
25789
25790 (set) 2>&1 |
25791 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25792 *${as_nl}ac_space=\ *)
25793 # `set' does not quote correctly, so add quotes (double-quote
25794 # substitution turns \\\\ into \\, and sed turns \\ into \).
25795 sed -n \
25796 "s/'/'\\\\''/g;
25797 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25798 ;; #(
25799 *)
25800 # `set' quotes correctly as required by POSIX, so do not add quotes.
25801 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25802 ;;
25803 esac |
25804 sort
25805 ) |
25806 sed '
25807 /^ac_cv_env_/b end
25808 t clear
25809 :clear
25810 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25811 t end
25812 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25813 :end' >>confcache
25814 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25815 if test -w "$cache_file"; then
25816 test "x$cache_file" != "x/dev/null" &&
25817 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25818 echo "$as_me: updating cache $cache_file" >&6;}
25819 cat confcache >$cache_file
25820 else
25821 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25822 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25823 fi
25824 fi
25825 rm -f confcache
25826
25827 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25828 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25829 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25830 if test "${wx_cv_lib_glibc21+set}" = set; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25832 else
25833
25834 cat >conftest.$ac_ext <<_ACEOF
25835 /* confdefs.h. */
25836 _ACEOF
25837 cat confdefs.h >>conftest.$ac_ext
25838 cat >>conftest.$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 #include <features.h>
25841 int
25842 main ()
25843 {
25844
25845 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25846 not glibc 2.1
25847 #endif
25848
25849 ;
25850 return 0;
25851 }
25852 _ACEOF
25853 rm -f conftest.$ac_objext
25854 if { (ac_try="$ac_compile"
25855 case "(($ac_try" in
25856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25857 *) ac_try_echo=$ac_try;;
25858 esac
25859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25860 (eval "$ac_compile") 2>conftest.er1
25861 ac_status=$?
25862 grep -v '^ *+' conftest.er1 >conftest.err
25863 rm -f conftest.er1
25864 cat conftest.err >&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } && {
25867 test -z "$ac_c_werror_flag" ||
25868 test ! -s conftest.err
25869 } && test -s conftest.$ac_objext; then
25870
25871 wx_cv_lib_glibc21=yes
25872
25873 else
25874 echo "$as_me: failed program was:" >&5
25875 sed 's/^/| /' conftest.$ac_ext >&5
25876
25877
25878 wx_cv_lib_glibc21=no
25879
25880
25881 fi
25882
25883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25884
25885 fi
25886 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25887 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25888 if test "$wx_cv_lib_glibc21" = "yes"; then
25889 cat >>confdefs.h <<\_ACEOF
25890 #define wxHAVE_GLIBC2 1
25891 _ACEOF
25892
25893 fi
25894 fi
25895
25896 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25897 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25898 cat >>confdefs.h <<\_ACEOF
25899 #define _GNU_SOURCE 1
25900 _ACEOF
25901
25902 fi
25903 fi
25904
25905 have_cos=0
25906 have_floor=0
25907
25908 for ac_func in cos
25909 do
25910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25914 echo $ECHO_N "(cached) $ECHO_C" >&6
25915 else
25916 cat >conftest.$ac_ext <<_ACEOF
25917 /* confdefs.h. */
25918 _ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25924 #define $ac_func innocuous_$ac_func
25925
25926 /* System header to define __stub macros and hopefully few prototypes,
25927 which can conflict with char $ac_func (); below.
25928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25929 <limits.h> exists even on freestanding compilers. */
25930
25931 #ifdef __STDC__
25932 # include <limits.h>
25933 #else
25934 # include <assert.h>
25935 #endif
25936
25937 #undef $ac_func
25938
25939 /* Override any GCC internal prototype to avoid an error.
25940 Use char because int might match the return type of a GCC
25941 builtin and then its argument prototype would still apply. */
25942 #ifdef __cplusplus
25943 extern "C"
25944 #endif
25945 char $ac_func ();
25946 /* The GNU C library defines this for functions which it implements
25947 to always fail with ENOSYS. Some functions are actually named
25948 something starting with __ and the normal name is an alias. */
25949 #if defined __stub_$ac_func || defined __stub___$ac_func
25950 choke me
25951 #endif
25952
25953 int
25954 main ()
25955 {
25956 return $ac_func ();
25957 ;
25958 return 0;
25959 }
25960 _ACEOF
25961 rm -f conftest.$ac_objext conftest$ac_exeext
25962 if { (ac_try="$ac_link"
25963 case "(($ac_try" in
25964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25965 *) ac_try_echo=$ac_try;;
25966 esac
25967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25968 (eval "$ac_link") 2>conftest.er1
25969 ac_status=$?
25970 grep -v '^ *+' conftest.er1 >conftest.err
25971 rm -f conftest.er1
25972 cat conftest.err >&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); } && {
25975 test -z "$ac_c_werror_flag" ||
25976 test ! -s conftest.err
25977 } && test -s conftest$ac_exeext &&
25978 $as_test_x conftest$ac_exeext; then
25979 eval "$as_ac_var=yes"
25980 else
25981 echo "$as_me: failed program was:" >&5
25982 sed 's/^/| /' conftest.$ac_ext >&5
25983
25984 eval "$as_ac_var=no"
25985 fi
25986
25987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25988 conftest$ac_exeext conftest.$ac_ext
25989 fi
25990 ac_res=`eval echo '${'$as_ac_var'}'`
25991 { echo "$as_me:$LINENO: result: $ac_res" >&5
25992 echo "${ECHO_T}$ac_res" >&6; }
25993 if test `eval echo '${'$as_ac_var'}'` = yes; then
25994 cat >>confdefs.h <<_ACEOF
25995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25996 _ACEOF
25997 have_cos=1
25998 fi
25999 done
26000
26001
26002 for ac_func in floor
26003 do
26004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26005 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26007 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26008 echo $ECHO_N "(cached) $ECHO_C" >&6
26009 else
26010 cat >conftest.$ac_ext <<_ACEOF
26011 /* confdefs.h. */
26012 _ACEOF
26013 cat confdefs.h >>conftest.$ac_ext
26014 cat >>conftest.$ac_ext <<_ACEOF
26015 /* end confdefs.h. */
26016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26018 #define $ac_func innocuous_$ac_func
26019
26020 /* System header to define __stub macros and hopefully few prototypes,
26021 which can conflict with char $ac_func (); below.
26022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26023 <limits.h> exists even on freestanding compilers. */
26024
26025 #ifdef __STDC__
26026 # include <limits.h>
26027 #else
26028 # include <assert.h>
26029 #endif
26030
26031 #undef $ac_func
26032
26033 /* Override any GCC internal prototype to avoid an error.
26034 Use char because int might match the return type of a GCC
26035 builtin and then its argument prototype would still apply. */
26036 #ifdef __cplusplus
26037 extern "C"
26038 #endif
26039 char $ac_func ();
26040 /* The GNU C library defines this for functions which it implements
26041 to always fail with ENOSYS. Some functions are actually named
26042 something starting with __ and the normal name is an alias. */
26043 #if defined __stub_$ac_func || defined __stub___$ac_func
26044 choke me
26045 #endif
26046
26047 int
26048 main ()
26049 {
26050 return $ac_func ();
26051 ;
26052 return 0;
26053 }
26054 _ACEOF
26055 rm -f conftest.$ac_objext conftest$ac_exeext
26056 if { (ac_try="$ac_link"
26057 case "(($ac_try" in
26058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26059 *) ac_try_echo=$ac_try;;
26060 esac
26061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26062 (eval "$ac_link") 2>conftest.er1
26063 ac_status=$?
26064 grep -v '^ *+' conftest.er1 >conftest.err
26065 rm -f conftest.er1
26066 cat conftest.err >&5
26067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068 (exit $ac_status); } && {
26069 test -z "$ac_c_werror_flag" ||
26070 test ! -s conftest.err
26071 } && test -s conftest$ac_exeext &&
26072 $as_test_x conftest$ac_exeext; then
26073 eval "$as_ac_var=yes"
26074 else
26075 echo "$as_me: failed program was:" >&5
26076 sed 's/^/| /' conftest.$ac_ext >&5
26077
26078 eval "$as_ac_var=no"
26079 fi
26080
26081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26082 conftest$ac_exeext conftest.$ac_ext
26083 fi
26084 ac_res=`eval echo '${'$as_ac_var'}'`
26085 { echo "$as_me:$LINENO: result: $ac_res" >&5
26086 echo "${ECHO_T}$ac_res" >&6; }
26087 if test `eval echo '${'$as_ac_var'}'` = yes; then
26088 cat >>confdefs.h <<_ACEOF
26089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26090 _ACEOF
26091 have_floor=1
26092 fi
26093 done
26094
26095 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26096 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26097 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26098 { echo "$as_me:$LINENO: result: yes" >&5
26099 echo "${ECHO_T}yes" >&6; }
26100 else
26101 { echo "$as_me:$LINENO: result: no" >&5
26102 echo "${ECHO_T}no" >&6; }
26103 LIBS="$LIBS -lm"
26104 # use different functions to avoid configure caching
26105 have_sin=0
26106 have_ceil=0
26107
26108 for ac_func in sin
26109 do
26110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26111 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26114 echo $ECHO_N "(cached) $ECHO_C" >&6
26115 else
26116 cat >conftest.$ac_ext <<_ACEOF
26117 /* confdefs.h. */
26118 _ACEOF
26119 cat confdefs.h >>conftest.$ac_ext
26120 cat >>conftest.$ac_ext <<_ACEOF
26121 /* end confdefs.h. */
26122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26124 #define $ac_func innocuous_$ac_func
26125
26126 /* System header to define __stub macros and hopefully few prototypes,
26127 which can conflict with char $ac_func (); below.
26128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26129 <limits.h> exists even on freestanding compilers. */
26130
26131 #ifdef __STDC__
26132 # include <limits.h>
26133 #else
26134 # include <assert.h>
26135 #endif
26136
26137 #undef $ac_func
26138
26139 /* Override any GCC internal prototype to avoid an error.
26140 Use char because int might match the return type of a GCC
26141 builtin and then its argument prototype would still apply. */
26142 #ifdef __cplusplus
26143 extern "C"
26144 #endif
26145 char $ac_func ();
26146 /* The GNU C library defines this for functions which it implements
26147 to always fail with ENOSYS. Some functions are actually named
26148 something starting with __ and the normal name is an alias. */
26149 #if defined __stub_$ac_func || defined __stub___$ac_func
26150 choke me
26151 #endif
26152
26153 int
26154 main ()
26155 {
26156 return $ac_func ();
26157 ;
26158 return 0;
26159 }
26160 _ACEOF
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (ac_try="$ac_link"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26166 esac
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_link") 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest$ac_exeext &&
26178 $as_test_x conftest$ac_exeext; then
26179 eval "$as_ac_var=yes"
26180 else
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.$ac_ext >&5
26183
26184 eval "$as_ac_var=no"
26185 fi
26186
26187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26188 conftest$ac_exeext conftest.$ac_ext
26189 fi
26190 ac_res=`eval echo '${'$as_ac_var'}'`
26191 { echo "$as_me:$LINENO: result: $ac_res" >&5
26192 echo "${ECHO_T}$ac_res" >&6; }
26193 if test `eval echo '${'$as_ac_var'}'` = yes; then
26194 cat >>confdefs.h <<_ACEOF
26195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26196 _ACEOF
26197 have_sin=1
26198 fi
26199 done
26200
26201
26202 for ac_func in ceil
26203 do
26204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26207 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26208 echo $ECHO_N "(cached) $ECHO_C" >&6
26209 else
26210 cat >conftest.$ac_ext <<_ACEOF
26211 /* confdefs.h. */
26212 _ACEOF
26213 cat confdefs.h >>conftest.$ac_ext
26214 cat >>conftest.$ac_ext <<_ACEOF
26215 /* end confdefs.h. */
26216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26218 #define $ac_func innocuous_$ac_func
26219
26220 /* System header to define __stub macros and hopefully few prototypes,
26221 which can conflict with char $ac_func (); below.
26222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26223 <limits.h> exists even on freestanding compilers. */
26224
26225 #ifdef __STDC__
26226 # include <limits.h>
26227 #else
26228 # include <assert.h>
26229 #endif
26230
26231 #undef $ac_func
26232
26233 /* Override any GCC internal prototype to avoid an error.
26234 Use char because int might match the return type of a GCC
26235 builtin and then its argument prototype would still apply. */
26236 #ifdef __cplusplus
26237 extern "C"
26238 #endif
26239 char $ac_func ();
26240 /* The GNU C library defines this for functions which it implements
26241 to always fail with ENOSYS. Some functions are actually named
26242 something starting with __ and the normal name is an alias. */
26243 #if defined __stub_$ac_func || defined __stub___$ac_func
26244 choke me
26245 #endif
26246
26247 int
26248 main ()
26249 {
26250 return $ac_func ();
26251 ;
26252 return 0;
26253 }
26254 _ACEOF
26255 rm -f conftest.$ac_objext conftest$ac_exeext
26256 if { (ac_try="$ac_link"
26257 case "(($ac_try" in
26258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26259 *) ac_try_echo=$ac_try;;
26260 esac
26261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26262 (eval "$ac_link") 2>conftest.er1
26263 ac_status=$?
26264 grep -v '^ *+' conftest.er1 >conftest.err
26265 rm -f conftest.er1
26266 cat conftest.err >&5
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); } && {
26269 test -z "$ac_c_werror_flag" ||
26270 test ! -s conftest.err
26271 } && test -s conftest$ac_exeext &&
26272 $as_test_x conftest$ac_exeext; then
26273 eval "$as_ac_var=yes"
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26277
26278 eval "$as_ac_var=no"
26279 fi
26280
26281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26282 conftest$ac_exeext conftest.$ac_ext
26283 fi
26284 ac_res=`eval echo '${'$as_ac_var'}'`
26285 { echo "$as_me:$LINENO: result: $ac_res" >&5
26286 echo "${ECHO_T}$ac_res" >&6; }
26287 if test `eval echo '${'$as_ac_var'}'` = yes; then
26288 cat >>confdefs.h <<_ACEOF
26289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26290 _ACEOF
26291 have_ceil=1
26292 fi
26293 done
26294
26295 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26296 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26297 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26298 { echo "$as_me:$LINENO: result: yes" >&5
26299 echo "${ECHO_T}yes" >&6; }
26300 else
26301 { echo "$as_me:$LINENO: result: no" >&5
26302 echo "${ECHO_T}no" >&6; }
26303 # not sure we should warn the user, crash, etc.
26304 fi
26305 fi
26306
26307 ac_ext=cpp
26308 ac_cpp='$CXXCPP $CPPFLAGS'
26309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26312
26313 if test "wxUSE_UNICODE" = "yes"; then
26314
26315 for wx_func in wcstoull
26316 do
26317 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26318 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26319 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26320 echo $ECHO_N "(cached) $ECHO_C" >&6
26321 else
26322
26323 cat >conftest.$ac_ext <<_ACEOF
26324
26325 /* confdefs.h. */
26326 _ACEOF
26327 cat confdefs.h >>conftest.$ac_ext
26328 cat >>conftest.$ac_ext <<_ACEOF
26329 /* end confdefs.h. */
26330
26331
26332 $ac_includes_default
26333
26334 int
26335 main ()
26336 {
26337
26338 #ifndef $wx_func
26339 &$wx_func;
26340 #endif
26341
26342
26343 ;
26344 return 0;
26345 }
26346
26347 _ACEOF
26348 rm -f conftest.$ac_objext conftest$ac_exeext
26349 if { (ac_try="$ac_link"
26350 case "(($ac_try" in
26351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26352 *) ac_try_echo=$ac_try;;
26353 esac
26354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26355 (eval "$ac_link") 2>conftest.er1
26356 ac_status=$?
26357 grep -v '^ *+' conftest.er1 >conftest.err
26358 rm -f conftest.er1
26359 cat conftest.err >&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } && {
26362 test -z "$ac_cxx_werror_flag" ||
26363 test ! -s conftest.err
26364 } && test -s conftest$ac_exeext &&
26365 $as_test_x conftest$ac_exeext; then
26366 eval wx_cv_func_$wx_func=yes
26367 else
26368 echo "$as_me: failed program was:" >&5
26369 sed 's/^/| /' conftest.$ac_ext >&5
26370
26371 eval wx_cv_func_$wx_func=no
26372 fi
26373
26374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26375 conftest$ac_exeext conftest.$ac_ext
26376
26377 fi
26378 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26379 { echo "$as_me:$LINENO: result: $ac_res" >&5
26380 echo "${ECHO_T}$ac_res" >&6; }
26381
26382 if eval test \$wx_cv_func_$wx_func = yes
26383 then
26384 cat >>confdefs.h <<_ACEOF
26385 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26386 _ACEOF
26387
26388
26389 else
26390 :
26391
26392 fi
26393 done
26394
26395 else
26396
26397 for wx_func in strtoull
26398 do
26399 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26400 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26401 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26403 else
26404
26405 cat >conftest.$ac_ext <<_ACEOF
26406
26407 /* confdefs.h. */
26408 _ACEOF
26409 cat confdefs.h >>conftest.$ac_ext
26410 cat >>conftest.$ac_ext <<_ACEOF
26411 /* end confdefs.h. */
26412
26413
26414 $ac_includes_default
26415
26416 int
26417 main ()
26418 {
26419
26420 #ifndef $wx_func
26421 &$wx_func;
26422 #endif
26423
26424
26425 ;
26426 return 0;
26427 }
26428
26429 _ACEOF
26430 rm -f conftest.$ac_objext conftest$ac_exeext
26431 if { (ac_try="$ac_link"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26435 esac
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_link") 2>conftest.er1
26438 ac_status=$?
26439 grep -v '^ *+' conftest.er1 >conftest.err
26440 rm -f conftest.er1
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_cxx_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest$ac_exeext &&
26447 $as_test_x conftest$ac_exeext; then
26448 eval wx_cv_func_$wx_func=yes
26449 else
26450 echo "$as_me: failed program was:" >&5
26451 sed 's/^/| /' conftest.$ac_ext >&5
26452
26453 eval wx_cv_func_$wx_func=no
26454 fi
26455
26456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26457 conftest$ac_exeext conftest.$ac_ext
26458
26459 fi
26460 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26461 { echo "$as_me:$LINENO: result: $ac_res" >&5
26462 echo "${ECHO_T}$ac_res" >&6; }
26463
26464 if eval test \$wx_cv_func_$wx_func = yes
26465 then
26466 cat >>confdefs.h <<_ACEOF
26467 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26468 _ACEOF
26469
26470
26471 else
26472 :
26473
26474 fi
26475 done
26476
26477 fi
26478 ac_ext=c
26479 ac_cpp='$CPP $CPPFLAGS'
26480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26483
26484
26485
26486
26487 if test "$wxUSE_REGEX" != "no"; then
26488 cat >>confdefs.h <<\_ACEOF
26489 #define wxUSE_REGEX 1
26490 _ACEOF
26491
26492
26493 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26494 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26495 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26496 wxUSE_REGEX=builtin
26497 fi
26498
26499 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26500 { echo "$as_me:$LINENO: checking for regex.h" >&5
26501 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26502 if test "${ac_cv_header_regex_h+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 else
26505 cat >conftest.$ac_ext <<_ACEOF
26506 /* confdefs.h. */
26507 _ACEOF
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26511
26512
26513 #include <regex.h>
26514 _ACEOF
26515 rm -f conftest.$ac_objext
26516 if { (ac_try="$ac_compile"
26517 case "(($ac_try" in
26518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26519 *) ac_try_echo=$ac_try;;
26520 esac
26521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26522 (eval "$ac_compile") 2>conftest.er1
26523 ac_status=$?
26524 grep -v '^ *+' conftest.er1 >conftest.err
26525 rm -f conftest.er1
26526 cat conftest.err >&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); } && {
26529 test -z "$ac_c_werror_flag" ||
26530 test ! -s conftest.err
26531 } && test -s conftest.$ac_objext; then
26532 ac_cv_header_regex_h=yes
26533 else
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.$ac_ext >&5
26536
26537 ac_cv_header_regex_h=no
26538 fi
26539
26540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26541 fi
26542 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26543 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26544 if test $ac_cv_header_regex_h = yes; then
26545
26546
26547 for ac_func in regcomp re_search
26548 do
26549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26550 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26552 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26553 echo $ECHO_N "(cached) $ECHO_C" >&6
26554 else
26555 cat >conftest.$ac_ext <<_ACEOF
26556 /* confdefs.h. */
26557 _ACEOF
26558 cat confdefs.h >>conftest.$ac_ext
26559 cat >>conftest.$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26563 #define $ac_func innocuous_$ac_func
26564
26565 /* System header to define __stub macros and hopefully few prototypes,
26566 which can conflict with char $ac_func (); below.
26567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26568 <limits.h> exists even on freestanding compilers. */
26569
26570 #ifdef __STDC__
26571 # include <limits.h>
26572 #else
26573 # include <assert.h>
26574 #endif
26575
26576 #undef $ac_func
26577
26578 /* Override any GCC internal prototype to avoid an error.
26579 Use char because int might match the return type of a GCC
26580 builtin and then its argument prototype would still apply. */
26581 #ifdef __cplusplus
26582 extern "C"
26583 #endif
26584 char $ac_func ();
26585 /* The GNU C library defines this for functions which it implements
26586 to always fail with ENOSYS. Some functions are actually named
26587 something starting with __ and the normal name is an alias. */
26588 #if defined __stub_$ac_func || defined __stub___$ac_func
26589 choke me
26590 #endif
26591
26592 int
26593 main ()
26594 {
26595 return $ac_func ();
26596 ;
26597 return 0;
26598 }
26599 _ACEOF
26600 rm -f conftest.$ac_objext conftest$ac_exeext
26601 if { (ac_try="$ac_link"
26602 case "(($ac_try" in
26603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26604 *) ac_try_echo=$ac_try;;
26605 esac
26606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26607 (eval "$ac_link") 2>conftest.er1
26608 ac_status=$?
26609 grep -v '^ *+' conftest.er1 >conftest.err
26610 rm -f conftest.er1
26611 cat conftest.err >&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); } && {
26614 test -z "$ac_c_werror_flag" ||
26615 test ! -s conftest.err
26616 } && test -s conftest$ac_exeext &&
26617 $as_test_x conftest$ac_exeext; then
26618 eval "$as_ac_var=yes"
26619 else
26620 echo "$as_me: failed program was:" >&5
26621 sed 's/^/| /' conftest.$ac_ext >&5
26622
26623 eval "$as_ac_var=no"
26624 fi
26625
26626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26627 conftest$ac_exeext conftest.$ac_ext
26628 fi
26629 ac_res=`eval echo '${'$as_ac_var'}'`
26630 { echo "$as_me:$LINENO: result: $ac_res" >&5
26631 echo "${ECHO_T}$ac_res" >&6; }
26632 if test `eval echo '${'$as_ac_var'}'` = yes; then
26633 cat >>confdefs.h <<_ACEOF
26634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26635 _ACEOF
26636
26637 fi
26638 done
26639
26640 fi
26641
26642
26643
26644 if test "x$ac_cv_func_regcomp" != "xyes"; then
26645 if test "$wxUSE_REGEX" = "sys" ; then
26646 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26647 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26648 { (exit 1); exit 1; }; }
26649 else
26650 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26651 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26652 wxUSE_REGEX=builtin
26653 fi
26654 else
26655 wxUSE_REGEX=sys
26656 cat >>confdefs.h <<\_ACEOF
26657 #define WX_NO_REGEX_ADVANCED 1
26658 _ACEOF
26659
26660 fi
26661 fi
26662 fi
26663
26664
26665 ZLIB_LINK=
26666 if test "$wxUSE_ZLIB" != "no" ; then
26667 cat >>confdefs.h <<\_ACEOF
26668 #define wxUSE_ZLIB 1
26669 _ACEOF
26670
26671
26672 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26673 if test "$USE_DARWIN" = 1; then
26674 system_zlib_h_ok="yes"
26675 else
26676 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26677 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26678 if test "${ac_cv_header_zlib_h+set}" = set; then
26679 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 else
26681 if test "$cross_compiling" = yes; then
26682 unset ac_cv_header_zlib_h
26683
26684 else
26685 cat >conftest.$ac_ext <<_ACEOF
26686 /* confdefs.h. */
26687 _ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26691
26692 #include <zlib.h>
26693 #include <stdio.h>
26694
26695 int main()
26696 {
26697 FILE *f=fopen("conftestval", "w");
26698 if (!f) exit(1);
26699 fprintf(f, "%s",
26700 ZLIB_VERSION[0] == '1' &&
26701 (ZLIB_VERSION[2] > '1' ||
26702 (ZLIB_VERSION[2] == '1' &&
26703 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26704 exit(0);
26705 }
26706
26707 _ACEOF
26708 rm -f conftest$ac_exeext
26709 if { (ac_try="$ac_link"
26710 case "(($ac_try" in
26711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26712 *) ac_try_echo=$ac_try;;
26713 esac
26714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26715 (eval "$ac_link") 2>&5
26716 ac_status=$?
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26719 { (case "(($ac_try" in
26720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26721 *) ac_try_echo=$ac_try;;
26722 esac
26723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26724 (eval "$ac_try") 2>&5
26725 ac_status=$?
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; }; then
26728 ac_cv_header_zlib_h=`cat conftestval`
26729 else
26730 echo "$as_me: program exited with status $ac_status" >&5
26731 echo "$as_me: failed program was:" >&5
26732 sed 's/^/| /' conftest.$ac_ext >&5
26733
26734 ( exit $ac_status )
26735 ac_cv_header_zlib_h=no
26736 fi
26737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26738 fi
26739
26740
26741
26742 fi
26743 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26744 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26745 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26746 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26747 if test "${ac_cv_header_zlib_h+set}" = set; then
26748 echo $ECHO_N "(cached) $ECHO_C" >&6
26749 else
26750 cat >conftest.$ac_ext <<_ACEOF
26751 /* confdefs.h. */
26752 _ACEOF
26753 cat confdefs.h >>conftest.$ac_ext
26754 cat >>conftest.$ac_ext <<_ACEOF
26755 /* end confdefs.h. */
26756
26757
26758 #include <zlib.h>
26759 _ACEOF
26760 rm -f conftest.$ac_objext
26761 if { (ac_try="$ac_compile"
26762 case "(($ac_try" in
26763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26764 *) ac_try_echo=$ac_try;;
26765 esac
26766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26767 (eval "$ac_compile") 2>conftest.er1
26768 ac_status=$?
26769 grep -v '^ *+' conftest.er1 >conftest.err
26770 rm -f conftest.er1
26771 cat conftest.err >&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } && {
26774 test -z "$ac_c_werror_flag" ||
26775 test ! -s conftest.err
26776 } && test -s conftest.$ac_objext; then
26777 ac_cv_header_zlib_h=yes
26778 else
26779 echo "$as_me: failed program was:" >&5
26780 sed 's/^/| /' conftest.$ac_ext >&5
26781
26782 ac_cv_header_zlib_h=no
26783 fi
26784
26785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26786 fi
26787 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26788 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26789
26790
26791
26792 system_zlib_h_ok=$ac_cv_header_zlib_h
26793 fi
26794
26795 if test "$system_zlib_h_ok" = "yes"; then
26796 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26797 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26798 if test "${ac_cv_lib_z_deflate+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 else
26801 ac_check_lib_save_LIBS=$LIBS
26802 LIBS="-lz $LIBS"
26803 cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h. */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26809
26810 /* Override any GCC internal prototype to avoid an error.
26811 Use char because int might match the return type of a GCC
26812 builtin and then its argument prototype would still apply. */
26813 #ifdef __cplusplus
26814 extern "C"
26815 #endif
26816 char deflate ();
26817 int
26818 main ()
26819 {
26820 return deflate ();
26821 ;
26822 return 0;
26823 }
26824 _ACEOF
26825 rm -f conftest.$ac_objext conftest$ac_exeext
26826 if { (ac_try="$ac_link"
26827 case "(($ac_try" in
26828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26829 *) ac_try_echo=$ac_try;;
26830 esac
26831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26832 (eval "$ac_link") 2>conftest.er1
26833 ac_status=$?
26834 grep -v '^ *+' conftest.er1 >conftest.err
26835 rm -f conftest.er1
26836 cat conftest.err >&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } && {
26839 test -z "$ac_c_werror_flag" ||
26840 test ! -s conftest.err
26841 } && test -s conftest$ac_exeext &&
26842 $as_test_x conftest$ac_exeext; then
26843 ac_cv_lib_z_deflate=yes
26844 else
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 ac_cv_lib_z_deflate=no
26849 fi
26850
26851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26852 conftest$ac_exeext conftest.$ac_ext
26853 LIBS=$ac_check_lib_save_LIBS
26854 fi
26855 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26856 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26857 if test $ac_cv_lib_z_deflate = yes; then
26858 ZLIB_LINK=" -lz"
26859 fi
26860
26861 fi
26862
26863 if test "x$ZLIB_LINK" = "x" ; then
26864 if test "$wxUSE_ZLIB" = "sys" ; then
26865 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26866 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26867 { (exit 1); exit 1; }; }
26868 else
26869 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26870 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26871 wxUSE_ZLIB=builtin
26872 fi
26873 else
26874 wxUSE_ZLIB=sys
26875 fi
26876 fi
26877 fi
26878
26879
26880 PNG_LINK=
26881 if test "$wxUSE_LIBPNG" != "no" ; then
26882 cat >>confdefs.h <<\_ACEOF
26883 #define wxUSE_LIBPNG 1
26884 _ACEOF
26885
26886
26887 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26888 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26889 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26890 wxUSE_LIBPNG=sys
26891 fi
26892
26893 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26894 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26895 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26896 wxUSE_LIBPNG=builtin
26897 fi
26898
26899 if test "$wxUSE_MGL" != 1 ; then
26900 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26901 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26902 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26903 if test "${ac_cv_header_png_h+set}" = set; then
26904 echo $ECHO_N "(cached) $ECHO_C" >&6
26905 else
26906 if test "$cross_compiling" = yes; then
26907 unset ac_cv_header_png_h
26908
26909 else
26910 cat >conftest.$ac_ext <<_ACEOF
26911 /* confdefs.h. */
26912 _ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26916
26917 #include <png.h>
26918 #include <stdio.h>
26919
26920 int main()
26921 {
26922 FILE *f=fopen("conftestval", "w");
26923 if (!f) exit(1);
26924 fprintf(f, "%s",
26925 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26926 exit(0);
26927 }
26928
26929 _ACEOF
26930 rm -f conftest$ac_exeext
26931 if { (ac_try="$ac_link"
26932 case "(($ac_try" in
26933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26934 *) ac_try_echo=$ac_try;;
26935 esac
26936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26937 (eval "$ac_link") 2>&5
26938 ac_status=$?
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26941 { (case "(($ac_try" in
26942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26943 *) ac_try_echo=$ac_try;;
26944 esac
26945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26946 (eval "$ac_try") 2>&5
26947 ac_status=$?
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); }; }; then
26950 ac_cv_header_png_h=`cat conftestval`
26951 else
26952 echo "$as_me: program exited with status $ac_status" >&5
26953 echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.$ac_ext >&5
26955
26956 ( exit $ac_status )
26957 ac_cv_header_png_h=no
26958 fi
26959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26960 fi
26961
26962
26963
26964 fi
26965 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26966 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26967 { echo "$as_me:$LINENO: checking for png.h" >&5
26968 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26969 if test "${ac_cv_header_png_h+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26971 else
26972 cat >conftest.$ac_ext <<_ACEOF
26973 /* confdefs.h. */
26974 _ACEOF
26975 cat confdefs.h >>conftest.$ac_ext
26976 cat >>conftest.$ac_ext <<_ACEOF
26977 /* end confdefs.h. */
26978
26979
26980 #include <png.h>
26981 _ACEOF
26982 rm -f conftest.$ac_objext
26983 if { (ac_try="$ac_compile"
26984 case "(($ac_try" in
26985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26986 *) ac_try_echo=$ac_try;;
26987 esac
26988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26989 (eval "$ac_compile") 2>conftest.er1
26990 ac_status=$?
26991 grep -v '^ *+' conftest.er1 >conftest.err
26992 rm -f conftest.er1
26993 cat conftest.err >&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } && {
26996 test -z "$ac_c_werror_flag" ||
26997 test ! -s conftest.err
26998 } && test -s conftest.$ac_objext; then
26999 ac_cv_header_png_h=yes
27000 else
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.$ac_ext >&5
27003
27004 ac_cv_header_png_h=no
27005 fi
27006
27007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27008 fi
27009 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27010 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27011
27012
27013
27014 if test "$ac_cv_header_png_h" = "yes"; then
27015 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27016 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27017 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27019 else
27020 ac_check_lib_save_LIBS=$LIBS
27021 LIBS="-lpng -lz -lm $LIBS"
27022 cat >conftest.$ac_ext <<_ACEOF
27023 /* confdefs.h. */
27024 _ACEOF
27025 cat confdefs.h >>conftest.$ac_ext
27026 cat >>conftest.$ac_ext <<_ACEOF
27027 /* end confdefs.h. */
27028
27029 /* Override any GCC internal prototype to avoid an error.
27030 Use char because int might match the return type of a GCC
27031 builtin and then its argument prototype would still apply. */
27032 #ifdef __cplusplus
27033 extern "C"
27034 #endif
27035 char png_check_sig ();
27036 int
27037 main ()
27038 {
27039 return png_check_sig ();
27040 ;
27041 return 0;
27042 }
27043 _ACEOF
27044 rm -f conftest.$ac_objext conftest$ac_exeext
27045 if { (ac_try="$ac_link"
27046 case "(($ac_try" in
27047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27048 *) ac_try_echo=$ac_try;;
27049 esac
27050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27051 (eval "$ac_link") 2>conftest.er1
27052 ac_status=$?
27053 grep -v '^ *+' conftest.er1 >conftest.err
27054 rm -f conftest.er1
27055 cat conftest.err >&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); } && {
27058 test -z "$ac_c_werror_flag" ||
27059 test ! -s conftest.err
27060 } && test -s conftest$ac_exeext &&
27061 $as_test_x conftest$ac_exeext; then
27062 ac_cv_lib_png_png_check_sig=yes
27063 else
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27066
27067 ac_cv_lib_png_png_check_sig=no
27068 fi
27069
27070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27071 conftest$ac_exeext conftest.$ac_ext
27072 LIBS=$ac_check_lib_save_LIBS
27073 fi
27074 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27075 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27076 if test $ac_cv_lib_png_png_check_sig = yes; then
27077 PNG_LINK=" -lpng -lz"
27078 fi
27079
27080 fi
27081
27082 if test "x$PNG_LINK" = "x" ; then
27083 if test "$wxUSE_LIBPNG" = "sys" ; then
27084 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27085 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27086 { (exit 1); exit 1; }; }
27087 else
27088 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27089 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27090 wxUSE_LIBPNG=builtin
27091 fi
27092 else
27093 wxUSE_LIBPNG=sys
27094 fi
27095 fi
27096 fi
27097 fi
27098
27099
27100 JPEG_LINK=
27101 if test "$wxUSE_LIBJPEG" != "no" ; then
27102 cat >>confdefs.h <<\_ACEOF
27103 #define wxUSE_LIBJPEG 1
27104 _ACEOF
27105
27106
27107 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27108 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27109 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27110 wxUSE_LIBJPEG=sys
27111 fi
27112
27113 if test "$wxUSE_MGL" != 1 ; then
27114 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27115 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27116 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27117 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27118 echo $ECHO_N "(cached) $ECHO_C" >&6
27119 else
27120 cat >conftest.$ac_ext <<_ACEOF
27121 /* confdefs.h. */
27122 _ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27126
27127 #undef HAVE_STDLIB_H
27128 #include <stdio.h>
27129 #include <jpeglib.h>
27130
27131 int
27132 main ()
27133 {
27134
27135
27136 ;
27137 return 0;
27138 }
27139 _ACEOF
27140 rm -f conftest.$ac_objext
27141 if { (ac_try="$ac_compile"
27142 case "(($ac_try" in
27143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27144 *) ac_try_echo=$ac_try;;
27145 esac
27146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27147 (eval "$ac_compile") 2>conftest.er1
27148 ac_status=$?
27149 grep -v '^ *+' conftest.er1 >conftest.err
27150 rm -f conftest.er1
27151 cat conftest.err >&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); } && {
27154 test -z "$ac_c_werror_flag" ||
27155 test ! -s conftest.err
27156 } && test -s conftest.$ac_objext; then
27157 ac_cv_header_jpeglib_h=yes
27158 else
27159 echo "$as_me: failed program was:" >&5
27160 sed 's/^/| /' conftest.$ac_ext >&5
27161
27162 ac_cv_header_jpeglib_h=no
27163
27164 fi
27165
27166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27167
27168 fi
27169
27170 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27171 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27172
27173 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27174 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27175 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27176 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27178 else
27179 ac_check_lib_save_LIBS=$LIBS
27180 LIBS="-ljpeg $LIBS"
27181 cat >conftest.$ac_ext <<_ACEOF
27182 /* confdefs.h. */
27183 _ACEOF
27184 cat confdefs.h >>conftest.$ac_ext
27185 cat >>conftest.$ac_ext <<_ACEOF
27186 /* end confdefs.h. */
27187
27188 /* Override any GCC internal prototype to avoid an error.
27189 Use char because int might match the return type of a GCC
27190 builtin and then its argument prototype would still apply. */
27191 #ifdef __cplusplus
27192 extern "C"
27193 #endif
27194 char jpeg_read_header ();
27195 int
27196 main ()
27197 {
27198 return jpeg_read_header ();
27199 ;
27200 return 0;
27201 }
27202 _ACEOF
27203 rm -f conftest.$ac_objext conftest$ac_exeext
27204 if { (ac_try="$ac_link"
27205 case "(($ac_try" in
27206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27207 *) ac_try_echo=$ac_try;;
27208 esac
27209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27210 (eval "$ac_link") 2>conftest.er1
27211 ac_status=$?
27212 grep -v '^ *+' conftest.er1 >conftest.err
27213 rm -f conftest.er1
27214 cat conftest.err >&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } && {
27217 test -z "$ac_c_werror_flag" ||
27218 test ! -s conftest.err
27219 } && test -s conftest$ac_exeext &&
27220 $as_test_x conftest$ac_exeext; then
27221 ac_cv_lib_jpeg_jpeg_read_header=yes
27222 else
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27225
27226 ac_cv_lib_jpeg_jpeg_read_header=no
27227 fi
27228
27229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27230 conftest$ac_exeext conftest.$ac_ext
27231 LIBS=$ac_check_lib_save_LIBS
27232 fi
27233 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27234 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27235 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27236 JPEG_LINK=" -ljpeg"
27237 fi
27238
27239 fi
27240
27241 if test "x$JPEG_LINK" = "x" ; then
27242 if test "$wxUSE_LIBJPEG" = "sys" ; then
27243 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27244 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27245 { (exit 1); exit 1; }; }
27246 else
27247 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27248 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27249 wxUSE_LIBJPEG=builtin
27250 fi
27251 else
27252 wxUSE_LIBJPEG=sys
27253
27254 if test "$wxUSE_MSW" = 1; then
27255 { echo "$as_me:$LINENO: checking for boolean" >&5
27256 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27257 if test "${ac_cv_type_boolean+set}" = set; then
27258 echo $ECHO_N "(cached) $ECHO_C" >&6
27259 else
27260 cat >conftest.$ac_ext <<_ACEOF
27261 /* confdefs.h. */
27262 _ACEOF
27263 cat confdefs.h >>conftest.$ac_ext
27264 cat >>conftest.$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27266 #include <windows.h>
27267
27268 typedef boolean ac__type_new_;
27269 int
27270 main ()
27271 {
27272 if ((ac__type_new_ *) 0)
27273 return 0;
27274 if (sizeof (ac__type_new_))
27275 return 0;
27276 ;
27277 return 0;
27278 }
27279 _ACEOF
27280 rm -f conftest.$ac_objext
27281 if { (ac_try="$ac_compile"
27282 case "(($ac_try" in
27283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27284 *) ac_try_echo=$ac_try;;
27285 esac
27286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27287 (eval "$ac_compile") 2>conftest.er1
27288 ac_status=$?
27289 grep -v '^ *+' conftest.er1 >conftest.err
27290 rm -f conftest.er1
27291 cat conftest.err >&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } && {
27294 test -z "$ac_c_werror_flag" ||
27295 test ! -s conftest.err
27296 } && test -s conftest.$ac_objext; then
27297 ac_cv_type_boolean=yes
27298 else
27299 echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.$ac_ext >&5
27301
27302 ac_cv_type_boolean=no
27303 fi
27304
27305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27306 fi
27307 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27308 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27309 if test $ac_cv_type_boolean = yes; then
27310
27311 cat >>confdefs.h <<_ACEOF
27312 #define HAVE_BOOLEAN 1
27313 _ACEOF
27314
27315
27316 { echo "$as_me:$LINENO: checking for boolean" >&5
27317 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27318 if test "${ac_cv_type_boolean+set}" = set; then
27319 echo $ECHO_N "(cached) $ECHO_C" >&6
27320 else
27321 cat >conftest.$ac_ext <<_ACEOF
27322 /* confdefs.h. */
27323 _ACEOF
27324 cat confdefs.h >>conftest.$ac_ext
27325 cat >>conftest.$ac_ext <<_ACEOF
27326 /* end confdefs.h. */
27327
27328 #undef HAVE_BOOLEAN
27329 #include <stdio.h>
27330 #include <jpeglib.h>
27331
27332
27333 typedef boolean ac__type_new_;
27334 int
27335 main ()
27336 {
27337 if ((ac__type_new_ *) 0)
27338 return 0;
27339 if (sizeof (ac__type_new_))
27340 return 0;
27341 ;
27342 return 0;
27343 }
27344 _ACEOF
27345 rm -f conftest.$ac_objext
27346 if { (ac_try="$ac_compile"
27347 case "(($ac_try" in
27348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27349 *) ac_try_echo=$ac_try;;
27350 esac
27351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27352 (eval "$ac_compile") 2>conftest.er1
27353 ac_status=$?
27354 grep -v '^ *+' conftest.er1 >conftest.err
27355 rm -f conftest.er1
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } && {
27359 test -z "$ac_c_werror_flag" ||
27360 test ! -s conftest.err
27361 } && test -s conftest.$ac_objext; then
27362 ac_cv_type_boolean=yes
27363 else
27364 echo "$as_me: failed program was:" >&5
27365 sed 's/^/| /' conftest.$ac_ext >&5
27366
27367 ac_cv_type_boolean=no
27368 fi
27369
27370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27371 fi
27372 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27373 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27374
27375 # The cast to long int works around a bug in the HP C Compiler
27376 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27377 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27378 # This bug is HP SR number 8606223364.
27379 { echo "$as_me:$LINENO: checking size of boolean" >&5
27380 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27381 if test "${ac_cv_sizeof_boolean+set}" = set; then
27382 echo $ECHO_N "(cached) $ECHO_C" >&6
27383 else
27384 if test "$cross_compiling" = yes; then
27385 # Depending upon the size, compute the lo and hi bounds.
27386 cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h. */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392
27393 #undef HAVE_BOOLEAN
27394 #include <stdio.h>
27395 #include <jpeglib.h>
27396
27397
27398 typedef boolean ac__type_sizeof_;
27399 int
27400 main ()
27401 {
27402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27403 test_array [0] = 0
27404
27405 ;
27406 return 0;
27407 }
27408 _ACEOF
27409 rm -f conftest.$ac_objext
27410 if { (ac_try="$ac_compile"
27411 case "(($ac_try" in
27412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27413 *) ac_try_echo=$ac_try;;
27414 esac
27415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27416 (eval "$ac_compile") 2>conftest.er1
27417 ac_status=$?
27418 grep -v '^ *+' conftest.er1 >conftest.err
27419 rm -f conftest.er1
27420 cat conftest.err >&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } && {
27423 test -z "$ac_c_werror_flag" ||
27424 test ! -s conftest.err
27425 } && test -s conftest.$ac_objext; then
27426 ac_lo=0 ac_mid=0
27427 while :; do
27428 cat >conftest.$ac_ext <<_ACEOF
27429 /* confdefs.h. */
27430 _ACEOF
27431 cat confdefs.h >>conftest.$ac_ext
27432 cat >>conftest.$ac_ext <<_ACEOF
27433 /* end confdefs.h. */
27434
27435 #undef HAVE_BOOLEAN
27436 #include <stdio.h>
27437 #include <jpeglib.h>
27438
27439
27440 typedef boolean ac__type_sizeof_;
27441 int
27442 main ()
27443 {
27444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27445 test_array [0] = 0
27446
27447 ;
27448 return 0;
27449 }
27450 _ACEOF
27451 rm -f conftest.$ac_objext
27452 if { (ac_try="$ac_compile"
27453 case "(($ac_try" in
27454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27455 *) ac_try_echo=$ac_try;;
27456 esac
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458 (eval "$ac_compile") 2>conftest.er1
27459 ac_status=$?
27460 grep -v '^ *+' conftest.er1 >conftest.err
27461 rm -f conftest.er1
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } && {
27465 test -z "$ac_c_werror_flag" ||
27466 test ! -s conftest.err
27467 } && test -s conftest.$ac_objext; then
27468 ac_hi=$ac_mid; break
27469 else
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27472
27473 ac_lo=`expr $ac_mid + 1`
27474 if test $ac_lo -le $ac_mid; then
27475 ac_lo= ac_hi=
27476 break
27477 fi
27478 ac_mid=`expr 2 '*' $ac_mid + 1`
27479 fi
27480
27481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27482 done
27483 else
27484 echo "$as_me: failed program was:" >&5
27485 sed 's/^/| /' conftest.$ac_ext >&5
27486
27487 cat >conftest.$ac_ext <<_ACEOF
27488 /* confdefs.h. */
27489 _ACEOF
27490 cat confdefs.h >>conftest.$ac_ext
27491 cat >>conftest.$ac_ext <<_ACEOF
27492 /* end confdefs.h. */
27493
27494 #undef HAVE_BOOLEAN
27495 #include <stdio.h>
27496 #include <jpeglib.h>
27497
27498
27499 typedef boolean ac__type_sizeof_;
27500 int
27501 main ()
27502 {
27503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27504 test_array [0] = 0
27505
27506 ;
27507 return 0;
27508 }
27509 _ACEOF
27510 rm -f conftest.$ac_objext
27511 if { (ac_try="$ac_compile"
27512 case "(($ac_try" in
27513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27514 *) ac_try_echo=$ac_try;;
27515 esac
27516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27517 (eval "$ac_compile") 2>conftest.er1
27518 ac_status=$?
27519 grep -v '^ *+' conftest.er1 >conftest.err
27520 rm -f conftest.er1
27521 cat conftest.err >&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); } && {
27524 test -z "$ac_c_werror_flag" ||
27525 test ! -s conftest.err
27526 } && test -s conftest.$ac_objext; then
27527 ac_hi=-1 ac_mid=-1
27528 while :; do
27529 cat >conftest.$ac_ext <<_ACEOF
27530 /* confdefs.h. */
27531 _ACEOF
27532 cat confdefs.h >>conftest.$ac_ext
27533 cat >>conftest.$ac_ext <<_ACEOF
27534 /* end confdefs.h. */
27535
27536 #undef HAVE_BOOLEAN
27537 #include <stdio.h>
27538 #include <jpeglib.h>
27539
27540
27541 typedef boolean ac__type_sizeof_;
27542 int
27543 main ()
27544 {
27545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27546 test_array [0] = 0
27547
27548 ;
27549 return 0;
27550 }
27551 _ACEOF
27552 rm -f conftest.$ac_objext
27553 if { (ac_try="$ac_compile"
27554 case "(($ac_try" in
27555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27556 *) ac_try_echo=$ac_try;;
27557 esac
27558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27559 (eval "$ac_compile") 2>conftest.er1
27560 ac_status=$?
27561 grep -v '^ *+' conftest.er1 >conftest.err
27562 rm -f conftest.er1
27563 cat conftest.err >&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); } && {
27566 test -z "$ac_c_werror_flag" ||
27567 test ! -s conftest.err
27568 } && test -s conftest.$ac_objext; then
27569 ac_lo=$ac_mid; break
27570 else
27571 echo "$as_me: failed program was:" >&5
27572 sed 's/^/| /' conftest.$ac_ext >&5
27573
27574 ac_hi=`expr '(' $ac_mid ')' - 1`
27575 if test $ac_mid -le $ac_hi; then
27576 ac_lo= ac_hi=
27577 break
27578 fi
27579 ac_mid=`expr 2 '*' $ac_mid`
27580 fi
27581
27582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27583 done
27584 else
27585 echo "$as_me: failed program was:" >&5
27586 sed 's/^/| /' conftest.$ac_ext >&5
27587
27588 ac_lo= ac_hi=
27589 fi
27590
27591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27592 fi
27593
27594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27595 # Binary search between lo and hi bounds.
27596 while test "x$ac_lo" != "x$ac_hi"; do
27597 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27598 cat >conftest.$ac_ext <<_ACEOF
27599 /* confdefs.h. */
27600 _ACEOF
27601 cat confdefs.h >>conftest.$ac_ext
27602 cat >>conftest.$ac_ext <<_ACEOF
27603 /* end confdefs.h. */
27604
27605 #undef HAVE_BOOLEAN
27606 #include <stdio.h>
27607 #include <jpeglib.h>
27608
27609
27610 typedef boolean ac__type_sizeof_;
27611 int
27612 main ()
27613 {
27614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27615 test_array [0] = 0
27616
27617 ;
27618 return 0;
27619 }
27620 _ACEOF
27621 rm -f conftest.$ac_objext
27622 if { (ac_try="$ac_compile"
27623 case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27625 *) ac_try_echo=$ac_try;;
27626 esac
27627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_compile") 2>conftest.er1
27629 ac_status=$?
27630 grep -v '^ *+' conftest.er1 >conftest.err
27631 rm -f conftest.er1
27632 cat conftest.err >&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } && {
27635 test -z "$ac_c_werror_flag" ||
27636 test ! -s conftest.err
27637 } && test -s conftest.$ac_objext; then
27638 ac_hi=$ac_mid
27639 else
27640 echo "$as_me: failed program was:" >&5
27641 sed 's/^/| /' conftest.$ac_ext >&5
27642
27643 ac_lo=`expr '(' $ac_mid ')' + 1`
27644 fi
27645
27646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27647 done
27648 case $ac_lo in
27649 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27650 '') if test "$ac_cv_type_boolean" = yes; then
27651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27652 See \`config.log' for more details." >&5
27653 echo "$as_me: error: cannot compute sizeof (boolean)
27654 See \`config.log' for more details." >&2;}
27655 { (exit 77); exit 77; }; }
27656 else
27657 ac_cv_sizeof_boolean=0
27658 fi ;;
27659 esac
27660 else
27661 cat >conftest.$ac_ext <<_ACEOF
27662 /* confdefs.h. */
27663 _ACEOF
27664 cat confdefs.h >>conftest.$ac_ext
27665 cat >>conftest.$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27667
27668 #undef HAVE_BOOLEAN
27669 #include <stdio.h>
27670 #include <jpeglib.h>
27671
27672
27673 typedef boolean ac__type_sizeof_;
27674 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27675 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27676 #include <stdio.h>
27677 #include <stdlib.h>
27678 int
27679 main ()
27680 {
27681
27682 FILE *f = fopen ("conftest.val", "w");
27683 if (! f)
27684 return 1;
27685 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27686 {
27687 long int i = longval ();
27688 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27689 return 1;
27690 fprintf (f, "%ld\n", i);
27691 }
27692 else
27693 {
27694 unsigned long int i = ulongval ();
27695 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27696 return 1;
27697 fprintf (f, "%lu\n", i);
27698 }
27699 return ferror (f) || fclose (f) != 0;
27700
27701 ;
27702 return 0;
27703 }
27704 _ACEOF
27705 rm -f conftest$ac_exeext
27706 if { (ac_try="$ac_link"
27707 case "(($ac_try" in
27708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27709 *) ac_try_echo=$ac_try;;
27710 esac
27711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27712 (eval "$ac_link") 2>&5
27713 ac_status=$?
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27716 { (case "(($ac_try" in
27717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27718 *) ac_try_echo=$ac_try;;
27719 esac
27720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27721 (eval "$ac_try") 2>&5
27722 ac_status=$?
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); }; }; then
27725 ac_cv_sizeof_boolean=`cat conftest.val`
27726 else
27727 echo "$as_me: program exited with status $ac_status" >&5
27728 echo "$as_me: failed program was:" >&5
27729 sed 's/^/| /' conftest.$ac_ext >&5
27730
27731 ( exit $ac_status )
27732 if test "$ac_cv_type_boolean" = yes; then
27733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27734 See \`config.log' for more details." >&5
27735 echo "$as_me: error: cannot compute sizeof (boolean)
27736 See \`config.log' for more details." >&2;}
27737 { (exit 77); exit 77; }; }
27738 else
27739 ac_cv_sizeof_boolean=0
27740 fi
27741 fi
27742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27743 fi
27744 rm -f conftest.val
27745 fi
27746 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27747 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27748
27749
27750
27751 cat >>confdefs.h <<_ACEOF
27752 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27753 _ACEOF
27754
27755
27756 cat >>confdefs.h <<_ACEOF
27757 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27758 _ACEOF
27759
27760
27761 fi
27762
27763 fi
27764 fi
27765 fi
27766 fi
27767 fi
27768
27769
27770 TIFF_LINK=
27771 TIFF_PREREQ_LINKS=-lm
27772 if test "$wxUSE_LIBTIFF" != "no" ; then
27773 cat >>confdefs.h <<\_ACEOF
27774 #define wxUSE_LIBTIFF 1
27775 _ACEOF
27776
27777
27778 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27779 if test "$wxUSE_LIBJPEG" = "sys"; then
27780 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27781 fi
27782 if test "$wxUSE_ZLIB" = "sys"; then
27783 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27784 fi
27785 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27786 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27787 if test "${ac_cv_header_tiffio_h+set}" = set; then
27788 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 else
27790 cat >conftest.$ac_ext <<_ACEOF
27791 /* confdefs.h. */
27792 _ACEOF
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796
27797
27798
27799 #include <tiffio.h>
27800 _ACEOF
27801 rm -f conftest.$ac_objext
27802 if { (ac_try="$ac_compile"
27803 case "(($ac_try" in
27804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27805 *) ac_try_echo=$ac_try;;
27806 esac
27807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27808 (eval "$ac_compile") 2>conftest.er1
27809 ac_status=$?
27810 grep -v '^ *+' conftest.er1 >conftest.err
27811 rm -f conftest.er1
27812 cat conftest.err >&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } && {
27815 test -z "$ac_c_werror_flag" ||
27816 test ! -s conftest.err
27817 } && test -s conftest.$ac_objext; then
27818 ac_cv_header_tiffio_h=yes
27819 else
27820 echo "$as_me: failed program was:" >&5
27821 sed 's/^/| /' conftest.$ac_ext >&5
27822
27823 ac_cv_header_tiffio_h=no
27824 fi
27825
27826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27827 fi
27828 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27829 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27830 if test $ac_cv_header_tiffio_h = yes; then
27831
27832 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27833 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27834 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27835 echo $ECHO_N "(cached) $ECHO_C" >&6
27836 else
27837 ac_check_lib_save_LIBS=$LIBS
27838 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27839 cat >conftest.$ac_ext <<_ACEOF
27840 /* confdefs.h. */
27841 _ACEOF
27842 cat confdefs.h >>conftest.$ac_ext
27843 cat >>conftest.$ac_ext <<_ACEOF
27844 /* end confdefs.h. */
27845
27846 /* Override any GCC internal prototype to avoid an error.
27847 Use char because int might match the return type of a GCC
27848 builtin and then its argument prototype would still apply. */
27849 #ifdef __cplusplus
27850 extern "C"
27851 #endif
27852 char TIFFError ();
27853 int
27854 main ()
27855 {
27856 return TIFFError ();
27857 ;
27858 return 0;
27859 }
27860 _ACEOF
27861 rm -f conftest.$ac_objext conftest$ac_exeext
27862 if { (ac_try="$ac_link"
27863 case "(($ac_try" in
27864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27865 *) ac_try_echo=$ac_try;;
27866 esac
27867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27868 (eval "$ac_link") 2>conftest.er1
27869 ac_status=$?
27870 grep -v '^ *+' conftest.er1 >conftest.err
27871 rm -f conftest.er1
27872 cat conftest.err >&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); } && {
27875 test -z "$ac_c_werror_flag" ||
27876 test ! -s conftest.err
27877 } && test -s conftest$ac_exeext &&
27878 $as_test_x conftest$ac_exeext; then
27879 ac_cv_lib_tiff_TIFFError=yes
27880 else
27881 echo "$as_me: failed program was:" >&5
27882 sed 's/^/| /' conftest.$ac_ext >&5
27883
27884 ac_cv_lib_tiff_TIFFError=no
27885 fi
27886
27887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27888 conftest$ac_exeext conftest.$ac_ext
27889 LIBS=$ac_check_lib_save_LIBS
27890 fi
27891 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27892 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27893 if test $ac_cv_lib_tiff_TIFFError = yes; then
27894 TIFF_LINK=" -ltiff"
27895 fi
27896
27897
27898 fi
27899
27900
27901
27902 if test "x$TIFF_LINK" = "x" ; then
27903 if test "$wxUSE_LIBTIFF" = "sys" ; then
27904 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27905 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27906 { (exit 1); exit 1; }; }
27907 else
27908 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27909 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27910 wxUSE_LIBTIFF=builtin
27911 fi
27912 else
27913 wxUSE_LIBTIFF=sys
27914 fi
27915 fi
27916 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27917 if test "$wxUSE_LIBJPEG" = "no"; then
27918 ac_configure_args="$ac_configure_args --disable-jpeg"
27919 fi
27920 subdirs="$subdirs src/tiff"
27921
27922 fi
27923 fi
27924
27925
27926 if test "$wxUSE_WCHAR_T" != "yes"; then
27927 if test "$wxUSE_EXPAT" != "no"; then
27928 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27929 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27930 wxUSE_EXPAT=no
27931 fi
27932 if test "$wxUSE_XML" != "no"; then
27933 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27934 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27935 wxUSE_XML=no
27936 fi
27937 fi
27938
27939 if test "$wxUSE_EXPAT" != "no"; then
27940 wxUSE_XML=yes
27941 cat >>confdefs.h <<\_ACEOF
27942 #define wxUSE_EXPAT 1
27943 _ACEOF
27944
27945 cat >>confdefs.h <<\_ACEOF
27946 #define wxUSE_XML 1
27947 _ACEOF
27948
27949
27950 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27951 { echo "$as_me:$LINENO: checking for expat.h" >&5
27952 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27953 if test "${ac_cv_header_expat_h+set}" = set; then
27954 echo $ECHO_N "(cached) $ECHO_C" >&6
27955 else
27956 cat >conftest.$ac_ext <<_ACEOF
27957 /* confdefs.h. */
27958 _ACEOF
27959 cat confdefs.h >>conftest.$ac_ext
27960 cat >>conftest.$ac_ext <<_ACEOF
27961 /* end confdefs.h. */
27962
27963
27964 #include <expat.h>
27965 _ACEOF
27966 rm -f conftest.$ac_objext
27967 if { (ac_try="$ac_compile"
27968 case "(($ac_try" in
27969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27970 *) ac_try_echo=$ac_try;;
27971 esac
27972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27973 (eval "$ac_compile") 2>conftest.er1
27974 ac_status=$?
27975 grep -v '^ *+' conftest.er1 >conftest.err
27976 rm -f conftest.er1
27977 cat conftest.err >&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); } && {
27980 test -z "$ac_c_werror_flag" ||
27981 test ! -s conftest.err
27982 } && test -s conftest.$ac_objext; then
27983 ac_cv_header_expat_h=yes
27984 else
27985 echo "$as_me: failed program was:" >&5
27986 sed 's/^/| /' conftest.$ac_ext >&5
27987
27988 ac_cv_header_expat_h=no
27989 fi
27990
27991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27992 fi
27993 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27994 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27995 if test $ac_cv_header_expat_h = yes; then
27996 found_expat_h=1
27997 fi
27998
27999
28000 if test "x$found_expat_h" = "x1"; then
28001 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28002 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28003 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28006
28007 ac_ext=cpp
28008 ac_cpp='$CXXCPP $CPPFLAGS'
28009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28012
28013 cat >conftest.$ac_ext <<_ACEOF
28014 /* confdefs.h. */
28015 _ACEOF
28016 cat confdefs.h >>conftest.$ac_ext
28017 cat >>conftest.$ac_ext <<_ACEOF
28018 /* end confdefs.h. */
28019 #include <expat.h>
28020 int
28021 main ()
28022 {
28023
28024 ;
28025 return 0;
28026 }
28027 _ACEOF
28028 rm -f conftest.$ac_objext
28029 if { (ac_try="$ac_compile"
28030 case "(($ac_try" in
28031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28032 *) ac_try_echo=$ac_try;;
28033 esac
28034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28035 (eval "$ac_compile") 2>conftest.er1
28036 ac_status=$?
28037 grep -v '^ *+' conftest.er1 >conftest.err
28038 rm -f conftest.er1
28039 cat conftest.err >&5
28040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041 (exit $ac_status); } && {
28042 test -z "$ac_cxx_werror_flag" ||
28043 test ! -s conftest.err
28044 } && test -s conftest.$ac_objext; then
28045 wx_cv_expat_is_not_broken=yes
28046 else
28047 echo "$as_me: failed program was:" >&5
28048 sed 's/^/| /' conftest.$ac_ext >&5
28049
28050 wx_cv_expat_is_not_broken=no
28051
28052 fi
28053
28054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28055 ac_ext=c
28056 ac_cpp='$CPP $CPPFLAGS'
28057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28060
28061
28062
28063 fi
28064 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28065 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28066 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28067 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28068 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28069 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28070 echo $ECHO_N "(cached) $ECHO_C" >&6
28071 else
28072 ac_check_lib_save_LIBS=$LIBS
28073 LIBS="-lexpat $LIBS"
28074 cat >conftest.$ac_ext <<_ACEOF
28075 /* confdefs.h. */
28076 _ACEOF
28077 cat confdefs.h >>conftest.$ac_ext
28078 cat >>conftest.$ac_ext <<_ACEOF
28079 /* end confdefs.h. */
28080
28081 /* Override any GCC internal prototype to avoid an error.
28082 Use char because int might match the return type of a GCC
28083 builtin and then its argument prototype would still apply. */
28084 #ifdef __cplusplus
28085 extern "C"
28086 #endif
28087 char XML_ParserCreate ();
28088 int
28089 main ()
28090 {
28091 return XML_ParserCreate ();
28092 ;
28093 return 0;
28094 }
28095 _ACEOF
28096 rm -f conftest.$ac_objext conftest$ac_exeext
28097 if { (ac_try="$ac_link"
28098 case "(($ac_try" in
28099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28100 *) ac_try_echo=$ac_try;;
28101 esac
28102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28103 (eval "$ac_link") 2>conftest.er1
28104 ac_status=$?
28105 grep -v '^ *+' conftest.er1 >conftest.err
28106 rm -f conftest.er1
28107 cat conftest.err >&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); } && {
28110 test -z "$ac_c_werror_flag" ||
28111 test ! -s conftest.err
28112 } && test -s conftest$ac_exeext &&
28113 $as_test_x conftest$ac_exeext; then
28114 ac_cv_lib_expat_XML_ParserCreate=yes
28115 else
28116 echo "$as_me: failed program was:" >&5
28117 sed 's/^/| /' conftest.$ac_ext >&5
28118
28119 ac_cv_lib_expat_XML_ParserCreate=no
28120 fi
28121
28122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28123 conftest$ac_exeext conftest.$ac_ext
28124 LIBS=$ac_check_lib_save_LIBS
28125 fi
28126 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28127 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28128 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28129 EXPAT_LINK=" -lexpat"
28130 fi
28131
28132 fi
28133 fi
28134 if test "x$EXPAT_LINK" = "x" ; then
28135 if test "$wxUSE_EXPAT" = "sys" ; then
28136 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28137 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28138 { (exit 1); exit 1; }; }
28139 else
28140 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28141 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28142 wxUSE_EXPAT=builtin
28143 fi
28144 else
28145 wxUSE_EXPAT=sys
28146 fi
28147 fi
28148 if test "$wxUSE_EXPAT" = "builtin" ; then
28149 subdirs="$subdirs src/expat"
28150
28151 fi
28152 fi
28153
28154
28155
28156 if test "$wxUSE_LIBMSPACK" != "no"; then
28157 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28158 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28159 if test "${ac_cv_header_mspack_h+set}" = set; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28161 else
28162 cat >conftest.$ac_ext <<_ACEOF
28163 /* confdefs.h. */
28164 _ACEOF
28165 cat confdefs.h >>conftest.$ac_ext
28166 cat >>conftest.$ac_ext <<_ACEOF
28167 /* end confdefs.h. */
28168
28169
28170 #include <mspack.h>
28171 _ACEOF
28172 rm -f conftest.$ac_objext
28173 if { (ac_try="$ac_compile"
28174 case "(($ac_try" in
28175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28176 *) ac_try_echo=$ac_try;;
28177 esac
28178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28179 (eval "$ac_compile") 2>conftest.er1
28180 ac_status=$?
28181 grep -v '^ *+' conftest.er1 >conftest.err
28182 rm -f conftest.er1
28183 cat conftest.err >&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } && {
28186 test -z "$ac_c_werror_flag" ||
28187 test ! -s conftest.err
28188 } && test -s conftest.$ac_objext; then
28189 ac_cv_header_mspack_h=yes
28190 else
28191 echo "$as_me: failed program was:" >&5
28192 sed 's/^/| /' conftest.$ac_ext >&5
28193
28194 ac_cv_header_mspack_h=no
28195 fi
28196
28197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28198 fi
28199 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28200 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28201 if test $ac_cv_header_mspack_h = yes; then
28202 found_mspack_h=1
28203 fi
28204
28205
28206 if test "x$found_mspack_h" = "x1"; then
28207 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28208 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28209 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28210 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 else
28212 ac_check_lib_save_LIBS=$LIBS
28213 LIBS="-lmspack $LIBS"
28214 cat >conftest.$ac_ext <<_ACEOF
28215 /* confdefs.h. */
28216 _ACEOF
28217 cat confdefs.h >>conftest.$ac_ext
28218 cat >>conftest.$ac_ext <<_ACEOF
28219 /* end confdefs.h. */
28220
28221 /* Override any GCC internal prototype to avoid an error.
28222 Use char because int might match the return type of a GCC
28223 builtin and then its argument prototype would still apply. */
28224 #ifdef __cplusplus
28225 extern "C"
28226 #endif
28227 char mspack_create_chm_decompressor ();
28228 int
28229 main ()
28230 {
28231 return mspack_create_chm_decompressor ();
28232 ;
28233 return 0;
28234 }
28235 _ACEOF
28236 rm -f conftest.$ac_objext conftest$ac_exeext
28237 if { (ac_try="$ac_link"
28238 case "(($ac_try" in
28239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28240 *) ac_try_echo=$ac_try;;
28241 esac
28242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28243 (eval "$ac_link") 2>conftest.er1
28244 ac_status=$?
28245 grep -v '^ *+' conftest.er1 >conftest.err
28246 rm -f conftest.er1
28247 cat conftest.err >&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); } && {
28250 test -z "$ac_c_werror_flag" ||
28251 test ! -s conftest.err
28252 } && test -s conftest$ac_exeext &&
28253 $as_test_x conftest$ac_exeext; then
28254 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28255 else
28256 echo "$as_me: failed program was:" >&5
28257 sed 's/^/| /' conftest.$ac_ext >&5
28258
28259 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28260 fi
28261
28262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28263 conftest$ac_exeext conftest.$ac_ext
28264 LIBS=$ac_check_lib_save_LIBS
28265 fi
28266 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28267 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28268 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28269 MSPACK_LINK=" -lmspack"
28270 fi
28271
28272 fi
28273 if test "x$MSPACK_LINK" = "x" ; then
28274 wxUSE_LIBMSPACK=no
28275 fi
28276 fi
28277
28278 if test "$wxUSE_LIBMSPACK" != "no"; then
28279 cat >>confdefs.h <<\_ACEOF
28280 #define wxUSE_LIBMSPACK 1
28281 _ACEOF
28282
28283 fi
28284
28285
28286
28287 AFMINSTALL=
28288 WIN32INSTALL=
28289
28290 TOOLKIT=
28291 TOOLKIT_INCLUDE=
28292 WIDGET_SET=
28293
28294 if test "$USE_WIN32" = 1 ; then
28295
28296 for ac_header in w32api.h
28297 do
28298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28302 echo $ECHO_N "(cached) $ECHO_C" >&6
28303 else
28304 cat >conftest.$ac_ext <<_ACEOF
28305 /* confdefs.h. */
28306 _ACEOF
28307 cat confdefs.h >>conftest.$ac_ext
28308 cat >>conftest.$ac_ext <<_ACEOF
28309 /* end confdefs.h. */
28310
28311
28312 #include <$ac_header>
28313 _ACEOF
28314 rm -f conftest.$ac_objext
28315 if { (ac_try="$ac_compile"
28316 case "(($ac_try" in
28317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28318 *) ac_try_echo=$ac_try;;
28319 esac
28320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28321 (eval "$ac_compile") 2>conftest.er1
28322 ac_status=$?
28323 grep -v '^ *+' conftest.er1 >conftest.err
28324 rm -f conftest.er1
28325 cat conftest.err >&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } && {
28328 test -z "$ac_c_werror_flag" ||
28329 test ! -s conftest.err
28330 } && test -s conftest.$ac_objext; then
28331 eval "$as_ac_Header=yes"
28332 else
28333 echo "$as_me: failed program was:" >&5
28334 sed 's/^/| /' conftest.$ac_ext >&5
28335
28336 eval "$as_ac_Header=no"
28337 fi
28338
28339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28340 fi
28341 ac_res=`eval echo '${'$as_ac_Header'}'`
28342 { echo "$as_me:$LINENO: result: $ac_res" >&5
28343 echo "${ECHO_T}$ac_res" >&6; }
28344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28345 cat >>confdefs.h <<_ACEOF
28346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28347 _ACEOF
28348
28349 fi
28350
28351 done
28352
28353 { echo "$as_me:$LINENO: checking for windows.h" >&5
28354 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28355 if test "${ac_cv_header_windows_h+set}" = set; then
28356 echo $ECHO_N "(cached) $ECHO_C" >&6
28357 else
28358 cat >conftest.$ac_ext <<_ACEOF
28359 /* confdefs.h. */
28360 _ACEOF
28361 cat confdefs.h >>conftest.$ac_ext
28362 cat >>conftest.$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28364
28365
28366 #include <windows.h>
28367 _ACEOF
28368 rm -f conftest.$ac_objext
28369 if { (ac_try="$ac_compile"
28370 case "(($ac_try" in
28371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28372 *) ac_try_echo=$ac_try;;
28373 esac
28374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28375 (eval "$ac_compile") 2>conftest.er1
28376 ac_status=$?
28377 grep -v '^ *+' conftest.er1 >conftest.err
28378 rm -f conftest.er1
28379 cat conftest.err >&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); } && {
28382 test -z "$ac_c_werror_flag" ||
28383 test ! -s conftest.err
28384 } && test -s conftest.$ac_objext; then
28385 ac_cv_header_windows_h=yes
28386 else
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.$ac_ext >&5
28389
28390 ac_cv_header_windows_h=no
28391 fi
28392
28393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28394 fi
28395 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28396 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28397 if test $ac_cv_header_windows_h = yes; then
28398 :
28399 else
28400
28401 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28402 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28403 { (exit 1); exit 1; }; }
28404
28405 fi
28406
28407
28408
28409 case "${host}" in
28410 x86_64-*-mingw32* )
28411 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28412
28413 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28414 ;;
28415 * )
28416 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28417 ;;
28418 esac
28419 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28420 LIBS="$LIBS -loleacc"
28421 fi
28422
28423 case "${host}" in
28424 *-*-cygwin* )
28425 LIBS="$LIBS -lkernel32 -luser32"
28426 esac
28427
28428 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28429 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28430
28431 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28432
28433 WIN32INSTALL=win32install
28434
28435 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28436 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28437 if test "${ac_cv_header_pbt_h+set}" = set; then
28438 echo $ECHO_N "(cached) $ECHO_C" >&6
28439 else
28440 cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446
28447
28448 #include <pbt.h>
28449 _ACEOF
28450 rm -f conftest.$ac_objext
28451 if { (ac_try="$ac_compile"
28452 case "(($ac_try" in
28453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28454 *) ac_try_echo=$ac_try;;
28455 esac
28456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28457 (eval "$ac_compile") 2>conftest.er1
28458 ac_status=$?
28459 grep -v '^ *+' conftest.er1 >conftest.err
28460 rm -f conftest.er1
28461 cat conftest.err >&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); } && {
28464 test -z "$ac_c_werror_flag" ||
28465 test ! -s conftest.err
28466 } && test -s conftest.$ac_objext; then
28467 ac_cv_header_pbt_h=yes
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 ac_cv_header_pbt_h=no
28473 fi
28474
28475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28476 fi
28477 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28478 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28479 if test $ac_cv_header_pbt_h = yes; then
28480 :
28481 else
28482 cat >>confdefs.h <<\_ACEOF
28483 #define NEED_PBT_H 1
28484 _ACEOF
28485
28486 fi
28487
28488
28489 fi
28490
28491 if test "$wxUSE_GUI" = "yes"; then
28492 USE_GUI=1
28493
28494 GUI_TK_LIBRARY=
28495
28496 WXGTK12=
28497 WXGTK127=
28498 WXGTK2=
28499 WXGPE=
28500
28501 if test "$wxUSE_COCOA" = 1 ; then
28502 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28503 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28504 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28505 wxUSE_PRINTING_ARCHITECTURE=no
28506 fi
28507 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28508 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28509 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28510 wxUSE_DRAG_AND_DROP=no
28511 fi
28512 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28513 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28514 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28515 wxUSE_DRAGIMAGE=no
28516 fi
28517 fi
28518
28519 if test "$wxUSE_MSW" = 1 ; then
28520 TOOLKIT=MSW
28521 GUIDIST=MSW_DIST
28522
28523 case "${host}" in
28524 *-*-mingw32* )
28525 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28526 esac
28527 fi
28528
28529 if test "$wxUSE_GTK" = 1; then
28530 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28531 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28532
28533 gtk_version_cached=1
28534 if test "${wx_cv_lib_gtk+set}" = set; then
28535 echo $ECHO_N "(cached) $ECHO_C" >&6
28536 else
28537
28538 gtk_version_cached=0
28539 { echo "$as_me:$LINENO: result: " >&5
28540 echo "${ECHO_T}" >&6; }
28541
28542 GTK_MODULES=
28543 if test "$wxUSE_THREADS" = "yes"; then
28544 GTK_MODULES=gthread
28545 fi
28546
28547 wx_cv_lib_gtk=
28548 if test "x$wxGTK_VERSION" != "x1"
28549 then
28550 case "${host}" in
28551 *-*-solaris2* )
28552 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28553 enable_gtktest=no
28554 fi
28555 esac
28556
28557 # Check whether --enable-gtktest was given.
28558 if test "${enable_gtktest+set}" = set; then
28559 enableval=$enable_gtktest;
28560 else
28561 enable_gtktest=yes
28562 fi
28563
28564
28565 pkg_config_args=gtk+-2.0
28566 for module in . $GTK_MODULES
28567 do
28568 case "$module" in
28569 gthread)
28570 pkg_config_args="$pkg_config_args gthread-2.0"
28571 ;;
28572 esac
28573 done
28574
28575 no_gtk=""
28576
28577 # Extract the first word of "pkg-config", so it can be a program name with args.
28578 set dummy pkg-config; ac_word=$2
28579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28581 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28582 echo $ECHO_N "(cached) $ECHO_C" >&6
28583 else
28584 case $PKG_CONFIG in
28585 [\\/]* | ?:[\\/]*)
28586 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28587 ;;
28588 *)
28589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28590 for as_dir in $PATH
28591 do
28592 IFS=$as_save_IFS
28593 test -z "$as_dir" && as_dir=.
28594 for ac_exec_ext in '' $ac_executable_extensions; do
28595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28596 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28598 break 2
28599 fi
28600 done
28601 done
28602 IFS=$as_save_IFS
28603
28604 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28605 ;;
28606 esac
28607 fi
28608 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28609 if test -n "$PKG_CONFIG"; then
28610 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28611 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28612 else
28613 { echo "$as_me:$LINENO: result: no" >&5
28614 echo "${ECHO_T}no" >&6; }
28615 fi
28616
28617
28618
28619 if test x$PKG_CONFIG != xno ; then
28620 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28621 :
28622 else
28623 echo "*** pkg-config too old; version 0.7 or better required."
28624 no_gtk=yes
28625 PKG_CONFIG=no
28626 fi
28627 else
28628 no_gtk=yes
28629 fi
28630
28631 min_gtk_version=2.4.0
28632 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28633 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28634
28635 if test x$PKG_CONFIG != xno ; then
28636 ## don't try to run the test against uninstalled libtool libs
28637 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28638 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28639 enable_gtktest=no
28640 fi
28641
28642 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28643 :
28644 else
28645 no_gtk=yes
28646 fi
28647 fi
28648
28649 if test x"$no_gtk" = x ; then
28650 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28651 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28652 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28654 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28656 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28658 if test "x$enable_gtktest" = "xyes" ; then
28659 ac_save_CFLAGS="$CFLAGS"
28660 ac_save_LIBS="$LIBS"
28661 CFLAGS="$CFLAGS $GTK_CFLAGS"
28662 LIBS="$GTK_LIBS $LIBS"
28663 rm -f conf.gtktest
28664 if test "$cross_compiling" = yes; then
28665 echo $ac_n "cross compiling; assumed OK... $ac_c"
28666 else
28667 cat >conftest.$ac_ext <<_ACEOF
28668 /* confdefs.h. */
28669 _ACEOF
28670 cat confdefs.h >>conftest.$ac_ext
28671 cat >>conftest.$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28673
28674 #include <gtk/gtk.h>
28675 #include <stdio.h>
28676 #include <stdlib.h>
28677
28678 int
28679 main ()
28680 {
28681 int major, minor, micro;
28682 char *tmp_version;
28683
28684 system ("touch conf.gtktest");
28685
28686 /* HP/UX 9 (%@#!) writes to sscanf strings */
28687 tmp_version = g_strdup("$min_gtk_version");
28688 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28689 printf("%s, bad version string\n", "$min_gtk_version");
28690 exit(1);
28691 }
28692
28693 if ((gtk_major_version != $gtk_config_major_version) ||
28694 (gtk_minor_version != $gtk_config_minor_version) ||
28695 (gtk_micro_version != $gtk_config_micro_version))
28696 {
28697 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28698 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28699 gtk_major_version, gtk_minor_version, gtk_micro_version);
28700 printf ("*** was found! If pkg-config was correct, then it is best\n");
28701 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28702 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28703 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28704 printf("*** required on your system.\n");
28705 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28706 printf("*** to point to the correct configuration files\n");
28707 }
28708 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28709 (gtk_minor_version != GTK_MINOR_VERSION) ||
28710 (gtk_micro_version != GTK_MICRO_VERSION))
28711 {
28712 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28713 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28714 printf("*** library (version %d.%d.%d)\n",
28715 gtk_major_version, gtk_minor_version, gtk_micro_version);
28716 }
28717 else
28718 {
28719 if ((gtk_major_version > major) ||
28720 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28721 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28722 {
28723 return 0;
28724 }
28725 else
28726 {
28727 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28728 gtk_major_version, gtk_minor_version, gtk_micro_version);
28729 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28730 major, minor, micro);
28731 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28732 printf("***\n");
28733 printf("*** If you have already installed a sufficiently new version, this error\n");
28734 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28735 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28736 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28737 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28738 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28739 printf("*** so that the correct libraries are found at run-time))\n");
28740 }
28741 }
28742 return 1;
28743 }
28744
28745 _ACEOF
28746 rm -f conftest$ac_exeext
28747 if { (ac_try="$ac_link"
28748 case "(($ac_try" in
28749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28750 *) ac_try_echo=$ac_try;;
28751 esac
28752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28753 (eval "$ac_link") 2>&5
28754 ac_status=$?
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28757 { (case "(($ac_try" in
28758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28759 *) ac_try_echo=$ac_try;;
28760 esac
28761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28762 (eval "$ac_try") 2>&5
28763 ac_status=$?
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); }; }; then
28766 :
28767 else
28768 echo "$as_me: program exited with status $ac_status" >&5
28769 echo "$as_me: failed program was:" >&5
28770 sed 's/^/| /' conftest.$ac_ext >&5
28771
28772 ( exit $ac_status )
28773 no_gtk=yes
28774 fi
28775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28776 fi
28777
28778
28779 CFLAGS="$ac_save_CFLAGS"
28780 LIBS="$ac_save_LIBS"
28781 fi
28782 fi
28783 if test "x$no_gtk" = x ; then
28784 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28785 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28786 wx_cv_lib_gtk=2.0
28787 else
28788 { echo "$as_me:$LINENO: result: no" >&5
28789 echo "${ECHO_T}no" >&6; }
28790 if test "$PKG_CONFIG" = "no" ; then
28791 echo "*** A new enough version of pkg-config was not found."
28792 echo "*** See http://pkgconfig.sourceforge.net"
28793 else
28794 if test -f conf.gtktest ; then
28795 :
28796 else
28797 echo "*** Could not run GTK+ test program, checking why..."
28798 ac_save_CFLAGS="$CFLAGS"
28799 ac_save_LIBS="$LIBS"
28800 CFLAGS="$CFLAGS $GTK_CFLAGS"
28801 LIBS="$LIBS $GTK_LIBS"
28802 cat >conftest.$ac_ext <<_ACEOF
28803 /* confdefs.h. */
28804 _ACEOF
28805 cat confdefs.h >>conftest.$ac_ext
28806 cat >>conftest.$ac_ext <<_ACEOF
28807 /* end confdefs.h. */
28808
28809 #include <gtk/gtk.h>
28810 #include <stdio.h>
28811
28812 int
28813 main ()
28814 {
28815 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28816 ;
28817 return 0;
28818 }
28819 _ACEOF
28820 rm -f conftest.$ac_objext conftest$ac_exeext
28821 if { (ac_try="$ac_link"
28822 case "(($ac_try" in
28823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28824 *) ac_try_echo=$ac_try;;
28825 esac
28826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28827 (eval "$ac_link") 2>conftest.er1
28828 ac_status=$?
28829 grep -v '^ *+' conftest.er1 >conftest.err
28830 rm -f conftest.er1
28831 cat conftest.err >&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); } && {
28834 test -z "$ac_c_werror_flag" ||
28835 test ! -s conftest.err
28836 } && test -s conftest$ac_exeext &&
28837 $as_test_x conftest$ac_exeext; then
28838 echo "*** The test program compiled, but did not run. This usually means"
28839 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28840 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28841 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28842 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28843 echo "*** is required on your system"
28844 echo "***"
28845 echo "*** If you have an old version installed, it is best to remove it, although"
28846 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28847 else
28848 echo "$as_me: failed program was:" >&5
28849 sed 's/^/| /' conftest.$ac_ext >&5
28850
28851 echo "*** The test program failed to compile or link. See the file config.log for the"
28852 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28853 fi
28854
28855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28856 conftest$ac_exeext conftest.$ac_ext
28857 CFLAGS="$ac_save_CFLAGS"
28858 LIBS="$ac_save_LIBS"
28859 fi
28860 fi
28861 GTK_CFLAGS=""
28862 GTK_LIBS=""
28863 :
28864 fi
28865
28866
28867 rm -f conf.gtktest
28868
28869
28870 case "${host}" in
28871 *-*-solaris2* )
28872 if test "$wxUSE_SHARED" != "yes"; then
28873 GTK_LIBS="$GTK_LIBS -lX11"
28874 fi
28875 esac
28876 fi
28877
28878 if test -z "$wx_cv_lib_gtk"; then
28879 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28880
28881 # Check whether --with-gtk-prefix was given.
28882 if test "${with_gtk_prefix+set}" = set; then
28883 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28884 else
28885 gtk_config_prefix=""
28886 fi
28887
28888
28889 # Check whether --with-gtk-exec-prefix was given.
28890 if test "${with_gtk_exec_prefix+set}" = set; then
28891 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28892 else
28893 gtk_config_exec_prefix=""
28894 fi
28895
28896 # Check whether --enable-gtktest was given.
28897 if test "${enable_gtktest+set}" = set; then
28898 enableval=$enable_gtktest;
28899 else
28900 enable_gtktest=yes
28901 fi
28902
28903
28904 for module in . $GTK_MODULES
28905 do
28906 case "$module" in
28907 gthread)
28908 gtk_config_args="$gtk_config_args gthread"
28909 ;;
28910 esac
28911 done
28912
28913 if test x$gtk_config_exec_prefix != x ; then
28914 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28915 if test x${GTK_CONFIG+set} != xset ; then
28916 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28917 fi
28918 fi
28919 if test x$gtk_config_prefix != x ; then
28920 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28921 if test x${GTK_CONFIG+set} != xset ; then
28922 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28923 fi
28924 fi
28925
28926 # Extract the first word of "gtk-config", so it can be a program name with args.
28927 set dummy gtk-config; ac_word=$2
28928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28930 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28933 case $GTK_CONFIG in
28934 [\\/]* | ?:[\\/]*)
28935 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28936 ;;
28937 *)
28938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28939 for as_dir in $PATH
28940 do
28941 IFS=$as_save_IFS
28942 test -z "$as_dir" && as_dir=.
28943 for ac_exec_ext in '' $ac_executable_extensions; do
28944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28945 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28947 break 2
28948 fi
28949 done
28950 done
28951 IFS=$as_save_IFS
28952
28953 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28954 ;;
28955 esac
28956 fi
28957 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28958 if test -n "$GTK_CONFIG"; then
28959 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28960 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28961 else
28962 { echo "$as_me:$LINENO: result: no" >&5
28963 echo "${ECHO_T}no" >&6; }
28964 fi
28965
28966
28967 min_gtk_version=1.2.7
28968 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28969 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28970 no_gtk=""
28971 if test "$GTK_CONFIG" = "no" ; then
28972 no_gtk=yes
28973 else
28974 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28975 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28976 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28978 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28980 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28982 if test "x$enable_gtktest" = "xyes" ; then
28983 ac_save_CFLAGS="$CFLAGS"
28984 ac_save_LIBS="$LIBS"
28985 CFLAGS="$CFLAGS $GTK_CFLAGS"
28986 LIBS="$GTK_LIBS $LIBS"
28987 rm -f conf.gtktest
28988 if test "$cross_compiling" = yes; then
28989 echo $ac_n "cross compiling; assumed OK... $ac_c"
28990 else
28991 cat >conftest.$ac_ext <<_ACEOF
28992 /* confdefs.h. */
28993 _ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28997
28998 #include <gtk/gtk.h>
28999 #include <stdio.h>
29000 #include <stdlib.h>
29001
29002 int
29003 main ()
29004 {
29005 int major, minor, micro;
29006 char *tmp_version;
29007
29008 system ("touch conf.gtktest");
29009
29010 /* HP/UX 9 (%@#!) writes to sscanf strings */
29011 tmp_version = g_strdup("$min_gtk_version");
29012 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29013 printf("%s, bad version string\n", "$min_gtk_version");
29014 exit(1);
29015 }
29016
29017 if ((gtk_major_version != $gtk_config_major_version) ||
29018 (gtk_minor_version != $gtk_config_minor_version) ||
29019 (gtk_micro_version != $gtk_config_micro_version))
29020 {
29021 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29022 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29023 gtk_major_version, gtk_minor_version, gtk_micro_version);
29024 printf ("*** was found! If gtk-config was correct, then it is best\n");
29025 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29026 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29027 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29028 printf("*** required on your system.\n");
29029 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29030 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29031 printf("*** before re-running configure\n");
29032 }
29033 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29034 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29035 (gtk_minor_version != GTK_MINOR_VERSION) ||
29036 (gtk_micro_version != GTK_MICRO_VERSION))
29037 {
29038 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29039 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29040 printf("*** library (version %d.%d.%d)\n",
29041 gtk_major_version, gtk_minor_version, gtk_micro_version);
29042 }
29043 #endif /* defined (GTK_MAJOR_VERSION) ... */
29044 else
29045 {
29046 if ((gtk_major_version > major) ||
29047 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29048 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29049 {
29050 return 0;
29051 }
29052 else
29053 {
29054 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29055 gtk_major_version, gtk_minor_version, gtk_micro_version);
29056 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29057 major, minor, micro);
29058 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29059 printf("***\n");
29060 printf("*** If you have already installed a sufficiently new version, this error\n");
29061 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29062 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29063 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29064 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29065 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29066 printf("*** so that the correct libraries are found at run-time))\n");
29067 }
29068 }
29069 return 1;
29070 }
29071
29072 _ACEOF
29073 rm -f conftest$ac_exeext
29074 if { (ac_try="$ac_link"
29075 case "(($ac_try" in
29076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29077 *) ac_try_echo=$ac_try;;
29078 esac
29079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29080 (eval "$ac_link") 2>&5
29081 ac_status=$?
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29084 { (case "(($ac_try" in
29085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29086 *) ac_try_echo=$ac_try;;
29087 esac
29088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29089 (eval "$ac_try") 2>&5
29090 ac_status=$?
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; }; then
29093 :
29094 else
29095 echo "$as_me: program exited with status $ac_status" >&5
29096 echo "$as_me: failed program was:" >&5
29097 sed 's/^/| /' conftest.$ac_ext >&5
29098
29099 ( exit $ac_status )
29100 no_gtk=yes
29101 fi
29102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29103 fi
29104
29105
29106 CFLAGS="$ac_save_CFLAGS"
29107 LIBS="$ac_save_LIBS"
29108 fi
29109 fi
29110 if test "x$no_gtk" = x ; then
29111 { echo "$as_me:$LINENO: result: yes" >&5
29112 echo "${ECHO_T}yes" >&6; }
29113 wx_cv_lib_gtk=1.2.7
29114 else
29115 { echo "$as_me:$LINENO: result: no" >&5
29116 echo "${ECHO_T}no" >&6; }
29117 if test "$GTK_CONFIG" = "no" ; then
29118 echo "*** The gtk-config script installed by GTK could not be found"
29119 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29120 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29121 echo "*** full path to gtk-config."
29122 else
29123 if test -f conf.gtktest ; then
29124 :
29125 else
29126 echo "*** Could not run GTK test program, checking why..."
29127 CFLAGS="$CFLAGS $GTK_CFLAGS"
29128 LIBS="$LIBS $GTK_LIBS"
29129 cat >conftest.$ac_ext <<_ACEOF
29130 /* confdefs.h. */
29131 _ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29135
29136 #include <gtk/gtk.h>
29137 #include <stdio.h>
29138
29139 int
29140 main ()
29141 {
29142 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29143 ;
29144 return 0;
29145 }
29146 _ACEOF
29147 rm -f conftest.$ac_objext conftest$ac_exeext
29148 if { (ac_try="$ac_link"
29149 case "(($ac_try" in
29150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29151 *) ac_try_echo=$ac_try;;
29152 esac
29153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_link") 2>conftest.er1
29155 ac_status=$?
29156 grep -v '^ *+' conftest.er1 >conftest.err
29157 rm -f conftest.er1
29158 cat conftest.err >&5
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); } && {
29161 test -z "$ac_c_werror_flag" ||
29162 test ! -s conftest.err
29163 } && test -s conftest$ac_exeext &&
29164 $as_test_x conftest$ac_exeext; then
29165 echo "*** The test program compiled, but did not run. This usually means"
29166 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29167 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29168 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29169 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29170 echo "*** is required on your system"
29171 echo "***"
29172 echo "*** If you have an old version installed, it is best to remove it, although"
29173 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29174 echo "***"
29175 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29176 echo "*** came with the system with the command"
29177 echo "***"
29178 echo "*** rpm --erase --nodeps gtk gtk-devel"
29179 else
29180 echo "$as_me: failed program was:" >&5
29181 sed 's/^/| /' conftest.$ac_ext >&5
29182
29183 echo "*** The test program failed to compile or link. See the file config.log for the"
29184 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29185 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29186 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29187 fi
29188
29189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29190 conftest$ac_exeext conftest.$ac_ext
29191 CFLAGS="$ac_save_CFLAGS"
29192 LIBS="$ac_save_LIBS"
29193 fi
29194 fi
29195 GTK_CFLAGS=""
29196 GTK_LIBS=""
29197 :
29198 fi
29199
29200
29201 rm -f conf.gtktest
29202
29203
29204 if test -z "$wx_cv_lib_gtk"; then
29205
29206 # Check whether --with-gtk-prefix was given.
29207 if test "${with_gtk_prefix+set}" = set; then
29208 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29209 else
29210 gtk_config_prefix=""
29211 fi
29212
29213
29214 # Check whether --with-gtk-exec-prefix was given.
29215 if test "${with_gtk_exec_prefix+set}" = set; then
29216 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29217 else
29218 gtk_config_exec_prefix=""
29219 fi
29220
29221 # Check whether --enable-gtktest was given.
29222 if test "${enable_gtktest+set}" = set; then
29223 enableval=$enable_gtktest;
29224 else
29225 enable_gtktest=yes
29226 fi
29227
29228
29229 for module in . $GTK_MODULES
29230 do
29231 case "$module" in
29232 gthread)
29233 gtk_config_args="$gtk_config_args gthread"
29234 ;;
29235 esac
29236 done
29237
29238 if test x$gtk_config_exec_prefix != x ; then
29239 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29240 if test x${GTK_CONFIG+set} != xset ; then
29241 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29242 fi
29243 fi
29244 if test x$gtk_config_prefix != x ; then
29245 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29246 if test x${GTK_CONFIG+set} != xset ; then
29247 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29248 fi
29249 fi
29250
29251 # Extract the first word of "gtk-config", so it can be a program name with args.
29252 set dummy gtk-config; ac_word=$2
29253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29255 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29256 echo $ECHO_N "(cached) $ECHO_C" >&6
29257 else
29258 case $GTK_CONFIG in
29259 [\\/]* | ?:[\\/]*)
29260 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29261 ;;
29262 *)
29263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29264 for as_dir in $PATH
29265 do
29266 IFS=$as_save_IFS
29267 test -z "$as_dir" && as_dir=.
29268 for ac_exec_ext in '' $ac_executable_extensions; do
29269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29270 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29272 break 2
29273 fi
29274 done
29275 done
29276 IFS=$as_save_IFS
29277
29278 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29279 ;;
29280 esac
29281 fi
29282 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29283 if test -n "$GTK_CONFIG"; then
29284 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29285 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29286 else
29287 { echo "$as_me:$LINENO: result: no" >&5
29288 echo "${ECHO_T}no" >&6; }
29289 fi
29290
29291
29292 min_gtk_version=1.2.3
29293 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29294 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29295 no_gtk=""
29296 if test "$GTK_CONFIG" = "no" ; then
29297 no_gtk=yes
29298 else
29299 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29300 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29301 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29303 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29305 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29306 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29307 if test "x$enable_gtktest" = "xyes" ; then
29308 ac_save_CFLAGS="$CFLAGS"
29309 ac_save_LIBS="$LIBS"
29310 CFLAGS="$CFLAGS $GTK_CFLAGS"
29311 LIBS="$GTK_LIBS $LIBS"
29312 rm -f conf.gtktest
29313 if test "$cross_compiling" = yes; then
29314 echo $ac_n "cross compiling; assumed OK... $ac_c"
29315 else
29316 cat >conftest.$ac_ext <<_ACEOF
29317 /* confdefs.h. */
29318 _ACEOF
29319 cat confdefs.h >>conftest.$ac_ext
29320 cat >>conftest.$ac_ext <<_ACEOF
29321 /* end confdefs.h. */
29322
29323 #include <gtk/gtk.h>
29324 #include <stdio.h>
29325 #include <stdlib.h>
29326
29327 int
29328 main ()
29329 {
29330 int major, minor, micro;
29331 char *tmp_version;
29332
29333 system ("touch conf.gtktest");
29334
29335 /* HP/UX 9 (%@#!) writes to sscanf strings */
29336 tmp_version = g_strdup("$min_gtk_version");
29337 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29338 printf("%s, bad version string\n", "$min_gtk_version");
29339 exit(1);
29340 }
29341
29342 if ((gtk_major_version != $gtk_config_major_version) ||
29343 (gtk_minor_version != $gtk_config_minor_version) ||
29344 (gtk_micro_version != $gtk_config_micro_version))
29345 {
29346 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29347 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29348 gtk_major_version, gtk_minor_version, gtk_micro_version);
29349 printf ("*** was found! If gtk-config was correct, then it is best\n");
29350 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29351 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29352 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29353 printf("*** required on your system.\n");
29354 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29355 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29356 printf("*** before re-running configure\n");
29357 }
29358 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29359 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29360 (gtk_minor_version != GTK_MINOR_VERSION) ||
29361 (gtk_micro_version != GTK_MICRO_VERSION))
29362 {
29363 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29364 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29365 printf("*** library (version %d.%d.%d)\n",
29366 gtk_major_version, gtk_minor_version, gtk_micro_version);
29367 }
29368 #endif /* defined (GTK_MAJOR_VERSION) ... */
29369 else
29370 {
29371 if ((gtk_major_version > major) ||
29372 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29373 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29374 {
29375 return 0;
29376 }
29377 else
29378 {
29379 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29380 gtk_major_version, gtk_minor_version, gtk_micro_version);
29381 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29382 major, minor, micro);
29383 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29384 printf("***\n");
29385 printf("*** If you have already installed a sufficiently new version, this error\n");
29386 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29387 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29388 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29389 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29390 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29391 printf("*** so that the correct libraries are found at run-time))\n");
29392 }
29393 }
29394 return 1;
29395 }
29396
29397 _ACEOF
29398 rm -f conftest$ac_exeext
29399 if { (ac_try="$ac_link"
29400 case "(($ac_try" in
29401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29402 *) ac_try_echo=$ac_try;;
29403 esac
29404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29405 (eval "$ac_link") 2>&5
29406 ac_status=$?
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29409 { (case "(($ac_try" in
29410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29411 *) ac_try_echo=$ac_try;;
29412 esac
29413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29414 (eval "$ac_try") 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; }; then
29418 :
29419 else
29420 echo "$as_me: program exited with status $ac_status" >&5
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29423
29424 ( exit $ac_status )
29425 no_gtk=yes
29426 fi
29427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29428 fi
29429
29430
29431 CFLAGS="$ac_save_CFLAGS"
29432 LIBS="$ac_save_LIBS"
29433 fi
29434 fi
29435 if test "x$no_gtk" = x ; then
29436 { echo "$as_me:$LINENO: result: yes" >&5
29437 echo "${ECHO_T}yes" >&6; }
29438 wx_cv_lib_gtk=1.2.3
29439 else
29440 { echo "$as_me:$LINENO: result: no" >&5
29441 echo "${ECHO_T}no" >&6; }
29442 if test "$GTK_CONFIG" = "no" ; then
29443 echo "*** The gtk-config script installed by GTK could not be found"
29444 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29445 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29446 echo "*** full path to gtk-config."
29447 else
29448 if test -f conf.gtktest ; then
29449 :
29450 else
29451 echo "*** Could not run GTK test program, checking why..."
29452 CFLAGS="$CFLAGS $GTK_CFLAGS"
29453 LIBS="$LIBS $GTK_LIBS"
29454 cat >conftest.$ac_ext <<_ACEOF
29455 /* confdefs.h. */
29456 _ACEOF
29457 cat confdefs.h >>conftest.$ac_ext
29458 cat >>conftest.$ac_ext <<_ACEOF
29459 /* end confdefs.h. */
29460
29461 #include <gtk/gtk.h>
29462 #include <stdio.h>
29463
29464 int
29465 main ()
29466 {
29467 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29468 ;
29469 return 0;
29470 }
29471 _ACEOF
29472 rm -f conftest.$ac_objext conftest$ac_exeext
29473 if { (ac_try="$ac_link"
29474 case "(($ac_try" in
29475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29476 *) ac_try_echo=$ac_try;;
29477 esac
29478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29479 (eval "$ac_link") 2>conftest.er1
29480 ac_status=$?
29481 grep -v '^ *+' conftest.er1 >conftest.err
29482 rm -f conftest.er1
29483 cat conftest.err >&5
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); } && {
29486 test -z "$ac_c_werror_flag" ||
29487 test ! -s conftest.err
29488 } && test -s conftest$ac_exeext &&
29489 $as_test_x conftest$ac_exeext; then
29490 echo "*** The test program compiled, but did not run. This usually means"
29491 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29492 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29493 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29494 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29495 echo "*** is required on your system"
29496 echo "***"
29497 echo "*** If you have an old version installed, it is best to remove it, although"
29498 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29499 echo "***"
29500 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29501 echo "*** came with the system with the command"
29502 echo "***"
29503 echo "*** rpm --erase --nodeps gtk gtk-devel"
29504 else
29505 echo "$as_me: failed program was:" >&5
29506 sed 's/^/| /' conftest.$ac_ext >&5
29507
29508 echo "*** The test program failed to compile or link. See the file config.log for the"
29509 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29510 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29511 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29512 fi
29513
29514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29515 conftest$ac_exeext conftest.$ac_ext
29516 CFLAGS="$ac_save_CFLAGS"
29517 LIBS="$ac_save_LIBS"
29518 fi
29519 fi
29520 GTK_CFLAGS=""
29521 GTK_LIBS=""
29522 :
29523 fi
29524
29525
29526 rm -f conf.gtktest
29527
29528 fi
29529 fi
29530 fi
29531
29532 if test -z "$wx_cv_lib_gtk"; then
29533 wx_cv_lib_gtk=none
29534 else
29535 wx_cv_cflags_gtk=$GTK_CFLAGS
29536 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29537 fi
29538
29539
29540 fi
29541
29542
29543 if test "$gtk_version_cached" = 1; then
29544 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29545 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29546 fi
29547
29548 case "$wx_cv_lib_gtk" in
29549 2.0) WXGTK2=1
29550 TOOLKIT_VERSION=2
29551 ;;
29552 1.2.7) WXGTK127=1
29553 WXGTK12=1
29554 ;;
29555 1.2.3) WXGTK12=1
29556 ;;
29557 *) { { echo "$as_me:$LINENO: error:
29558 The development files for GTK+ were not found. For GTK+ 2, please
29559 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29560 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29561 and that the version is 1.2.3 or above. Also check that the
29562 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29563 --libs' are in the LD_LIBRARY_PATH or equivalent.
29564 " >&5
29565 echo "$as_me: error:
29566 The development files for GTK+ were not found. For GTK+ 2, please
29567 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29568 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29569 and that the version is 1.2.3 or above. Also check that the
29570 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29571 --libs' are in the LD_LIBRARY_PATH or equivalent.
29572 " >&2;}
29573 { (exit 1); exit 1; }; }
29574 ;;
29575 esac
29576
29577 if test "$WXGTK2" = 1; then
29578 save_CFLAGS="$CFLAGS"
29579 save_LIBS="$LIBS"
29580 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29581 LIBS="$LIBS $wx_cv_libs_gtk"
29582
29583 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29584 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29585 cat >conftest.$ac_ext <<_ACEOF
29586 /* confdefs.h. */
29587 _ACEOF
29588 cat confdefs.h >>conftest.$ac_ext
29589 cat >>conftest.$ac_ext <<_ACEOF
29590 /* end confdefs.h. */
29591
29592 #include <gtk/gtk.h>
29593
29594 int
29595 main ()
29596 {
29597
29598 #if !GTK_CHECK_VERSION(2,18,0)
29599 Not GTK+ 2.18
29600 #endif
29601
29602 ;
29603 return 0;
29604 }
29605 _ACEOF
29606 rm -f conftest.$ac_objext
29607 if { (ac_try="$ac_compile"
29608 case "(($ac_try" in
29609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29610 *) ac_try_echo=$ac_try;;
29611 esac
29612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29613 (eval "$ac_compile") 2>conftest.er1
29614 ac_status=$?
29615 grep -v '^ *+' conftest.er1 >conftest.err
29616 rm -f conftest.er1
29617 cat conftest.err >&5
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); } && {
29620 test -z "$ac_c_werror_flag" ||
29621 test ! -s conftest.err
29622 } && test -s conftest.$ac_objext; then
29623
29624 cat >>confdefs.h <<\_ACEOF
29625 #define __WXGTK218__ 1
29626 _ACEOF
29627
29628 cat >>confdefs.h <<\_ACEOF
29629 #define __WXGTK210__ 1
29630 _ACEOF
29631
29632 cat >>confdefs.h <<\_ACEOF
29633 #define __WXGTK26__ 1
29634 _ACEOF
29635
29636 { echo "$as_me:$LINENO: result: yes" >&5
29637 echo "${ECHO_T}yes" >&6; }
29638 ac_wxgtk218=1
29639
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29643
29644
29645 { echo "$as_me:$LINENO: result: no" >&5
29646 echo "${ECHO_T}no" >&6; }
29647 ac_wxgtk218=0
29648
29649 fi
29650
29651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29652
29653 if test "$ac_wxgtk218" = 0; then
29654 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29655 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29656 cat >conftest.$ac_ext <<_ACEOF
29657 /* confdefs.h. */
29658 _ACEOF
29659 cat confdefs.h >>conftest.$ac_ext
29660 cat >>conftest.$ac_ext <<_ACEOF
29661 /* end confdefs.h. */
29662
29663 #include <gtk/gtk.h>
29664
29665 int
29666 main ()
29667 {
29668
29669 #if !GTK_CHECK_VERSION(2,10,0)
29670 Not GTK+ 2.10
29671 #endif
29672
29673 ;
29674 return 0;
29675 }
29676 _ACEOF
29677 rm -f conftest.$ac_objext
29678 if { (ac_try="$ac_compile"
29679 case "(($ac_try" in
29680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29681 *) ac_try_echo=$ac_try;;
29682 esac
29683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29684 (eval "$ac_compile") 2>conftest.er1
29685 ac_status=$?
29686 grep -v '^ *+' conftest.er1 >conftest.err
29687 rm -f conftest.er1
29688 cat conftest.err >&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); } && {
29691 test -z "$ac_c_werror_flag" ||
29692 test ! -s conftest.err
29693 } && test -s conftest.$ac_objext; then
29694
29695 cat >>confdefs.h <<\_ACEOF
29696 #define __WXGTK210__ 1
29697 _ACEOF
29698
29699 cat >>confdefs.h <<\_ACEOF
29700 #define __WXGTK26__ 1
29701 _ACEOF
29702
29703 { echo "$as_me:$LINENO: result: yes" >&5
29704 echo "${ECHO_T}yes" >&6; }
29705 ac_wxgtk210=1
29706
29707 else
29708 echo "$as_me: failed program was:" >&5
29709 sed 's/^/| /' conftest.$ac_ext >&5
29710
29711
29712 { echo "$as_me:$LINENO: result: no" >&5
29713 echo "${ECHO_T}no" >&6; }
29714 ac_wxgtk210=0
29715
29716 fi
29717
29718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29719
29720 if test "$ac_wxgtk210" = 0; then
29721 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29722 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29723 cat >conftest.$ac_ext <<_ACEOF
29724 /* confdefs.h. */
29725 _ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729
29730 #include <gtk/gtk.h>
29731
29732 int
29733 main ()
29734 {
29735
29736 #if !GTK_CHECK_VERSION(2,6,0)
29737 Not GTK+ 2.6
29738 #endif
29739
29740 ;
29741 return 0;
29742 }
29743 _ACEOF
29744 rm -f conftest.$ac_objext
29745 if { (ac_try="$ac_compile"
29746 case "(($ac_try" in
29747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29748 *) ac_try_echo=$ac_try;;
29749 esac
29750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29751 (eval "$ac_compile") 2>conftest.er1
29752 ac_status=$?
29753 grep -v '^ *+' conftest.er1 >conftest.err
29754 rm -f conftest.er1
29755 cat conftest.err >&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); } && {
29758 test -z "$ac_c_werror_flag" ||
29759 test ! -s conftest.err
29760 } && test -s conftest.$ac_objext; then
29761
29762 cat >>confdefs.h <<\_ACEOF
29763 #define __WXGTK26__ 1
29764 _ACEOF
29765
29766 { echo "$as_me:$LINENO: result: yes" >&5
29767 echo "${ECHO_T}yes" >&6; }
29768 ac_wxgtk26=1
29769
29770 else
29771 echo "$as_me: failed program was:" >&5
29772 sed 's/^/| /' conftest.$ac_ext >&5
29773
29774
29775 { echo "$as_me:$LINENO: result: no" >&5
29776 echo "${ECHO_T}no" >&6; }
29777 ac_wxgtk26=0
29778
29779 fi
29780
29781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29782 fi
29783 fi
29784
29785 CFLAGS="$save_CFLAGS"
29786 LIBS="$save_LIBS"
29787 else
29788 if test "$wxUSE_UNICODE" = "yes"; then
29789 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29790 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29791 wxUSE_UNICODE=no
29792 fi
29793
29794 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29795 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29796 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 else
29799 ac_check_lib_save_LIBS=$LIBS
29800 LIBS="-lgdk $LIBS"
29801 cat >conftest.$ac_ext <<_ACEOF
29802 /* confdefs.h. */
29803 _ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807
29808 /* Override any GCC internal prototype to avoid an error.
29809 Use char because int might match the return type of a GCC
29810 builtin and then its argument prototype would still apply. */
29811 #ifdef __cplusplus
29812 extern "C"
29813 #endif
29814 char gdk_im_open ();
29815 int
29816 main ()
29817 {
29818 return gdk_im_open ();
29819 ;
29820 return 0;
29821 }
29822 _ACEOF
29823 rm -f conftest.$ac_objext conftest$ac_exeext
29824 if { (ac_try="$ac_link"
29825 case "(($ac_try" in
29826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29828 esac
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_link") 2>conftest.er1
29831 ac_status=$?
29832 grep -v '^ *+' conftest.er1 >conftest.err
29833 rm -f conftest.er1
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest$ac_exeext &&
29840 $as_test_x conftest$ac_exeext; then
29841 ac_cv_lib_gdk_gdk_im_open=yes
29842 else
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29845
29846 ac_cv_lib_gdk_gdk_im_open=no
29847 fi
29848
29849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29850 conftest$ac_exeext conftest.$ac_ext
29851 LIBS=$ac_check_lib_save_LIBS
29852 fi
29853 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29854 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29855 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29856 cat >>confdefs.h <<\_ACEOF
29857 #define HAVE_XIM 1
29858 _ACEOF
29859
29860 fi
29861
29862
29863 if test "$USE_DARWIN" != 1; then
29864
29865 for ac_func in poll
29866 do
29867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29871 echo $ECHO_N "(cached) $ECHO_C" >&6
29872 else
29873 cat >conftest.$ac_ext <<_ACEOF
29874 /* confdefs.h. */
29875 _ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29881 #define $ac_func innocuous_$ac_func
29882
29883 /* System header to define __stub macros and hopefully few prototypes,
29884 which can conflict with char $ac_func (); below.
29885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29886 <limits.h> exists even on freestanding compilers. */
29887
29888 #ifdef __STDC__
29889 # include <limits.h>
29890 #else
29891 # include <assert.h>
29892 #endif
29893
29894 #undef $ac_func
29895
29896 /* Override any GCC internal prototype to avoid an error.
29897 Use char because int might match the return type of a GCC
29898 builtin and then its argument prototype would still apply. */
29899 #ifdef __cplusplus
29900 extern "C"
29901 #endif
29902 char $ac_func ();
29903 /* The GNU C library defines this for functions which it implements
29904 to always fail with ENOSYS. Some functions are actually named
29905 something starting with __ and the normal name is an alias. */
29906 #if defined __stub_$ac_func || defined __stub___$ac_func
29907 choke me
29908 #endif
29909
29910 int
29911 main ()
29912 {
29913 return $ac_func ();
29914 ;
29915 return 0;
29916 }
29917 _ACEOF
29918 rm -f conftest.$ac_objext conftest$ac_exeext
29919 if { (ac_try="$ac_link"
29920 case "(($ac_try" in
29921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29922 *) ac_try_echo=$ac_try;;
29923 esac
29924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29925 (eval "$ac_link") 2>conftest.er1
29926 ac_status=$?
29927 grep -v '^ *+' conftest.er1 >conftest.err
29928 rm -f conftest.er1
29929 cat conftest.err >&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); } && {
29932 test -z "$ac_c_werror_flag" ||
29933 test ! -s conftest.err
29934 } && test -s conftest$ac_exeext &&
29935 $as_test_x conftest$ac_exeext; then
29936 eval "$as_ac_var=yes"
29937 else
29938 echo "$as_me: failed program was:" >&5
29939 sed 's/^/| /' conftest.$ac_ext >&5
29940
29941 eval "$as_ac_var=no"
29942 fi
29943
29944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29945 conftest$ac_exeext conftest.$ac_ext
29946 fi
29947 ac_res=`eval echo '${'$as_ac_var'}'`
29948 { echo "$as_me:$LINENO: result: $ac_res" >&5
29949 echo "${ECHO_T}$ac_res" >&6; }
29950 if test `eval echo '${'$as_ac_var'}'` = yes; then
29951 cat >>confdefs.h <<_ACEOF
29952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29953 _ACEOF
29954
29955 fi
29956 done
29957
29958 fi
29959 fi
29960
29961 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29962 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29963
29964 AFMINSTALL=afminstall
29965 TOOLKIT=GTK
29966 GUIDIST=GTK_DIST
29967
29968 if test "$wxUSE_GPE" = "yes"; then
29969 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29970 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29971
29972 ac_find_libraries=
29973 for ac_dir in $SEARCH_LIB;
29974 do
29975 for ac_extension in a so sl dylib dll.a; do
29976 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29977 ac_find_libraries=$ac_dir
29978 break 2
29979 fi
29980 done
29981 done
29982
29983 if test "$ac_find_libraries" != "" ; then
29984
29985 if test "$ac_find_libraries" = "default location"; then
29986 ac_path_to_link=""
29987 else
29988 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29989 result=$?
29990 if test $result = 0; then
29991 ac_path_to_link=""
29992 else
29993 ac_path_to_link=" -L$ac_find_libraries"
29994 fi
29995 fi
29996
29997 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29998 WXGPE=1
29999 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30000 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30001 else
30002 { echo "$as_me:$LINENO: result: not found" >&5
30003 echo "${ECHO_T}not found" >&6; }
30004 fi
30005
30006 fi
30007 fi
30008
30009 if test "$wxUSE_MGL" = 1; then
30010 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30011 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30012 if test "x$MGL_ROOT" = x ; then
30013 { echo "$as_me:$LINENO: result: not found" >&5
30014 echo "${ECHO_T}not found" >&6; }
30015 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30016 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30017 { (exit 1); exit 1; }; }
30018 else
30019 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30020 echo "${ECHO_T}$MGL_ROOT" >&6; }
30021 fi
30022
30023 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30024 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30025 case "${host}" in
30026 *-*-linux* )
30027 if test "x$wxUSE_SHARED" = xyes ; then
30028 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30029 else
30030 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30031 fi
30032 ;;
30033 *-pc-msdosdjgpp )
30034 mgl_os_candidates="dos32/dj2"
30035 ;;
30036 *)
30037 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30038 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30039 { (exit 1); exit 1; }; }
30040 esac
30041
30042 mgl_lib_type=""
30043 mgl_os=""
30044
30045 for mgl_os_i in $mgl_os_candidates ; do
30046 if test "x$mgl_os" = x ; then
30047 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30048 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30049 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30050 mgl_lib_type=debug
30051 mgl_os=$mgl_os_i
30052 fi
30053 fi
30054 if test "x$mgl_lib_type" = x ; then
30055 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30056 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30057 mgl_lib_type=release
30058 mgl_os=$mgl_os_i
30059 fi
30060 fi
30061 fi
30062 done
30063
30064 if test "x$mgl_os" = x ; then
30065 { echo "$as_me:$LINENO: result: not found" >&5
30066 echo "${ECHO_T}not found" >&6; }
30067 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30068 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30069 { (exit 1); exit 1; }; }
30070 fi
30071 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30072 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30073
30074 wxUSE_UNIVERSAL="yes"
30075
30076 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30077 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30078
30079 AFMINSTALL=afminstall
30080 TOOLKIT=MGL
30081 GUIDIST=MGL_DIST
30082 fi
30083
30084 if test "$wxUSE_DFB" = 1; then
30085
30086
30087 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30088 if test -n "$ac_tool_prefix"; then
30089 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30090 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30093 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30094 echo $ECHO_N "(cached) $ECHO_C" >&6
30095 else
30096 case $PKG_CONFIG in
30097 [\\/]* | ?:[\\/]*)
30098 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30099 ;;
30100 *)
30101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30102 for as_dir in $PATH
30103 do
30104 IFS=$as_save_IFS
30105 test -z "$as_dir" && as_dir=.
30106 for ac_exec_ext in '' $ac_executable_extensions; do
30107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30108 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30110 break 2
30111 fi
30112 done
30113 done
30114 IFS=$as_save_IFS
30115
30116 ;;
30117 esac
30118 fi
30119 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30120 if test -n "$PKG_CONFIG"; then
30121 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30122 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30123 else
30124 { echo "$as_me:$LINENO: result: no" >&5
30125 echo "${ECHO_T}no" >&6; }
30126 fi
30127
30128
30129 fi
30130 if test -z "$ac_cv_path_PKG_CONFIG"; then
30131 ac_pt_PKG_CONFIG=$PKG_CONFIG
30132 # Extract the first word of "pkg-config", so it can be a program name with args.
30133 set dummy pkg-config; ac_word=$2
30134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30136 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30137 echo $ECHO_N "(cached) $ECHO_C" >&6
30138 else
30139 case $ac_pt_PKG_CONFIG in
30140 [\\/]* | ?:[\\/]*)
30141 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30142 ;;
30143 *)
30144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30145 for as_dir in $PATH
30146 do
30147 IFS=$as_save_IFS
30148 test -z "$as_dir" && as_dir=.
30149 for ac_exec_ext in '' $ac_executable_extensions; do
30150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30151 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30153 break 2
30154 fi
30155 done
30156 done
30157 IFS=$as_save_IFS
30158
30159 ;;
30160 esac
30161 fi
30162 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30163 if test -n "$ac_pt_PKG_CONFIG"; then
30164 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30165 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30166 else
30167 { echo "$as_me:$LINENO: result: no" >&5
30168 echo "${ECHO_T}no" >&6; }
30169 fi
30170
30171 if test "x$ac_pt_PKG_CONFIG" = x; then
30172 PKG_CONFIG=""
30173 else
30174 case $cross_compiling:$ac_tool_warned in
30175 yes:)
30176 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30177 whose name does not start with the host triplet. If you think this
30178 configuration is useful to you, please write to autoconf@gnu.org." >&5
30179 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30180 whose name does not start with the host triplet. If you think this
30181 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30182 ac_tool_warned=yes ;;
30183 esac
30184 PKG_CONFIG=$ac_pt_PKG_CONFIG
30185 fi
30186 else
30187 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30188 fi
30189
30190 fi
30191 if test -n "$PKG_CONFIG"; then
30192 _pkg_min_version=0.9.0
30193 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30194 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30195 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30196 { echo "$as_me:$LINENO: result: yes" >&5
30197 echo "${ECHO_T}yes" >&6; }
30198 else
30199 { echo "$as_me:$LINENO: result: no" >&5
30200 echo "${ECHO_T}no" >&6; }
30201 PKG_CONFIG=""
30202 fi
30203
30204 fi
30205
30206
30207 pkg_failed=no
30208 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30209 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30210
30211 if test -n "$PKG_CONFIG"; then
30212 if test -n "$DIRECTFB_CFLAGS"; then
30213 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30214 else
30215 if test -n "$PKG_CONFIG" && \
30216 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30217 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30218 ac_status=$?
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; then
30221 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30222 else
30223 pkg_failed=yes
30224 fi
30225 fi
30226 else
30227 pkg_failed=untried
30228 fi
30229 if test -n "$PKG_CONFIG"; then
30230 if test -n "$DIRECTFB_LIBS"; then
30231 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30232 else
30233 if test -n "$PKG_CONFIG" && \
30234 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30235 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30236 ac_status=$?
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); }; then
30239 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30240 else
30241 pkg_failed=yes
30242 fi
30243 fi
30244 else
30245 pkg_failed=untried
30246 fi
30247
30248
30249
30250 if test $pkg_failed = yes; then
30251
30252 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30253 _pkg_short_errors_supported=yes
30254 else
30255 _pkg_short_errors_supported=no
30256 fi
30257 if test $_pkg_short_errors_supported = yes; then
30258 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30259 else
30260 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30261 fi
30262 # Put the nasty error message in config.log where it belongs
30263 echo "$DIRECTFB_PKG_ERRORS" >&5
30264
30265
30266 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30267 echo "$as_me: error: DirectFB not found." >&2;}
30268 { (exit 1); exit 1; }; }
30269
30270
30271 elif test $pkg_failed = untried; then
30272
30273 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30274 echo "$as_me: error: DirectFB not found." >&2;}
30275 { (exit 1); exit 1; }; }
30276
30277
30278 else
30279 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30280 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30281 { echo "$as_me:$LINENO: result: yes" >&5
30282 echo "${ECHO_T}yes" >&6; }
30283
30284 wxUSE_UNIVERSAL="yes"
30285 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30286 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30287 TOOLKIT=DFB
30288 GUIDIST=DFB_DIST
30289
30290 fi
30291 fi
30292
30293 if test "$wxUSE_MICROWIN" = 1; then
30294 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30295 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30296 if test "x$MICROWINDOWS" = x ; then
30297 { echo "$as_me:$LINENO: result: not found" >&5
30298 echo "${ECHO_T}not found" >&6; }
30299 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30300 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30301 { (exit 1); exit 1; }; }
30302 else
30303 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30304 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30305 fi
30306
30307 if test -f $MICROWINDOWS/lib/libmwin.a; then
30308 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30309 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30310 else
30311 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30312 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30313 { (exit 1); exit 1; }; }
30314 fi
30315
30316 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30317 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30318
30319 wxUSE_UNIVERSAL="yes"
30320
30321 AFMINSTALL=afminstall
30322 TOOLKIT=MICROWIN
30323 GUIDIST=MICROWIN_DIST
30324
30325 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30326 fi
30327
30328 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30329 { echo "$as_me:$LINENO: checking for X" >&5
30330 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30331
30332
30333 # Check whether --with-x was given.
30334 if test "${with_x+set}" = set; then
30335 withval=$with_x;
30336 fi
30337
30338 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30339 if test "x$with_x" = xno; then
30340 # The user explicitly disabled X.
30341 have_x=disabled
30342 else
30343 case $x_includes,$x_libraries in #(
30344 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30345 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30346 { (exit 1); exit 1; }; };; #(
30347 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30348 echo $ECHO_N "(cached) $ECHO_C" >&6
30349 else
30350 # One or both of the vars are not set, and there is no cached value.
30351 ac_x_includes=no ac_x_libraries=no
30352 rm -f -r conftest.dir
30353 if mkdir conftest.dir; then
30354 cd conftest.dir
30355 cat >Imakefile <<'_ACEOF'
30356 incroot:
30357 @echo incroot='${INCROOT}'
30358 usrlibdir:
30359 @echo usrlibdir='${USRLIBDIR}'
30360 libdir:
30361 @echo libdir='${LIBDIR}'
30362 _ACEOF
30363 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30364 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30365 for ac_var in incroot usrlibdir libdir; do
30366 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30367 done
30368 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30369 for ac_extension in a so sl; do
30370 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30371 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30372 ac_im_usrlibdir=$ac_im_libdir; break
30373 fi
30374 done
30375 # Screen out bogus values from the imake configuration. They are
30376 # bogus both because they are the default anyway, and because
30377 # using them would break gcc on systems where it needs fixed includes.
30378 case $ac_im_incroot in
30379 /usr/include) ac_x_includes= ;;
30380 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30381 esac
30382 case $ac_im_usrlibdir in
30383 /usr/lib | /lib) ;;
30384 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30385 esac
30386 fi
30387 cd ..
30388 rm -f -r conftest.dir
30389 fi
30390
30391 # Standard set of common directories for X headers.
30392 # Check X11 before X11Rn because it is often a symlink to the current release.
30393 ac_x_header_dirs='
30394 /usr/X11/include
30395 /usr/X11R6/include
30396 /usr/X11R5/include
30397 /usr/X11R4/include
30398
30399 /usr/include/X11
30400 /usr/include/X11R6
30401 /usr/include/X11R5
30402 /usr/include/X11R4
30403
30404 /usr/local/X11/include
30405 /usr/local/X11R6/include
30406 /usr/local/X11R5/include
30407 /usr/local/X11R4/include
30408
30409 /usr/local/include/X11
30410 /usr/local/include/X11R6
30411 /usr/local/include/X11R5
30412 /usr/local/include/X11R4
30413
30414 /usr/X386/include
30415 /usr/x386/include
30416 /usr/XFree86/include/X11
30417
30418 /usr/include
30419 /usr/local/include
30420 /usr/unsupported/include
30421 /usr/athena/include
30422 /usr/local/x11r5/include
30423 /usr/lpp/Xamples/include
30424
30425 /usr/openwin/include
30426 /usr/openwin/share/include'
30427
30428 if test "$ac_x_includes" = no; then
30429 # Guess where to find include files, by looking for Xlib.h.
30430 # First, try using that file with no special directory specified.
30431 cat >conftest.$ac_ext <<_ACEOF
30432 /* confdefs.h. */
30433 _ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h. */
30437 #include <X11/Xlib.h>
30438 _ACEOF
30439 if { (ac_try="$ac_cpp conftest.$ac_ext"
30440 case "(($ac_try" in
30441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30442 *) ac_try_echo=$ac_try;;
30443 esac
30444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30446 ac_status=$?
30447 grep -v '^ *+' conftest.er1 >conftest.err
30448 rm -f conftest.er1
30449 cat conftest.err >&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } >/dev/null && {
30452 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30453 test ! -s conftest.err
30454 }; then
30455 # We can compile using X headers with no special include directory.
30456 ac_x_includes=
30457 else
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 for ac_dir in $ac_x_header_dirs; do
30462 if test -r "$ac_dir/X11/Xlib.h"; then
30463 ac_x_includes=$ac_dir
30464 break
30465 fi
30466 done
30467 fi
30468
30469 rm -f conftest.err conftest.$ac_ext
30470 fi # $ac_x_includes = no
30471
30472 if test "$ac_x_libraries" = no; then
30473 # Check for the libraries.
30474 # See if we find them without any special options.
30475 # Don't add to $LIBS permanently.
30476 ac_save_LIBS=$LIBS
30477 LIBS="-lX11 $LIBS"
30478 cat >conftest.$ac_ext <<_ACEOF
30479 /* confdefs.h. */
30480 _ACEOF
30481 cat confdefs.h >>conftest.$ac_ext
30482 cat >>conftest.$ac_ext <<_ACEOF
30483 /* end confdefs.h. */
30484 #include <X11/Xlib.h>
30485 int
30486 main ()
30487 {
30488 XrmInitialize ()
30489 ;
30490 return 0;
30491 }
30492 _ACEOF
30493 rm -f conftest.$ac_objext conftest$ac_exeext
30494 if { (ac_try="$ac_link"
30495 case "(($ac_try" in
30496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30497 *) ac_try_echo=$ac_try;;
30498 esac
30499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30500 (eval "$ac_link") 2>conftest.er1
30501 ac_status=$?
30502 grep -v '^ *+' conftest.er1 >conftest.err
30503 rm -f conftest.er1
30504 cat conftest.err >&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } && {
30507 test -z "$ac_c_werror_flag" ||
30508 test ! -s conftest.err
30509 } && test -s conftest$ac_exeext &&
30510 $as_test_x conftest$ac_exeext; then
30511 LIBS=$ac_save_LIBS
30512 # We can link X programs with no special library path.
30513 ac_x_libraries=
30514 else
30515 echo "$as_me: failed program was:" >&5
30516 sed 's/^/| /' conftest.$ac_ext >&5
30517
30518 LIBS=$ac_save_LIBS
30519 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30520 do
30521 # Don't even attempt the hair of trying to link an X program!
30522 for ac_extension in a so sl; do
30523 if test -r "$ac_dir/libX11.$ac_extension"; then
30524 ac_x_libraries=$ac_dir
30525 break 2
30526 fi
30527 done
30528 done
30529 fi
30530
30531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30532 conftest$ac_exeext conftest.$ac_ext
30533 fi # $ac_x_libraries = no
30534
30535 case $ac_x_includes,$ac_x_libraries in #(
30536 no,* | *,no | *\'*)
30537 # Didn't find X, or a directory has "'" in its name.
30538 ac_cv_have_x="have_x=no";; #(
30539 *)
30540 # Record where we found X for the cache.
30541 ac_cv_have_x="have_x=yes\
30542 ac_x_includes='$ac_x_includes'\
30543 ac_x_libraries='$ac_x_libraries'"
30544 esac
30545 fi
30546 ;; #(
30547 *) have_x=yes;;
30548 esac
30549 eval "$ac_cv_have_x"
30550 fi # $with_x != no
30551
30552 if test "$have_x" != yes; then
30553 { echo "$as_me:$LINENO: result: $have_x" >&5
30554 echo "${ECHO_T}$have_x" >&6; }
30555 no_x=yes
30556 else
30557 # If each of the values was on the command line, it overrides each guess.
30558 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30559 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30560 # Update the cache value to reflect the command line values.
30561 ac_cv_have_x="have_x=yes\
30562 ac_x_includes='$x_includes'\
30563 ac_x_libraries='$x_libraries'"
30564 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30565 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30566 fi
30567
30568 if test "$no_x" = yes; then
30569 # Not all programs may use this symbol, but it does not hurt to define it.
30570
30571 cat >>confdefs.h <<\_ACEOF
30572 #define X_DISPLAY_MISSING 1
30573 _ACEOF
30574
30575 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30576 else
30577 if test -n "$x_includes"; then
30578 X_CFLAGS="$X_CFLAGS -I$x_includes"
30579 fi
30580
30581 # It would also be nice to do this for all -L options, not just this one.
30582 if test -n "$x_libraries"; then
30583 X_LIBS="$X_LIBS -L$x_libraries"
30584 # For Solaris; some versions of Sun CC require a space after -R and
30585 # others require no space. Words are not sufficient . . . .
30586 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30587 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30588 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30589 ac_xsave_c_werror_flag=$ac_c_werror_flag
30590 ac_c_werror_flag=yes
30591 cat >conftest.$ac_ext <<_ACEOF
30592 /* confdefs.h. */
30593 _ACEOF
30594 cat confdefs.h >>conftest.$ac_ext
30595 cat >>conftest.$ac_ext <<_ACEOF
30596 /* end confdefs.h. */
30597
30598 int
30599 main ()
30600 {
30601
30602 ;
30603 return 0;
30604 }
30605 _ACEOF
30606 rm -f conftest.$ac_objext conftest$ac_exeext
30607 if { (ac_try="$ac_link"
30608 case "(($ac_try" in
30609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30610 *) ac_try_echo=$ac_try;;
30611 esac
30612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30613 (eval "$ac_link") 2>conftest.er1
30614 ac_status=$?
30615 grep -v '^ *+' conftest.er1 >conftest.err
30616 rm -f conftest.er1
30617 cat conftest.err >&5
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); } && {
30620 test -z "$ac_c_werror_flag" ||
30621 test ! -s conftest.err
30622 } && test -s conftest$ac_exeext &&
30623 $as_test_x conftest$ac_exeext; then
30624 { echo "$as_me:$LINENO: result: no" >&5
30625 echo "${ECHO_T}no" >&6; }
30626 X_LIBS="$X_LIBS -R$x_libraries"
30627 else
30628 echo "$as_me: failed program was:" >&5
30629 sed 's/^/| /' conftest.$ac_ext >&5
30630
30631 LIBS="$ac_xsave_LIBS -R $x_libraries"
30632 cat >conftest.$ac_ext <<_ACEOF
30633 /* confdefs.h. */
30634 _ACEOF
30635 cat confdefs.h >>conftest.$ac_ext
30636 cat >>conftest.$ac_ext <<_ACEOF
30637 /* end confdefs.h. */
30638
30639 int
30640 main ()
30641 {
30642
30643 ;
30644 return 0;
30645 }
30646 _ACEOF
30647 rm -f conftest.$ac_objext conftest$ac_exeext
30648 if { (ac_try="$ac_link"
30649 case "(($ac_try" in
30650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30651 *) ac_try_echo=$ac_try;;
30652 esac
30653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30654 (eval "$ac_link") 2>conftest.er1
30655 ac_status=$?
30656 grep -v '^ *+' conftest.er1 >conftest.err
30657 rm -f conftest.er1
30658 cat conftest.err >&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } && {
30661 test -z "$ac_c_werror_flag" ||
30662 test ! -s conftest.err
30663 } && test -s conftest$ac_exeext &&
30664 $as_test_x conftest$ac_exeext; then
30665 { echo "$as_me:$LINENO: result: yes" >&5
30666 echo "${ECHO_T}yes" >&6; }
30667 X_LIBS="$X_LIBS -R $x_libraries"
30668 else
30669 echo "$as_me: failed program was:" >&5
30670 sed 's/^/| /' conftest.$ac_ext >&5
30671
30672 { echo "$as_me:$LINENO: result: neither works" >&5
30673 echo "${ECHO_T}neither works" >&6; }
30674 fi
30675
30676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30677 conftest$ac_exeext conftest.$ac_ext
30678 fi
30679
30680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30681 conftest$ac_exeext conftest.$ac_ext
30682 ac_c_werror_flag=$ac_xsave_c_werror_flag
30683 LIBS=$ac_xsave_LIBS
30684 fi
30685
30686 # Check for system-dependent libraries X programs must link with.
30687 # Do this before checking for the system-independent R6 libraries
30688 # (-lICE), since we may need -lsocket or whatever for X linking.
30689
30690 if test "$ISC" = yes; then
30691 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30692 else
30693 # Martyn Johnson says this is needed for Ultrix, if the X
30694 # libraries were built with DECnet support. And Karl Berry says
30695 # the Alpha needs dnet_stub (dnet does not exist).
30696 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30697 cat >conftest.$ac_ext <<_ACEOF
30698 /* confdefs.h. */
30699 _ACEOF
30700 cat confdefs.h >>conftest.$ac_ext
30701 cat >>conftest.$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30703
30704 /* Override any GCC internal prototype to avoid an error.
30705 Use char because int might match the return type of a GCC
30706 builtin and then its argument prototype would still apply. */
30707 #ifdef __cplusplus
30708 extern "C"
30709 #endif
30710 char XOpenDisplay ();
30711 int
30712 main ()
30713 {
30714 return XOpenDisplay ();
30715 ;
30716 return 0;
30717 }
30718 _ACEOF
30719 rm -f conftest.$ac_objext conftest$ac_exeext
30720 if { (ac_try="$ac_link"
30721 case "(($ac_try" in
30722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30723 *) ac_try_echo=$ac_try;;
30724 esac
30725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30726 (eval "$ac_link") 2>conftest.er1
30727 ac_status=$?
30728 grep -v '^ *+' conftest.er1 >conftest.err
30729 rm -f conftest.er1
30730 cat conftest.err >&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); } && {
30733 test -z "$ac_c_werror_flag" ||
30734 test ! -s conftest.err
30735 } && test -s conftest$ac_exeext &&
30736 $as_test_x conftest$ac_exeext; then
30737 :
30738 else
30739 echo "$as_me: failed program was:" >&5
30740 sed 's/^/| /' conftest.$ac_ext >&5
30741
30742 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30743 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30744 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30745 echo $ECHO_N "(cached) $ECHO_C" >&6
30746 else
30747 ac_check_lib_save_LIBS=$LIBS
30748 LIBS="-ldnet $LIBS"
30749 cat >conftest.$ac_ext <<_ACEOF
30750 /* confdefs.h. */
30751 _ACEOF
30752 cat confdefs.h >>conftest.$ac_ext
30753 cat >>conftest.$ac_ext <<_ACEOF
30754 /* end confdefs.h. */
30755
30756 /* Override any GCC internal prototype to avoid an error.
30757 Use char because int might match the return type of a GCC
30758 builtin and then its argument prototype would still apply. */
30759 #ifdef __cplusplus
30760 extern "C"
30761 #endif
30762 char dnet_ntoa ();
30763 int
30764 main ()
30765 {
30766 return dnet_ntoa ();
30767 ;
30768 return 0;
30769 }
30770 _ACEOF
30771 rm -f conftest.$ac_objext conftest$ac_exeext
30772 if { (ac_try="$ac_link"
30773 case "(($ac_try" in
30774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30775 *) ac_try_echo=$ac_try;;
30776 esac
30777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30778 (eval "$ac_link") 2>conftest.er1
30779 ac_status=$?
30780 grep -v '^ *+' conftest.er1 >conftest.err
30781 rm -f conftest.er1
30782 cat conftest.err >&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } && {
30785 test -z "$ac_c_werror_flag" ||
30786 test ! -s conftest.err
30787 } && test -s conftest$ac_exeext &&
30788 $as_test_x conftest$ac_exeext; then
30789 ac_cv_lib_dnet_dnet_ntoa=yes
30790 else
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30793
30794 ac_cv_lib_dnet_dnet_ntoa=no
30795 fi
30796
30797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30798 conftest$ac_exeext conftest.$ac_ext
30799 LIBS=$ac_check_lib_save_LIBS
30800 fi
30801 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30802 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30803 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30804 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30805 fi
30806
30807 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30808 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30809 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30810 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30811 echo $ECHO_N "(cached) $ECHO_C" >&6
30812 else
30813 ac_check_lib_save_LIBS=$LIBS
30814 LIBS="-ldnet_stub $LIBS"
30815 cat >conftest.$ac_ext <<_ACEOF
30816 /* confdefs.h. */
30817 _ACEOF
30818 cat confdefs.h >>conftest.$ac_ext
30819 cat >>conftest.$ac_ext <<_ACEOF
30820 /* end confdefs.h. */
30821
30822 /* Override any GCC internal prototype to avoid an error.
30823 Use char because int might match the return type of a GCC
30824 builtin and then its argument prototype would still apply. */
30825 #ifdef __cplusplus
30826 extern "C"
30827 #endif
30828 char dnet_ntoa ();
30829 int
30830 main ()
30831 {
30832 return dnet_ntoa ();
30833 ;
30834 return 0;
30835 }
30836 _ACEOF
30837 rm -f conftest.$ac_objext conftest$ac_exeext
30838 if { (ac_try="$ac_link"
30839 case "(($ac_try" in
30840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30841 *) ac_try_echo=$ac_try;;
30842 esac
30843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30844 (eval "$ac_link") 2>conftest.er1
30845 ac_status=$?
30846 grep -v '^ *+' conftest.er1 >conftest.err
30847 rm -f conftest.er1
30848 cat conftest.err >&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); } && {
30851 test -z "$ac_c_werror_flag" ||
30852 test ! -s conftest.err
30853 } && test -s conftest$ac_exeext &&
30854 $as_test_x conftest$ac_exeext; then
30855 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30856 else
30857 echo "$as_me: failed program was:" >&5
30858 sed 's/^/| /' conftest.$ac_ext >&5
30859
30860 ac_cv_lib_dnet_stub_dnet_ntoa=no
30861 fi
30862
30863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30864 conftest$ac_exeext conftest.$ac_ext
30865 LIBS=$ac_check_lib_save_LIBS
30866 fi
30867 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30868 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30869 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30870 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30871 fi
30872
30873 fi
30874 fi
30875
30876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30877 conftest$ac_exeext conftest.$ac_ext
30878 LIBS="$ac_xsave_LIBS"
30879
30880 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30881 # to get the SysV transport functions.
30882 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30883 # needs -lnsl.
30884 # The nsl library prevents programs from opening the X display
30885 # on Irix 5.2, according to T.E. Dickey.
30886 # The functions gethostbyname, getservbyname, and inet_addr are
30887 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30888 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30889 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30890 if test "${ac_cv_func_gethostbyname+set}" = set; then
30891 echo $ECHO_N "(cached) $ECHO_C" >&6
30892 else
30893 cat >conftest.$ac_ext <<_ACEOF
30894 /* confdefs.h. */
30895 _ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30899 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30901 #define gethostbyname innocuous_gethostbyname
30902
30903 /* System header to define __stub macros and hopefully few prototypes,
30904 which can conflict with char gethostbyname (); below.
30905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30906 <limits.h> exists even on freestanding compilers. */
30907
30908 #ifdef __STDC__
30909 # include <limits.h>
30910 #else
30911 # include <assert.h>
30912 #endif
30913
30914 #undef gethostbyname
30915
30916 /* Override any GCC internal prototype to avoid an error.
30917 Use char because int might match the return type of a GCC
30918 builtin and then its argument prototype would still apply. */
30919 #ifdef __cplusplus
30920 extern "C"
30921 #endif
30922 char gethostbyname ();
30923 /* The GNU C library defines this for functions which it implements
30924 to always fail with ENOSYS. Some functions are actually named
30925 something starting with __ and the normal name is an alias. */
30926 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30927 choke me
30928 #endif
30929
30930 int
30931 main ()
30932 {
30933 return gethostbyname ();
30934 ;
30935 return 0;
30936 }
30937 _ACEOF
30938 rm -f conftest.$ac_objext conftest$ac_exeext
30939 if { (ac_try="$ac_link"
30940 case "(($ac_try" in
30941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30942 *) ac_try_echo=$ac_try;;
30943 esac
30944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30945 (eval "$ac_link") 2>conftest.er1
30946 ac_status=$?
30947 grep -v '^ *+' conftest.er1 >conftest.err
30948 rm -f conftest.er1
30949 cat conftest.err >&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); } && {
30952 test -z "$ac_c_werror_flag" ||
30953 test ! -s conftest.err
30954 } && test -s conftest$ac_exeext &&
30955 $as_test_x conftest$ac_exeext; then
30956 ac_cv_func_gethostbyname=yes
30957 else
30958 echo "$as_me: failed program was:" >&5
30959 sed 's/^/| /' conftest.$ac_ext >&5
30960
30961 ac_cv_func_gethostbyname=no
30962 fi
30963
30964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30965 conftest$ac_exeext conftest.$ac_ext
30966 fi
30967 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30968 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30969
30970 if test $ac_cv_func_gethostbyname = no; then
30971 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30972 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30973 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30975 else
30976 ac_check_lib_save_LIBS=$LIBS
30977 LIBS="-lnsl $LIBS"
30978 cat >conftest.$ac_ext <<_ACEOF
30979 /* confdefs.h. */
30980 _ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30984
30985 /* Override any GCC internal prototype to avoid an error.
30986 Use char because int might match the return type of a GCC
30987 builtin and then its argument prototype would still apply. */
30988 #ifdef __cplusplus
30989 extern "C"
30990 #endif
30991 char gethostbyname ();
30992 int
30993 main ()
30994 {
30995 return gethostbyname ();
30996 ;
30997 return 0;
30998 }
30999 _ACEOF
31000 rm -f conftest.$ac_objext conftest$ac_exeext
31001 if { (ac_try="$ac_link"
31002 case "(($ac_try" in
31003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31004 *) ac_try_echo=$ac_try;;
31005 esac
31006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31007 (eval "$ac_link") 2>conftest.er1
31008 ac_status=$?
31009 grep -v '^ *+' conftest.er1 >conftest.err
31010 rm -f conftest.er1
31011 cat conftest.err >&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); } && {
31014 test -z "$ac_c_werror_flag" ||
31015 test ! -s conftest.err
31016 } && test -s conftest$ac_exeext &&
31017 $as_test_x conftest$ac_exeext; then
31018 ac_cv_lib_nsl_gethostbyname=yes
31019 else
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.$ac_ext >&5
31022
31023 ac_cv_lib_nsl_gethostbyname=no
31024 fi
31025
31026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31027 conftest$ac_exeext conftest.$ac_ext
31028 LIBS=$ac_check_lib_save_LIBS
31029 fi
31030 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31031 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31032 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31033 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31034 fi
31035
31036 if test $ac_cv_lib_nsl_gethostbyname = no; then
31037 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31038 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31039 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31040 echo $ECHO_N "(cached) $ECHO_C" >&6
31041 else
31042 ac_check_lib_save_LIBS=$LIBS
31043 LIBS="-lbsd $LIBS"
31044 cat >conftest.$ac_ext <<_ACEOF
31045 /* confdefs.h. */
31046 _ACEOF
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h. */
31050
31051 /* Override any GCC internal prototype to avoid an error.
31052 Use char because int might match the return type of a GCC
31053 builtin and then its argument prototype would still apply. */
31054 #ifdef __cplusplus
31055 extern "C"
31056 #endif
31057 char gethostbyname ();
31058 int
31059 main ()
31060 {
31061 return gethostbyname ();
31062 ;
31063 return 0;
31064 }
31065 _ACEOF
31066 rm -f conftest.$ac_objext conftest$ac_exeext
31067 if { (ac_try="$ac_link"
31068 case "(($ac_try" in
31069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31070 *) ac_try_echo=$ac_try;;
31071 esac
31072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31073 (eval "$ac_link") 2>conftest.er1
31074 ac_status=$?
31075 grep -v '^ *+' conftest.er1 >conftest.err
31076 rm -f conftest.er1
31077 cat conftest.err >&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); } && {
31080 test -z "$ac_c_werror_flag" ||
31081 test ! -s conftest.err
31082 } && test -s conftest$ac_exeext &&
31083 $as_test_x conftest$ac_exeext; then
31084 ac_cv_lib_bsd_gethostbyname=yes
31085 else
31086 echo "$as_me: failed program was:" >&5
31087 sed 's/^/| /' conftest.$ac_ext >&5
31088
31089 ac_cv_lib_bsd_gethostbyname=no
31090 fi
31091
31092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31093 conftest$ac_exeext conftest.$ac_ext
31094 LIBS=$ac_check_lib_save_LIBS
31095 fi
31096 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31097 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31098 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31100 fi
31101
31102 fi
31103 fi
31104
31105 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31106 # socket/setsockopt and other routines are undefined under SCO ODT
31107 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31108 # on later versions), says Simon Leinen: it contains gethostby*
31109 # variants that don't use the name server (or something). -lsocket
31110 # must be given before -lnsl if both are needed. We assume that
31111 # if connect needs -lnsl, so does gethostbyname.
31112 { echo "$as_me:$LINENO: checking for connect" >&5
31113 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31114 if test "${ac_cv_func_connect+set}" = set; then
31115 echo $ECHO_N "(cached) $ECHO_C" >&6
31116 else
31117 cat >conftest.$ac_ext <<_ACEOF
31118 /* confdefs.h. */
31119 _ACEOF
31120 cat confdefs.h >>conftest.$ac_ext
31121 cat >>conftest.$ac_ext <<_ACEOF
31122 /* end confdefs.h. */
31123 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31125 #define connect innocuous_connect
31126
31127 /* System header to define __stub macros and hopefully few prototypes,
31128 which can conflict with char connect (); below.
31129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31130 <limits.h> exists even on freestanding compilers. */
31131
31132 #ifdef __STDC__
31133 # include <limits.h>
31134 #else
31135 # include <assert.h>
31136 #endif
31137
31138 #undef connect
31139
31140 /* Override any GCC internal prototype to avoid an error.
31141 Use char because int might match the return type of a GCC
31142 builtin and then its argument prototype would still apply. */
31143 #ifdef __cplusplus
31144 extern "C"
31145 #endif
31146 char connect ();
31147 /* The GNU C library defines this for functions which it implements
31148 to always fail with ENOSYS. Some functions are actually named
31149 something starting with __ and the normal name is an alias. */
31150 #if defined __stub_connect || defined __stub___connect
31151 choke me
31152 #endif
31153
31154 int
31155 main ()
31156 {
31157 return connect ();
31158 ;
31159 return 0;
31160 }
31161 _ACEOF
31162 rm -f conftest.$ac_objext conftest$ac_exeext
31163 if { (ac_try="$ac_link"
31164 case "(($ac_try" in
31165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31166 *) ac_try_echo=$ac_try;;
31167 esac
31168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31169 (eval "$ac_link") 2>conftest.er1
31170 ac_status=$?
31171 grep -v '^ *+' conftest.er1 >conftest.err
31172 rm -f conftest.er1
31173 cat conftest.err >&5
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } && {
31176 test -z "$ac_c_werror_flag" ||
31177 test ! -s conftest.err
31178 } && test -s conftest$ac_exeext &&
31179 $as_test_x conftest$ac_exeext; then
31180 ac_cv_func_connect=yes
31181 else
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.$ac_ext >&5
31184
31185 ac_cv_func_connect=no
31186 fi
31187
31188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31189 conftest$ac_exeext conftest.$ac_ext
31190 fi
31191 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31192 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31193
31194 if test $ac_cv_func_connect = no; then
31195 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31196 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31197 if test "${ac_cv_lib_socket_connect+set}" = set; then
31198 echo $ECHO_N "(cached) $ECHO_C" >&6
31199 else
31200 ac_check_lib_save_LIBS=$LIBS
31201 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31202 cat >conftest.$ac_ext <<_ACEOF
31203 /* confdefs.h. */
31204 _ACEOF
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208
31209 /* Override any GCC internal prototype to avoid an error.
31210 Use char because int might match the return type of a GCC
31211 builtin and then its argument prototype would still apply. */
31212 #ifdef __cplusplus
31213 extern "C"
31214 #endif
31215 char connect ();
31216 int
31217 main ()
31218 {
31219 return connect ();
31220 ;
31221 return 0;
31222 }
31223 _ACEOF
31224 rm -f conftest.$ac_objext conftest$ac_exeext
31225 if { (ac_try="$ac_link"
31226 case "(($ac_try" in
31227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31228 *) ac_try_echo=$ac_try;;
31229 esac
31230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31231 (eval "$ac_link") 2>conftest.er1
31232 ac_status=$?
31233 grep -v '^ *+' conftest.er1 >conftest.err
31234 rm -f conftest.er1
31235 cat conftest.err >&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } && {
31238 test -z "$ac_c_werror_flag" ||
31239 test ! -s conftest.err
31240 } && test -s conftest$ac_exeext &&
31241 $as_test_x conftest$ac_exeext; then
31242 ac_cv_lib_socket_connect=yes
31243 else
31244 echo "$as_me: failed program was:" >&5
31245 sed 's/^/| /' conftest.$ac_ext >&5
31246
31247 ac_cv_lib_socket_connect=no
31248 fi
31249
31250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31251 conftest$ac_exeext conftest.$ac_ext
31252 LIBS=$ac_check_lib_save_LIBS
31253 fi
31254 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31255 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31256 if test $ac_cv_lib_socket_connect = yes; then
31257 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31258 fi
31259
31260 fi
31261
31262 # Guillermo Gomez says -lposix is necessary on A/UX.
31263 { echo "$as_me:$LINENO: checking for remove" >&5
31264 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31265 if test "${ac_cv_func_remove+set}" = set; then
31266 echo $ECHO_N "(cached) $ECHO_C" >&6
31267 else
31268 cat >conftest.$ac_ext <<_ACEOF
31269 /* confdefs.h. */
31270 _ACEOF
31271 cat confdefs.h >>conftest.$ac_ext
31272 cat >>conftest.$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31274 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31276 #define remove innocuous_remove
31277
31278 /* System header to define __stub macros and hopefully few prototypes,
31279 which can conflict with char remove (); below.
31280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31281 <limits.h> exists even on freestanding compilers. */
31282
31283 #ifdef __STDC__
31284 # include <limits.h>
31285 #else
31286 # include <assert.h>
31287 #endif
31288
31289 #undef remove
31290
31291 /* Override any GCC internal prototype to avoid an error.
31292 Use char because int might match the return type of a GCC
31293 builtin and then its argument prototype would still apply. */
31294 #ifdef __cplusplus
31295 extern "C"
31296 #endif
31297 char remove ();
31298 /* The GNU C library defines this for functions which it implements
31299 to always fail with ENOSYS. Some functions are actually named
31300 something starting with __ and the normal name is an alias. */
31301 #if defined __stub_remove || defined __stub___remove
31302 choke me
31303 #endif
31304
31305 int
31306 main ()
31307 {
31308 return remove ();
31309 ;
31310 return 0;
31311 }
31312 _ACEOF
31313 rm -f conftest.$ac_objext conftest$ac_exeext
31314 if { (ac_try="$ac_link"
31315 case "(($ac_try" in
31316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31317 *) ac_try_echo=$ac_try;;
31318 esac
31319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31320 (eval "$ac_link") 2>conftest.er1
31321 ac_status=$?
31322 grep -v '^ *+' conftest.er1 >conftest.err
31323 rm -f conftest.er1
31324 cat conftest.err >&5
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); } && {
31327 test -z "$ac_c_werror_flag" ||
31328 test ! -s conftest.err
31329 } && test -s conftest$ac_exeext &&
31330 $as_test_x conftest$ac_exeext; then
31331 ac_cv_func_remove=yes
31332 else
31333 echo "$as_me: failed program was:" >&5
31334 sed 's/^/| /' conftest.$ac_ext >&5
31335
31336 ac_cv_func_remove=no
31337 fi
31338
31339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31340 conftest$ac_exeext conftest.$ac_ext
31341 fi
31342 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31343 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31344
31345 if test $ac_cv_func_remove = no; then
31346 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31347 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31348 if test "${ac_cv_lib_posix_remove+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31350 else
31351 ac_check_lib_save_LIBS=$LIBS
31352 LIBS="-lposix $LIBS"
31353 cat >conftest.$ac_ext <<_ACEOF
31354 /* confdefs.h. */
31355 _ACEOF
31356 cat confdefs.h >>conftest.$ac_ext
31357 cat >>conftest.$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31359
31360 /* Override any GCC internal prototype to avoid an error.
31361 Use char because int might match the return type of a GCC
31362 builtin and then its argument prototype would still apply. */
31363 #ifdef __cplusplus
31364 extern "C"
31365 #endif
31366 char remove ();
31367 int
31368 main ()
31369 {
31370 return remove ();
31371 ;
31372 return 0;
31373 }
31374 _ACEOF
31375 rm -f conftest.$ac_objext conftest$ac_exeext
31376 if { (ac_try="$ac_link"
31377 case "(($ac_try" in
31378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31379 *) ac_try_echo=$ac_try;;
31380 esac
31381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31382 (eval "$ac_link") 2>conftest.er1
31383 ac_status=$?
31384 grep -v '^ *+' conftest.er1 >conftest.err
31385 rm -f conftest.er1
31386 cat conftest.err >&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } && {
31389 test -z "$ac_c_werror_flag" ||
31390 test ! -s conftest.err
31391 } && test -s conftest$ac_exeext &&
31392 $as_test_x conftest$ac_exeext; then
31393 ac_cv_lib_posix_remove=yes
31394 else
31395 echo "$as_me: failed program was:" >&5
31396 sed 's/^/| /' conftest.$ac_ext >&5
31397
31398 ac_cv_lib_posix_remove=no
31399 fi
31400
31401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31402 conftest$ac_exeext conftest.$ac_ext
31403 LIBS=$ac_check_lib_save_LIBS
31404 fi
31405 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31406 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31407 if test $ac_cv_lib_posix_remove = yes; then
31408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31409 fi
31410
31411 fi
31412
31413 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31414 { echo "$as_me:$LINENO: checking for shmat" >&5
31415 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31416 if test "${ac_cv_func_shmat+set}" = set; then
31417 echo $ECHO_N "(cached) $ECHO_C" >&6
31418 else
31419 cat >conftest.$ac_ext <<_ACEOF
31420 /* confdefs.h. */
31421 _ACEOF
31422 cat confdefs.h >>conftest.$ac_ext
31423 cat >>conftest.$ac_ext <<_ACEOF
31424 /* end confdefs.h. */
31425 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31427 #define shmat innocuous_shmat
31428
31429 /* System header to define __stub macros and hopefully few prototypes,
31430 which can conflict with char shmat (); below.
31431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31432 <limits.h> exists even on freestanding compilers. */
31433
31434 #ifdef __STDC__
31435 # include <limits.h>
31436 #else
31437 # include <assert.h>
31438 #endif
31439
31440 #undef shmat
31441
31442 /* Override any GCC internal prototype to avoid an error.
31443 Use char because int might match the return type of a GCC
31444 builtin and then its argument prototype would still apply. */
31445 #ifdef __cplusplus
31446 extern "C"
31447 #endif
31448 char shmat ();
31449 /* The GNU C library defines this for functions which it implements
31450 to always fail with ENOSYS. Some functions are actually named
31451 something starting with __ and the normal name is an alias. */
31452 #if defined __stub_shmat || defined __stub___shmat
31453 choke me
31454 #endif
31455
31456 int
31457 main ()
31458 {
31459 return shmat ();
31460 ;
31461 return 0;
31462 }
31463 _ACEOF
31464 rm -f conftest.$ac_objext conftest$ac_exeext
31465 if { (ac_try="$ac_link"
31466 case "(($ac_try" in
31467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31468 *) ac_try_echo=$ac_try;;
31469 esac
31470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31471 (eval "$ac_link") 2>conftest.er1
31472 ac_status=$?
31473 grep -v '^ *+' conftest.er1 >conftest.err
31474 rm -f conftest.er1
31475 cat conftest.err >&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); } && {
31478 test -z "$ac_c_werror_flag" ||
31479 test ! -s conftest.err
31480 } && test -s conftest$ac_exeext &&
31481 $as_test_x conftest$ac_exeext; then
31482 ac_cv_func_shmat=yes
31483 else
31484 echo "$as_me: failed program was:" >&5
31485 sed 's/^/| /' conftest.$ac_ext >&5
31486
31487 ac_cv_func_shmat=no
31488 fi
31489
31490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31491 conftest$ac_exeext conftest.$ac_ext
31492 fi
31493 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31494 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31495
31496 if test $ac_cv_func_shmat = no; then
31497 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31498 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31499 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31501 else
31502 ac_check_lib_save_LIBS=$LIBS
31503 LIBS="-lipc $LIBS"
31504 cat >conftest.$ac_ext <<_ACEOF
31505 /* confdefs.h. */
31506 _ACEOF
31507 cat confdefs.h >>conftest.$ac_ext
31508 cat >>conftest.$ac_ext <<_ACEOF
31509 /* end confdefs.h. */
31510
31511 /* Override any GCC internal prototype to avoid an error.
31512 Use char because int might match the return type of a GCC
31513 builtin and then its argument prototype would still apply. */
31514 #ifdef __cplusplus
31515 extern "C"
31516 #endif
31517 char shmat ();
31518 int
31519 main ()
31520 {
31521 return shmat ();
31522 ;
31523 return 0;
31524 }
31525 _ACEOF
31526 rm -f conftest.$ac_objext conftest$ac_exeext
31527 if { (ac_try="$ac_link"
31528 case "(($ac_try" in
31529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31530 *) ac_try_echo=$ac_try;;
31531 esac
31532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31533 (eval "$ac_link") 2>conftest.er1
31534 ac_status=$?
31535 grep -v '^ *+' conftest.er1 >conftest.err
31536 rm -f conftest.er1
31537 cat conftest.err >&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); } && {
31540 test -z "$ac_c_werror_flag" ||
31541 test ! -s conftest.err
31542 } && test -s conftest$ac_exeext &&
31543 $as_test_x conftest$ac_exeext; then
31544 ac_cv_lib_ipc_shmat=yes
31545 else
31546 echo "$as_me: failed program was:" >&5
31547 sed 's/^/| /' conftest.$ac_ext >&5
31548
31549 ac_cv_lib_ipc_shmat=no
31550 fi
31551
31552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31553 conftest$ac_exeext conftest.$ac_ext
31554 LIBS=$ac_check_lib_save_LIBS
31555 fi
31556 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31557 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31558 if test $ac_cv_lib_ipc_shmat = yes; then
31559 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31560 fi
31561
31562 fi
31563 fi
31564
31565 # Check for libraries that X11R6 Xt/Xaw programs need.
31566 ac_save_LDFLAGS=$LDFLAGS
31567 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31568 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31569 # check for ICE first), but we must link in the order -lSM -lICE or
31570 # we get undefined symbols. So assume we have SM if we have ICE.
31571 # These have to be linked with before -lX11, unlike the other
31572 # libraries we check for below, so use a different variable.
31573 # John Interrante, Karl Berry
31574 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31575 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31576 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31577 echo $ECHO_N "(cached) $ECHO_C" >&6
31578 else
31579 ac_check_lib_save_LIBS=$LIBS
31580 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31581 cat >conftest.$ac_ext <<_ACEOF
31582 /* confdefs.h. */
31583 _ACEOF
31584 cat confdefs.h >>conftest.$ac_ext
31585 cat >>conftest.$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31587
31588 /* Override any GCC internal prototype to avoid an error.
31589 Use char because int might match the return type of a GCC
31590 builtin and then its argument prototype would still apply. */
31591 #ifdef __cplusplus
31592 extern "C"
31593 #endif
31594 char IceConnectionNumber ();
31595 int
31596 main ()
31597 {
31598 return IceConnectionNumber ();
31599 ;
31600 return 0;
31601 }
31602 _ACEOF
31603 rm -f conftest.$ac_objext conftest$ac_exeext
31604 if { (ac_try="$ac_link"
31605 case "(($ac_try" in
31606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31607 *) ac_try_echo=$ac_try;;
31608 esac
31609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31610 (eval "$ac_link") 2>conftest.er1
31611 ac_status=$?
31612 grep -v '^ *+' conftest.er1 >conftest.err
31613 rm -f conftest.er1
31614 cat conftest.err >&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } && {
31617 test -z "$ac_c_werror_flag" ||
31618 test ! -s conftest.err
31619 } && test -s conftest$ac_exeext &&
31620 $as_test_x conftest$ac_exeext; then
31621 ac_cv_lib_ICE_IceConnectionNumber=yes
31622 else
31623 echo "$as_me: failed program was:" >&5
31624 sed 's/^/| /' conftest.$ac_ext >&5
31625
31626 ac_cv_lib_ICE_IceConnectionNumber=no
31627 fi
31628
31629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31630 conftest$ac_exeext conftest.$ac_ext
31631 LIBS=$ac_check_lib_save_LIBS
31632 fi
31633 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31634 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31635 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31636 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31637 fi
31638
31639 LDFLAGS=$ac_save_LDFLAGS
31640
31641 fi
31642
31643
31644 if test "$no_x" = "yes"; then
31645 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31646 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31647 { (exit 1); exit 1; }; }
31648 fi
31649
31650 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31651 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31652 AFMINSTALL=afminstall
31653 COMPILED_X_PROGRAM=0
31654
31655 fi
31656
31657 if test "$wxUSE_X11" = 1; then
31658 if test "$wxUSE_NANOX" = "yes"; then
31659 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31660 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31661 if test "x$MICROWIN" = x ; then
31662 { echo "$as_me:$LINENO: result: not found" >&5
31663 echo "${ECHO_T}not found" >&6; }
31664 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31665 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31666 { (exit 1); exit 1; }; }
31667 else
31668 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31669 echo "${ECHO_T}$MICROWIN" >&6; }
31670 cat >>confdefs.h <<\_ACEOF
31671 #define wxUSE_NANOX 1
31672 _ACEOF
31673
31674 fi
31675 fi
31676
31677 if test "$wxUSE_UNICODE" = "yes"; then
31678
31679
31680 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31681 if test -n "$ac_tool_prefix"; then
31682 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31683 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31686 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31687 echo $ECHO_N "(cached) $ECHO_C" >&6
31688 else
31689 case $PKG_CONFIG in
31690 [\\/]* | ?:[\\/]*)
31691 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31692 ;;
31693 *)
31694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31695 for as_dir in $PATH
31696 do
31697 IFS=$as_save_IFS
31698 test -z "$as_dir" && as_dir=.
31699 for ac_exec_ext in '' $ac_executable_extensions; do
31700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31701 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31703 break 2
31704 fi
31705 done
31706 done
31707 IFS=$as_save_IFS
31708
31709 ;;
31710 esac
31711 fi
31712 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31713 if test -n "$PKG_CONFIG"; then
31714 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31715 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31716 else
31717 { echo "$as_me:$LINENO: result: no" >&5
31718 echo "${ECHO_T}no" >&6; }
31719 fi
31720
31721
31722 fi
31723 if test -z "$ac_cv_path_PKG_CONFIG"; then
31724 ac_pt_PKG_CONFIG=$PKG_CONFIG
31725 # Extract the first word of "pkg-config", so it can be a program name with args.
31726 set dummy pkg-config; ac_word=$2
31727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31729 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 else
31732 case $ac_pt_PKG_CONFIG in
31733 [\\/]* | ?:[\\/]*)
31734 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31735 ;;
31736 *)
31737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31738 for as_dir in $PATH
31739 do
31740 IFS=$as_save_IFS
31741 test -z "$as_dir" && as_dir=.
31742 for ac_exec_ext in '' $ac_executable_extensions; do
31743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31744 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31746 break 2
31747 fi
31748 done
31749 done
31750 IFS=$as_save_IFS
31751
31752 ;;
31753 esac
31754 fi
31755 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31756 if test -n "$ac_pt_PKG_CONFIG"; then
31757 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31758 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31759 else
31760 { echo "$as_me:$LINENO: result: no" >&5
31761 echo "${ECHO_T}no" >&6; }
31762 fi
31763
31764 if test "x$ac_pt_PKG_CONFIG" = x; then
31765 PKG_CONFIG=""
31766 else
31767 case $cross_compiling:$ac_tool_warned in
31768 yes:)
31769 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31770 whose name does not start with the host triplet. If you think this
31771 configuration is useful to you, please write to autoconf@gnu.org." >&5
31772 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31773 whose name does not start with the host triplet. If you think this
31774 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31775 ac_tool_warned=yes ;;
31776 esac
31777 PKG_CONFIG=$ac_pt_PKG_CONFIG
31778 fi
31779 else
31780 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31781 fi
31782
31783 fi
31784 if test -n "$PKG_CONFIG"; then
31785 _pkg_min_version=0.9.0
31786 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31787 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31788 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31789 { echo "$as_me:$LINENO: result: yes" >&5
31790 echo "${ECHO_T}yes" >&6; }
31791 else
31792 { echo "$as_me:$LINENO: result: no" >&5
31793 echo "${ECHO_T}no" >&6; }
31794 PKG_CONFIG=""
31795 fi
31796
31797 fi
31798
31799
31800 pkg_failed=no
31801 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31802 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31803
31804 if test -n "$PKG_CONFIG"; then
31805 if test -n "$PANGOX_CFLAGS"; then
31806 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31807 else
31808 if test -n "$PKG_CONFIG" && \
31809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31810 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31811 ac_status=$?
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); }; then
31814 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31815 else
31816 pkg_failed=yes
31817 fi
31818 fi
31819 else
31820 pkg_failed=untried
31821 fi
31822 if test -n "$PKG_CONFIG"; then
31823 if test -n "$PANGOX_LIBS"; then
31824 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31825 else
31826 if test -n "$PKG_CONFIG" && \
31827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31828 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31829 ac_status=$?
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); }; then
31832 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31833 else
31834 pkg_failed=yes
31835 fi
31836 fi
31837 else
31838 pkg_failed=untried
31839 fi
31840
31841
31842
31843 if test $pkg_failed = yes; then
31844
31845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31846 _pkg_short_errors_supported=yes
31847 else
31848 _pkg_short_errors_supported=no
31849 fi
31850 if test $_pkg_short_errors_supported = yes; then
31851 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31852 else
31853 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31854 fi
31855 # Put the nasty error message in config.log where it belongs
31856 echo "$PANGOX_PKG_ERRORS" >&5
31857
31858
31859 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31860 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31861 { (exit 1); exit 1; }; }
31862
31863
31864 elif test $pkg_failed = untried; then
31865
31866 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31867 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31868 { (exit 1); exit 1; }; }
31869
31870
31871 else
31872 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31873 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31874 { echo "$as_me:$LINENO: result: yes" >&5
31875 echo "${ECHO_T}yes" >&6; }
31876
31877 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31878 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31879 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31880
31881 fi
31882
31883 pkg_failed=no
31884 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31885 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31886
31887 if test -n "$PKG_CONFIG"; then
31888 if test -n "$PANGOFT2_CFLAGS"; then
31889 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31890 else
31891 if test -n "$PKG_CONFIG" && \
31892 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31893 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31894 ac_status=$?
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); }; then
31897 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31898 else
31899 pkg_failed=yes
31900 fi
31901 fi
31902 else
31903 pkg_failed=untried
31904 fi
31905 if test -n "$PKG_CONFIG"; then
31906 if test -n "$PANGOFT2_LIBS"; then
31907 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31908 else
31909 if test -n "$PKG_CONFIG" && \
31910 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31911 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31912 ac_status=$?
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; then
31915 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31916 else
31917 pkg_failed=yes
31918 fi
31919 fi
31920 else
31921 pkg_failed=untried
31922 fi
31923
31924
31925
31926 if test $pkg_failed = yes; then
31927
31928 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31929 _pkg_short_errors_supported=yes
31930 else
31931 _pkg_short_errors_supported=no
31932 fi
31933 if test $_pkg_short_errors_supported = yes; then
31934 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31935 else
31936 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31937 fi
31938 # Put the nasty error message in config.log where it belongs
31939 echo "$PANGOFT2_PKG_ERRORS" >&5
31940
31941
31942 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31943 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31944 wxUSE_PRINTING_ARCHITECTURE="no"
31945
31946
31947 elif test $pkg_failed = untried; then
31948
31949 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31950 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31951 wxUSE_PRINTING_ARCHITECTURE="no"
31952
31953
31954 else
31955 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31956 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31957 { echo "$as_me:$LINENO: result: yes" >&5
31958 echo "${ECHO_T}yes" >&6; }
31959
31960 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31961 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31962 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31963
31964 fi
31965
31966 pkg_failed=no
31967 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31968 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31969
31970 if test -n "$PKG_CONFIG"; then
31971 if test -n "$PANGOXFT_CFLAGS"; then
31972 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31973 else
31974 if test -n "$PKG_CONFIG" && \
31975 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31976 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31977 ac_status=$?
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; then
31980 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31981 else
31982 pkg_failed=yes
31983 fi
31984 fi
31985 else
31986 pkg_failed=untried
31987 fi
31988 if test -n "$PKG_CONFIG"; then
31989 if test -n "$PANGOXFT_LIBS"; then
31990 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31991 else
31992 if test -n "$PKG_CONFIG" && \
31993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31994 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31995 ac_status=$?
31996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31997 (exit $ac_status); }; then
31998 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31999 else
32000 pkg_failed=yes
32001 fi
32002 fi
32003 else
32004 pkg_failed=untried
32005 fi
32006
32007
32008
32009 if test $pkg_failed = yes; then
32010
32011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32012 _pkg_short_errors_supported=yes
32013 else
32014 _pkg_short_errors_supported=no
32015 fi
32016 if test $_pkg_short_errors_supported = yes; then
32017 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32018 else
32019 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32020 fi
32021 # Put the nasty error message in config.log where it belongs
32022 echo "$PANGOXFT_PKG_ERRORS" >&5
32023
32024
32025 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32026 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32027
32028
32029 elif test $pkg_failed = untried; then
32030
32031 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32032 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32033
32034
32035 else
32036 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32037 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32038 { echo "$as_me:$LINENO: result: yes" >&5
32039 echo "${ECHO_T}yes" >&6; }
32040
32041 cat >>confdefs.h <<\_ACEOF
32042 #define HAVE_PANGO_XFT 1
32043 _ACEOF
32044
32045 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32046 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32047 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32048
32049 fi
32050 save_LIBS="$LIBS"
32051 LIBS="$LIBS $PANGOX_LIBS"
32052
32053 for ac_func in pango_font_family_is_monospace
32054 do
32055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32059 echo $ECHO_N "(cached) $ECHO_C" >&6
32060 else
32061 cat >conftest.$ac_ext <<_ACEOF
32062 /* confdefs.h. */
32063 _ACEOF
32064 cat confdefs.h >>conftest.$ac_ext
32065 cat >>conftest.$ac_ext <<_ACEOF
32066 /* end confdefs.h. */
32067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32069 #define $ac_func innocuous_$ac_func
32070
32071 /* System header to define __stub macros and hopefully few prototypes,
32072 which can conflict with char $ac_func (); below.
32073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32074 <limits.h> exists even on freestanding compilers. */
32075
32076 #ifdef __STDC__
32077 # include <limits.h>
32078 #else
32079 # include <assert.h>
32080 #endif
32081
32082 #undef $ac_func
32083
32084 /* Override any GCC internal prototype to avoid an error.
32085 Use char because int might match the return type of a GCC
32086 builtin and then its argument prototype would still apply. */
32087 #ifdef __cplusplus
32088 extern "C"
32089 #endif
32090 char $ac_func ();
32091 /* The GNU C library defines this for functions which it implements
32092 to always fail with ENOSYS. Some functions are actually named
32093 something starting with __ and the normal name is an alias. */
32094 #if defined __stub_$ac_func || defined __stub___$ac_func
32095 choke me
32096 #endif
32097
32098 int
32099 main ()
32100 {
32101 return $ac_func ();
32102 ;
32103 return 0;
32104 }
32105 _ACEOF
32106 rm -f conftest.$ac_objext conftest$ac_exeext
32107 if { (ac_try="$ac_link"
32108 case "(($ac_try" in
32109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32110 *) ac_try_echo=$ac_try;;
32111 esac
32112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32113 (eval "$ac_link") 2>conftest.er1
32114 ac_status=$?
32115 grep -v '^ *+' conftest.er1 >conftest.err
32116 rm -f conftest.er1
32117 cat conftest.err >&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); } && {
32120 test -z "$ac_c_werror_flag" ||
32121 test ! -s conftest.err
32122 } && test -s conftest$ac_exeext &&
32123 $as_test_x conftest$ac_exeext; then
32124 eval "$as_ac_var=yes"
32125 else
32126 echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.$ac_ext >&5
32128
32129 eval "$as_ac_var=no"
32130 fi
32131
32132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32133 conftest$ac_exeext conftest.$ac_ext
32134 fi
32135 ac_res=`eval echo '${'$as_ac_var'}'`
32136 { echo "$as_me:$LINENO: result: $ac_res" >&5
32137 echo "${ECHO_T}$ac_res" >&6; }
32138 if test `eval echo '${'$as_ac_var'}'` = yes; then
32139 cat >>confdefs.h <<_ACEOF
32140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32141 _ACEOF
32142
32143 fi
32144 done
32145
32146 LIBS="$save_LIBS"
32147 fi
32148
32149 wxUSE_UNIVERSAL="yes"
32150
32151 if test "$wxUSE_NANOX" = "yes"; then
32152 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32153 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"
32154 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32155 else
32156 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32157 fi
32158
32159 TOOLKIT=X11
32160 GUIDIST=X11_DIST
32161 fi
32162
32163 if test "$wxUSE_MOTIF" = 1; then
32164 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32165 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32166
32167 ac_find_includes=
32168 for ac_dir in $SEARCH_INCLUDE /usr/include;
32169 do
32170 if test -f "$ac_dir/Xm/Xm.h"; then
32171 ac_find_includes=$ac_dir
32172 break
32173 fi
32174 done
32175
32176 if test "$ac_find_includes" != "" ; then
32177 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32178 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32179
32180 if test "x$ac_find_includes" = "x/usr/include"; then
32181 ac_path_to_include=""
32182 else
32183 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32184 result=$?
32185 if test $result = 0; then
32186 ac_path_to_include=""
32187 else
32188 ac_path_to_include=" -I$ac_find_includes"
32189 fi
32190 fi
32191
32192 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32193 else
32194 save_CFLAGS=$CFLAGS
32195 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32196
32197 cat >conftest.$ac_ext <<_ACEOF
32198 /* confdefs.h. */
32199 _ACEOF
32200 cat confdefs.h >>conftest.$ac_ext
32201 cat >>conftest.$ac_ext <<_ACEOF
32202 /* end confdefs.h. */
32203
32204 #include <Xm/Xm.h>
32205
32206 int
32207 main ()
32208 {
32209
32210 int version;
32211 version = xmUseVersion;
32212
32213 ;
32214 return 0;
32215 }
32216 _ACEOF
32217 rm -f conftest.$ac_objext
32218 if { (ac_try="$ac_compile"
32219 case "(($ac_try" in
32220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32221 *) ac_try_echo=$ac_try;;
32222 esac
32223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32224 (eval "$ac_compile") 2>conftest.er1
32225 ac_status=$?
32226 grep -v '^ *+' conftest.er1 >conftest.err
32227 rm -f conftest.er1
32228 cat conftest.err >&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); } && {
32231 test -z "$ac_c_werror_flag" ||
32232 test ! -s conftest.err
32233 } && test -s conftest.$ac_objext; then
32234
32235 { echo "$as_me:$LINENO: result: found in default search path" >&5
32236 echo "${ECHO_T}found in default search path" >&6; }
32237 COMPILED_X_PROGRAM=1
32238
32239 else
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.$ac_ext >&5
32242
32243
32244 { echo "$as_me:$LINENO: result: no" >&5
32245 echo "${ECHO_T}no" >&6; }
32246 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32247 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32248 { (exit 1); exit 1; }; }
32249
32250
32251 fi
32252
32253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32254
32255 CFLAGS=$save_CFLAGS
32256 fi
32257
32258
32259 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32260 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32261
32262 ac_find_libraries=
32263 for ac_dir in $SEARCH_LIB;
32264 do
32265 for ac_extension in a so sl dylib dll.a; do
32266 if test -f "$ac_dir/libXm.$ac_extension"; then
32267 ac_find_libraries=$ac_dir
32268 break 2
32269 fi
32270 done
32271 done
32272
32273
32274 if test "x$ac_find_libraries" != "x" ; then
32275 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32276 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32277
32278
32279 if test "$ac_find_libraries" = "default location"; then
32280 ac_path_to_link=""
32281 else
32282 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32283 result=$?
32284 if test $result = 0; then
32285 ac_path_to_link=""
32286 else
32287 ac_path_to_link=" -L$ac_find_libraries"
32288 fi
32289 fi
32290
32291 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32292 else
32293 save_CFLAGS=$CFLAGS
32294 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32295 save_LIBS="$LIBS"
32296 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32297
32298 cat >conftest.$ac_ext <<_ACEOF
32299 /* confdefs.h. */
32300 _ACEOF
32301 cat confdefs.h >>conftest.$ac_ext
32302 cat >>conftest.$ac_ext <<_ACEOF
32303 /* end confdefs.h. */
32304
32305 #include <Xm/Xm.h>
32306
32307 int
32308 main ()
32309 {
32310
32311 int version;
32312 version = xmUseVersion;
32313
32314 ;
32315 return 0;
32316 }
32317 _ACEOF
32318 rm -f conftest.$ac_objext conftest$ac_exeext
32319 if { (ac_try="$ac_link"
32320 case "(($ac_try" in
32321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32322 *) ac_try_echo=$ac_try;;
32323 esac
32324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32325 (eval "$ac_link") 2>conftest.er1
32326 ac_status=$?
32327 grep -v '^ *+' conftest.er1 >conftest.err
32328 rm -f conftest.er1
32329 cat conftest.err >&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); } && {
32332 test -z "$ac_c_werror_flag" ||
32333 test ! -s conftest.err
32334 } && test -s conftest$ac_exeext &&
32335 $as_test_x conftest$ac_exeext; then
32336
32337 { echo "$as_me:$LINENO: result: found in default search path" >&5
32338 echo "${ECHO_T}found in default search path" >&6; }
32339 COMPILED_X_PROGRAM=1
32340
32341 else
32342 echo "$as_me: failed program was:" >&5
32343 sed 's/^/| /' conftest.$ac_ext >&5
32344
32345
32346 { echo "$as_me:$LINENO: result: no" >&5
32347 echo "${ECHO_T}no" >&6; }
32348 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32349 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32350 { (exit 1); exit 1; }; }
32351
32352
32353 fi
32354
32355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32356 conftest$ac_exeext conftest.$ac_ext
32357
32358 CFLAGS=$save_CFLAGS
32359 LIBS="$save_LIBS"
32360 fi
32361
32362 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32363 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32364 libp_link=""
32365 libsm_ice_link=""
32366 libs_found=0
32367 for libp in "" " -lXp"; do
32368 if test "$libs_found" = 0; then
32369 for libsm_ice in "" " -lSM -lICE"; do
32370 if test "$libs_found" = 0; then
32371 save_LIBS="$LIBS"
32372 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32373 save_CFLAGS=$CFLAGS
32374 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32375
32376 cat >conftest.$ac_ext <<_ACEOF
32377 /* confdefs.h. */
32378 _ACEOF
32379 cat confdefs.h >>conftest.$ac_ext
32380 cat >>conftest.$ac_ext <<_ACEOF
32381 /* end confdefs.h. */
32382
32383 #include <Xm/Xm.h>
32384 #include <Xm/List.h>
32385
32386 int
32387 main ()
32388 {
32389
32390 XmString string = NULL;
32391 Widget w = NULL;
32392 int position = 0;
32393 XmListAddItem(w, string, position);
32394
32395 ;
32396 return 0;
32397 }
32398 _ACEOF
32399 rm -f conftest.$ac_objext conftest$ac_exeext
32400 if { (ac_try="$ac_link"
32401 case "(($ac_try" in
32402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32403 *) ac_try_echo=$ac_try;;
32404 esac
32405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32406 (eval "$ac_link") 2>conftest.er1
32407 ac_status=$?
32408 grep -v '^ *+' conftest.er1 >conftest.err
32409 rm -f conftest.er1
32410 cat conftest.err >&5
32411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32412 (exit $ac_status); } && {
32413 test -z "$ac_c_werror_flag" ||
32414 test ! -s conftest.err
32415 } && test -s conftest$ac_exeext &&
32416 $as_test_x conftest$ac_exeext; then
32417
32418 libp_link="$libp"
32419 libsm_ice_link="$libsm_ice"
32420 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32421 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32422 libs_found=1
32423
32424 else
32425 echo "$as_me: failed program was:" >&5
32426 sed 's/^/| /' conftest.$ac_ext >&5
32427
32428
32429
32430 fi
32431
32432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32433 conftest$ac_exeext conftest.$ac_ext
32434
32435 LIBS="$save_LIBS"
32436 CFLAGS=$save_CFLAGS
32437 fi
32438 done
32439 fi
32440 done
32441
32442 if test "$libs_found" = 0; then
32443 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32444 echo "${ECHO_T}can't find the right libraries" >&6; }
32445 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32446 echo "$as_me: error: can't link a simple motif program" >&2;}
32447 { (exit 1); exit 1; }; }
32448 fi
32449
32450 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32451 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32452 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 else
32455 ac_check_lib_save_LIBS=$LIBS
32456 LIBS="-lSgm $LIBS"
32457 cat >conftest.$ac_ext <<_ACEOF
32458 /* confdefs.h. */
32459 _ACEOF
32460 cat confdefs.h >>conftest.$ac_ext
32461 cat >>conftest.$ac_ext <<_ACEOF
32462 /* end confdefs.h. */
32463
32464 /* Override any GCC internal prototype to avoid an error.
32465 Use char because int might match the return type of a GCC
32466 builtin and then its argument prototype would still apply. */
32467 #ifdef __cplusplus
32468 extern "C"
32469 #endif
32470 char SgCreateList ();
32471 int
32472 main ()
32473 {
32474 return SgCreateList ();
32475 ;
32476 return 0;
32477 }
32478 _ACEOF
32479 rm -f conftest.$ac_objext conftest$ac_exeext
32480 if { (ac_try="$ac_link"
32481 case "(($ac_try" in
32482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32483 *) ac_try_echo=$ac_try;;
32484 esac
32485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32486 (eval "$ac_link") 2>conftest.er1
32487 ac_status=$?
32488 grep -v '^ *+' conftest.er1 >conftest.err
32489 rm -f conftest.er1
32490 cat conftest.err >&5
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); } && {
32493 test -z "$ac_c_werror_flag" ||
32494 test ! -s conftest.err
32495 } && test -s conftest$ac_exeext &&
32496 $as_test_x conftest$ac_exeext; then
32497 ac_cv_lib_Sgm_SgCreateList=yes
32498 else
32499 echo "$as_me: failed program was:" >&5
32500 sed 's/^/| /' conftest.$ac_ext >&5
32501
32502 ac_cv_lib_Sgm_SgCreateList=no
32503 fi
32504
32505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32506 conftest$ac_exeext conftest.$ac_ext
32507 LIBS=$ac_check_lib_save_LIBS
32508 fi
32509 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32510 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32511 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32512 libsgm_link=" -lSgm"
32513 fi
32514
32515
32516 save_CFLAGS=$CFLAGS
32517 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32518
32519 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32520 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32521 if test "${wx_cv_lib_motif2+set}" = set; then
32522 echo $ECHO_N "(cached) $ECHO_C" >&6
32523 else
32524 cat >conftest.$ac_ext <<_ACEOF
32525 /* confdefs.h. */
32526 _ACEOF
32527 cat confdefs.h >>conftest.$ac_ext
32528 cat >>conftest.$ac_ext <<_ACEOF
32529 /* end confdefs.h. */
32530
32531 #include <Xm/Xm.h>
32532
32533 int
32534 main ()
32535 {
32536
32537 #if XmVersion < 2000
32538 Not Motif 2
32539 #endif
32540
32541 ;
32542 return 0;
32543 }
32544 _ACEOF
32545 rm -f conftest.$ac_objext
32546 if { (ac_try="$ac_compile"
32547 case "(($ac_try" in
32548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32549 *) ac_try_echo=$ac_try;;
32550 esac
32551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32552 (eval "$ac_compile") 2>conftest.er1
32553 ac_status=$?
32554 grep -v '^ *+' conftest.er1 >conftest.err
32555 rm -f conftest.er1
32556 cat conftest.err >&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); } && {
32559 test -z "$ac_c_werror_flag" ||
32560 test ! -s conftest.err
32561 } && test -s conftest.$ac_objext; then
32562 wx_cv_lib_motif2="yes"
32563 else
32564 echo "$as_me: failed program was:" >&5
32565 sed 's/^/| /' conftest.$ac_ext >&5
32566
32567 wx_cv_lib_motif2="no"
32568 fi
32569
32570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32571 fi
32572 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32573 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32574 if test "$wx_cv_lib_motif2" = "yes"; then
32575 cat >>confdefs.h <<\_ACEOF
32576 #define __WXMOTIF20__ 1
32577 _ACEOF
32578
32579 else
32580 cat >>confdefs.h <<\_ACEOF
32581 #define __WXMOTIF20__ 0
32582 _ACEOF
32583
32584 fi
32585
32586 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32587 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32588 if test "${wx_cv_lib_lesstif+set}" = set; then
32589 echo $ECHO_N "(cached) $ECHO_C" >&6
32590 else
32591 cat >conftest.$ac_ext <<_ACEOF
32592 /* confdefs.h. */
32593 _ACEOF
32594 cat confdefs.h >>conftest.$ac_ext
32595 cat >>conftest.$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32597
32598 #include <Xm/Xm.h>
32599
32600 int
32601 main ()
32602 {
32603
32604 #if !defined(LesstifVersion) || LesstifVersion <= 0
32605 Not Lesstif
32606 #endif
32607
32608 ;
32609 return 0;
32610 }
32611 _ACEOF
32612 rm -f conftest.$ac_objext
32613 if { (ac_try="$ac_compile"
32614 case "(($ac_try" in
32615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32616 *) ac_try_echo=$ac_try;;
32617 esac
32618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32619 (eval "$ac_compile") 2>conftest.er1
32620 ac_status=$?
32621 grep -v '^ *+' conftest.er1 >conftest.err
32622 rm -f conftest.er1
32623 cat conftest.err >&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); } && {
32626 test -z "$ac_c_werror_flag" ||
32627 test ! -s conftest.err
32628 } && test -s conftest.$ac_objext; then
32629 wx_cv_lib_lesstif="yes"
32630 else
32631 echo "$as_me: failed program was:" >&5
32632 sed 's/^/| /' conftest.$ac_ext >&5
32633
32634 wx_cv_lib_lesstif="no"
32635 fi
32636
32637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32638
32639 fi
32640 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32641 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32642 if test "$wx_cv_lib_lesstif" = "yes"; then
32643 cat >>confdefs.h <<\_ACEOF
32644 #define __WXLESSTIF__ 1
32645 _ACEOF
32646
32647 else
32648 cat >>confdefs.h <<\_ACEOF
32649 #define __WXLESSTIF__ 0
32650 _ACEOF
32651
32652 fi
32653
32654 CFLAGS=$save_CFLAGS
32655
32656 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32657 TOOLKIT=MOTIF
32658 GUIDIST=MOTIF_DIST
32659 fi
32660
32661 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32662 if test "$wxUSE_LIBXPM" = "sys"; then
32663 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32664 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32665
32666 ac_find_libraries=
32667 for ac_dir in $SEARCH_LIB;
32668 do
32669 for ac_extension in a so sl dylib dll.a; do
32670 if test -f "$ac_dir/libXpm.$ac_extension"; then
32671 ac_find_libraries=$ac_dir
32672 break 2
32673 fi
32674 done
32675 done
32676
32677 if test "$ac_find_libraries" != "" ; then
32678
32679 if test "$ac_find_libraries" = "default location"; then
32680 ac_path_to_link=""
32681 else
32682 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32683 result=$?
32684 if test $result = 0; then
32685 ac_path_to_link=""
32686 else
32687 ac_path_to_link=" -L$ac_find_libraries"
32688 fi
32689 fi
32690
32691 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32692 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32693 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32694
32695 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32696 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32697 if test "${wx_cv_x11_xpm_h+set}" = set; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32700
32701 save_CFLAGS=$CFLAGS
32702 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32703
32704 cat >conftest.$ac_ext <<_ACEOF
32705 /* confdefs.h. */
32706 _ACEOF
32707 cat confdefs.h >>conftest.$ac_ext
32708 cat >>conftest.$ac_ext <<_ACEOF
32709 /* end confdefs.h. */
32710
32711 #include <X11/xpm.h>
32712
32713 int
32714 main ()
32715 {
32716
32717 int version;
32718 version = XpmLibraryVersion();
32719
32720 ;
32721 return 0;
32722 }
32723 _ACEOF
32724 rm -f conftest.$ac_objext
32725 if { (ac_try="$ac_compile"
32726 case "(($ac_try" in
32727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32728 *) ac_try_echo=$ac_try;;
32729 esac
32730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32731 (eval "$ac_compile") 2>conftest.er1
32732 ac_status=$?
32733 grep -v '^ *+' conftest.er1 >conftest.err
32734 rm -f conftest.er1
32735 cat conftest.err >&5
32736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32737 (exit $ac_status); } && {
32738 test -z "$ac_c_werror_flag" ||
32739 test ! -s conftest.err
32740 } && test -s conftest.$ac_objext; then
32741 wx_cv_x11_xpm_h=yes
32742 else
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.$ac_ext >&5
32745
32746 wx_cv_x11_xpm_h=no
32747
32748 fi
32749
32750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32751
32752 CFLAGS=$save_CFLAGS
32753
32754
32755 fi
32756 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32757 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32758
32759 if test $wx_cv_x11_xpm_h = "yes"; then
32760 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32761 cat >>confdefs.h <<\_ACEOF
32762 #define wxHAVE_LIB_XPM 1
32763 _ACEOF
32764
32765 else
32766 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32767 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32768 fi
32769 fi
32770
32771 fi
32772
32773 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32774 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32775 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32776 echo $ECHO_N "(cached) $ECHO_C" >&6
32777 else
32778 ac_check_lib_save_LIBS=$LIBS
32779 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32780 cat >conftest.$ac_ext <<_ACEOF
32781 /* confdefs.h. */
32782 _ACEOF
32783 cat confdefs.h >>conftest.$ac_ext
32784 cat >>conftest.$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32786
32787 /* Override any GCC internal prototype to avoid an error.
32788 Use char because int might match the return type of a GCC
32789 builtin and then its argument prototype would still apply. */
32790 #ifdef __cplusplus
32791 extern "C"
32792 #endif
32793 char XShapeQueryExtension ();
32794 int
32795 main ()
32796 {
32797 return XShapeQueryExtension ();
32798 ;
32799 return 0;
32800 }
32801 _ACEOF
32802 rm -f conftest.$ac_objext conftest$ac_exeext
32803 if { (ac_try="$ac_link"
32804 case "(($ac_try" in
32805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32806 *) ac_try_echo=$ac_try;;
32807 esac
32808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32809 (eval "$ac_link") 2>conftest.er1
32810 ac_status=$?
32811 grep -v '^ *+' conftest.er1 >conftest.err
32812 rm -f conftest.er1
32813 cat conftest.err >&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); } && {
32816 test -z "$ac_c_werror_flag" ||
32817 test ! -s conftest.err
32818 } && test -s conftest$ac_exeext &&
32819 $as_test_x conftest$ac_exeext; then
32820 ac_cv_lib_Xext_XShapeQueryExtension=yes
32821 else
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.$ac_ext >&5
32824
32825 ac_cv_lib_Xext_XShapeQueryExtension=no
32826 fi
32827
32828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32829 conftest$ac_exeext conftest.$ac_ext
32830 LIBS=$ac_check_lib_save_LIBS
32831 fi
32832 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32833 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32834 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32835
32836 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32837 wxHAVE_XEXT_LIB=1
32838
32839 fi
32840
32841
32842 if test "$wxHAVE_XEXT_LIB" = 1; then
32843 save_CFLAGS="$CFLAGS"
32844 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32845
32846 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32847 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32848 cat >conftest.$ac_ext <<_ACEOF
32849 /* confdefs.h. */
32850 _ACEOF
32851 cat confdefs.h >>conftest.$ac_ext
32852 cat >>conftest.$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32854
32855 #include <X11/Xlib.h>
32856 #include <X11/extensions/shape.h>
32857
32858 int
32859 main ()
32860 {
32861
32862 int dummy1, dummy2;
32863 XShapeQueryExtension((Display*)NULL,
32864 (int*)NULL, (int*)NULL);
32865
32866 ;
32867 return 0;
32868 }
32869 _ACEOF
32870 rm -f conftest.$ac_objext
32871 if { (ac_try="$ac_compile"
32872 case "(($ac_try" in
32873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32874 *) ac_try_echo=$ac_try;;
32875 esac
32876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32877 (eval "$ac_compile") 2>conftest.er1
32878 ac_status=$?
32879 grep -v '^ *+' conftest.er1 >conftest.err
32880 rm -f conftest.er1
32881 cat conftest.err >&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); } && {
32884 test -z "$ac_c_werror_flag" ||
32885 test ! -s conftest.err
32886 } && test -s conftest.$ac_objext; then
32887
32888 cat >>confdefs.h <<\_ACEOF
32889 #define HAVE_XSHAPE 1
32890 _ACEOF
32891
32892 { echo "$as_me:$LINENO: result: found" >&5
32893 echo "${ECHO_T}found" >&6; }
32894
32895 else
32896 echo "$as_me: failed program was:" >&5
32897 sed 's/^/| /' conftest.$ac_ext >&5
32898
32899
32900 { echo "$as_me:$LINENO: result: not found" >&5
32901 echo "${ECHO_T}not found" >&6; }
32902
32903 fi
32904
32905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32906 CFLAGS="$save_CFLAGS"
32907
32908 fi
32909 fi
32910
32911 if test "$wxUSE_OSX_CARBON" = 1; then
32912 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32913 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32914 if test "$GCC" = yes; then
32915 { echo "$as_me:$LINENO: result: gcc" >&5
32916 echo "${ECHO_T}gcc" >&6; }
32917 CPPFLAGS_PASCAL="-fpascal-strings"
32918 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32919 { echo "$as_me:$LINENO: result: xlc" >&5
32920 echo "${ECHO_T}xlc" >&6; }
32921 CPPFLAGS_PASCAL="-qmacpstr"
32922 else
32923 { echo "$as_me:$LINENO: result: none" >&5
32924 echo "${ECHO_T}none" >&6; }
32925 fi
32926
32927 if test "x$wxUSE_UNIX" = "xyes"; then
32928 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32929 else
32930 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32931 fi
32932
32933 TOOLKIT=OSX_CARBON
32934 GUIDIST=OSX_CARBON_DIST
32935 WXBASEPORT="_carbon"
32936
32937 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32938 fi
32939
32940 if test "$wxUSE_OSX_COCOA" = 1; then
32941 TOOLKIT=OSX_COCOA
32942 GUIDIST=OSX_COCOA_DIST
32943
32944 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32945 fi
32946
32947 if test "$wxUSE_COCOA" = 1; then
32948 TOOLKIT=COCOA
32949 GUIDIST=COCOA_DIST
32950 fi
32951
32952 if test "$wxUSE_PM" = 1; then
32953 TOOLKIT=PM
32954 GUIDIST=PM_DIST
32955 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32956 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32957 if test "${wx_cv_spbcdata+set}" = set; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 else
32960
32961 cat >conftest.$ac_ext <<_ACEOF
32962 /* confdefs.h. */
32963 _ACEOF
32964 cat confdefs.h >>conftest.$ac_ext
32965 cat >>conftest.$ac_ext <<_ACEOF
32966 /* end confdefs.h. */
32967
32968 #define INCL_PM
32969 #include <os2.h>
32970
32971 int
32972 main ()
32973 {
32974
32975 SPBCDATA test;
32976
32977 ;
32978 return 0;
32979 }
32980 _ACEOF
32981 rm -f conftest.$ac_objext
32982 if { (ac_try="$ac_compile"
32983 case "(($ac_try" in
32984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32985 *) ac_try_echo=$ac_try;;
32986 esac
32987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32988 (eval "$ac_compile") 2>conftest.er1
32989 ac_status=$?
32990 grep -v '^ *+' conftest.er1 >conftest.err
32991 rm -f conftest.er1
32992 cat conftest.err >&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); } && {
32995 test -z "$ac_c_werror_flag" ||
32996 test ! -s conftest.err
32997 } && test -s conftest.$ac_objext; then
32998 wx_cv_spbcdata=yes
32999 else
33000 echo "$as_me: failed program was:" >&5
33001 sed 's/^/| /' conftest.$ac_ext >&5
33002
33003 wx_cv_spbcdata=no
33004
33005 fi
33006
33007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33008
33009
33010 fi
33011 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33012 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33013
33014 if test $wx_cv_spbcdata = "yes"; then
33015 cat >>confdefs.h <<\_ACEOF
33016 #define HAVE_SPBCDATA 1
33017 _ACEOF
33018
33019 fi
33020 fi
33021
33022 if test "$TOOLKIT" = "PM" ; then
33023 TOOLKIT_DIR="os2"
33024 else
33025 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33026 fi
33027
33028 if test "$wxUSE_UNIVERSAL" = "yes"; then
33029 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33030 WIDGET_SET=univ
33031 fi
33032
33033 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33034 DISTDIR="wx\$(TOOLKIT)"
33035 else
33036 USE_GUI=0
33037
33038 TOOLKIT_DIR="base"
33039
33040 if test "$USE_WIN32" = 1 ; then
33041 TOOLKIT="MSW"
33042 fi
33043
33044 GUIDIST="BASE_DIST"
33045 DISTDIR="wxBase"
33046 fi
33047
33048
33049
33050 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33051 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33052 wxUSE_UNICODE_UTF8=yes
33053 elif test "$USE_OS2" = 1 ; then
33054 wxUSE_UNICODE_UTF8=yes
33055 else
33056 wxUSE_UNICODE_UTF8=no
33057 fi
33058 fi
33059
33060
33061 if test "$wxUSE_GUI" = "yes"; then
33062 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33063
33064 for ac_header in X11/Xlib.h
33065 do
33066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33070 echo $ECHO_N "(cached) $ECHO_C" >&6
33071 else
33072 cat >conftest.$ac_ext <<_ACEOF
33073 /* confdefs.h. */
33074 _ACEOF
33075 cat confdefs.h >>conftest.$ac_ext
33076 cat >>conftest.$ac_ext <<_ACEOF
33077 /* end confdefs.h. */
33078
33079
33080 #include <$ac_header>
33081 _ACEOF
33082 rm -f conftest.$ac_objext
33083 if { (ac_try="$ac_compile"
33084 case "(($ac_try" in
33085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33086 *) ac_try_echo=$ac_try;;
33087 esac
33088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33089 (eval "$ac_compile") 2>conftest.er1
33090 ac_status=$?
33091 grep -v '^ *+' conftest.er1 >conftest.err
33092 rm -f conftest.er1
33093 cat conftest.err >&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); } && {
33096 test -z "$ac_c_werror_flag" ||
33097 test ! -s conftest.err
33098 } && test -s conftest.$ac_objext; then
33099 eval "$as_ac_Header=yes"
33100 else
33101 echo "$as_me: failed program was:" >&5
33102 sed 's/^/| /' conftest.$ac_ext >&5
33103
33104 eval "$as_ac_Header=no"
33105 fi
33106
33107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33108 fi
33109 ac_res=`eval echo '${'$as_ac_Header'}'`
33110 { echo "$as_me:$LINENO: result: $ac_res" >&5
33111 echo "${ECHO_T}$ac_res" >&6; }
33112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33113 cat >>confdefs.h <<_ACEOF
33114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33115 _ACEOF
33116
33117 fi
33118
33119 done
33120
33121
33122 for ac_header in X11/XKBlib.h
33123 do
33124 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33129 else
33130 cat >conftest.$ac_ext <<_ACEOF
33131 /* confdefs.h. */
33132 _ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33136
33137 #if HAVE_X11_XLIB_H
33138 #include <X11/Xlib.h>
33139 #endif
33140
33141
33142 #include <$ac_header>
33143 _ACEOF
33144 rm -f conftest.$ac_objext
33145 if { (ac_try="$ac_compile"
33146 case "(($ac_try" in
33147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33148 *) ac_try_echo=$ac_try;;
33149 esac
33150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33151 (eval "$ac_compile") 2>conftest.er1
33152 ac_status=$?
33153 grep -v '^ *+' conftest.er1 >conftest.err
33154 rm -f conftest.er1
33155 cat conftest.err >&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); } && {
33158 test -z "$ac_c_werror_flag" ||
33159 test ! -s conftest.err
33160 } && test -s conftest.$ac_objext; then
33161 eval "$as_ac_Header=yes"
33162 else
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.$ac_ext >&5
33165
33166 eval "$as_ac_Header=no"
33167 fi
33168
33169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33170 fi
33171 ac_res=`eval echo '${'$as_ac_Header'}'`
33172 { echo "$as_me:$LINENO: result: $ac_res" >&5
33173 echo "${ECHO_T}$ac_res" >&6; }
33174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33175 cat >>confdefs.h <<_ACEOF
33176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33177 _ACEOF
33178
33179 fi
33180
33181 done
33182
33183 fi
33184 fi
33185
33186
33187
33188 if test "$wxUSE_DISPLAY" = "yes"; then
33189 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33190 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33191 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33192
33193 ac_find_libraries=
33194 for ac_dir in $SEARCH_LIB;
33195 do
33196 for ac_extension in a so sl dylib dll.a; do
33197 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33198 ac_find_libraries=$ac_dir
33199 break 2
33200 fi
33201 done
33202 done
33203
33204 if test "$ac_find_libraries" != "" ; then
33205
33206 if test "$ac_find_libraries" = "default location"; then
33207 ac_path_to_link=""
33208 else
33209 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33210 result=$?
33211 if test $result = 0; then
33212 ac_path_to_link=""
33213 else
33214 ac_path_to_link=" -L$ac_find_libraries"
33215 fi
33216 fi
33217
33218 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33219 LDFLAGS="$LDFLAGS $ac_path_to_link"
33220 fi
33221 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33222 { echo "$as_me:$LINENO: result: yes" >&5
33223 echo "${ECHO_T}yes" >&6; }
33224
33225 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33226 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33227
33228 ac_find_libraries=
33229 for ac_dir in $SEARCH_LIB;
33230 do
33231 for ac_extension in a so sl dylib dll.a; do
33232 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33233 ac_find_libraries=$ac_dir
33234 break 2
33235 fi
33236 done
33237 done
33238
33239 if test "$ac_find_libraries" != "" ; then
33240 { echo "$as_me:$LINENO: result: yes" >&5
33241 echo "${ECHO_T}yes" >&6; }
33242
33243 for ac_header in X11/extensions/xf86vmode.h
33244 do
33245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33249 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 else
33251 cat >conftest.$ac_ext <<_ACEOF
33252 /* confdefs.h. */
33253 _ACEOF
33254 cat confdefs.h >>conftest.$ac_ext
33255 cat >>conftest.$ac_ext <<_ACEOF
33256 /* end confdefs.h. */
33257
33258 #if HAVE_X11_XLIB_H
33259 #include <X11/Xlib.h>
33260 #endif
33261
33262
33263 #include <$ac_header>
33264 _ACEOF
33265 rm -f conftest.$ac_objext
33266 if { (ac_try="$ac_compile"
33267 case "(($ac_try" in
33268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33269 *) ac_try_echo=$ac_try;;
33270 esac
33271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33272 (eval "$ac_compile") 2>conftest.er1
33273 ac_status=$?
33274 grep -v '^ *+' conftest.er1 >conftest.err
33275 rm -f conftest.er1
33276 cat conftest.err >&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); } && {
33279 test -z "$ac_c_werror_flag" ||
33280 test ! -s conftest.err
33281 } && test -s conftest.$ac_objext; then
33282 eval "$as_ac_Header=yes"
33283 else
33284 echo "$as_me: failed program was:" >&5
33285 sed 's/^/| /' conftest.$ac_ext >&5
33286
33287 eval "$as_ac_Header=no"
33288 fi
33289
33290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33291 fi
33292 ac_res=`eval echo '${'$as_ac_Header'}'`
33293 { echo "$as_me:$LINENO: result: $ac_res" >&5
33294 echo "${ECHO_T}$ac_res" >&6; }
33295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33296 cat >>confdefs.h <<_ACEOF
33297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33298 _ACEOF
33299
33300 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33301
33302 fi
33303
33304 done
33305
33306 else
33307 { echo "$as_me:$LINENO: result: no" >&5
33308 echo "${ECHO_T}no" >&6; }
33309 fi
33310
33311 else
33312 { echo "$as_me:$LINENO: result: no" >&5
33313 echo "${ECHO_T}no" >&6; }
33314 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33315 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33316 wxUSE_DISPLAY="no"
33317 fi
33318 elif test "$wxUSE_MSW" = 1; then
33319 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33320 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33321 if test "${ac_cv_header_ddraw_h+set}" = set; then
33322 echo $ECHO_N "(cached) $ECHO_C" >&6
33323 else
33324 cat >conftest.$ac_ext <<_ACEOF
33325 /* confdefs.h. */
33326 _ACEOF
33327 cat confdefs.h >>conftest.$ac_ext
33328 cat >>conftest.$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33330 #include <windows.h>
33331
33332 #include <ddraw.h>
33333 _ACEOF
33334 rm -f conftest.$ac_objext
33335 if { (ac_try="$ac_compile"
33336 case "(($ac_try" in
33337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33338 *) ac_try_echo=$ac_try;;
33339 esac
33340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33341 (eval "$ac_compile") 2>conftest.er1
33342 ac_status=$?
33343 grep -v '^ *+' conftest.er1 >conftest.err
33344 rm -f conftest.er1
33345 cat conftest.err >&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); } && {
33348 test -z "$ac_c_werror_flag" ||
33349 test ! -s conftest.err
33350 } && test -s conftest.$ac_objext; then
33351 ac_cv_header_ddraw_h=yes
33352 else
33353 echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.$ac_ext >&5
33355
33356 ac_cv_header_ddraw_h=no
33357 fi
33358
33359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33360 fi
33361 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33362 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33363
33364
33365 fi
33366 fi
33367
33368 if test "$wxUSE_DETECT_SM" = "yes"; then
33369 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33370 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33371 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33372
33373 ac_find_libraries=
33374 for ac_dir in $SEARCH_LIB;
33375 do
33376 for ac_extension in a so sl dylib dll.a; do
33377 if test -f "$ac_dir/libSM.$ac_extension"; then
33378 ac_find_libraries=$ac_dir
33379 break 2
33380 fi
33381 done
33382 done
33383
33384 if test "$ac_find_libraries" != "" ; then
33385
33386 if test "$ac_find_libraries" = "default location"; then
33387 ac_path_to_link=""
33388 else
33389 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33390 result=$?
33391 if test $result = 0; then
33392 ac_path_to_link=""
33393 else
33394 ac_path_to_link=" -L$ac_find_libraries"
33395 fi
33396 fi
33397
33398 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33399 LDFLAGS="$LDFLAGS $ac_path_to_link"
33400 fi
33401 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33402 { echo "$as_me:$LINENO: result: yes" >&5
33403 echo "${ECHO_T}yes" >&6; }
33404 else
33405 { echo "$as_me:$LINENO: result: no" >&5
33406 echo "${ECHO_T}no" >&6; }
33407 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33408 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33409 wxUSE_DETECT_SM="no"
33410 fi
33411 else
33412 wxUSE_DETECT_SM="no"
33413 fi
33414 fi
33415
33416
33417
33418 USE_OPENGL=0
33419 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33420
33421
33422 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33423 OPENGL_LIBS="-framework OpenGL -framework AGL"
33424 elif test "$wxUSE_MSW" = 1; then
33425 OPENGL_LIBS="-lopengl32 -lglu32"
33426 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33427
33428 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33429 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33430
33431 ac_find_includes=
33432 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33433 do
33434 if test -f "$ac_dir/GL/gl.h"; then
33435 ac_find_includes=$ac_dir
33436 break
33437 fi
33438 done
33439
33440 if test "$ac_find_includes" != "" ; then
33441 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33442 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33443
33444 if test "x$ac_find_includes" = "x/usr/include"; then
33445 ac_path_to_include=""
33446 else
33447 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33448 result=$?
33449 if test $result = 0; then
33450 ac_path_to_include=""
33451 else
33452 ac_path_to_include=" -I$ac_find_includes"
33453 fi
33454 fi
33455
33456 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33457 else
33458 { echo "$as_me:$LINENO: result: not found" >&5
33459 echo "${ECHO_T}not found" >&6; }
33460 fi
33461
33462 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33463 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33464 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33465 echo $ECHO_N "(cached) $ECHO_C" >&6
33466 else
33467 cat >conftest.$ac_ext <<_ACEOF
33468 /* confdefs.h. */
33469 _ACEOF
33470 cat confdefs.h >>conftest.$ac_ext
33471 cat >>conftest.$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33473
33474
33475 #include <GL/gl.h>
33476 _ACEOF
33477 rm -f conftest.$ac_objext
33478 if { (ac_try="$ac_compile"
33479 case "(($ac_try" in
33480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33481 *) ac_try_echo=$ac_try;;
33482 esac
33483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33484 (eval "$ac_compile") 2>conftest.er1
33485 ac_status=$?
33486 grep -v '^ *+' conftest.er1 >conftest.err
33487 rm -f conftest.er1
33488 cat conftest.err >&5
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); } && {
33491 test -z "$ac_c_werror_flag" ||
33492 test ! -s conftest.err
33493 } && test -s conftest.$ac_objext; then
33494 ac_cv_header_GL_gl_h=yes
33495 else
33496 echo "$as_me: failed program was:" >&5
33497 sed 's/^/| /' conftest.$ac_ext >&5
33498
33499 ac_cv_header_GL_gl_h=no
33500 fi
33501
33502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33503 fi
33504 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33505 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33506 if test $ac_cv_header_GL_gl_h = yes; then
33507
33508 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33509 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33510 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33512 else
33513 cat >conftest.$ac_ext <<_ACEOF
33514 /* confdefs.h. */
33515 _ACEOF
33516 cat confdefs.h >>conftest.$ac_ext
33517 cat >>conftest.$ac_ext <<_ACEOF
33518 /* end confdefs.h. */
33519
33520
33521 #include <GL/glu.h>
33522 _ACEOF
33523 rm -f conftest.$ac_objext
33524 if { (ac_try="$ac_compile"
33525 case "(($ac_try" in
33526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33527 *) ac_try_echo=$ac_try;;
33528 esac
33529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33530 (eval "$ac_compile") 2>conftest.er1
33531 ac_status=$?
33532 grep -v '^ *+' conftest.er1 >conftest.err
33533 rm -f conftest.er1
33534 cat conftest.err >&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); } && {
33537 test -z "$ac_c_werror_flag" ||
33538 test ! -s conftest.err
33539 } && test -s conftest.$ac_objext; then
33540 ac_cv_header_GL_glu_h=yes
33541 else
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.$ac_ext >&5
33544
33545 ac_cv_header_GL_glu_h=no
33546 fi
33547
33548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33549 fi
33550 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33551 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33552 if test $ac_cv_header_GL_glu_h = yes; then
33553
33554 found_gl=0
33555
33556 { echo "$as_me:$LINENO: checking for -lGL" >&5
33557 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33558
33559 ac_find_libraries=
33560 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33561 do
33562 for ac_extension in a so sl dylib dll.a; do
33563 if test -f "$ac_dir/libGL.$ac_extension"; then
33564 ac_find_libraries=$ac_dir
33565 break 2
33566 fi
33567 done
33568 done
33569
33570 if test "$ac_find_libraries" != "" ; then
33571 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33572 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33573
33574
33575 if test "$ac_find_libraries" = "default location"; then
33576 ac_path_to_link=""
33577 else
33578 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33579 result=$?
33580 if test $result = 0; then
33581 ac_path_to_link=""
33582 else
33583 ac_path_to_link=" -L$ac_find_libraries"
33584 fi
33585 fi
33586
33587 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33588 LDFLAGS_GL="$ac_path_to_link"
33589 fi
33590
33591 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33592 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33593
33594 ac_find_libraries=
33595 for ac_dir in $SEARCH_LIB;
33596 do
33597 for ac_extension in a so sl dylib dll.a; do
33598 if test -f "$ac_dir/libGLU.$ac_extension"; then
33599 ac_find_libraries=$ac_dir
33600 break 2
33601 fi
33602 done
33603 done
33604
33605 if test "$ac_find_libraries" != "" ; then
33606
33607 if test "$ac_find_libraries" = "default location"; then
33608 ac_path_to_link=""
33609 else
33610 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33611 result=$?
33612 if test $result = 0; then
33613 ac_path_to_link=""
33614 else
33615 ac_path_to_link=" -L$ac_find_libraries"
33616 fi
33617 fi
33618
33619 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33620 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33621 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33622 fi
33623
33624 found_gl=1
33625 OPENGL_LIBS="-lGL -lGLU"
33626 { echo "$as_me:$LINENO: result: yes" >&5
33627 echo "${ECHO_T}yes" >&6; }
33628 else
33629 { echo "$as_me:$LINENO: result: no" >&5
33630 echo "${ECHO_T}no" >&6; }
33631 fi
33632 else
33633 { echo "$as_me:$LINENO: result: no" >&5
33634 echo "${ECHO_T}no" >&6; }
33635 fi
33636
33637 if test "$found_gl" != 1; then
33638 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33639 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33640
33641 ac_find_libraries=
33642 for ac_dir in $SEARCH_LIB;
33643 do
33644 for ac_extension in a so sl dylib dll.a; do
33645 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33646 ac_find_libraries=$ac_dir
33647 break 2
33648 fi
33649 done
33650 done
33651
33652 if test "$ac_find_libraries" != "" ; then
33653
33654 if test "$ac_find_libraries" = "default location"; then
33655 ac_path_to_link=""
33656 else
33657 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33658 result=$?
33659 if test $result = 0; then
33660 ac_path_to_link=""
33661 else
33662 ac_path_to_link=" -L$ac_find_libraries"
33663 fi
33664 fi
33665
33666 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33667 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33668 { echo "$as_me:$LINENO: result: yes" >&5
33669 echo "${ECHO_T}yes" >&6; }
33670 else
33671 { echo "$as_me:$LINENO: result: no" >&5
33672 echo "${ECHO_T}no" >&6; }
33673 fi
33674 fi
33675
33676 fi
33677
33678
33679
33680 fi
33681
33682
33683
33684 if test "x$OPENGL_LIBS" = "x"; then
33685 if test "$wxUSE_OPENGL" = "yes"; then
33686 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33687 echo "$as_me: error: OpenGL libraries not available" >&2;}
33688 { (exit 1); exit 1; }; }
33689 else
33690 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33691 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33692 wxUSE_OPENGL=no
33693 USE_OPENGL=0
33694 fi
33695 fi
33696 else
33697 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33698 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33699 wxUSE_OPENGL="no"
33700 fi
33701
33702 if test "$wxUSE_OPENGL" = "auto"; then
33703 wxUSE_OPENGL=yes
33704 fi
33705
33706 if test "$wxUSE_OPENGL" = "yes"; then
33707 USE_OPENGL=1
33708 cat >>confdefs.h <<\_ACEOF
33709 #define wxUSE_OPENGL 1
33710 _ACEOF
33711
33712 cat >>confdefs.h <<\_ACEOF
33713 #define wxUSE_GLCANVAS 1
33714 _ACEOF
33715
33716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33717 fi
33718 fi
33719
33720
33721 if test -n "$TOOLKIT" ; then
33722 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33723 fi
33724
33725
33726
33727 if test "$wxUSE_SHARED" = "yes"; then
33728 case "${host}" in
33729 *-pc-msdosdjgpp )
33730 wxUSE_SHARED=no
33731 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33732 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33733 ;;
33734 esac
33735 fi
33736
33737 if test "$wxUSE_SHARED" = "yes"; then
33738
33739
33740 case "${host}" in
33741 *-*-cygwin* | *-*-mingw* )
33742 wx_cv_version_script=no
33743 ;;
33744
33745 *)
33746 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33747 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33748 if test "${wx_cv_version_script+set}" = set; then
33749 echo $ECHO_N "(cached) $ECHO_C" >&6
33750 else
33751
33752 echo "VER_1 { *; };" >conftest.sym
33753 echo "int main() { return 0; }" >conftest.cpp
33754
33755 if { ac_try='
33756 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33757 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33760 ac_status=$?
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; } ; then
33763 if test -s conftest.stderr ; then
33764 wx_cv_version_script=no
33765 else
33766 wx_cv_version_script=yes
33767 fi
33768 else
33769 wx_cv_version_script=no
33770 fi
33771
33772 if test $wx_cv_version_script = yes
33773 then
33774 echo "struct B { virtual ~B() { } }; \
33775 struct D : public B { }; \
33776 void F() { D d; }" > conftest.cpp
33777
33778 if { ac_try='
33779 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33780 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782 (eval $ac_try) 2>&5
33783 ac_status=$?
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); }; } &&
33786 { ac_try='
33787 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33788 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33791 ac_status=$?
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; }
33794 then
33795 if { ac_try='
33796 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33797 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33800 ac_status=$?
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }
33803 then
33804 wx_cv_version_script=yes
33805 else
33806 wx_cv_version_script=no
33807 fi
33808 fi
33809 fi
33810
33811 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33812 rm -f conftest1.output conftest2.output conftest3.output
33813
33814 fi
33815 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33816 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33817
33818 if test $wx_cv_version_script = yes ; then
33819 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33820 fi
33821 ;;
33822 esac
33823
33824
33825 if test "$wxUSE_VISIBILITY" != "no"; then
33826
33827
33828 if test -n "$GCC"; then
33829 CFLAGS_VISIBILITY="-fvisibility=hidden"
33830 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33831 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33832 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33833 if test "${wx_cv_cc_visibility+set}" = set; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33835 else
33836
33837 wx_save_CXXFLAGS="$CXXFLAGS"
33838 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33839 ac_ext=cpp
33840 ac_cpp='$CXXCPP $CPPFLAGS'
33841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33844
33845 cat >conftest.$ac_ext <<_ACEOF
33846 /* confdefs.h. */
33847 _ACEOF
33848 cat confdefs.h >>conftest.$ac_ext
33849 cat >>conftest.$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33851
33852 /* we need gcc >= 4.0, older versions with visibility support
33853 didn't have class visibility: */
33854 #if defined(__GNUC__) && __GNUC__ < 4
33855 error this gcc is too old;
33856 #endif
33857
33858 /* visibility only makes sense for ELF shared libs: */
33859 #if !defined(__ELF__) && !defined(__APPLE__)
33860 error this platform has no visibility;
33861 #endif
33862
33863 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33864 extern __attribute__((__visibility__("default"))) int exportedvar;
33865 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33866 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33867 class __attribute__((__visibility__("default"))) Foo {
33868 Foo() {}
33869 };
33870
33871 int
33872 main ()
33873 {
33874
33875 ;
33876 return 0;
33877 }
33878 _ACEOF
33879 rm -f conftest.$ac_objext
33880 if { (ac_try="$ac_compile"
33881 case "(($ac_try" in
33882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33883 *) ac_try_echo=$ac_try;;
33884 esac
33885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33886 (eval "$ac_compile") 2>conftest.er1
33887 ac_status=$?
33888 grep -v '^ *+' conftest.er1 >conftest.err
33889 rm -f conftest.er1
33890 cat conftest.err >&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } && {
33893 test -z "$ac_cxx_werror_flag" ||
33894 test ! -s conftest.err
33895 } && test -s conftest.$ac_objext; then
33896 wx_cv_cc_visibility=yes
33897 else
33898 echo "$as_me: failed program was:" >&5
33899 sed 's/^/| /' conftest.$ac_ext >&5
33900
33901 wx_cv_cc_visibility=no
33902 fi
33903
33904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33905 ac_ext=c
33906 ac_cpp='$CPP $CPPFLAGS'
33907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33910
33911 CXXFLAGS="$wx_save_CXXFLAGS"
33912 fi
33913
33914 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33915 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33916 if test $wx_cv_cc_visibility = yes; then
33917 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33918 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33919 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33921 else
33922
33923 wx_save_CXXFLAGS="$CXXFLAGS"
33924 wx_save_LDFLAGS="$LDFLAGS"
33925 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33926 LDFLAGS="$LDFLAGS -shared -fPIC"
33927 ac_ext=cpp
33928 ac_cpp='$CXXCPP $CPPFLAGS'
33929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33932
33933 cat >conftest.$ac_ext <<_ACEOF
33934 /* confdefs.h. */
33935 _ACEOF
33936 cat confdefs.h >>conftest.$ac_ext
33937 cat >>conftest.$ac_ext <<_ACEOF
33938 /* end confdefs.h. */
33939
33940 #include <string>
33941
33942 int
33943 main ()
33944 {
33945
33946 std::string s("hello");
33947 return s.length();
33948
33949 ;
33950 return 0;
33951 }
33952 _ACEOF
33953 rm -f conftest.$ac_objext conftest$ac_exeext
33954 if { (ac_try="$ac_link"
33955 case "(($ac_try" in
33956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33957 *) ac_try_echo=$ac_try;;
33958 esac
33959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33960 (eval "$ac_link") 2>conftest.er1
33961 ac_status=$?
33962 grep -v '^ *+' conftest.er1 >conftest.err
33963 rm -f conftest.er1
33964 cat conftest.err >&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); } && {
33967 test -z "$ac_cxx_werror_flag" ||
33968 test ! -s conftest.err
33969 } && test -s conftest$ac_exeext &&
33970 $as_test_x conftest$ac_exeext; then
33971 wx_cv_cc_broken_libstdcxx_visibility=no
33972 else
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.$ac_ext >&5
33975
33976 wx_cv_cc_broken_libstdcxx_visibility=yes
33977 fi
33978
33979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33980 conftest$ac_exeext conftest.$ac_ext
33981 ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986
33987 CXXFLAGS="$wx_save_CXXFLAGS"
33988 LDFLAGS="$wx_save_LDFLAGS"
33989 fi
33990
33991 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33992 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33993
33994 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33995 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33996 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33997 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 else
34000
34001 ac_ext=cpp
34002 ac_cpp='$CXXCPP $CPPFLAGS'
34003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34006
34007 cat >conftest.$ac_ext <<_ACEOF
34008 /* confdefs.h. */
34009 _ACEOF
34010 cat confdefs.h >>conftest.$ac_ext
34011 cat >>conftest.$ac_ext <<_ACEOF
34012 /* end confdefs.h. */
34013
34014 #pragma GCC visibility push(default)
34015 #include <string>
34016 #pragma GCC visibility pop
34017
34018 int
34019 main ()
34020 {
34021
34022 std::string s("hello");
34023 return s.length();
34024
34025 ;
34026 return 0;
34027 }
34028 _ACEOF
34029 rm -f conftest.$ac_objext conftest$ac_exeext
34030 if { (ac_try="$ac_link"
34031 case "(($ac_try" in
34032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34033 *) ac_try_echo=$ac_try;;
34034 esac
34035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34036 (eval "$ac_link") 2>conftest.er1
34037 ac_status=$?
34038 grep -v '^ *+' conftest.er1 >conftest.err
34039 rm -f conftest.er1
34040 cat conftest.err >&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); } && {
34043 test -z "$ac_cxx_werror_flag" ||
34044 test ! -s conftest.err
34045 } && test -s conftest$ac_exeext &&
34046 $as_test_x conftest$ac_exeext; then
34047 wx_cv_cc_visibility_workaround=no
34048 else
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.$ac_ext >&5
34051
34052 wx_cv_cc_visibility_workaround=yes
34053 fi
34054
34055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34056 conftest$ac_exeext conftest.$ac_ext
34057 ac_ext=c
34058 ac_cpp='$CPP $CPPFLAGS'
34059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34062
34063
34064 fi
34065
34066 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34067 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34068
34069 if test $wx_cv_cc_visibility_workaround = no; then
34070 wx_cv_cc_visibility=no
34071 fi
34072 fi
34073 fi
34074
34075 if test $wx_cv_cc_visibility = yes; then
34076 cat >>confdefs.h <<\_ACEOF
34077 #define HAVE_VISIBILITY 1
34078 _ACEOF
34079
34080 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34081 cat >>confdefs.h <<\_ACEOF
34082 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34083 _ACEOF
34084
34085 fi
34086 else
34087 CFLAGS_VISIBILITY=""
34088 CXXFLAGS_VISIBILITY=""
34089 fi
34090
34091
34092 fi
34093
34094 fi
34095
34096 if test "x$SUNCXX" = xyes; then
34097 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34098 WXCONFIG_RPATH="-R\$libdir"
34099 else
34100 case "${host}" in
34101 *-*-linux* | *-*-gnu* )
34102 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34103 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34104 ;;
34105
34106 *-*-solaris2* )
34107
34108 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34109
34110 saveLdflags="$LDFLAGS"
34111 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34112 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34113 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34114 cat >conftest.$ac_ext <<_ACEOF
34115 /* confdefs.h. */
34116 _ACEOF
34117 cat confdefs.h >>conftest.$ac_ext
34118 cat >>conftest.$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34120
34121 int
34122 main ()
34123 {
34124
34125 ;
34126 return 0;
34127 }
34128 _ACEOF
34129 rm -f conftest.$ac_objext conftest$ac_exeext
34130 if { (ac_try="$ac_link"
34131 case "(($ac_try" in
34132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34133 *) ac_try_echo=$ac_try;;
34134 esac
34135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34136 (eval "$ac_link") 2>conftest.er1
34137 ac_status=$?
34138 grep -v '^ *+' conftest.er1 >conftest.err
34139 rm -f conftest.er1
34140 cat conftest.err >&5
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); } && {
34143 test -z "$ac_c_werror_flag" ||
34144 test ! -s conftest.err
34145 } && test -s conftest$ac_exeext &&
34146 $as_test_x conftest$ac_exeext; then
34147
34148 { echo "$as_me:$LINENO: result: yes" >&5
34149 echo "${ECHO_T}yes" >&6; }
34150 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34151 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34152
34153 else
34154 echo "$as_me: failed program was:" >&5
34155 sed 's/^/| /' conftest.$ac_ext >&5
34156
34157
34158 { echo "$as_me:$LINENO: result: no" >&5
34159 echo "${ECHO_T}no" >&6; }
34160 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34161 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34162 LDFLAGS="$saveLdflags -Wl,-R,/"
34163 cat >conftest.$ac_ext <<_ACEOF
34164 /* confdefs.h. */
34165 _ACEOF
34166 cat confdefs.h >>conftest.$ac_ext
34167 cat >>conftest.$ac_ext <<_ACEOF
34168 /* end confdefs.h. */
34169
34170 int
34171 main ()
34172 {
34173
34174 ;
34175 return 0;
34176 }
34177 _ACEOF
34178 rm -f conftest.$ac_objext conftest$ac_exeext
34179 if { (ac_try="$ac_link"
34180 case "(($ac_try" in
34181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34182 *) ac_try_echo=$ac_try;;
34183 esac
34184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34185 (eval "$ac_link") 2>conftest.er1
34186 ac_status=$?
34187 grep -v '^ *+' conftest.er1 >conftest.err
34188 rm -f conftest.er1
34189 cat conftest.err >&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); } && {
34192 test -z "$ac_c_werror_flag" ||
34193 test ! -s conftest.err
34194 } && test -s conftest$ac_exeext &&
34195 $as_test_x conftest$ac_exeext; then
34196
34197 { echo "$as_me:$LINENO: result: yes" >&5
34198 echo "${ECHO_T}yes" >&6; }
34199 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34200 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34201
34202 else
34203 echo "$as_me: failed program was:" >&5
34204 sed 's/^/| /' conftest.$ac_ext >&5
34205
34206
34207 { echo "$as_me:$LINENO: result: no" >&5
34208 echo "${ECHO_T}no" >&6; }
34209
34210 fi
34211
34212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34213 conftest$ac_exeext conftest.$ac_ext
34214
34215 fi
34216
34217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34218 conftest$ac_exeext conftest.$ac_ext
34219 LDFLAGS="$saveLdflags"
34220 ;;
34221
34222 *-*-darwin* )
34223 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34224 if test "$install_name_tool" -a -x "$install_name_tool"; then
34225 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34226 cat <<EOF >change-install-names
34227 #!/bin/sh
34228 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34229 for i in \${libnames} ; do
34230 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34231 for dep in \${libnames} ; do
34232 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34233 done
34234 done
34235 EOF
34236 chmod +x change-install-names
34237 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34238 fi
34239
34240 HEADER_PAD_OPTION="-headerpad_max_install_names"
34241 ;;
34242
34243 *-*-cygwin* | *-*-mingw32* )
34244 ;;
34245
34246 *-*-hpux* )
34247 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34248 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34249 ;;
34250
34251 esac
34252 fi
34253
34254 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34255
34256 if test $wxUSE_RPATH = "no"; then
34257 SAMPLES_RPATH_FLAG=''
34258 DYLIB_PATH_POSTLINK=''
34259 WXCONFIG_RPATH=''
34260 fi
34261
34262 SHARED=1
34263
34264 else
34265
34266 config_linkage_component="-static"
34267 SHARED=0
34268
34269 fi
34270
34271
34272 UNICODE=0
34273 lib_unicode_suffix=
34274 WX_CHARTYPE="ansi"
34275 if test "$wxUSE_UNICODE" = "yes"; then
34276 lib_unicode_suffix=u
34277 WX_CHARTYPE="unicode"
34278 UNICODE=1
34279 fi
34280
34281 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34282 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34283
34284 DEBUG_INFO=0
34285 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34286 DEBUG_INFO=1
34287 fi
34288
34289 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34290
34291 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34292
34293 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34294
34295
34296 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34297 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34298 else
34299 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34300 fi
34301 if test "${TOOLKIT_DIR}" = "os2"; then
34302 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34303 else
34304 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34305 fi
34306
34307
34308
34309 if test "$wxUSE_COCOA" = 1; then
34310
34311 ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34316
34317 ac_ext=m
34318
34319 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34320 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34321 cat >conftest.$ac_ext <<_ACEOF
34322 /* confdefs.h. */
34323 _ACEOF
34324 cat confdefs.h >>conftest.$ac_ext
34325 cat >>conftest.$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34327 #include <AppKit/NSEvent.h>
34328 #include <CoreFoundation/CoreFoundation.h>
34329
34330 int
34331 main ()
34332 {
34333
34334 ;
34335 return 0;
34336 }
34337 _ACEOF
34338 rm -f conftest.$ac_objext
34339 if { (ac_try="$ac_compile"
34340 case "(($ac_try" in
34341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34342 *) ac_try_echo=$ac_try;;
34343 esac
34344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34345 (eval "$ac_compile") 2>conftest.er1
34346 ac_status=$?
34347 grep -v '^ *+' conftest.er1 >conftest.err
34348 rm -f conftest.er1
34349 cat conftest.err >&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); } && {
34352 test -z "$ac_c_werror_flag" ||
34353 test ! -s conftest.err
34354 } && test -s conftest.$ac_objext; then
34355 { echo "$as_me:$LINENO: result: no" >&5
34356 echo "${ECHO_T}no" >&6; }
34357 else
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34360
34361 { echo "$as_me:$LINENO: result: yes" >&5
34362 echo "${ECHO_T}yes" >&6; }
34363 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34364 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34365 cat >conftest.$ac_ext <<_ACEOF
34366 /* confdefs.h. */
34367 _ACEOF
34368 cat confdefs.h >>conftest.$ac_ext
34369 cat >>conftest.$ac_ext <<_ACEOF
34370 /* end confdefs.h. */
34371 #define __Point__ 1
34372 #include <AppKit/NSEvent.h>
34373 #include <CoreFoundation/CoreFoundation.h>
34374
34375 int
34376 main ()
34377 {
34378
34379 ;
34380 return 0;
34381 }
34382 _ACEOF
34383 rm -f conftest.$ac_objext
34384 if { (ac_try="$ac_compile"
34385 case "(($ac_try" in
34386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34387 *) ac_try_echo=$ac_try;;
34388 esac
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_compile") 2>conftest.er1
34391 ac_status=$?
34392 grep -v '^ *+' conftest.er1 >conftest.err
34393 rm -f conftest.er1
34394 cat conftest.err >&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } && {
34397 test -z "$ac_c_werror_flag" ||
34398 test ! -s conftest.err
34399 } && test -s conftest.$ac_objext; then
34400 { echo "$as_me:$LINENO: result: yes" >&5
34401 echo "${ECHO_T}yes" >&6; }
34402 cat >>confdefs.h <<\_ACEOF
34403 #define __Point__ 1
34404 _ACEOF
34405
34406
34407 else
34408 echo "$as_me: failed program was:" >&5
34409 sed 's/^/| /' conftest.$ac_ext >&5
34410
34411 { { echo "$as_me:$LINENO: error: no
34412 See \`config.log' for more details." >&5
34413 echo "$as_me: error: no
34414 See \`config.log' for more details." >&2;}
34415 { (exit 1); exit 1; }; }
34416
34417 fi
34418
34419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34420
34421 fi
34422
34423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34424 ac_ext=c
34425 ac_cpp='$CPP $CPPFLAGS'
34426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34429
34430 fi
34431
34432
34433 { echo "$as_me:$LINENO: checking for mode_t" >&5
34434 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34435 if test "${ac_cv_type_mode_t+set}" = set; then
34436 echo $ECHO_N "(cached) $ECHO_C" >&6
34437 else
34438 cat >conftest.$ac_ext <<_ACEOF
34439 /* confdefs.h. */
34440 _ACEOF
34441 cat confdefs.h >>conftest.$ac_ext
34442 cat >>conftest.$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34444 $ac_includes_default
34445 typedef mode_t ac__type_new_;
34446 int
34447 main ()
34448 {
34449 if ((ac__type_new_ *) 0)
34450 return 0;
34451 if (sizeof (ac__type_new_))
34452 return 0;
34453 ;
34454 return 0;
34455 }
34456 _ACEOF
34457 rm -f conftest.$ac_objext
34458 if { (ac_try="$ac_compile"
34459 case "(($ac_try" in
34460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34461 *) ac_try_echo=$ac_try;;
34462 esac
34463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34464 (eval "$ac_compile") 2>conftest.er1
34465 ac_status=$?
34466 grep -v '^ *+' conftest.er1 >conftest.err
34467 rm -f conftest.er1
34468 cat conftest.err >&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } && {
34471 test -z "$ac_c_werror_flag" ||
34472 test ! -s conftest.err
34473 } && test -s conftest.$ac_objext; then
34474 ac_cv_type_mode_t=yes
34475 else
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.$ac_ext >&5
34478
34479 ac_cv_type_mode_t=no
34480 fi
34481
34482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34483 fi
34484 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34485 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34486 if test $ac_cv_type_mode_t = yes; then
34487 :
34488 else
34489
34490 cat >>confdefs.h <<_ACEOF
34491 #define mode_t int
34492 _ACEOF
34493
34494 fi
34495
34496 { echo "$as_me:$LINENO: checking for off_t" >&5
34497 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34498 if test "${ac_cv_type_off_t+set}" = set; then
34499 echo $ECHO_N "(cached) $ECHO_C" >&6
34500 else
34501 cat >conftest.$ac_ext <<_ACEOF
34502 /* confdefs.h. */
34503 _ACEOF
34504 cat confdefs.h >>conftest.$ac_ext
34505 cat >>conftest.$ac_ext <<_ACEOF
34506 /* end confdefs.h. */
34507 $ac_includes_default
34508 typedef off_t ac__type_new_;
34509 int
34510 main ()
34511 {
34512 if ((ac__type_new_ *) 0)
34513 return 0;
34514 if (sizeof (ac__type_new_))
34515 return 0;
34516 ;
34517 return 0;
34518 }
34519 _ACEOF
34520 rm -f conftest.$ac_objext
34521 if { (ac_try="$ac_compile"
34522 case "(($ac_try" in
34523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34524 *) ac_try_echo=$ac_try;;
34525 esac
34526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34527 (eval "$ac_compile") 2>conftest.er1
34528 ac_status=$?
34529 grep -v '^ *+' conftest.er1 >conftest.err
34530 rm -f conftest.er1
34531 cat conftest.err >&5
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); } && {
34534 test -z "$ac_c_werror_flag" ||
34535 test ! -s conftest.err
34536 } && test -s conftest.$ac_objext; then
34537 ac_cv_type_off_t=yes
34538 else
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.$ac_ext >&5
34541
34542 ac_cv_type_off_t=no
34543 fi
34544
34545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546 fi
34547 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34548 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34549 if test $ac_cv_type_off_t = yes; then
34550 :
34551 else
34552
34553 cat >>confdefs.h <<_ACEOF
34554 #define off_t long int
34555 _ACEOF
34556
34557 fi
34558
34559 { echo "$as_me:$LINENO: checking for pid_t" >&5
34560 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34561 if test "${ac_cv_type_pid_t+set}" = set; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 else
34564 cat >conftest.$ac_ext <<_ACEOF
34565 /* confdefs.h. */
34566 _ACEOF
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 $ac_includes_default
34571 typedef pid_t ac__type_new_;
34572 int
34573 main ()
34574 {
34575 if ((ac__type_new_ *) 0)
34576 return 0;
34577 if (sizeof (ac__type_new_))
34578 return 0;
34579 ;
34580 return 0;
34581 }
34582 _ACEOF
34583 rm -f conftest.$ac_objext
34584 if { (ac_try="$ac_compile"
34585 case "(($ac_try" in
34586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34587 *) ac_try_echo=$ac_try;;
34588 esac
34589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34590 (eval "$ac_compile") 2>conftest.er1
34591 ac_status=$?
34592 grep -v '^ *+' conftest.er1 >conftest.err
34593 rm -f conftest.er1
34594 cat conftest.err >&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } && {
34597 test -z "$ac_c_werror_flag" ||
34598 test ! -s conftest.err
34599 } && test -s conftest.$ac_objext; then
34600 ac_cv_type_pid_t=yes
34601 else
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34604
34605 ac_cv_type_pid_t=no
34606 fi
34607
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609 fi
34610 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34611 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34612 if test $ac_cv_type_pid_t = yes; then
34613 :
34614 else
34615
34616 cat >>confdefs.h <<_ACEOF
34617 #define pid_t int
34618 _ACEOF
34619
34620 fi
34621
34622 { echo "$as_me:$LINENO: checking for size_t" >&5
34623 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34624 if test "${ac_cv_type_size_t+set}" = set; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 else
34627 cat >conftest.$ac_ext <<_ACEOF
34628 /* confdefs.h. */
34629 _ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 $ac_includes_default
34634 typedef size_t ac__type_new_;
34635 int
34636 main ()
34637 {
34638 if ((ac__type_new_ *) 0)
34639 return 0;
34640 if (sizeof (ac__type_new_))
34641 return 0;
34642 ;
34643 return 0;
34644 }
34645 _ACEOF
34646 rm -f conftest.$ac_objext
34647 if { (ac_try="$ac_compile"
34648 case "(($ac_try" in
34649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34650 *) ac_try_echo=$ac_try;;
34651 esac
34652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34653 (eval "$ac_compile") 2>conftest.er1
34654 ac_status=$?
34655 grep -v '^ *+' conftest.er1 >conftest.err
34656 rm -f conftest.er1
34657 cat conftest.err >&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); } && {
34660 test -z "$ac_c_werror_flag" ||
34661 test ! -s conftest.err
34662 } && test -s conftest.$ac_objext; then
34663 ac_cv_type_size_t=yes
34664 else
34665 echo "$as_me: failed program was:" >&5
34666 sed 's/^/| /' conftest.$ac_ext >&5
34667
34668 ac_cv_type_size_t=no
34669 fi
34670
34671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34672 fi
34673 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34674 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34675 if test $ac_cv_type_size_t = yes; then
34676 :
34677 else
34678
34679 cat >>confdefs.h <<_ACEOF
34680 #define size_t unsigned int
34681 _ACEOF
34682
34683 fi
34684
34685
34686 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34687 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34688 if test "${ac_cv_type_ssize_t+set}" = set; then
34689 echo $ECHO_N "(cached) $ECHO_C" >&6
34690 else
34691 cat >conftest.$ac_ext <<_ACEOF
34692 /* confdefs.h. */
34693 _ACEOF
34694 cat confdefs.h >>conftest.$ac_ext
34695 cat >>conftest.$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34697 $ac_includes_default
34698 typedef ssize_t ac__type_new_;
34699 int
34700 main ()
34701 {
34702 if ((ac__type_new_ *) 0)
34703 return 0;
34704 if (sizeof (ac__type_new_))
34705 return 0;
34706 ;
34707 return 0;
34708 }
34709 _ACEOF
34710 rm -f conftest.$ac_objext
34711 if { (ac_try="$ac_compile"
34712 case "(($ac_try" in
34713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34714 *) ac_try_echo=$ac_try;;
34715 esac
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_compile") 2>conftest.er1
34718 ac_status=$?
34719 grep -v '^ *+' conftest.er1 >conftest.err
34720 rm -f conftest.er1
34721 cat conftest.err >&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } && {
34724 test -z "$ac_c_werror_flag" ||
34725 test ! -s conftest.err
34726 } && test -s conftest.$ac_objext; then
34727 ac_cv_type_ssize_t=yes
34728 else
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34731
34732 ac_cv_type_ssize_t=no
34733 fi
34734
34735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34736 fi
34737 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34738 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34739 if test $ac_cv_type_ssize_t = yes; then
34740
34741 cat >>confdefs.h <<_ACEOF
34742 #define HAVE_SSIZE_T 1
34743 _ACEOF
34744
34745
34746 fi
34747
34748
34749 ac_ext=cpp
34750 ac_cpp='$CXXCPP $CPPFLAGS'
34751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34755 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34756 if test "${wx_cv_size_t_is_uint+set}" = set; then
34757 echo $ECHO_N "(cached) $ECHO_C" >&6
34758 else
34759
34760 cat >conftest.$ac_ext <<_ACEOF
34761 /* confdefs.h. */
34762 _ACEOF
34763 cat confdefs.h >>conftest.$ac_ext
34764 cat >>conftest.$ac_ext <<_ACEOF
34765 /* end confdefs.h. */
34766 #include <stddef.h>
34767 int
34768 main ()
34769 {
34770
34771 return 0; }
34772
34773 struct Foo { void foo(size_t); void foo(unsigned int); };
34774
34775 int bar() {
34776
34777 ;
34778 return 0;
34779 }
34780 _ACEOF
34781 rm -f conftest.$ac_objext
34782 if { (ac_try="$ac_compile"
34783 case "(($ac_try" in
34784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34785 *) ac_try_echo=$ac_try;;
34786 esac
34787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34788 (eval "$ac_compile") 2>conftest.er1
34789 ac_status=$?
34790 grep -v '^ *+' conftest.er1 >conftest.err
34791 rm -f conftest.er1
34792 cat conftest.err >&5
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); } && {
34795 test -z "$ac_cxx_werror_flag" ||
34796 test ! -s conftest.err
34797 } && test -s conftest.$ac_objext; then
34798 wx_cv_size_t_is_uint=no
34799 else
34800 echo "$as_me: failed program was:" >&5
34801 sed 's/^/| /' conftest.$ac_ext >&5
34802
34803 wx_cv_size_t_is_uint=yes
34804
34805 fi
34806
34807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34808
34809
34810 fi
34811 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34812 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34813
34814 if test "$wx_cv_size_t_is_uint" = "yes"; then
34815 cat >>confdefs.h <<\_ACEOF
34816 #define wxSIZE_T_IS_UINT 1
34817 _ACEOF
34818
34819 else
34820 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34821 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34822 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34823 echo $ECHO_N "(cached) $ECHO_C" >&6
34824 else
34825 cat >conftest.$ac_ext <<_ACEOF
34826 /* confdefs.h. */
34827 _ACEOF
34828 cat confdefs.h >>conftest.$ac_ext
34829 cat >>conftest.$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34831 #include <stddef.h>
34832 int
34833 main ()
34834 {
34835
34836 return 0; }
34837
34838 struct Foo { void foo(size_t); void foo(unsigned long); };
34839
34840 int bar() {
34841
34842 ;
34843 return 0;
34844 }
34845 _ACEOF
34846 rm -f conftest.$ac_objext
34847 if { (ac_try="$ac_compile"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34851 esac
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_compile") 2>conftest.er1
34854 ac_status=$?
34855 grep -v '^ *+' conftest.er1 >conftest.err
34856 rm -f conftest.er1
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_cxx_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest.$ac_objext; then
34863 wx_cv_size_t_is_ulong=no
34864 else
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.$ac_ext >&5
34867
34868 wx_cv_size_t_is_ulong=yes
34869
34870 fi
34871
34872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34873
34874 fi
34875 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34876 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34877
34878 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34879 cat >>confdefs.h <<\_ACEOF
34880 #define wxSIZE_T_IS_ULONG 1
34881 _ACEOF
34882
34883 fi
34884 fi
34885
34886 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34887 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34888 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34890 else
34891 cat >conftest.$ac_ext <<_ACEOF
34892 /* confdefs.h. */
34893 _ACEOF
34894 cat confdefs.h >>conftest.$ac_ext
34895 cat >>conftest.$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34897 #include <wchar.h>
34898 int
34899 main ()
34900 {
34901
34902 return 0; }
34903
34904 struct Foo { void foo(wchar_t);
34905 void foo(unsigned short);
34906 void foo(unsigned int);
34907 void foo(unsigned long); };
34908
34909 int bar() {
34910
34911 ;
34912 return 0;
34913 }
34914 _ACEOF
34915 rm -f conftest.$ac_objext
34916 if { (ac_try="$ac_compile"
34917 case "(($ac_try" in
34918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34919 *) ac_try_echo=$ac_try;;
34920 esac
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_compile") 2>conftest.er1
34923 ac_status=$?
34924 grep -v '^ *+' conftest.er1 >conftest.err
34925 rm -f conftest.er1
34926 cat conftest.err >&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_cxx_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest.$ac_objext; then
34932 wx_cv_wchar_t_is_separate_type=yes
34933 else
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.$ac_ext >&5
34936
34937 wx_cv_wchar_t_is_separate_type=no
34938
34939 fi
34940
34941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34942
34943 fi
34944 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34945 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34946
34947 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34948 cat >>confdefs.h <<\_ACEOF
34949 #define wxWCHAR_T_IS_REAL_TYPE 1
34950 _ACEOF
34951
34952 else
34953 cat >>confdefs.h <<\_ACEOF
34954 #define wxWCHAR_T_IS_REAL_TYPE 0
34955 _ACEOF
34956
34957 fi
34958
34959 ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964
34965
34966 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34967 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34968 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34969 echo $ECHO_N "(cached) $ECHO_C" >&6
34970 else
34971
34972 cat >conftest.$ac_ext <<_ACEOF
34973 /* confdefs.h. */
34974 _ACEOF
34975 cat confdefs.h >>conftest.$ac_ext
34976 cat >>conftest.$ac_ext <<_ACEOF
34977 /* end confdefs.h. */
34978 #include <pwd.h>
34979 int
34980 main ()
34981 {
34982
34983 char *p;
34984 struct passwd *pw;
34985 p = pw->pw_gecos;
34986
34987 ;
34988 return 0;
34989 }
34990 _ACEOF
34991 rm -f conftest.$ac_objext
34992 if { (ac_try="$ac_compile"
34993 case "(($ac_try" in
34994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34995 *) ac_try_echo=$ac_try;;
34996 esac
34997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34998 (eval "$ac_compile") 2>conftest.er1
34999 ac_status=$?
35000 grep -v '^ *+' conftest.er1 >conftest.err
35001 rm -f conftest.er1
35002 cat conftest.err >&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } && {
35005 test -z "$ac_c_werror_flag" ||
35006 test ! -s conftest.err
35007 } && test -s conftest.$ac_objext; then
35008
35009 wx_cv_struct_pw_gecos=yes
35010
35011 else
35012 echo "$as_me: failed program was:" >&5
35013 sed 's/^/| /' conftest.$ac_ext >&5
35014
35015
35016 wx_cv_struct_pw_gecos=no
35017
35018
35019 fi
35020
35021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35022
35023
35024 fi
35025 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35026 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35027
35028 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35029 cat >>confdefs.h <<\_ACEOF
35030 #define HAVE_PW_GECOS 1
35031 _ACEOF
35032
35033 fi
35034
35035
35036 if test "$wxUSE_WCHAR_T" = "yes"; then
35037 cat >>confdefs.h <<\_ACEOF
35038 #define wxUSE_WCHAR_T 1
35039 _ACEOF
35040
35041
35042 WCSLEN_FOUND=0
35043 WCHAR_LINK=
35044
35045 for ac_func in wcslen
35046 do
35047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35048 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35050 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35051 echo $ECHO_N "(cached) $ECHO_C" >&6
35052 else
35053 cat >conftest.$ac_ext <<_ACEOF
35054 /* confdefs.h. */
35055 _ACEOF
35056 cat confdefs.h >>conftest.$ac_ext
35057 cat >>conftest.$ac_ext <<_ACEOF
35058 /* end confdefs.h. */
35059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35061 #define $ac_func innocuous_$ac_func
35062
35063 /* System header to define __stub macros and hopefully few prototypes,
35064 which can conflict with char $ac_func (); below.
35065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35066 <limits.h> exists even on freestanding compilers. */
35067
35068 #ifdef __STDC__
35069 # include <limits.h>
35070 #else
35071 # include <assert.h>
35072 #endif
35073
35074 #undef $ac_func
35075
35076 /* Override any GCC internal prototype to avoid an error.
35077 Use char because int might match the return type of a GCC
35078 builtin and then its argument prototype would still apply. */
35079 #ifdef __cplusplus
35080 extern "C"
35081 #endif
35082 char $ac_func ();
35083 /* The GNU C library defines this for functions which it implements
35084 to always fail with ENOSYS. Some functions are actually named
35085 something starting with __ and the normal name is an alias. */
35086 #if defined __stub_$ac_func || defined __stub___$ac_func
35087 choke me
35088 #endif
35089
35090 int
35091 main ()
35092 {
35093 return $ac_func ();
35094 ;
35095 return 0;
35096 }
35097 _ACEOF
35098 rm -f conftest.$ac_objext conftest$ac_exeext
35099 if { (ac_try="$ac_link"
35100 case "(($ac_try" in
35101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35102 *) ac_try_echo=$ac_try;;
35103 esac
35104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35105 (eval "$ac_link") 2>conftest.er1
35106 ac_status=$?
35107 grep -v '^ *+' conftest.er1 >conftest.err
35108 rm -f conftest.er1
35109 cat conftest.err >&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); } && {
35112 test -z "$ac_c_werror_flag" ||
35113 test ! -s conftest.err
35114 } && test -s conftest$ac_exeext &&
35115 $as_test_x conftest$ac_exeext; then
35116 eval "$as_ac_var=yes"
35117 else
35118 echo "$as_me: failed program was:" >&5
35119 sed 's/^/| /' conftest.$ac_ext >&5
35120
35121 eval "$as_ac_var=no"
35122 fi
35123
35124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35125 conftest$ac_exeext conftest.$ac_ext
35126 fi
35127 ac_res=`eval echo '${'$as_ac_var'}'`
35128 { echo "$as_me:$LINENO: result: $ac_res" >&5
35129 echo "${ECHO_T}$ac_res" >&6; }
35130 if test `eval echo '${'$as_ac_var'}'` = yes; then
35131 cat >>confdefs.h <<_ACEOF
35132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35133 _ACEOF
35134 WCSLEN_FOUND=1
35135 fi
35136 done
35137
35138
35139 if test "$WCSLEN_FOUND" = 0; then
35140 if test "$TOOLKIT" = "MSW"; then
35141 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35142 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35143 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35145 else
35146 ac_check_lib_save_LIBS=$LIBS
35147 LIBS="-lmsvcrt $LIBS"
35148 cat >conftest.$ac_ext <<_ACEOF
35149 /* confdefs.h. */
35150 _ACEOF
35151 cat confdefs.h >>conftest.$ac_ext
35152 cat >>conftest.$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35154
35155 /* Override any GCC internal prototype to avoid an error.
35156 Use char because int might match the return type of a GCC
35157 builtin and then its argument prototype would still apply. */
35158 #ifdef __cplusplus
35159 extern "C"
35160 #endif
35161 char wcslen ();
35162 int
35163 main ()
35164 {
35165 return wcslen ();
35166 ;
35167 return 0;
35168 }
35169 _ACEOF
35170 rm -f conftest.$ac_objext conftest$ac_exeext
35171 if { (ac_try="$ac_link"
35172 case "(($ac_try" in
35173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35174 *) ac_try_echo=$ac_try;;
35175 esac
35176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35177 (eval "$ac_link") 2>conftest.er1
35178 ac_status=$?
35179 grep -v '^ *+' conftest.er1 >conftest.err
35180 rm -f conftest.er1
35181 cat conftest.err >&5
35182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35183 (exit $ac_status); } && {
35184 test -z "$ac_c_werror_flag" ||
35185 test ! -s conftest.err
35186 } && test -s conftest$ac_exeext &&
35187 $as_test_x conftest$ac_exeext; then
35188 ac_cv_lib_msvcrt_wcslen=yes
35189 else
35190 echo "$as_me: failed program was:" >&5
35191 sed 's/^/| /' conftest.$ac_ext >&5
35192
35193 ac_cv_lib_msvcrt_wcslen=no
35194 fi
35195
35196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35197 conftest$ac_exeext conftest.$ac_ext
35198 LIBS=$ac_check_lib_save_LIBS
35199 fi
35200 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35201 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35202 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35203 WCHAR_OK=1
35204 fi
35205
35206 else
35207 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35208 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35209 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212 ac_check_lib_save_LIBS=$LIBS
35213 LIBS="-lw $LIBS"
35214 cat >conftest.$ac_ext <<_ACEOF
35215 /* confdefs.h. */
35216 _ACEOF
35217 cat confdefs.h >>conftest.$ac_ext
35218 cat >>conftest.$ac_ext <<_ACEOF
35219 /* end confdefs.h. */
35220
35221 /* Override any GCC internal prototype to avoid an error.
35222 Use char because int might match the return type of a GCC
35223 builtin and then its argument prototype would still apply. */
35224 #ifdef __cplusplus
35225 extern "C"
35226 #endif
35227 char wcslen ();
35228 int
35229 main ()
35230 {
35231 return wcslen ();
35232 ;
35233 return 0;
35234 }
35235 _ACEOF
35236 rm -f conftest.$ac_objext conftest$ac_exeext
35237 if { (ac_try="$ac_link"
35238 case "(($ac_try" in
35239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35240 *) ac_try_echo=$ac_try;;
35241 esac
35242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35243 (eval "$ac_link") 2>conftest.er1
35244 ac_status=$?
35245 grep -v '^ *+' conftest.er1 >conftest.err
35246 rm -f conftest.er1
35247 cat conftest.err >&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); } && {
35250 test -z "$ac_c_werror_flag" ||
35251 test ! -s conftest.err
35252 } && test -s conftest$ac_exeext &&
35253 $as_test_x conftest$ac_exeext; then
35254 ac_cv_lib_w_wcslen=yes
35255 else
35256 echo "$as_me: failed program was:" >&5
35257 sed 's/^/| /' conftest.$ac_ext >&5
35258
35259 ac_cv_lib_w_wcslen=no
35260 fi
35261
35262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35263 conftest$ac_exeext conftest.$ac_ext
35264 LIBS=$ac_check_lib_save_LIBS
35265 fi
35266 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35267 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35268 if test $ac_cv_lib_w_wcslen = yes; then
35269
35270 WCHAR_LINK=" -lw"
35271 WCSLEN_FOUND=1
35272
35273 fi
35274
35275 fi
35276 fi
35277
35278 if test "$WCSLEN_FOUND" = 1; then
35279 cat >>confdefs.h <<\_ACEOF
35280 #define HAVE_WCSLEN 1
35281 _ACEOF
35282
35283 fi
35284
35285
35286
35287
35288
35289
35290 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35291 do
35292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35296 echo $ECHO_N "(cached) $ECHO_C" >&6
35297 else
35298 cat >conftest.$ac_ext <<_ACEOF
35299 /* confdefs.h. */
35300 _ACEOF
35301 cat confdefs.h >>conftest.$ac_ext
35302 cat >>conftest.$ac_ext <<_ACEOF
35303 /* end confdefs.h. */
35304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35306 #define $ac_func innocuous_$ac_func
35307
35308 /* System header to define __stub macros and hopefully few prototypes,
35309 which can conflict with char $ac_func (); below.
35310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35311 <limits.h> exists even on freestanding compilers. */
35312
35313 #ifdef __STDC__
35314 # include <limits.h>
35315 #else
35316 # include <assert.h>
35317 #endif
35318
35319 #undef $ac_func
35320
35321 /* Override any GCC internal prototype to avoid an error.
35322 Use char because int might match the return type of a GCC
35323 builtin and then its argument prototype would still apply. */
35324 #ifdef __cplusplus
35325 extern "C"
35326 #endif
35327 char $ac_func ();
35328 /* The GNU C library defines this for functions which it implements
35329 to always fail with ENOSYS. Some functions are actually named
35330 something starting with __ and the normal name is an alias. */
35331 #if defined __stub_$ac_func || defined __stub___$ac_func
35332 choke me
35333 #endif
35334
35335 int
35336 main ()
35337 {
35338 return $ac_func ();
35339 ;
35340 return 0;
35341 }
35342 _ACEOF
35343 rm -f conftest.$ac_objext conftest$ac_exeext
35344 if { (ac_try="$ac_link"
35345 case "(($ac_try" in
35346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35347 *) ac_try_echo=$ac_try;;
35348 esac
35349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35350 (eval "$ac_link") 2>conftest.er1
35351 ac_status=$?
35352 grep -v '^ *+' conftest.er1 >conftest.err
35353 rm -f conftest.er1
35354 cat conftest.err >&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); } && {
35357 test -z "$ac_c_werror_flag" ||
35358 test ! -s conftest.err
35359 } && test -s conftest$ac_exeext &&
35360 $as_test_x conftest$ac_exeext; then
35361 eval "$as_ac_var=yes"
35362 else
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.$ac_ext >&5
35365
35366 eval "$as_ac_var=no"
35367 fi
35368
35369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35370 conftest$ac_exeext conftest.$ac_ext
35371 fi
35372 ac_res=`eval echo '${'$as_ac_var'}'`
35373 { echo "$as_me:$LINENO: result: $ac_res" >&5
35374 echo "${ECHO_T}$ac_res" >&6; }
35375 if test `eval echo '${'$as_ac_var'}'` = yes; then
35376 cat >>confdefs.h <<_ACEOF
35377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35378 _ACEOF
35379
35380 fi
35381 done
35382
35383
35384 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35385 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35386 fi
35387
35388 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35389 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35390 if test "${ac_cv_type_mbstate_t+set}" = set; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35392 else
35393 cat >conftest.$ac_ext <<_ACEOF
35394 /* confdefs.h. */
35395 _ACEOF
35396 cat confdefs.h >>conftest.$ac_ext
35397 cat >>conftest.$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35399 #include <wchar.h>
35400
35401 typedef mbstate_t ac__type_new_;
35402 int
35403 main ()
35404 {
35405 if ((ac__type_new_ *) 0)
35406 return 0;
35407 if (sizeof (ac__type_new_))
35408 return 0;
35409 ;
35410 return 0;
35411 }
35412 _ACEOF
35413 rm -f conftest.$ac_objext
35414 if { (ac_try="$ac_compile"
35415 case "(($ac_try" in
35416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35417 *) ac_try_echo=$ac_try;;
35418 esac
35419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35420 (eval "$ac_compile") 2>conftest.er1
35421 ac_status=$?
35422 grep -v '^ *+' conftest.er1 >conftest.err
35423 rm -f conftest.er1
35424 cat conftest.err >&5
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); } && {
35427 test -z "$ac_c_werror_flag" ||
35428 test ! -s conftest.err
35429 } && test -s conftest.$ac_objext; then
35430 ac_cv_type_mbstate_t=yes
35431 else
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.$ac_ext >&5
35434
35435 ac_cv_type_mbstate_t=no
35436 fi
35437
35438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35439 fi
35440 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35441 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35442 if test $ac_cv_type_mbstate_t = yes; then
35443
35444 cat >>confdefs.h <<_ACEOF
35445 #define HAVE_MBSTATE_T 1
35446 _ACEOF
35447
35448
35449 for ac_func in wcsrtombs
35450 do
35451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35452 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35454 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35455 echo $ECHO_N "(cached) $ECHO_C" >&6
35456 else
35457 cat >conftest.$ac_ext <<_ACEOF
35458 /* confdefs.h. */
35459 _ACEOF
35460 cat confdefs.h >>conftest.$ac_ext
35461 cat >>conftest.$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35465 #define $ac_func innocuous_$ac_func
35466
35467 /* System header to define __stub macros and hopefully few prototypes,
35468 which can conflict with char $ac_func (); below.
35469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35470 <limits.h> exists even on freestanding compilers. */
35471
35472 #ifdef __STDC__
35473 # include <limits.h>
35474 #else
35475 # include <assert.h>
35476 #endif
35477
35478 #undef $ac_func
35479
35480 /* Override any GCC internal prototype to avoid an error.
35481 Use char because int might match the return type of a GCC
35482 builtin and then its argument prototype would still apply. */
35483 #ifdef __cplusplus
35484 extern "C"
35485 #endif
35486 char $ac_func ();
35487 /* The GNU C library defines this for functions which it implements
35488 to always fail with ENOSYS. Some functions are actually named
35489 something starting with __ and the normal name is an alias. */
35490 #if defined __stub_$ac_func || defined __stub___$ac_func
35491 choke me
35492 #endif
35493
35494 int
35495 main ()
35496 {
35497 return $ac_func ();
35498 ;
35499 return 0;
35500 }
35501 _ACEOF
35502 rm -f conftest.$ac_objext conftest$ac_exeext
35503 if { (ac_try="$ac_link"
35504 case "(($ac_try" in
35505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35506 *) ac_try_echo=$ac_try;;
35507 esac
35508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35509 (eval "$ac_link") 2>conftest.er1
35510 ac_status=$?
35511 grep -v '^ *+' conftest.er1 >conftest.err
35512 rm -f conftest.er1
35513 cat conftest.err >&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } && {
35516 test -z "$ac_c_werror_flag" ||
35517 test ! -s conftest.err
35518 } && test -s conftest$ac_exeext &&
35519 $as_test_x conftest$ac_exeext; then
35520 eval "$as_ac_var=yes"
35521 else
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.$ac_ext >&5
35524
35525 eval "$as_ac_var=no"
35526 fi
35527
35528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35529 conftest$ac_exeext conftest.$ac_ext
35530 fi
35531 ac_res=`eval echo '${'$as_ac_var'}'`
35532 { echo "$as_me:$LINENO: result: $ac_res" >&5
35533 echo "${ECHO_T}$ac_res" >&6; }
35534 if test `eval echo '${'$as_ac_var'}'` = yes; then
35535 cat >>confdefs.h <<_ACEOF
35536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35537 _ACEOF
35538
35539 fi
35540 done
35541
35542 fi
35543
35544 else
35545 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35546 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35547 fi
35548
35549
35550
35551
35552 for ac_func in snprintf vsnprintf vsscanf
35553 do
35554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35555 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35557 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35559 else
35560 cat >conftest.$ac_ext <<_ACEOF
35561 /* confdefs.h. */
35562 _ACEOF
35563 cat confdefs.h >>conftest.$ac_ext
35564 cat >>conftest.$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35568 #define $ac_func innocuous_$ac_func
35569
35570 /* System header to define __stub macros and hopefully few prototypes,
35571 which can conflict with char $ac_func (); below.
35572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35573 <limits.h> exists even on freestanding compilers. */
35574
35575 #ifdef __STDC__
35576 # include <limits.h>
35577 #else
35578 # include <assert.h>
35579 #endif
35580
35581 #undef $ac_func
35582
35583 /* Override any GCC internal prototype to avoid an error.
35584 Use char because int might match the return type of a GCC
35585 builtin and then its argument prototype would still apply. */
35586 #ifdef __cplusplus
35587 extern "C"
35588 #endif
35589 char $ac_func ();
35590 /* The GNU C library defines this for functions which it implements
35591 to always fail with ENOSYS. Some functions are actually named
35592 something starting with __ and the normal name is an alias. */
35593 #if defined __stub_$ac_func || defined __stub___$ac_func
35594 choke me
35595 #endif
35596
35597 int
35598 main ()
35599 {
35600 return $ac_func ();
35601 ;
35602 return 0;
35603 }
35604 _ACEOF
35605 rm -f conftest.$ac_objext conftest$ac_exeext
35606 if { (ac_try="$ac_link"
35607 case "(($ac_try" in
35608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35609 *) ac_try_echo=$ac_try;;
35610 esac
35611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35612 (eval "$ac_link") 2>conftest.er1
35613 ac_status=$?
35614 grep -v '^ *+' conftest.er1 >conftest.err
35615 rm -f conftest.er1
35616 cat conftest.err >&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); } && {
35619 test -z "$ac_c_werror_flag" ||
35620 test ! -s conftest.err
35621 } && test -s conftest$ac_exeext &&
35622 $as_test_x conftest$ac_exeext; then
35623 eval "$as_ac_var=yes"
35624 else
35625 echo "$as_me: failed program was:" >&5
35626 sed 's/^/| /' conftest.$ac_ext >&5
35627
35628 eval "$as_ac_var=no"
35629 fi
35630
35631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35632 conftest$ac_exeext conftest.$ac_ext
35633 fi
35634 ac_res=`eval echo '${'$as_ac_var'}'`
35635 { echo "$as_me:$LINENO: result: $ac_res" >&5
35636 echo "${ECHO_T}$ac_res" >&6; }
35637 if test `eval echo '${'$as_ac_var'}'` = yes; then
35638 cat >>confdefs.h <<_ACEOF
35639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35640 _ACEOF
35641
35642 fi
35643 done
35644
35645
35646 ac_ext=cpp
35647 ac_cpp='$CXXCPP $CPPFLAGS'
35648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35651
35652 if test "$ac_cv_func_vsnprintf" = "yes"; then
35653 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35654 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35655 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35656 echo $ECHO_N "(cached) $ECHO_C" >&6
35657 else
35658
35659 cat >conftest.$ac_ext <<_ACEOF
35660 /* confdefs.h. */
35661 _ACEOF
35662 cat confdefs.h >>conftest.$ac_ext
35663 cat >>conftest.$ac_ext <<_ACEOF
35664 /* end confdefs.h. */
35665
35666 #include <stdio.h>
35667 #include <stdarg.h>
35668 #ifdef __MSL__
35669 #if __MSL__ >= 0x6000
35670 namespace std {}
35671 using namespace std;
35672 #endif
35673 #endif
35674
35675 int
35676 main ()
35677 {
35678
35679 char *buf;
35680 va_list ap;
35681 vsnprintf(buf, 10u, "%s", ap);
35682
35683 ;
35684 return 0;
35685 }
35686 _ACEOF
35687 rm -f conftest.$ac_objext
35688 if { (ac_try="$ac_compile"
35689 case "(($ac_try" in
35690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35691 *) ac_try_echo=$ac_try;;
35692 esac
35693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35694 (eval "$ac_compile") 2>conftest.er1
35695 ac_status=$?
35696 grep -v '^ *+' conftest.er1 >conftest.err
35697 rm -f conftest.er1
35698 cat conftest.err >&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } && {
35701 test -z "$ac_cxx_werror_flag" ||
35702 test ! -s conftest.err
35703 } && test -s conftest.$ac_objext; then
35704 wx_cv_func_vsnprintf_decl=yes
35705 else
35706 echo "$as_me: failed program was:" >&5
35707 sed 's/^/| /' conftest.$ac_ext >&5
35708
35709 wx_cv_func_vsnprintf_decl=no
35710
35711 fi
35712
35713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35714
35715
35716 fi
35717 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35718 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35719
35720 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35721 cat >>confdefs.h <<\_ACEOF
35722 #define HAVE_VSNPRINTF_DECL 1
35723 _ACEOF
35724
35725
35726 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35727 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35728 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 else
35731
35732 cat >conftest.$ac_ext <<_ACEOF
35733 /* confdefs.h. */
35734 _ACEOF
35735 cat confdefs.h >>conftest.$ac_ext
35736 cat >>conftest.$ac_ext <<_ACEOF
35737 /* end confdefs.h. */
35738
35739 #include <stdio.h>
35740 #include <stdarg.h>
35741 #ifdef __MSL__
35742 #if __MSL__ >= 0x6000
35743 namespace std {}
35744 using namespace std;
35745 #endif
35746 #endif
35747
35748 int
35749 main ()
35750 {
35751
35752 char *buf;
35753 va_list ap;
35754 const char *fmt = "%s";
35755 vsnprintf(buf, 10u, fmt, ap);
35756
35757 ;
35758 return 0;
35759 }
35760 _ACEOF
35761 rm -f conftest.$ac_objext
35762 if { (ac_try="$ac_compile"
35763 case "(($ac_try" in
35764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35765 *) ac_try_echo=$ac_try;;
35766 esac
35767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35768 (eval "$ac_compile") 2>conftest.er1
35769 ac_status=$?
35770 grep -v '^ *+' conftest.er1 >conftest.err
35771 rm -f conftest.er1
35772 cat conftest.err >&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); } && {
35775 test -z "$ac_cxx_werror_flag" ||
35776 test ! -s conftest.err
35777 } && test -s conftest.$ac_objext; then
35778 wx_cv_func_broken_vsnprintf_decl=no
35779 else
35780 echo "$as_me: failed program was:" >&5
35781 sed 's/^/| /' conftest.$ac_ext >&5
35782
35783 wx_cv_func_broken_vsnprintf_decl=yes
35784
35785 fi
35786
35787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35788
35789
35790 fi
35791 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35792 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35793
35794 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35795 cat >>confdefs.h <<\_ACEOF
35796 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35797 _ACEOF
35798
35799 fi
35800 fi
35801 fi
35802
35803 if test "$ac_cv_func_snprintf" = "yes"; then
35804 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35805 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35806 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35807 echo $ECHO_N "(cached) $ECHO_C" >&6
35808 else
35809
35810 cat >conftest.$ac_ext <<_ACEOF
35811 /* confdefs.h. */
35812 _ACEOF
35813 cat confdefs.h >>conftest.$ac_ext
35814 cat >>conftest.$ac_ext <<_ACEOF
35815 /* end confdefs.h. */
35816
35817 #include <stdio.h>
35818 #include <stdarg.h>
35819 #ifdef __MSL__
35820 #if __MSL__ >= 0x6000
35821 namespace std {}
35822 using namespace std;
35823 #endif
35824 #endif
35825
35826 int
35827 main ()
35828 {
35829
35830 char *buf;
35831 snprintf(buf, 10u, "%s", "wx");
35832
35833 ;
35834 return 0;
35835 }
35836 _ACEOF
35837 rm -f conftest.$ac_objext
35838 if { (ac_try="$ac_compile"
35839 case "(($ac_try" in
35840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35841 *) ac_try_echo=$ac_try;;
35842 esac
35843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35844 (eval "$ac_compile") 2>conftest.er1
35845 ac_status=$?
35846 grep -v '^ *+' conftest.er1 >conftest.err
35847 rm -f conftest.er1
35848 cat conftest.err >&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); } && {
35851 test -z "$ac_cxx_werror_flag" ||
35852 test ! -s conftest.err
35853 } && test -s conftest.$ac_objext; then
35854 wx_cv_func_snprintf_decl=yes
35855 else
35856 echo "$as_me: failed program was:" >&5
35857 sed 's/^/| /' conftest.$ac_ext >&5
35858
35859 wx_cv_func_snprintf_decl=no
35860
35861 fi
35862
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35864
35865
35866 fi
35867 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35868 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35869
35870 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35871 cat >>confdefs.h <<\_ACEOF
35872 #define HAVE_SNPRINTF_DECL 1
35873 _ACEOF
35874
35875 fi
35876
35877 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35878
35879 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35880 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35881 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35882 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 else
35884
35885 if test "$cross_compiling" = yes; then
35886
35887 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35888 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35889 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35890 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35891 wx_cv_func_snprintf_pos_params=no
35892
35893
35894 else
35895 cat >conftest.$ac_ext <<_ACEOF
35896 /* confdefs.h. */
35897 _ACEOF
35898 cat confdefs.h >>conftest.$ac_ext
35899 cat >>conftest.$ac_ext <<_ACEOF
35900 /* end confdefs.h. */
35901
35902 #include <stdio.h>
35903
35904 int main (void)
35905 {
35906 char buffer[128];
35907 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35908 if (strcmp ("2 3 1", buffer) == 0)
35909 exit (0);
35910 exit (1);
35911 }
35912
35913 _ACEOF
35914 rm -f conftest$ac_exeext
35915 if { (ac_try="$ac_link"
35916 case "(($ac_try" in
35917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35918 *) ac_try_echo=$ac_try;;
35919 esac
35920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35921 (eval "$ac_link") 2>&5
35922 ac_status=$?
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35925 { (case "(($ac_try" in
35926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35927 *) ac_try_echo=$ac_try;;
35928 esac
35929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35930 (eval "$ac_try") 2>&5
35931 ac_status=$?
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; }; then
35934 wx_cv_func_snprintf_pos_params=no
35935 else
35936 echo "$as_me: program exited with status $ac_status" >&5
35937 echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.$ac_ext >&5
35939
35940 ( exit $ac_status )
35941 wx_cv_func_snprintf_pos_params=yes
35942 fi
35943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35944 fi
35945
35946
35947
35948
35949 fi
35950 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35951 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35952
35953 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35954 cat >>confdefs.h <<\_ACEOF
35955 #define HAVE_UNIX98_PRINTF 1
35956 _ACEOF
35957
35958 fi
35959 fi
35960 fi
35961
35962 if test "$ac_cv_func_vsscanf" = "yes"; then
35963 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35964 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35965 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35966 echo $ECHO_N "(cached) $ECHO_C" >&6
35967 else
35968
35969 cat >conftest.$ac_ext <<_ACEOF
35970 /* confdefs.h. */
35971 _ACEOF
35972 cat confdefs.h >>conftest.$ac_ext
35973 cat >>conftest.$ac_ext <<_ACEOF
35974 /* end confdefs.h. */
35975
35976 #include <stdio.h>
35977 #include <stdarg.h>
35978 #ifdef __MSL__
35979 #if __MSL__ >= 0x6000
35980 namespace std {}
35981 using namespace std;
35982 #endif
35983 #endif
35984
35985 int
35986 main ()
35987 {
35988
35989 char *buf;
35990 va_list args;
35991 vsscanf(buf, "%s", args);
35992
35993 ;
35994 return 0;
35995 }
35996 _ACEOF
35997 rm -f conftest.$ac_objext
35998 if { (ac_try="$ac_compile"
35999 case "(($ac_try" in
36000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36001 *) ac_try_echo=$ac_try;;
36002 esac
36003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36004 (eval "$ac_compile") 2>conftest.er1
36005 ac_status=$?
36006 grep -v '^ *+' conftest.er1 >conftest.err
36007 rm -f conftest.er1
36008 cat conftest.err >&5
36009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010 (exit $ac_status); } && {
36011 test -z "$ac_cxx_werror_flag" ||
36012 test ! -s conftest.err
36013 } && test -s conftest.$ac_objext; then
36014 wx_cv_func_vsscanf_decl=yes
36015 else
36016 echo "$as_me: failed program was:" >&5
36017 sed 's/^/| /' conftest.$ac_ext >&5
36018
36019 wx_cv_func_vsscanf_decl=no
36020
36021 fi
36022
36023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36024
36025
36026 fi
36027 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36028 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36029
36030 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36031 cat >>confdefs.h <<\_ACEOF
36032 #define HAVE_VSSCANF_DECL 1
36033 _ACEOF
36034
36035 fi
36036 fi
36037 ac_ext=c
36038 ac_cpp='$CPP $CPPFLAGS'
36039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36042
36043
36044 if test "$wxUSE_UNICODE" = yes; then
36045
36046 wchar_headers="#include <stdio.h>
36047 #include <wchar.h>"
36048 case "${host}" in
36049 *-*-solaris2* )
36050
36051 for ac_header in widec.h
36052 do
36053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36057 echo $ECHO_N "(cached) $ECHO_C" >&6
36058 else
36059 cat >conftest.$ac_ext <<_ACEOF
36060 /* confdefs.h. */
36061 _ACEOF
36062 cat confdefs.h >>conftest.$ac_ext
36063 cat >>conftest.$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36065 $ac_includes_default
36066
36067 #include <$ac_header>
36068 _ACEOF
36069 rm -f conftest.$ac_objext
36070 if { (ac_try="$ac_compile"
36071 case "(($ac_try" in
36072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36073 *) ac_try_echo=$ac_try;;
36074 esac
36075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36076 (eval "$ac_compile") 2>conftest.er1
36077 ac_status=$?
36078 grep -v '^ *+' conftest.er1 >conftest.err
36079 rm -f conftest.er1
36080 cat conftest.err >&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); } && {
36083 test -z "$ac_c_werror_flag" ||
36084 test ! -s conftest.err
36085 } && test -s conftest.$ac_objext; then
36086 eval "$as_ac_Header=yes"
36087 else
36088 echo "$as_me: failed program was:" >&5
36089 sed 's/^/| /' conftest.$ac_ext >&5
36090
36091 eval "$as_ac_Header=no"
36092 fi
36093
36094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36095 fi
36096 ac_res=`eval echo '${'$as_ac_Header'}'`
36097 { echo "$as_me:$LINENO: result: $ac_res" >&5
36098 echo "${ECHO_T}$ac_res" >&6; }
36099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36100 cat >>confdefs.h <<_ACEOF
36101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36102 _ACEOF
36103
36104 fi
36105
36106 done
36107
36108 if test "$ac_cv_header_widec_h" = "yes"; then
36109 wchar_headers="$wchar_headers
36110 #include <widec.h>"
36111 fi
36112 esac
36113
36114
36115 for wx_func in putws fputws wprintf vswprintf vswscanf
36116 do
36117 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36118 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36119 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36120 echo $ECHO_N "(cached) $ECHO_C" >&6
36121 else
36122
36123 cat >conftest.$ac_ext <<_ACEOF
36124
36125 /* confdefs.h. */
36126 _ACEOF
36127 cat confdefs.h >>conftest.$ac_ext
36128 cat >>conftest.$ac_ext <<_ACEOF
36129 /* end confdefs.h. */
36130
36131 $wchar_headers
36132 $ac_includes_default
36133
36134 int
36135 main ()
36136 {
36137
36138 #ifndef $wx_func
36139 &$wx_func;
36140 #endif
36141
36142
36143 ;
36144 return 0;
36145 }
36146
36147 _ACEOF
36148 rm -f conftest.$ac_objext conftest$ac_exeext
36149 if { (ac_try="$ac_link"
36150 case "(($ac_try" in
36151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36152 *) ac_try_echo=$ac_try;;
36153 esac
36154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36155 (eval "$ac_link") 2>conftest.er1
36156 ac_status=$?
36157 grep -v '^ *+' conftest.er1 >conftest.err
36158 rm -f conftest.er1
36159 cat conftest.err >&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } && {
36162 test -z "$ac_c_werror_flag" ||
36163 test ! -s conftest.err
36164 } && test -s conftest$ac_exeext &&
36165 $as_test_x conftest$ac_exeext; then
36166 eval wx_cv_func_$wx_func=yes
36167 else
36168 echo "$as_me: failed program was:" >&5
36169 sed 's/^/| /' conftest.$ac_ext >&5
36170
36171 eval wx_cv_func_$wx_func=no
36172 fi
36173
36174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36175 conftest$ac_exeext conftest.$ac_ext
36176
36177 fi
36178 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36179 { echo "$as_me:$LINENO: result: $ac_res" >&5
36180 echo "${ECHO_T}$ac_res" >&6; }
36181
36182 if eval test \$wx_cv_func_$wx_func = yes
36183 then
36184 cat >>confdefs.h <<_ACEOF
36185 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36186 _ACEOF
36187
36188
36189 else
36190 :
36191
36192 fi
36193 done
36194
36195
36196 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36197 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36198 cat >conftest.$ac_ext <<_ACEOF
36199 /* confdefs.h. */
36200 _ACEOF
36201 cat confdefs.h >>conftest.$ac_ext
36202 cat >>conftest.$ac_ext <<_ACEOF
36203 /* end confdefs.h. */
36204 #include <wchar.h>
36205 int
36206 main ()
36207 {
36208 &_vsnwprintf;
36209 ;
36210 return 0;
36211 }
36212 _ACEOF
36213 rm -f conftest.$ac_objext
36214 if { (ac_try="$ac_compile"
36215 case "(($ac_try" in
36216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36217 *) ac_try_echo=$ac_try;;
36218 esac
36219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36220 (eval "$ac_compile") 2>conftest.er1
36221 ac_status=$?
36222 grep -v '^ *+' conftest.er1 >conftest.err
36223 rm -f conftest.er1
36224 cat conftest.err >&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); } && {
36227 test -z "$ac_c_werror_flag" ||
36228 test ! -s conftest.err
36229 } && test -s conftest.$ac_objext; then
36230 { echo "$as_me:$LINENO: result: yes" >&5
36231 echo "${ECHO_T}yes" >&6; }
36232 cat >>confdefs.h <<\_ACEOF
36233 #define HAVE__VSNWPRINTF 1
36234 _ACEOF
36235
36236 else
36237 echo "$as_me: failed program was:" >&5
36238 sed 's/^/| /' conftest.$ac_ext >&5
36239
36240 { echo "$as_me:$LINENO: result: no" >&5
36241 echo "${ECHO_T}no" >&6; }
36242 fi
36243
36244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36245 fi
36246
36247 if test "$wxUSE_FILE" = "yes"; then
36248
36249 for wx_func in fsync
36250 do
36251 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36252 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36253 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36255 else
36256
36257 cat >conftest.$ac_ext <<_ACEOF
36258
36259 /* confdefs.h. */
36260 _ACEOF
36261 cat confdefs.h >>conftest.$ac_ext
36262 cat >>conftest.$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36264
36265
36266 $ac_includes_default
36267
36268 int
36269 main ()
36270 {
36271
36272 #ifndef $wx_func
36273 &$wx_func;
36274 #endif
36275
36276
36277 ;
36278 return 0;
36279 }
36280
36281 _ACEOF
36282 rm -f conftest.$ac_objext conftest$ac_exeext
36283 if { (ac_try="$ac_link"
36284 case "(($ac_try" in
36285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36286 *) ac_try_echo=$ac_try;;
36287 esac
36288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36289 (eval "$ac_link") 2>conftest.er1
36290 ac_status=$?
36291 grep -v '^ *+' conftest.er1 >conftest.err
36292 rm -f conftest.er1
36293 cat conftest.err >&5
36294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36295 (exit $ac_status); } && {
36296 test -z "$ac_c_werror_flag" ||
36297 test ! -s conftest.err
36298 } && test -s conftest$ac_exeext &&
36299 $as_test_x conftest$ac_exeext; then
36300 eval wx_cv_func_$wx_func=yes
36301 else
36302 echo "$as_me: failed program was:" >&5
36303 sed 's/^/| /' conftest.$ac_ext >&5
36304
36305 eval wx_cv_func_$wx_func=no
36306 fi
36307
36308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36309 conftest$ac_exeext conftest.$ac_ext
36310
36311 fi
36312 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36313 { echo "$as_me:$LINENO: result: $ac_res" >&5
36314 echo "${ECHO_T}$ac_res" >&6; }
36315
36316 if eval test \$wx_cv_func_$wx_func = yes
36317 then
36318 cat >>confdefs.h <<_ACEOF
36319 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36320 _ACEOF
36321
36322
36323 else
36324 :
36325
36326 fi
36327 done
36328
36329 fi
36330
36331 ac_ext=cpp
36332 ac_cpp='$CXXCPP $CPPFLAGS'
36333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36336
36337
36338 for wx_func in round
36339 do
36340 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36341 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36342 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36343 echo $ECHO_N "(cached) $ECHO_C" >&6
36344 else
36345
36346 cat >conftest.$ac_ext <<_ACEOF
36347
36348 /* confdefs.h. */
36349 _ACEOF
36350 cat confdefs.h >>conftest.$ac_ext
36351 cat >>conftest.$ac_ext <<_ACEOF
36352 /* end confdefs.h. */
36353
36354 #include <math.h>
36355 $ac_includes_default
36356
36357 int
36358 main ()
36359 {
36360
36361 #ifndef $wx_func
36362 &$wx_func;
36363 #endif
36364
36365
36366 ;
36367 return 0;
36368 }
36369
36370 _ACEOF
36371 rm -f conftest.$ac_objext conftest$ac_exeext
36372 if { (ac_try="$ac_link"
36373 case "(($ac_try" in
36374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36375 *) ac_try_echo=$ac_try;;
36376 esac
36377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36378 (eval "$ac_link") 2>conftest.er1
36379 ac_status=$?
36380 grep -v '^ *+' conftest.er1 >conftest.err
36381 rm -f conftest.er1
36382 cat conftest.err >&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } && {
36385 test -z "$ac_cxx_werror_flag" ||
36386 test ! -s conftest.err
36387 } && test -s conftest$ac_exeext &&
36388 $as_test_x conftest$ac_exeext; then
36389 eval wx_cv_func_$wx_func=yes
36390 else
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.$ac_ext >&5
36393
36394 eval wx_cv_func_$wx_func=no
36395 fi
36396
36397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36398 conftest$ac_exeext conftest.$ac_ext
36399
36400 fi
36401 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36402 { echo "$as_me:$LINENO: result: $ac_res" >&5
36403 echo "${ECHO_T}$ac_res" >&6; }
36404
36405 if eval test \$wx_cv_func_$wx_func = yes
36406 then
36407 cat >>confdefs.h <<_ACEOF
36408 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36409 _ACEOF
36410
36411
36412 else
36413 :
36414
36415 fi
36416 done
36417
36418 ac_ext=c
36419 ac_cpp='$CPP $CPPFLAGS'
36420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36423
36424
36425 if test "$TOOLKIT" != "MSW"; then
36426
36427 if test "$wxUSE_LIBICONV" != "no" ; then
36428
36429
36430
36431 # Check whether --with-libiconv-prefix was given.
36432 if test "${with_libiconv_prefix+set}" = set; then
36433 withval=$with_libiconv_prefix;
36434 for dir in `echo "$withval" | tr : ' '`; do
36435 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36436 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36437 done
36438
36439 fi
36440
36441
36442 { echo "$as_me:$LINENO: checking for iconv" >&5
36443 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36444 if test "${am_cv_func_iconv+set}" = set; then
36445 echo $ECHO_N "(cached) $ECHO_C" >&6
36446 else
36447
36448 am_cv_func_iconv="no, consider installing GNU libiconv"
36449 am_cv_lib_iconv=no
36450 cat >conftest.$ac_ext <<_ACEOF
36451 /* confdefs.h. */
36452 _ACEOF
36453 cat confdefs.h >>conftest.$ac_ext
36454 cat >>conftest.$ac_ext <<_ACEOF
36455 /* end confdefs.h. */
36456 #include <stdlib.h>
36457 #include <iconv.h>
36458 int
36459 main ()
36460 {
36461 iconv_t cd = iconv_open("","");
36462 iconv(cd,NULL,NULL,NULL,NULL);
36463 iconv_close(cd);
36464 ;
36465 return 0;
36466 }
36467 _ACEOF
36468 rm -f conftest.$ac_objext conftest$ac_exeext
36469 if { (ac_try="$ac_link"
36470 case "(($ac_try" in
36471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36472 *) ac_try_echo=$ac_try;;
36473 esac
36474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36475 (eval "$ac_link") 2>conftest.er1
36476 ac_status=$?
36477 grep -v '^ *+' conftest.er1 >conftest.err
36478 rm -f conftest.er1
36479 cat conftest.err >&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); } && {
36482 test -z "$ac_c_werror_flag" ||
36483 test ! -s conftest.err
36484 } && test -s conftest$ac_exeext &&
36485 $as_test_x conftest$ac_exeext; then
36486 am_cv_func_iconv=yes
36487 else
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.$ac_ext >&5
36490
36491
36492 fi
36493
36494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36495 conftest$ac_exeext conftest.$ac_ext
36496 if test "$am_cv_func_iconv" != yes; then
36497 am_save_LIBS="$LIBS"
36498 LIBS="$LIBS -liconv"
36499 cat >conftest.$ac_ext <<_ACEOF
36500 /* confdefs.h. */
36501 _ACEOF
36502 cat confdefs.h >>conftest.$ac_ext
36503 cat >>conftest.$ac_ext <<_ACEOF
36504 /* end confdefs.h. */
36505 #include <stdlib.h>
36506 #include <iconv.h>
36507 int
36508 main ()
36509 {
36510 iconv_t cd = iconv_open("","");
36511 iconv(cd,NULL,NULL,NULL,NULL);
36512 iconv_close(cd);
36513 ;
36514 return 0;
36515 }
36516 _ACEOF
36517 rm -f conftest.$ac_objext conftest$ac_exeext
36518 if { (ac_try="$ac_link"
36519 case "(($ac_try" in
36520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36521 *) ac_try_echo=$ac_try;;
36522 esac
36523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36524 (eval "$ac_link") 2>conftest.er1
36525 ac_status=$?
36526 grep -v '^ *+' conftest.er1 >conftest.err
36527 rm -f conftest.er1
36528 cat conftest.err >&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); } && {
36531 test -z "$ac_c_werror_flag" ||
36532 test ! -s conftest.err
36533 } && test -s conftest$ac_exeext &&
36534 $as_test_x conftest$ac_exeext; then
36535 am_cv_lib_iconv=yes
36536 am_cv_func_iconv=yes
36537 else
36538 echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36540
36541
36542 fi
36543
36544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36545 conftest$ac_exeext conftest.$ac_ext
36546 LIBS="$am_save_LIBS"
36547 fi
36548
36549 fi
36550 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36551 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36552 if test "$am_cv_func_iconv" = yes; then
36553
36554 cat >>confdefs.h <<\_ACEOF
36555 #define HAVE_ICONV 1
36556 _ACEOF
36557
36558 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36559 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36560 if test "${wx_cv_func_iconv_const+set}" = set; then
36561 echo $ECHO_N "(cached) $ECHO_C" >&6
36562 else
36563 cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h. */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569
36570 #include <stdlib.h>
36571 #include <iconv.h>
36572 extern
36573 #ifdef __cplusplus
36574 "C"
36575 #endif
36576 #if defined(__STDC__) || defined(__cplusplus)
36577 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36578 #else
36579 size_t iconv();
36580 #endif
36581
36582 int
36583 main ()
36584 {
36585
36586 ;
36587 return 0;
36588 }
36589 _ACEOF
36590 rm -f conftest.$ac_objext
36591 if { (ac_try="$ac_compile"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36594 *) ac_try_echo=$ac_try;;
36595 esac
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_compile") 2>conftest.er1
36598 ac_status=$?
36599 grep -v '^ *+' conftest.er1 >conftest.err
36600 rm -f conftest.er1
36601 cat conftest.err >&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest.$ac_objext; then
36607 wx_cv_func_iconv_const="no"
36608 else
36609 echo "$as_me: failed program was:" >&5
36610 sed 's/^/| /' conftest.$ac_ext >&5
36611
36612 wx_cv_func_iconv_const="yes"
36613
36614 fi
36615
36616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36617
36618 fi
36619 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36620 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36621
36622 iconv_const=
36623 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36624 iconv_const="const"
36625 fi
36626
36627
36628 cat >>confdefs.h <<_ACEOF
36629 #define ICONV_CONST $iconv_const
36630 _ACEOF
36631
36632 fi
36633 LIBICONV=
36634 if test "$am_cv_lib_iconv" = yes; then
36635 LIBICONV="-liconv"
36636 fi
36637
36638
36639 LIBS="$LIBICONV $LIBS"
36640 fi
36641
36642 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36643
36644 for ac_func in sigaction
36645 do
36646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36650 echo $ECHO_N "(cached) $ECHO_C" >&6
36651 else
36652 cat >conftest.$ac_ext <<_ACEOF
36653 /* confdefs.h. */
36654 _ACEOF
36655 cat confdefs.h >>conftest.$ac_ext
36656 cat >>conftest.$ac_ext <<_ACEOF
36657 /* end confdefs.h. */
36658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36660 #define $ac_func innocuous_$ac_func
36661
36662 /* System header to define __stub macros and hopefully few prototypes,
36663 which can conflict with char $ac_func (); below.
36664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36665 <limits.h> exists even on freestanding compilers. */
36666
36667 #ifdef __STDC__
36668 # include <limits.h>
36669 #else
36670 # include <assert.h>
36671 #endif
36672
36673 #undef $ac_func
36674
36675 /* Override any GCC internal prototype to avoid an error.
36676 Use char because int might match the return type of a GCC
36677 builtin and then its argument prototype would still apply. */
36678 #ifdef __cplusplus
36679 extern "C"
36680 #endif
36681 char $ac_func ();
36682 /* The GNU C library defines this for functions which it implements
36683 to always fail with ENOSYS. Some functions are actually named
36684 something starting with __ and the normal name is an alias. */
36685 #if defined __stub_$ac_func || defined __stub___$ac_func
36686 choke me
36687 #endif
36688
36689 int
36690 main ()
36691 {
36692 return $ac_func ();
36693 ;
36694 return 0;
36695 }
36696 _ACEOF
36697 rm -f conftest.$ac_objext conftest$ac_exeext
36698 if { (ac_try="$ac_link"
36699 case "(($ac_try" in
36700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36701 *) ac_try_echo=$ac_try;;
36702 esac
36703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36704 (eval "$ac_link") 2>conftest.er1
36705 ac_status=$?
36706 grep -v '^ *+' conftest.er1 >conftest.err
36707 rm -f conftest.er1
36708 cat conftest.err >&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } && {
36711 test -z "$ac_c_werror_flag" ||
36712 test ! -s conftest.err
36713 } && test -s conftest$ac_exeext &&
36714 $as_test_x conftest$ac_exeext; then
36715 eval "$as_ac_var=yes"
36716 else
36717 echo "$as_me: failed program was:" >&5
36718 sed 's/^/| /' conftest.$ac_ext >&5
36719
36720 eval "$as_ac_var=no"
36721 fi
36722
36723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36724 conftest$ac_exeext conftest.$ac_ext
36725 fi
36726 ac_res=`eval echo '${'$as_ac_var'}'`
36727 { echo "$as_me:$LINENO: result: $ac_res" >&5
36728 echo "${ECHO_T}$ac_res" >&6; }
36729 if test `eval echo '${'$as_ac_var'}'` = yes; then
36730 cat >>confdefs.h <<_ACEOF
36731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36732 _ACEOF
36733
36734 fi
36735 done
36736
36737
36738 if test "$ac_cv_func_sigaction" = "no"; then
36739 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36740 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36741 wxUSE_ON_FATAL_EXCEPTION=no
36742 fi
36743
36744 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36745 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36746 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36747 if test "${wx_cv_type_sa_handler+set}" = set; then
36748 echo $ECHO_N "(cached) $ECHO_C" >&6
36749 else
36750
36751 ac_ext=cpp
36752 ac_cpp='$CXXCPP $CPPFLAGS'
36753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36756
36757 cat >conftest.$ac_ext <<_ACEOF
36758 /* confdefs.h. */
36759 _ACEOF
36760 cat confdefs.h >>conftest.$ac_ext
36761 cat >>conftest.$ac_ext <<_ACEOF
36762 /* end confdefs.h. */
36763 #include <signal.h>
36764 int
36765 main ()
36766 {
36767
36768 extern void testSigHandler(int);
36769
36770 struct sigaction sa;
36771 sa.sa_handler = testSigHandler;
36772
36773 ;
36774 return 0;
36775 }
36776 _ACEOF
36777 rm -f conftest.$ac_objext
36778 if { (ac_try="$ac_compile"
36779 case "(($ac_try" in
36780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36781 *) ac_try_echo=$ac_try;;
36782 esac
36783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36784 (eval "$ac_compile") 2>conftest.er1
36785 ac_status=$?
36786 grep -v '^ *+' conftest.er1 >conftest.err
36787 rm -f conftest.er1
36788 cat conftest.err >&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); } && {
36791 test -z "$ac_cxx_werror_flag" ||
36792 test ! -s conftest.err
36793 } && test -s conftest.$ac_objext; then
36794
36795 wx_cv_type_sa_handler=int
36796
36797 else
36798 echo "$as_me: failed program was:" >&5
36799 sed 's/^/| /' conftest.$ac_ext >&5
36800
36801
36802 wx_cv_type_sa_handler=void
36803
36804 fi
36805
36806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36807 ac_ext=c
36808 ac_cpp='$CPP $CPPFLAGS'
36809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36812
36813
36814 fi
36815 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36816 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36817
36818 cat >>confdefs.h <<_ACEOF
36819 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36820 _ACEOF
36821
36822 fi
36823 fi
36824
36825 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36826 ac_ext=cpp
36827 ac_cpp='$CXXCPP $CPPFLAGS'
36828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36831
36832 { echo "$as_me:$LINENO: checking for library containing backtrace" >&5
36833 echo $ECHO_N "checking for library containing backtrace... $ECHO_C" >&6; }
36834 if test "${ac_cv_search_backtrace+set}" = set; then
36835 echo $ECHO_N "(cached) $ECHO_C" >&6
36836 else
36837 ac_func_search_save_LIBS=$LIBS
36838 cat >conftest.$ac_ext <<_ACEOF
36839 /* confdefs.h. */
36840 _ACEOF
36841 cat confdefs.h >>conftest.$ac_ext
36842 cat >>conftest.$ac_ext <<_ACEOF
36843 /* end confdefs.h. */
36844
36845 /* Override any GCC internal prototype to avoid an error.
36846 Use char because int might match the return type of a GCC
36847 builtin and then its argument prototype would still apply. */
36848 #ifdef __cplusplus
36849 extern "C"
36850 #endif
36851 char backtrace ();
36852 int
36853 main ()
36854 {
36855 return backtrace ();
36856 ;
36857 return 0;
36858 }
36859 _ACEOF
36860 for ac_lib in '' execinfo; do
36861 if test -z "$ac_lib"; then
36862 ac_res="none required"
36863 else
36864 ac_res=-l$ac_lib
36865 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
36866 fi
36867 rm -f conftest.$ac_objext conftest$ac_exeext
36868 if { (ac_try="$ac_link"
36869 case "(($ac_try" in
36870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36871 *) ac_try_echo=$ac_try;;
36872 esac
36873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36874 (eval "$ac_link") 2>conftest.er1
36875 ac_status=$?
36876 grep -v '^ *+' conftest.er1 >conftest.err
36877 rm -f conftest.er1
36878 cat conftest.err >&5
36879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880 (exit $ac_status); } && {
36881 test -z "$ac_cxx_werror_flag" ||
36882 test ! -s conftest.err
36883 } && test -s conftest$ac_exeext &&
36884 $as_test_x conftest$ac_exeext; then
36885 ac_cv_search_backtrace=$ac_res
36886 else
36887 echo "$as_me: failed program was:" >&5
36888 sed 's/^/| /' conftest.$ac_ext >&5
36889
36890
36891 fi
36892
36893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36894 conftest$ac_exeext
36895 if test "${ac_cv_search_backtrace+set}" = set; then
36896 break
36897 fi
36898 done
36899 if test "${ac_cv_search_backtrace+set}" = set; then
36900 :
36901 else
36902 ac_cv_search_backtrace=no
36903 fi
36904 rm conftest.$ac_ext
36905 LIBS=$ac_func_search_save_LIBS
36906 fi
36907 { echo "$as_me:$LINENO: result: $ac_cv_search_backtrace" >&5
36908 echo "${ECHO_T}$ac_cv_search_backtrace" >&6; }
36909 ac_res=$ac_cv_search_backtrace
36910 if test "$ac_res" != no; then
36911 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
36912 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36913 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36914 if test "${wx_cv_func_backtrace+set}" = set; then
36915 echo $ECHO_N "(cached) $ECHO_C" >&6
36916 else
36917 cat >conftest.$ac_ext <<_ACEOF
36918 /* confdefs.h. */
36919 _ACEOF
36920 cat confdefs.h >>conftest.$ac_ext
36921 cat >>conftest.$ac_ext <<_ACEOF
36922 /* end confdefs.h. */
36923 #include <execinfo.h>
36924 int
36925 main ()
36926 {
36927
36928 void *trace[1];
36929 char **messages;
36930 backtrace(trace, 1);
36931 messages = backtrace_symbols(trace, 1);
36932
36933 ;
36934 return 0;
36935 }
36936 _ACEOF
36937 rm -f conftest.$ac_objext conftest$ac_exeext
36938 if { (ac_try="$ac_link"
36939 case "(($ac_try" in
36940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36941 *) ac_try_echo=$ac_try;;
36942 esac
36943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36944 (eval "$ac_link") 2>conftest.er1
36945 ac_status=$?
36946 grep -v '^ *+' conftest.er1 >conftest.err
36947 rm -f conftest.er1
36948 cat conftest.err >&5
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); } && {
36951 test -z "$ac_cxx_werror_flag" ||
36952 test ! -s conftest.err
36953 } && test -s conftest$ac_exeext &&
36954 $as_test_x conftest$ac_exeext; then
36955 wx_cv_func_backtrace=yes
36956 else
36957 echo "$as_me: failed program was:" >&5
36958 sed 's/^/| /' conftest.$ac_ext >&5
36959
36960 wx_cv_func_backtrace=no
36961
36962 fi
36963
36964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36965 conftest$ac_exeext conftest.$ac_ext
36966
36967 fi
36968 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36969 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36970 else
36971 wx_cv_func_backtrace=no
36972 fi
36973
36974
36975 if test "$wx_cv_func_backtrace" = "no"; then
36976 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36977 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36978 wxUSE_STACKWALKER=no
36979 else
36980 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36981 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36982 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36983 echo $ECHO_N "(cached) $ECHO_C" >&6
36984 else
36985
36986 cat >conftest.$ac_ext <<_ACEOF
36987 /* confdefs.h. */
36988 _ACEOF
36989 cat confdefs.h >>conftest.$ac_ext
36990 cat >>conftest.$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36992 #include <cxxabi.h>
36993 int
36994 main ()
36995 {
36996
36997 int rc;
36998 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36999
37000 ;
37001 return 0;
37002 }
37003 _ACEOF
37004 rm -f conftest.$ac_objext conftest$ac_exeext
37005 if { (ac_try="$ac_link"
37006 case "(($ac_try" in
37007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37008 *) ac_try_echo=$ac_try;;
37009 esac
37010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37011 (eval "$ac_link") 2>conftest.er1
37012 ac_status=$?
37013 grep -v '^ *+' conftest.er1 >conftest.err
37014 rm -f conftest.er1
37015 cat conftest.err >&5
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); } && {
37018 test -z "$ac_cxx_werror_flag" ||
37019 test ! -s conftest.err
37020 } && test -s conftest$ac_exeext &&
37021 $as_test_x conftest$ac_exeext; then
37022 wx_cv_func_cxa_demangle=yes
37023 else
37024 echo "$as_me: failed program was:" >&5
37025 sed 's/^/| /' conftest.$ac_ext >&5
37026
37027 wx_cv_func_cxa_demangle=no
37028
37029 fi
37030
37031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37032 conftest$ac_exeext conftest.$ac_ext
37033
37034
37035 fi
37036 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37037 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37038
37039 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37040 cat >>confdefs.h <<\_ACEOF
37041 #define HAVE_CXA_DEMANGLE 1
37042 _ACEOF
37043
37044 fi
37045 fi
37046 ac_ext=c
37047 ac_cpp='$CPP $CPPFLAGS'
37048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37051
37052 fi
37053
37054 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37055 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37056 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37057 wxUSE_STACKWALKER=no
37058 fi
37059
37060
37061
37062
37063 for ac_func in mkstemp mktemp
37064 do
37065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37070 else
37071 cat >conftest.$ac_ext <<_ACEOF
37072 /* confdefs.h. */
37073 _ACEOF
37074 cat confdefs.h >>conftest.$ac_ext
37075 cat >>conftest.$ac_ext <<_ACEOF
37076 /* end confdefs.h. */
37077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37079 #define $ac_func innocuous_$ac_func
37080
37081 /* System header to define __stub macros and hopefully few prototypes,
37082 which can conflict with char $ac_func (); below.
37083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37084 <limits.h> exists even on freestanding compilers. */
37085
37086 #ifdef __STDC__
37087 # include <limits.h>
37088 #else
37089 # include <assert.h>
37090 #endif
37091
37092 #undef $ac_func
37093
37094 /* Override any GCC internal prototype to avoid an error.
37095 Use char because int might match the return type of a GCC
37096 builtin and then its argument prototype would still apply. */
37097 #ifdef __cplusplus
37098 extern "C"
37099 #endif
37100 char $ac_func ();
37101 /* The GNU C library defines this for functions which it implements
37102 to always fail with ENOSYS. Some functions are actually named
37103 something starting with __ and the normal name is an alias. */
37104 #if defined __stub_$ac_func || defined __stub___$ac_func
37105 choke me
37106 #endif
37107
37108 int
37109 main ()
37110 {
37111 return $ac_func ();
37112 ;
37113 return 0;
37114 }
37115 _ACEOF
37116 rm -f conftest.$ac_objext conftest$ac_exeext
37117 if { (ac_try="$ac_link"
37118 case "(($ac_try" in
37119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37120 *) ac_try_echo=$ac_try;;
37121 esac
37122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37123 (eval "$ac_link") 2>conftest.er1
37124 ac_status=$?
37125 grep -v '^ *+' conftest.er1 >conftest.err
37126 rm -f conftest.er1
37127 cat conftest.err >&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } && {
37130 test -z "$ac_c_werror_flag" ||
37131 test ! -s conftest.err
37132 } && test -s conftest$ac_exeext &&
37133 $as_test_x conftest$ac_exeext; then
37134 eval "$as_ac_var=yes"
37135 else
37136 echo "$as_me: failed program was:" >&5
37137 sed 's/^/| /' conftest.$ac_ext >&5
37138
37139 eval "$as_ac_var=no"
37140 fi
37141
37142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37143 conftest$ac_exeext conftest.$ac_ext
37144 fi
37145 ac_res=`eval echo '${'$as_ac_var'}'`
37146 { echo "$as_me:$LINENO: result: $ac_res" >&5
37147 echo "${ECHO_T}$ac_res" >&6; }
37148 if test `eval echo '${'$as_ac_var'}'` = yes; then
37149 cat >>confdefs.h <<_ACEOF
37150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37151 _ACEOF
37152 break
37153 fi
37154 done
37155
37156
37157 { echo "$as_me:$LINENO: checking for statfs" >&5
37158 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37159 if test "${wx_cv_func_statfs+set}" = set; then
37160 echo $ECHO_N "(cached) $ECHO_C" >&6
37161 else
37162 cat >conftest.$ac_ext <<_ACEOF
37163 /* confdefs.h. */
37164 _ACEOF
37165 cat confdefs.h >>conftest.$ac_ext
37166 cat >>conftest.$ac_ext <<_ACEOF
37167 /* end confdefs.h. */
37168
37169 #if defined(__BSD__)
37170 #include <sys/param.h>
37171 #include <sys/mount.h>
37172 #else
37173 #include <sys/vfs.h>
37174 #endif
37175
37176 int
37177 main ()
37178 {
37179
37180 long l;
37181 struct statfs fs;
37182 statfs("/", &fs);
37183 l = fs.f_bsize;
37184 l += fs.f_blocks;
37185 l += fs.f_bavail;
37186
37187 ;
37188 return 0;
37189 }
37190 _ACEOF
37191 rm -f conftest.$ac_objext
37192 if { (ac_try="$ac_compile"
37193 case "(($ac_try" in
37194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37195 *) ac_try_echo=$ac_try;;
37196 esac
37197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37198 (eval "$ac_compile") 2>conftest.er1
37199 ac_status=$?
37200 grep -v '^ *+' conftest.er1 >conftest.err
37201 rm -f conftest.er1
37202 cat conftest.err >&5
37203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37204 (exit $ac_status); } && {
37205 test -z "$ac_c_werror_flag" ||
37206 test ! -s conftest.err
37207 } && test -s conftest.$ac_objext; then
37208 wx_cv_func_statfs=yes
37209 else
37210 echo "$as_me: failed program was:" >&5
37211 sed 's/^/| /' conftest.$ac_ext >&5
37212
37213 wx_cv_func_statfs=no
37214
37215 fi
37216
37217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37218
37219 fi
37220 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37221 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37222
37223 if test "$wx_cv_func_statfs" = "yes"; then
37224 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37225 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37226 if test "${wx_cv_func_statfs_decl+set}" = set; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37228 else
37229 ac_ext=cpp
37230 ac_cpp='$CXXCPP $CPPFLAGS'
37231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37234
37235 cat >conftest.$ac_ext <<_ACEOF
37236 /* confdefs.h. */
37237 _ACEOF
37238 cat confdefs.h >>conftest.$ac_ext
37239 cat >>conftest.$ac_ext <<_ACEOF
37240 /* end confdefs.h. */
37241
37242 #if defined(__BSD__)
37243 #include <sys/param.h>
37244 #include <sys/mount.h>
37245 #else
37246 #include <sys/vfs.h>
37247 #endif
37248
37249 int
37250 main ()
37251 {
37252
37253 struct statfs fs;
37254 statfs("", &fs);
37255
37256 ;
37257 return 0;
37258 }
37259 _ACEOF
37260 rm -f conftest.$ac_objext
37261 if { (ac_try="$ac_compile"
37262 case "(($ac_try" in
37263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37264 *) ac_try_echo=$ac_try;;
37265 esac
37266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37267 (eval "$ac_compile") 2>conftest.er1
37268 ac_status=$?
37269 grep -v '^ *+' conftest.er1 >conftest.err
37270 rm -f conftest.er1
37271 cat conftest.err >&5
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); } && {
37274 test -z "$ac_cxx_werror_flag" ||
37275 test ! -s conftest.err
37276 } && test -s conftest.$ac_objext; then
37277 wx_cv_func_statfs_decl=yes
37278 else
37279 echo "$as_me: failed program was:" >&5
37280 sed 's/^/| /' conftest.$ac_ext >&5
37281
37282 wx_cv_func_statfs_decl=no
37283
37284 fi
37285
37286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37287 ac_ext=c
37288 ac_cpp='$CPP $CPPFLAGS'
37289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37292
37293
37294 fi
37295 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37296 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37297
37298 if test "$wx_cv_func_statfs_decl" = "yes"; then
37299 cat >>confdefs.h <<\_ACEOF
37300 #define HAVE_STATFS_DECL 1
37301 _ACEOF
37302
37303 fi
37304
37305 wx_cv_type_statvfs_t="struct statfs"
37306 cat >>confdefs.h <<\_ACEOF
37307 #define HAVE_STATFS 1
37308 _ACEOF
37309
37310 else
37311 { echo "$as_me:$LINENO: checking for statvfs" >&5
37312 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37313 if test "${wx_cv_func_statvfs+set}" = set; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37315 else
37316 cat >conftest.$ac_ext <<_ACEOF
37317 /* confdefs.h. */
37318 _ACEOF
37319 cat confdefs.h >>conftest.$ac_ext
37320 cat >>conftest.$ac_ext <<_ACEOF
37321 /* end confdefs.h. */
37322
37323 #include <stddef.h>
37324 #include <sys/statvfs.h>
37325
37326 int
37327 main ()
37328 {
37329
37330 statvfs("/", NULL);
37331
37332 ;
37333 return 0;
37334 }
37335 _ACEOF
37336 rm -f conftest.$ac_objext
37337 if { (ac_try="$ac_compile"
37338 case "(($ac_try" in
37339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37340 *) ac_try_echo=$ac_try;;
37341 esac
37342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37343 (eval "$ac_compile") 2>conftest.er1
37344 ac_status=$?
37345 grep -v '^ *+' conftest.er1 >conftest.err
37346 rm -f conftest.er1
37347 cat conftest.err >&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); } && {
37350 test -z "$ac_c_werror_flag" ||
37351 test ! -s conftest.err
37352 } && test -s conftest.$ac_objext; then
37353 wx_cv_func_statvfs=yes
37354 else
37355 echo "$as_me: failed program was:" >&5
37356 sed 's/^/| /' conftest.$ac_ext >&5
37357
37358 wx_cv_func_statvfs=no
37359
37360 fi
37361
37362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37363
37364 fi
37365 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37366 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37367
37368 if test "$wx_cv_func_statvfs" = "yes"; then
37369 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37370 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37371 if test "${wx_cv_type_statvfs_t+set}" = set; then
37372 echo $ECHO_N "(cached) $ECHO_C" >&6
37373 else
37374 ac_ext=cpp
37375 ac_cpp='$CXXCPP $CPPFLAGS'
37376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37379
37380 cat >conftest.$ac_ext <<_ACEOF
37381 /* confdefs.h. */
37382 _ACEOF
37383 cat confdefs.h >>conftest.$ac_ext
37384 cat >>conftest.$ac_ext <<_ACEOF
37385 /* end confdefs.h. */
37386
37387 #include <sys/statvfs.h>
37388
37389 int
37390 main ()
37391 {
37392
37393 long l;
37394 statvfs_t fs;
37395 statvfs("/", &fs);
37396 l = fs.f_bsize;
37397 l += fs.f_blocks;
37398 l += fs.f_bavail;
37399
37400 ;
37401 return 0;
37402 }
37403 _ACEOF
37404 rm -f conftest.$ac_objext
37405 if { (ac_try="$ac_compile"
37406 case "(($ac_try" in
37407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37408 *) ac_try_echo=$ac_try;;
37409 esac
37410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37411 (eval "$ac_compile") 2>conftest.er1
37412 ac_status=$?
37413 grep -v '^ *+' conftest.er1 >conftest.err
37414 rm -f conftest.er1
37415 cat conftest.err >&5
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); } && {
37418 test -z "$ac_cxx_werror_flag" ||
37419 test ! -s conftest.err
37420 } && test -s conftest.$ac_objext; then
37421 wx_cv_type_statvfs_t=statvfs_t
37422 else
37423 echo "$as_me: failed program was:" >&5
37424 sed 's/^/| /' conftest.$ac_ext >&5
37425
37426
37427 cat >conftest.$ac_ext <<_ACEOF
37428 /* confdefs.h. */
37429 _ACEOF
37430 cat confdefs.h >>conftest.$ac_ext
37431 cat >>conftest.$ac_ext <<_ACEOF
37432 /* end confdefs.h. */
37433
37434 #include <sys/statvfs.h>
37435
37436 int
37437 main ()
37438 {
37439
37440 long l;
37441 struct statvfs fs;
37442 statvfs("/", &fs);
37443 l = fs.f_bsize;
37444 l += fs.f_blocks;
37445 l += fs.f_bavail;
37446
37447 ;
37448 return 0;
37449 }
37450 _ACEOF
37451 rm -f conftest.$ac_objext
37452 if { (ac_try="$ac_compile"
37453 case "(($ac_try" in
37454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37455 *) ac_try_echo=$ac_try;;
37456 esac
37457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37458 (eval "$ac_compile") 2>conftest.er1
37459 ac_status=$?
37460 grep -v '^ *+' conftest.er1 >conftest.err
37461 rm -f conftest.er1
37462 cat conftest.err >&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } && {
37465 test -z "$ac_cxx_werror_flag" ||
37466 test ! -s conftest.err
37467 } && test -s conftest.$ac_objext; then
37468 wx_cv_type_statvfs_t="struct statvfs"
37469 else
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37472
37473 wx_cv_type_statvfs_t="unknown"
37474
37475 fi
37476
37477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37478
37479
37480 fi
37481
37482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37483 ac_ext=c
37484 ac_cpp='$CPP $CPPFLAGS'
37485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37488
37489
37490 fi
37491 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37492 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37493
37494 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37495 cat >>confdefs.h <<\_ACEOF
37496 #define HAVE_STATVFS 1
37497 _ACEOF
37498
37499 fi
37500 else
37501 wx_cv_type_statvfs_t="unknown"
37502 fi
37503 fi
37504
37505 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37506 cat >>confdefs.h <<_ACEOF
37507 #define WX_STATFS_T $wx_cv_type_statvfs_t
37508 _ACEOF
37509
37510 else
37511 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37512 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37513 fi
37514
37515 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37516
37517
37518 for ac_func in fcntl flock
37519 do
37520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37521 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37523 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37524 echo $ECHO_N "(cached) $ECHO_C" >&6
37525 else
37526 cat >conftest.$ac_ext <<_ACEOF
37527 /* confdefs.h. */
37528 _ACEOF
37529 cat confdefs.h >>conftest.$ac_ext
37530 cat >>conftest.$ac_ext <<_ACEOF
37531 /* end confdefs.h. */
37532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37534 #define $ac_func innocuous_$ac_func
37535
37536 /* System header to define __stub macros and hopefully few prototypes,
37537 which can conflict with char $ac_func (); below.
37538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37539 <limits.h> exists even on freestanding compilers. */
37540
37541 #ifdef __STDC__
37542 # include <limits.h>
37543 #else
37544 # include <assert.h>
37545 #endif
37546
37547 #undef $ac_func
37548
37549 /* Override any GCC internal prototype to avoid an error.
37550 Use char because int might match the return type of a GCC
37551 builtin and then its argument prototype would still apply. */
37552 #ifdef __cplusplus
37553 extern "C"
37554 #endif
37555 char $ac_func ();
37556 /* The GNU C library defines this for functions which it implements
37557 to always fail with ENOSYS. Some functions are actually named
37558 something starting with __ and the normal name is an alias. */
37559 #if defined __stub_$ac_func || defined __stub___$ac_func
37560 choke me
37561 #endif
37562
37563 int
37564 main ()
37565 {
37566 return $ac_func ();
37567 ;
37568 return 0;
37569 }
37570 _ACEOF
37571 rm -f conftest.$ac_objext conftest$ac_exeext
37572 if { (ac_try="$ac_link"
37573 case "(($ac_try" in
37574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37575 *) ac_try_echo=$ac_try;;
37576 esac
37577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37578 (eval "$ac_link") 2>conftest.er1
37579 ac_status=$?
37580 grep -v '^ *+' conftest.er1 >conftest.err
37581 rm -f conftest.er1
37582 cat conftest.err >&5
37583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37584 (exit $ac_status); } && {
37585 test -z "$ac_c_werror_flag" ||
37586 test ! -s conftest.err
37587 } && test -s conftest$ac_exeext &&
37588 $as_test_x conftest$ac_exeext; then
37589 eval "$as_ac_var=yes"
37590 else
37591 echo "$as_me: failed program was:" >&5
37592 sed 's/^/| /' conftest.$ac_ext >&5
37593
37594 eval "$as_ac_var=no"
37595 fi
37596
37597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37598 conftest$ac_exeext conftest.$ac_ext
37599 fi
37600 ac_res=`eval echo '${'$as_ac_var'}'`
37601 { echo "$as_me:$LINENO: result: $ac_res" >&5
37602 echo "${ECHO_T}$ac_res" >&6; }
37603 if test `eval echo '${'$as_ac_var'}'` = yes; then
37604 cat >>confdefs.h <<_ACEOF
37605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37606 _ACEOF
37607 break
37608 fi
37609 done
37610
37611
37612 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37613 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37614 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37615 wxUSE_SNGLINST_CHECKER=no
37616 fi
37617 fi
37618
37619
37620
37621 for ac_func in setenv putenv
37622 do
37623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37624 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37626 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37627 echo $ECHO_N "(cached) $ECHO_C" >&6
37628 else
37629 cat >conftest.$ac_ext <<_ACEOF
37630 /* confdefs.h. */
37631 _ACEOF
37632 cat confdefs.h >>conftest.$ac_ext
37633 cat >>conftest.$ac_ext <<_ACEOF
37634 /* end confdefs.h. */
37635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37637 #define $ac_func innocuous_$ac_func
37638
37639 /* System header to define __stub macros and hopefully few prototypes,
37640 which can conflict with char $ac_func (); below.
37641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37642 <limits.h> exists even on freestanding compilers. */
37643
37644 #ifdef __STDC__
37645 # include <limits.h>
37646 #else
37647 # include <assert.h>
37648 #endif
37649
37650 #undef $ac_func
37651
37652 /* Override any GCC internal prototype to avoid an error.
37653 Use char because int might match the return type of a GCC
37654 builtin and then its argument prototype would still apply. */
37655 #ifdef __cplusplus
37656 extern "C"
37657 #endif
37658 char $ac_func ();
37659 /* The GNU C library defines this for functions which it implements
37660 to always fail with ENOSYS. Some functions are actually named
37661 something starting with __ and the normal name is an alias. */
37662 #if defined __stub_$ac_func || defined __stub___$ac_func
37663 choke me
37664 #endif
37665
37666 int
37667 main ()
37668 {
37669 return $ac_func ();
37670 ;
37671 return 0;
37672 }
37673 _ACEOF
37674 rm -f conftest.$ac_objext conftest$ac_exeext
37675 if { (ac_try="$ac_link"
37676 case "(($ac_try" in
37677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37678 *) ac_try_echo=$ac_try;;
37679 esac
37680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37681 (eval "$ac_link") 2>conftest.er1
37682 ac_status=$?
37683 grep -v '^ *+' conftest.er1 >conftest.err
37684 rm -f conftest.er1
37685 cat conftest.err >&5
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); } && {
37688 test -z "$ac_c_werror_flag" ||
37689 test ! -s conftest.err
37690 } && test -s conftest$ac_exeext &&
37691 $as_test_x conftest$ac_exeext; then
37692 eval "$as_ac_var=yes"
37693 else
37694 echo "$as_me: failed program was:" >&5
37695 sed 's/^/| /' conftest.$ac_ext >&5
37696
37697 eval "$as_ac_var=no"
37698 fi
37699
37700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37701 conftest$ac_exeext conftest.$ac_ext
37702 fi
37703 ac_res=`eval echo '${'$as_ac_var'}'`
37704 { echo "$as_me:$LINENO: result: $ac_res" >&5
37705 echo "${ECHO_T}$ac_res" >&6; }
37706 if test `eval echo '${'$as_ac_var'}'` = yes; then
37707 cat >>confdefs.h <<_ACEOF
37708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37709 _ACEOF
37710 break
37711 fi
37712 done
37713
37714 if test "$ac_cv_func_setenv" = "yes"; then
37715
37716 for ac_func in unsetenv
37717 do
37718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37719 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37721 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37722 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 else
37724 cat >conftest.$ac_ext <<_ACEOF
37725 /* confdefs.h. */
37726 _ACEOF
37727 cat confdefs.h >>conftest.$ac_ext
37728 cat >>conftest.$ac_ext <<_ACEOF
37729 /* end confdefs.h. */
37730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37732 #define $ac_func innocuous_$ac_func
37733
37734 /* System header to define __stub macros and hopefully few prototypes,
37735 which can conflict with char $ac_func (); below.
37736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37737 <limits.h> exists even on freestanding compilers. */
37738
37739 #ifdef __STDC__
37740 # include <limits.h>
37741 #else
37742 # include <assert.h>
37743 #endif
37744
37745 #undef $ac_func
37746
37747 /* Override any GCC internal prototype to avoid an error.
37748 Use char because int might match the return type of a GCC
37749 builtin and then its argument prototype would still apply. */
37750 #ifdef __cplusplus
37751 extern "C"
37752 #endif
37753 char $ac_func ();
37754 /* The GNU C library defines this for functions which it implements
37755 to always fail with ENOSYS. Some functions are actually named
37756 something starting with __ and the normal name is an alias. */
37757 #if defined __stub_$ac_func || defined __stub___$ac_func
37758 choke me
37759 #endif
37760
37761 int
37762 main ()
37763 {
37764 return $ac_func ();
37765 ;
37766 return 0;
37767 }
37768 _ACEOF
37769 rm -f conftest.$ac_objext conftest$ac_exeext
37770 if { (ac_try="$ac_link"
37771 case "(($ac_try" in
37772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37773 *) ac_try_echo=$ac_try;;
37774 esac
37775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37776 (eval "$ac_link") 2>conftest.er1
37777 ac_status=$?
37778 grep -v '^ *+' conftest.er1 >conftest.err
37779 rm -f conftest.er1
37780 cat conftest.err >&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } && {
37783 test -z "$ac_c_werror_flag" ||
37784 test ! -s conftest.err
37785 } && test -s conftest$ac_exeext &&
37786 $as_test_x conftest$ac_exeext; then
37787 eval "$as_ac_var=yes"
37788 else
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.$ac_ext >&5
37791
37792 eval "$as_ac_var=no"
37793 fi
37794
37795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37796 conftest$ac_exeext conftest.$ac_ext
37797 fi
37798 ac_res=`eval echo '${'$as_ac_var'}'`
37799 { echo "$as_me:$LINENO: result: $ac_res" >&5
37800 echo "${ECHO_T}$ac_res" >&6; }
37801 if test `eval echo '${'$as_ac_var'}'` = yes; then
37802 cat >>confdefs.h <<_ACEOF
37803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37804 _ACEOF
37805
37806 fi
37807 done
37808
37809 fi
37810
37811 HAVE_SOME_SLEEP_FUNC=0
37812 if test "$USE_BEOS" = 1; then
37813 cat >>confdefs.h <<\_ACEOF
37814 #define HAVE_SLEEP 1
37815 _ACEOF
37816
37817 HAVE_SOME_SLEEP_FUNC=1
37818 fi
37819
37820 if test "$USE_DARWIN" = 1; then
37821 cat >>confdefs.h <<\_ACEOF
37822 #define HAVE_USLEEP 1
37823 _ACEOF
37824
37825 HAVE_SOME_SLEEP_FUNC=1
37826 fi
37827
37828 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37829 POSIX4_LINK=
37830
37831 for ac_func in nanosleep
37832 do
37833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37834 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37836 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37837 echo $ECHO_N "(cached) $ECHO_C" >&6
37838 else
37839 cat >conftest.$ac_ext <<_ACEOF
37840 /* confdefs.h. */
37841 _ACEOF
37842 cat confdefs.h >>conftest.$ac_ext
37843 cat >>conftest.$ac_ext <<_ACEOF
37844 /* end confdefs.h. */
37845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37847 #define $ac_func innocuous_$ac_func
37848
37849 /* System header to define __stub macros and hopefully few prototypes,
37850 which can conflict with char $ac_func (); below.
37851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37852 <limits.h> exists even on freestanding compilers. */
37853
37854 #ifdef __STDC__
37855 # include <limits.h>
37856 #else
37857 # include <assert.h>
37858 #endif
37859
37860 #undef $ac_func
37861
37862 /* Override any GCC internal prototype to avoid an error.
37863 Use char because int might match the return type of a GCC
37864 builtin and then its argument prototype would still apply. */
37865 #ifdef __cplusplus
37866 extern "C"
37867 #endif
37868 char $ac_func ();
37869 /* The GNU C library defines this for functions which it implements
37870 to always fail with ENOSYS. Some functions are actually named
37871 something starting with __ and the normal name is an alias. */
37872 #if defined __stub_$ac_func || defined __stub___$ac_func
37873 choke me
37874 #endif
37875
37876 int
37877 main ()
37878 {
37879 return $ac_func ();
37880 ;
37881 return 0;
37882 }
37883 _ACEOF
37884 rm -f conftest.$ac_objext conftest$ac_exeext
37885 if { (ac_try="$ac_link"
37886 case "(($ac_try" in
37887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37888 *) ac_try_echo=$ac_try;;
37889 esac
37890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37891 (eval "$ac_link") 2>conftest.er1
37892 ac_status=$?
37893 grep -v '^ *+' conftest.er1 >conftest.err
37894 rm -f conftest.er1
37895 cat conftest.err >&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); } && {
37898 test -z "$ac_c_werror_flag" ||
37899 test ! -s conftest.err
37900 } && test -s conftest$ac_exeext &&
37901 $as_test_x conftest$ac_exeext; then
37902 eval "$as_ac_var=yes"
37903 else
37904 echo "$as_me: failed program was:" >&5
37905 sed 's/^/| /' conftest.$ac_ext >&5
37906
37907 eval "$as_ac_var=no"
37908 fi
37909
37910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37911 conftest$ac_exeext conftest.$ac_ext
37912 fi
37913 ac_res=`eval echo '${'$as_ac_var'}'`
37914 { echo "$as_me:$LINENO: result: $ac_res" >&5
37915 echo "${ECHO_T}$ac_res" >&6; }
37916 if test `eval echo '${'$as_ac_var'}'` = yes; then
37917 cat >>confdefs.h <<_ACEOF
37918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37919 _ACEOF
37920 cat >>confdefs.h <<\_ACEOF
37921 #define HAVE_NANOSLEEP 1
37922 _ACEOF
37923
37924 else
37925
37926 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37927 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37928 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37929 echo $ECHO_N "(cached) $ECHO_C" >&6
37930 else
37931 ac_check_lib_save_LIBS=$LIBS
37932 LIBS="-lposix4 $LIBS"
37933 cat >conftest.$ac_ext <<_ACEOF
37934 /* confdefs.h. */
37935 _ACEOF
37936 cat confdefs.h >>conftest.$ac_ext
37937 cat >>conftest.$ac_ext <<_ACEOF
37938 /* end confdefs.h. */
37939
37940 /* Override any GCC internal prototype to avoid an error.
37941 Use char because int might match the return type of a GCC
37942 builtin and then its argument prototype would still apply. */
37943 #ifdef __cplusplus
37944 extern "C"
37945 #endif
37946 char nanosleep ();
37947 int
37948 main ()
37949 {
37950 return nanosleep ();
37951 ;
37952 return 0;
37953 }
37954 _ACEOF
37955 rm -f conftest.$ac_objext conftest$ac_exeext
37956 if { (ac_try="$ac_link"
37957 case "(($ac_try" in
37958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37959 *) ac_try_echo=$ac_try;;
37960 esac
37961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37962 (eval "$ac_link") 2>conftest.er1
37963 ac_status=$?
37964 grep -v '^ *+' conftest.er1 >conftest.err
37965 rm -f conftest.er1
37966 cat conftest.err >&5
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); } && {
37969 test -z "$ac_c_werror_flag" ||
37970 test ! -s conftest.err
37971 } && test -s conftest$ac_exeext &&
37972 $as_test_x conftest$ac_exeext; then
37973 ac_cv_lib_posix4_nanosleep=yes
37974 else
37975 echo "$as_me: failed program was:" >&5
37976 sed 's/^/| /' conftest.$ac_ext >&5
37977
37978 ac_cv_lib_posix4_nanosleep=no
37979 fi
37980
37981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37982 conftest$ac_exeext conftest.$ac_ext
37983 LIBS=$ac_check_lib_save_LIBS
37984 fi
37985 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37986 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37987 if test $ac_cv_lib_posix4_nanosleep = yes; then
37988
37989 cat >>confdefs.h <<\_ACEOF
37990 #define HAVE_NANOSLEEP 1
37991 _ACEOF
37992
37993 POSIX4_LINK=" -lposix4"
37994
37995 else
37996
37997
37998 for wx_func in usleep
37999 do
38000 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38001 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38002 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38003 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 else
38005
38006 cat >conftest.$ac_ext <<_ACEOF
38007
38008 /* confdefs.h. */
38009 _ACEOF
38010 cat confdefs.h >>conftest.$ac_ext
38011 cat >>conftest.$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38013
38014
38015 $ac_includes_default
38016
38017 int
38018 main ()
38019 {
38020
38021 #ifndef $wx_func
38022 &$wx_func;
38023 #endif
38024
38025
38026 ;
38027 return 0;
38028 }
38029
38030 _ACEOF
38031 rm -f conftest.$ac_objext conftest$ac_exeext
38032 if { (ac_try="$ac_link"
38033 case "(($ac_try" in
38034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38035 *) ac_try_echo=$ac_try;;
38036 esac
38037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38038 (eval "$ac_link") 2>conftest.er1
38039 ac_status=$?
38040 grep -v '^ *+' conftest.er1 >conftest.err
38041 rm -f conftest.er1
38042 cat conftest.err >&5
38043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38044 (exit $ac_status); } && {
38045 test -z "$ac_c_werror_flag" ||
38046 test ! -s conftest.err
38047 } && test -s conftest$ac_exeext &&
38048 $as_test_x conftest$ac_exeext; then
38049 eval wx_cv_func_$wx_func=yes
38050 else
38051 echo "$as_me: failed program was:" >&5
38052 sed 's/^/| /' conftest.$ac_ext >&5
38053
38054 eval wx_cv_func_$wx_func=no
38055 fi
38056
38057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38058 conftest$ac_exeext conftest.$ac_ext
38059
38060 fi
38061 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38062 { echo "$as_me:$LINENO: result: $ac_res" >&5
38063 echo "${ECHO_T}$ac_res" >&6; }
38064
38065 if eval test \$wx_cv_func_$wx_func = yes
38066 then
38067 cat >>confdefs.h <<_ACEOF
38068 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38069 _ACEOF
38070
38071
38072 else
38073 :
38074 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38075 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38076
38077 fi
38078 done
38079
38080
38081
38082 fi
38083
38084
38085
38086 fi
38087 done
38088
38089 fi
38090
38091
38092 for wx_func in uname
38093 do
38094 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38095 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38096 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38097 echo $ECHO_N "(cached) $ECHO_C" >&6
38098 else
38099
38100 cat >conftest.$ac_ext <<_ACEOF
38101
38102 /* confdefs.h. */
38103 _ACEOF
38104 cat confdefs.h >>conftest.$ac_ext
38105 cat >>conftest.$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38107
38108 #include <sys/utsname.h>
38109 $ac_includes_default
38110
38111 int
38112 main ()
38113 {
38114
38115 #ifndef $wx_func
38116 &$wx_func;
38117 #endif
38118
38119
38120 ;
38121 return 0;
38122 }
38123
38124 _ACEOF
38125 rm -f conftest.$ac_objext conftest$ac_exeext
38126 if { (ac_try="$ac_link"
38127 case "(($ac_try" in
38128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38129 *) ac_try_echo=$ac_try;;
38130 esac
38131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38132 (eval "$ac_link") 2>conftest.er1
38133 ac_status=$?
38134 grep -v '^ *+' conftest.er1 >conftest.err
38135 rm -f conftest.er1
38136 cat conftest.err >&5
38137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38138 (exit $ac_status); } && {
38139 test -z "$ac_c_werror_flag" ||
38140 test ! -s conftest.err
38141 } && test -s conftest$ac_exeext &&
38142 $as_test_x conftest$ac_exeext; then
38143 eval wx_cv_func_$wx_func=yes
38144 else
38145 echo "$as_me: failed program was:" >&5
38146 sed 's/^/| /' conftest.$ac_ext >&5
38147
38148 eval wx_cv_func_$wx_func=no
38149 fi
38150
38151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38152 conftest$ac_exeext conftest.$ac_ext
38153
38154 fi
38155 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38156 { echo "$as_me:$LINENO: result: $ac_res" >&5
38157 echo "${ECHO_T}$ac_res" >&6; }
38158
38159 if eval test \$wx_cv_func_$wx_func = yes
38160 then
38161 cat >>confdefs.h <<_ACEOF
38162 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38163 _ACEOF
38164
38165
38166 else
38167 :
38168
38169 fi
38170 done
38171
38172 if test "$wx_cv_func_uname" != yes; then
38173
38174 for wx_func in gethostname
38175 do
38176 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38177 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38178 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38179 echo $ECHO_N "(cached) $ECHO_C" >&6
38180 else
38181
38182 cat >conftest.$ac_ext <<_ACEOF
38183
38184 /* confdefs.h. */
38185 _ACEOF
38186 cat confdefs.h >>conftest.$ac_ext
38187 cat >>conftest.$ac_ext <<_ACEOF
38188 /* end confdefs.h. */
38189
38190
38191 $ac_includes_default
38192
38193 int
38194 main ()
38195 {
38196
38197 #ifndef $wx_func
38198 &$wx_func;
38199 #endif
38200
38201
38202 ;
38203 return 0;
38204 }
38205
38206 _ACEOF
38207 rm -f conftest.$ac_objext conftest$ac_exeext
38208 if { (ac_try="$ac_link"
38209 case "(($ac_try" in
38210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38211 *) ac_try_echo=$ac_try;;
38212 esac
38213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38214 (eval "$ac_link") 2>conftest.er1
38215 ac_status=$?
38216 grep -v '^ *+' conftest.er1 >conftest.err
38217 rm -f conftest.er1
38218 cat conftest.err >&5
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); } && {
38221 test -z "$ac_c_werror_flag" ||
38222 test ! -s conftest.err
38223 } && test -s conftest$ac_exeext &&
38224 $as_test_x conftest$ac_exeext; then
38225 eval wx_cv_func_$wx_func=yes
38226 else
38227 echo "$as_me: failed program was:" >&5
38228 sed 's/^/| /' conftest.$ac_ext >&5
38229
38230 eval wx_cv_func_$wx_func=no
38231 fi
38232
38233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38234 conftest$ac_exeext conftest.$ac_ext
38235
38236 fi
38237 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38238 { echo "$as_me:$LINENO: result: $ac_res" >&5
38239 echo "${ECHO_T}$ac_res" >&6; }
38240
38241 if eval test \$wx_cv_func_$wx_func = yes
38242 then
38243 cat >>confdefs.h <<_ACEOF
38244 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38245 _ACEOF
38246
38247
38248 else
38249 :
38250
38251 fi
38252 done
38253
38254 fi
38255
38256
38257 for wx_func in strtok_r
38258 do
38259 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38260 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38261 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38262 echo $ECHO_N "(cached) $ECHO_C" >&6
38263 else
38264
38265 cat >conftest.$ac_ext <<_ACEOF
38266
38267 /* confdefs.h. */
38268 _ACEOF
38269 cat confdefs.h >>conftest.$ac_ext
38270 cat >>conftest.$ac_ext <<_ACEOF
38271 /* end confdefs.h. */
38272
38273 #define _REENTRANT
38274 $ac_includes_default
38275
38276 int
38277 main ()
38278 {
38279
38280 #ifndef $wx_func
38281 &$wx_func;
38282 #endif
38283
38284
38285 ;
38286 return 0;
38287 }
38288
38289 _ACEOF
38290 rm -f conftest.$ac_objext conftest$ac_exeext
38291 if { (ac_try="$ac_link"
38292 case "(($ac_try" in
38293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38294 *) ac_try_echo=$ac_try;;
38295 esac
38296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38297 (eval "$ac_link") 2>conftest.er1
38298 ac_status=$?
38299 grep -v '^ *+' conftest.er1 >conftest.err
38300 rm -f conftest.er1
38301 cat conftest.err >&5
38302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38303 (exit $ac_status); } && {
38304 test -z "$ac_c_werror_flag" ||
38305 test ! -s conftest.err
38306 } && test -s conftest$ac_exeext &&
38307 $as_test_x conftest$ac_exeext; then
38308 eval wx_cv_func_$wx_func=yes
38309 else
38310 echo "$as_me: failed program was:" >&5
38311 sed 's/^/| /' conftest.$ac_ext >&5
38312
38313 eval wx_cv_func_$wx_func=no
38314 fi
38315
38316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38317 conftest$ac_exeext conftest.$ac_ext
38318
38319 fi
38320 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38321 { echo "$as_me:$LINENO: result: $ac_res" >&5
38322 echo "${ECHO_T}$ac_res" >&6; }
38323
38324 if eval test \$wx_cv_func_$wx_func = yes
38325 then
38326 cat >>confdefs.h <<_ACEOF
38327 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38328 _ACEOF
38329
38330
38331 else
38332 :
38333
38334 fi
38335 done
38336
38337
38338 INET_LINK=
38339
38340 for ac_func in inet_addr
38341 do
38342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38343 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38345 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38346 echo $ECHO_N "(cached) $ECHO_C" >&6
38347 else
38348 cat >conftest.$ac_ext <<_ACEOF
38349 /* confdefs.h. */
38350 _ACEOF
38351 cat confdefs.h >>conftest.$ac_ext
38352 cat >>conftest.$ac_ext <<_ACEOF
38353 /* end confdefs.h. */
38354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38356 #define $ac_func innocuous_$ac_func
38357
38358 /* System header to define __stub macros and hopefully few prototypes,
38359 which can conflict with char $ac_func (); below.
38360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38361 <limits.h> exists even on freestanding compilers. */
38362
38363 #ifdef __STDC__
38364 # include <limits.h>
38365 #else
38366 # include <assert.h>
38367 #endif
38368
38369 #undef $ac_func
38370
38371 /* Override any GCC internal prototype to avoid an error.
38372 Use char because int might match the return type of a GCC
38373 builtin and then its argument prototype would still apply. */
38374 #ifdef __cplusplus
38375 extern "C"
38376 #endif
38377 char $ac_func ();
38378 /* The GNU C library defines this for functions which it implements
38379 to always fail with ENOSYS. Some functions are actually named
38380 something starting with __ and the normal name is an alias. */
38381 #if defined __stub_$ac_func || defined __stub___$ac_func
38382 choke me
38383 #endif
38384
38385 int
38386 main ()
38387 {
38388 return $ac_func ();
38389 ;
38390 return 0;
38391 }
38392 _ACEOF
38393 rm -f conftest.$ac_objext conftest$ac_exeext
38394 if { (ac_try="$ac_link"
38395 case "(($ac_try" in
38396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38397 *) ac_try_echo=$ac_try;;
38398 esac
38399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38400 (eval "$ac_link") 2>conftest.er1
38401 ac_status=$?
38402 grep -v '^ *+' conftest.er1 >conftest.err
38403 rm -f conftest.er1
38404 cat conftest.err >&5
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); } && {
38407 test -z "$ac_c_werror_flag" ||
38408 test ! -s conftest.err
38409 } && test -s conftest$ac_exeext &&
38410 $as_test_x conftest$ac_exeext; then
38411 eval "$as_ac_var=yes"
38412 else
38413 echo "$as_me: failed program was:" >&5
38414 sed 's/^/| /' conftest.$ac_ext >&5
38415
38416 eval "$as_ac_var=no"
38417 fi
38418
38419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38420 conftest$ac_exeext conftest.$ac_ext
38421 fi
38422 ac_res=`eval echo '${'$as_ac_var'}'`
38423 { echo "$as_me:$LINENO: result: $ac_res" >&5
38424 echo "${ECHO_T}$ac_res" >&6; }
38425 if test `eval echo '${'$as_ac_var'}'` = yes; then
38426 cat >>confdefs.h <<_ACEOF
38427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38428 _ACEOF
38429 cat >>confdefs.h <<\_ACEOF
38430 #define HAVE_INET_ADDR 1
38431 _ACEOF
38432
38433 else
38434
38435 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38436 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38437 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38438 echo $ECHO_N "(cached) $ECHO_C" >&6
38439 else
38440 ac_check_lib_save_LIBS=$LIBS
38441 LIBS="-lnsl $LIBS"
38442 cat >conftest.$ac_ext <<_ACEOF
38443 /* confdefs.h. */
38444 _ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448
38449 /* Override any GCC internal prototype to avoid an error.
38450 Use char because int might match the return type of a GCC
38451 builtin and then its argument prototype would still apply. */
38452 #ifdef __cplusplus
38453 extern "C"
38454 #endif
38455 char inet_addr ();
38456 int
38457 main ()
38458 {
38459 return inet_addr ();
38460 ;
38461 return 0;
38462 }
38463 _ACEOF
38464 rm -f conftest.$ac_objext conftest$ac_exeext
38465 if { (ac_try="$ac_link"
38466 case "(($ac_try" in
38467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38468 *) ac_try_echo=$ac_try;;
38469 esac
38470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38471 (eval "$ac_link") 2>conftest.er1
38472 ac_status=$?
38473 grep -v '^ *+' conftest.er1 >conftest.err
38474 rm -f conftest.er1
38475 cat conftest.err >&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } && {
38478 test -z "$ac_c_werror_flag" ||
38479 test ! -s conftest.err
38480 } && test -s conftest$ac_exeext &&
38481 $as_test_x conftest$ac_exeext; then
38482 ac_cv_lib_nsl_inet_addr=yes
38483 else
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38486
38487 ac_cv_lib_nsl_inet_addr=no
38488 fi
38489
38490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38491 conftest$ac_exeext conftest.$ac_ext
38492 LIBS=$ac_check_lib_save_LIBS
38493 fi
38494 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38495 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38496 if test $ac_cv_lib_nsl_inet_addr = yes; then
38497 INET_LINK="nsl"
38498 else
38499
38500 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38501 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38502 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38503 echo $ECHO_N "(cached) $ECHO_C" >&6
38504 else
38505 ac_check_lib_save_LIBS=$LIBS
38506 LIBS="-lresolv $LIBS"
38507 cat >conftest.$ac_ext <<_ACEOF
38508 /* confdefs.h. */
38509 _ACEOF
38510 cat confdefs.h >>conftest.$ac_ext
38511 cat >>conftest.$ac_ext <<_ACEOF
38512 /* end confdefs.h. */
38513
38514 /* Override any GCC internal prototype to avoid an error.
38515 Use char because int might match the return type of a GCC
38516 builtin and then its argument prototype would still apply. */
38517 #ifdef __cplusplus
38518 extern "C"
38519 #endif
38520 char inet_addr ();
38521 int
38522 main ()
38523 {
38524 return inet_addr ();
38525 ;
38526 return 0;
38527 }
38528 _ACEOF
38529 rm -f conftest.$ac_objext conftest$ac_exeext
38530 if { (ac_try="$ac_link"
38531 case "(($ac_try" in
38532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38533 *) ac_try_echo=$ac_try;;
38534 esac
38535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38536 (eval "$ac_link") 2>conftest.er1
38537 ac_status=$?
38538 grep -v '^ *+' conftest.er1 >conftest.err
38539 rm -f conftest.er1
38540 cat conftest.err >&5
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); } && {
38543 test -z "$ac_c_werror_flag" ||
38544 test ! -s conftest.err
38545 } && test -s conftest$ac_exeext &&
38546 $as_test_x conftest$ac_exeext; then
38547 ac_cv_lib_resolv_inet_addr=yes
38548 else
38549 echo "$as_me: failed program was:" >&5
38550 sed 's/^/| /' conftest.$ac_ext >&5
38551
38552 ac_cv_lib_resolv_inet_addr=no
38553 fi
38554
38555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38556 conftest$ac_exeext conftest.$ac_ext
38557 LIBS=$ac_check_lib_save_LIBS
38558 fi
38559 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38560 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38561 if test $ac_cv_lib_resolv_inet_addr = yes; then
38562 INET_LINK="resolv"
38563 else
38564
38565 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38566 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38567 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38568 echo $ECHO_N "(cached) $ECHO_C" >&6
38569 else
38570 ac_check_lib_save_LIBS=$LIBS
38571 LIBS="-lsocket $LIBS"
38572 cat >conftest.$ac_ext <<_ACEOF
38573 /* confdefs.h. */
38574 _ACEOF
38575 cat confdefs.h >>conftest.$ac_ext
38576 cat >>conftest.$ac_ext <<_ACEOF
38577 /* end confdefs.h. */
38578
38579 /* Override any GCC internal prototype to avoid an error.
38580 Use char because int might match the return type of a GCC
38581 builtin and then its argument prototype would still apply. */
38582 #ifdef __cplusplus
38583 extern "C"
38584 #endif
38585 char inet_addr ();
38586 int
38587 main ()
38588 {
38589 return inet_addr ();
38590 ;
38591 return 0;
38592 }
38593 _ACEOF
38594 rm -f conftest.$ac_objext conftest$ac_exeext
38595 if { (ac_try="$ac_link"
38596 case "(($ac_try" in
38597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38598 *) ac_try_echo=$ac_try;;
38599 esac
38600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38601 (eval "$ac_link") 2>conftest.er1
38602 ac_status=$?
38603 grep -v '^ *+' conftest.er1 >conftest.err
38604 rm -f conftest.er1
38605 cat conftest.err >&5
38606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38607 (exit $ac_status); } && {
38608 test -z "$ac_c_werror_flag" ||
38609 test ! -s conftest.err
38610 } && test -s conftest$ac_exeext &&
38611 $as_test_x conftest$ac_exeext; then
38612 ac_cv_lib_socket_inet_addr=yes
38613 else
38614 echo "$as_me: failed program was:" >&5
38615 sed 's/^/| /' conftest.$ac_ext >&5
38616
38617 ac_cv_lib_socket_inet_addr=no
38618 fi
38619
38620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38621 conftest$ac_exeext conftest.$ac_ext
38622 LIBS=$ac_check_lib_save_LIBS
38623 fi
38624 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38625 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38626 if test $ac_cv_lib_socket_inet_addr = yes; then
38627 INET_LINK="socket"
38628
38629 fi
38630
38631
38632
38633 fi
38634
38635
38636
38637 fi
38638
38639
38640
38641 fi
38642 done
38643
38644
38645
38646 for ac_func in inet_aton
38647 do
38648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38652 echo $ECHO_N "(cached) $ECHO_C" >&6
38653 else
38654 cat >conftest.$ac_ext <<_ACEOF
38655 /* confdefs.h. */
38656 _ACEOF
38657 cat confdefs.h >>conftest.$ac_ext
38658 cat >>conftest.$ac_ext <<_ACEOF
38659 /* end confdefs.h. */
38660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38662 #define $ac_func innocuous_$ac_func
38663
38664 /* System header to define __stub macros and hopefully few prototypes,
38665 which can conflict with char $ac_func (); below.
38666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38667 <limits.h> exists even on freestanding compilers. */
38668
38669 #ifdef __STDC__
38670 # include <limits.h>
38671 #else
38672 # include <assert.h>
38673 #endif
38674
38675 #undef $ac_func
38676
38677 /* Override any GCC internal prototype to avoid an error.
38678 Use char because int might match the return type of a GCC
38679 builtin and then its argument prototype would still apply. */
38680 #ifdef __cplusplus
38681 extern "C"
38682 #endif
38683 char $ac_func ();
38684 /* The GNU C library defines this for functions which it implements
38685 to always fail with ENOSYS. Some functions are actually named
38686 something starting with __ and the normal name is an alias. */
38687 #if defined __stub_$ac_func || defined __stub___$ac_func
38688 choke me
38689 #endif
38690
38691 int
38692 main ()
38693 {
38694 return $ac_func ();
38695 ;
38696 return 0;
38697 }
38698 _ACEOF
38699 rm -f conftest.$ac_objext conftest$ac_exeext
38700 if { (ac_try="$ac_link"
38701 case "(($ac_try" in
38702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38703 *) ac_try_echo=$ac_try;;
38704 esac
38705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38706 (eval "$ac_link") 2>conftest.er1
38707 ac_status=$?
38708 grep -v '^ *+' conftest.er1 >conftest.err
38709 rm -f conftest.er1
38710 cat conftest.err >&5
38711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712 (exit $ac_status); } && {
38713 test -z "$ac_c_werror_flag" ||
38714 test ! -s conftest.err
38715 } && test -s conftest$ac_exeext &&
38716 $as_test_x conftest$ac_exeext; then
38717 eval "$as_ac_var=yes"
38718 else
38719 echo "$as_me: failed program was:" >&5
38720 sed 's/^/| /' conftest.$ac_ext >&5
38721
38722 eval "$as_ac_var=no"
38723 fi
38724
38725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38726 conftest$ac_exeext conftest.$ac_ext
38727 fi
38728 ac_res=`eval echo '${'$as_ac_var'}'`
38729 { echo "$as_me:$LINENO: result: $ac_res" >&5
38730 echo "${ECHO_T}$ac_res" >&6; }
38731 if test `eval echo '${'$as_ac_var'}'` = yes; then
38732 cat >>confdefs.h <<_ACEOF
38733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38734 _ACEOF
38735 cat >>confdefs.h <<\_ACEOF
38736 #define HAVE_INET_ATON 1
38737 _ACEOF
38738
38739 else
38740
38741 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38742 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38743 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38744 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38745 echo $ECHO_N "(cached) $ECHO_C" >&6
38746 else
38747 ac_check_lib_save_LIBS=$LIBS
38748 LIBS="-l$INET_LINK $LIBS"
38749 cat >conftest.$ac_ext <<_ACEOF
38750 /* confdefs.h. */
38751 _ACEOF
38752 cat confdefs.h >>conftest.$ac_ext
38753 cat >>conftest.$ac_ext <<_ACEOF
38754 /* end confdefs.h. */
38755
38756 /* Override any GCC internal prototype to avoid an error.
38757 Use char because int might match the return type of a GCC
38758 builtin and then its argument prototype would still apply. */
38759 #ifdef __cplusplus
38760 extern "C"
38761 #endif
38762 char inet_aton ();
38763 int
38764 main ()
38765 {
38766 return inet_aton ();
38767 ;
38768 return 0;
38769 }
38770 _ACEOF
38771 rm -f conftest.$ac_objext conftest$ac_exeext
38772 if { (ac_try="$ac_link"
38773 case "(($ac_try" in
38774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38775 *) ac_try_echo=$ac_try;;
38776 esac
38777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38778 (eval "$ac_link") 2>conftest.er1
38779 ac_status=$?
38780 grep -v '^ *+' conftest.er1 >conftest.err
38781 rm -f conftest.er1
38782 cat conftest.err >&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); } && {
38785 test -z "$ac_c_werror_flag" ||
38786 test ! -s conftest.err
38787 } && test -s conftest$ac_exeext &&
38788 $as_test_x conftest$ac_exeext; then
38789 eval "$as_ac_Lib=yes"
38790 else
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.$ac_ext >&5
38793
38794 eval "$as_ac_Lib=no"
38795 fi
38796
38797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38798 conftest$ac_exeext conftest.$ac_ext
38799 LIBS=$ac_check_lib_save_LIBS
38800 fi
38801 ac_res=`eval echo '${'$as_ac_Lib'}'`
38802 { echo "$as_me:$LINENO: result: $ac_res" >&5
38803 echo "${ECHO_T}$ac_res" >&6; }
38804 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38805 cat >>confdefs.h <<\_ACEOF
38806 #define HAVE_INET_ATON 1
38807 _ACEOF
38808
38809 fi
38810
38811
38812 fi
38813 done
38814
38815
38816 if test "x$INET_LINK" != "x"; then
38817 cat >>confdefs.h <<\_ACEOF
38818 #define HAVE_INET_ADDR 1
38819 _ACEOF
38820
38821 INET_LINK=" -l$INET_LINK"
38822 fi
38823
38824
38825 for wx_func in fdopen
38826 do
38827 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38828 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38829 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38830 echo $ECHO_N "(cached) $ECHO_C" >&6
38831 else
38832
38833 cat >conftest.$ac_ext <<_ACEOF
38834
38835 /* confdefs.h. */
38836 _ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38840
38841
38842 $ac_includes_default
38843
38844 int
38845 main ()
38846 {
38847
38848 #ifndef $wx_func
38849 &$wx_func;
38850 #endif
38851
38852
38853 ;
38854 return 0;
38855 }
38856
38857 _ACEOF
38858 rm -f conftest.$ac_objext conftest$ac_exeext
38859 if { (ac_try="$ac_link"
38860 case "(($ac_try" in
38861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38862 *) ac_try_echo=$ac_try;;
38863 esac
38864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38865 (eval "$ac_link") 2>conftest.er1
38866 ac_status=$?
38867 grep -v '^ *+' conftest.er1 >conftest.err
38868 rm -f conftest.er1
38869 cat conftest.err >&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); } && {
38872 test -z "$ac_c_werror_flag" ||
38873 test ! -s conftest.err
38874 } && test -s conftest$ac_exeext &&
38875 $as_test_x conftest$ac_exeext; then
38876 eval wx_cv_func_$wx_func=yes
38877 else
38878 echo "$as_me: failed program was:" >&5
38879 sed 's/^/| /' conftest.$ac_ext >&5
38880
38881 eval wx_cv_func_$wx_func=no
38882 fi
38883
38884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38885 conftest$ac_exeext conftest.$ac_ext
38886
38887 fi
38888 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38889 { echo "$as_me:$LINENO: result: $ac_res" >&5
38890 echo "${ECHO_T}$ac_res" >&6; }
38891
38892 if eval test \$wx_cv_func_$wx_func = yes
38893 then
38894 cat >>confdefs.h <<_ACEOF
38895 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38896 _ACEOF
38897
38898
38899 else
38900 :
38901
38902 fi
38903 done
38904
38905
38906 if test "$wxUSE_TARSTREAM" = "yes"; then
38907
38908 for wx_func in sysconf
38909 do
38910 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38911 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38912 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38913 echo $ECHO_N "(cached) $ECHO_C" >&6
38914 else
38915
38916 cat >conftest.$ac_ext <<_ACEOF
38917
38918 /* confdefs.h. */
38919 _ACEOF
38920 cat confdefs.h >>conftest.$ac_ext
38921 cat >>conftest.$ac_ext <<_ACEOF
38922 /* end confdefs.h. */
38923
38924
38925 $ac_includes_default
38926
38927 int
38928 main ()
38929 {
38930
38931 #ifndef $wx_func
38932 &$wx_func;
38933 #endif
38934
38935
38936 ;
38937 return 0;
38938 }
38939
38940 _ACEOF
38941 rm -f conftest.$ac_objext conftest$ac_exeext
38942 if { (ac_try="$ac_link"
38943 case "(($ac_try" in
38944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38945 *) ac_try_echo=$ac_try;;
38946 esac
38947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38948 (eval "$ac_link") 2>conftest.er1
38949 ac_status=$?
38950 grep -v '^ *+' conftest.er1 >conftest.err
38951 rm -f conftest.er1
38952 cat conftest.err >&5
38953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38954 (exit $ac_status); } && {
38955 test -z "$ac_c_werror_flag" ||
38956 test ! -s conftest.err
38957 } && test -s conftest$ac_exeext &&
38958 $as_test_x conftest$ac_exeext; then
38959 eval wx_cv_func_$wx_func=yes
38960 else
38961 echo "$as_me: failed program was:" >&5
38962 sed 's/^/| /' conftest.$ac_ext >&5
38963
38964 eval wx_cv_func_$wx_func=no
38965 fi
38966
38967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38968 conftest$ac_exeext conftest.$ac_ext
38969
38970 fi
38971 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38972 { echo "$as_me:$LINENO: result: $ac_res" >&5
38973 echo "${ECHO_T}$ac_res" >&6; }
38974
38975 if eval test \$wx_cv_func_$wx_func = yes
38976 then
38977 cat >>confdefs.h <<_ACEOF
38978 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38979 _ACEOF
38980
38981
38982 else
38983 :
38984
38985 fi
38986 done
38987
38988
38989
38990 for wx_func in getpwuid_r
38991 do
38992 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38993 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38994 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38995 echo $ECHO_N "(cached) $ECHO_C" >&6
38996 else
38997
38998 cat >conftest.$ac_ext <<_ACEOF
38999
39000 /* confdefs.h. */
39001 _ACEOF
39002 cat confdefs.h >>conftest.$ac_ext
39003 cat >>conftest.$ac_ext <<_ACEOF
39004 /* end confdefs.h. */
39005
39006
39007 #define _REENTRANT
39008 #include <pwd.h>
39009
39010 $ac_includes_default
39011
39012 int
39013 main ()
39014 {
39015
39016 #ifndef $wx_func
39017 &$wx_func;
39018 #endif
39019
39020 struct passwd pw, *ppw;
39021 char buf[1024];
39022 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39023
39024
39025 ;
39026 return 0;
39027 }
39028
39029 _ACEOF
39030 rm -f conftest.$ac_objext conftest$ac_exeext
39031 if { (ac_try="$ac_link"
39032 case "(($ac_try" in
39033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39034 *) ac_try_echo=$ac_try;;
39035 esac
39036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39037 (eval "$ac_link") 2>conftest.er1
39038 ac_status=$?
39039 grep -v '^ *+' conftest.er1 >conftest.err
39040 rm -f conftest.er1
39041 cat conftest.err >&5
39042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043 (exit $ac_status); } && {
39044 test -z "$ac_c_werror_flag" ||
39045 test ! -s conftest.err
39046 } && test -s conftest$ac_exeext &&
39047 $as_test_x conftest$ac_exeext; then
39048 eval wx_cv_func_$wx_func=yes
39049 else
39050 echo "$as_me: failed program was:" >&5
39051 sed 's/^/| /' conftest.$ac_ext >&5
39052
39053 eval wx_cv_func_$wx_func=no
39054 fi
39055
39056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39057 conftest$ac_exeext conftest.$ac_ext
39058
39059 fi
39060 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39061 { echo "$as_me:$LINENO: result: $ac_res" >&5
39062 echo "${ECHO_T}$ac_res" >&6; }
39063
39064 if eval test \$wx_cv_func_$wx_func = yes
39065 then
39066 cat >>confdefs.h <<_ACEOF
39067 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39068 _ACEOF
39069
39070
39071 else
39072 :
39073
39074 fi
39075 done
39076
39077
39078
39079 for wx_func in getgrgid_r
39080 do
39081 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39082 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39083 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39084 echo $ECHO_N "(cached) $ECHO_C" >&6
39085 else
39086
39087 cat >conftest.$ac_ext <<_ACEOF
39088
39089 /* confdefs.h. */
39090 _ACEOF
39091 cat confdefs.h >>conftest.$ac_ext
39092 cat >>conftest.$ac_ext <<_ACEOF
39093 /* end confdefs.h. */
39094
39095
39096 #define _REENTRANT
39097 #include <grp.h>
39098
39099 $ac_includes_default
39100
39101 int
39102 main ()
39103 {
39104
39105 #ifndef $wx_func
39106 &$wx_func;
39107 #endif
39108
39109 struct group grp, *pgrp;
39110 char buf[1024];
39111 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39112
39113
39114 ;
39115 return 0;
39116 }
39117
39118 _ACEOF
39119 rm -f conftest.$ac_objext conftest$ac_exeext
39120 if { (ac_try="$ac_link"
39121 case "(($ac_try" in
39122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39123 *) ac_try_echo=$ac_try;;
39124 esac
39125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39126 (eval "$ac_link") 2>conftest.er1
39127 ac_status=$?
39128 grep -v '^ *+' conftest.er1 >conftest.err
39129 rm -f conftest.er1
39130 cat conftest.err >&5
39131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39132 (exit $ac_status); } && {
39133 test -z "$ac_c_werror_flag" ||
39134 test ! -s conftest.err
39135 } && test -s conftest$ac_exeext &&
39136 $as_test_x conftest$ac_exeext; then
39137 eval wx_cv_func_$wx_func=yes
39138 else
39139 echo "$as_me: failed program was:" >&5
39140 sed 's/^/| /' conftest.$ac_ext >&5
39141
39142 eval wx_cv_func_$wx_func=no
39143 fi
39144
39145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39146 conftest$ac_exeext conftest.$ac_ext
39147
39148 fi
39149 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39150 { echo "$as_me:$LINENO: result: $ac_res" >&5
39151 echo "${ECHO_T}$ac_res" >&6; }
39152
39153 if eval test \$wx_cv_func_$wx_func = yes
39154 then
39155 cat >>confdefs.h <<_ACEOF
39156 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39157 _ACEOF
39158
39159
39160 else
39161 :
39162
39163 fi
39164 done
39165
39166 fi
39167
39168 fi
39169
39170
39171
39172 cat >confcache <<\_ACEOF
39173 # This file is a shell script that caches the results of configure
39174 # tests run on this system so they can be shared between configure
39175 # scripts and configure runs, see configure's option --config-cache.
39176 # It is not useful on other systems. If it contains results you don't
39177 # want to keep, you may remove or edit it.
39178 #
39179 # config.status only pays attention to the cache file if you give it
39180 # the --recheck option to rerun configure.
39181 #
39182 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39183 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39184 # following values.
39185
39186 _ACEOF
39187
39188 # The following way of writing the cache mishandles newlines in values,
39189 # but we know of no workaround that is simple, portable, and efficient.
39190 # So, we kill variables containing newlines.
39191 # Ultrix sh set writes to stderr and can't be redirected directly,
39192 # and sets the high bit in the cache file unless we assign to the vars.
39193 (
39194 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39195 eval ac_val=\$$ac_var
39196 case $ac_val in #(
39197 *${as_nl}*)
39198 case $ac_var in #(
39199 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39200 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39201 esac
39202 case $ac_var in #(
39203 _ | IFS | as_nl) ;; #(
39204 *) $as_unset $ac_var ;;
39205 esac ;;
39206 esac
39207 done
39208
39209 (set) 2>&1 |
39210 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39211 *${as_nl}ac_space=\ *)
39212 # `set' does not quote correctly, so add quotes (double-quote
39213 # substitution turns \\\\ into \\, and sed turns \\ into \).
39214 sed -n \
39215 "s/'/'\\\\''/g;
39216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39217 ;; #(
39218 *)
39219 # `set' quotes correctly as required by POSIX, so do not add quotes.
39220 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39221 ;;
39222 esac |
39223 sort
39224 ) |
39225 sed '
39226 /^ac_cv_env_/b end
39227 t clear
39228 :clear
39229 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39230 t end
39231 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39232 :end' >>confcache
39233 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39234 if test -w "$cache_file"; then
39235 test "x$cache_file" != "x/dev/null" &&
39236 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39237 echo "$as_me: updating cache $cache_file" >&6;}
39238 cat confcache >$cache_file
39239 else
39240 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39241 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39242 fi
39243 fi
39244 rm -f confcache
39245
39246
39247 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39248
39249
39250 THREADS_LINK=
39251 THREADS_CFLAGS=
39252
39253 if test "$wxUSE_THREADS" = "yes" ; then
39254 if test "$USE_BEOS" = 1; then
39255 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39256 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39257 wxUSE_THREADS="no"
39258 fi
39259 fi
39260
39261 if test "$wxUSE_THREADS" = "yes" ; then
39262
39263
39264 THREAD_OPTS="-pthread"
39265 if test "x$SUNCXX" = xyes; then
39266 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39267 fi
39268
39269 case "${host}" in
39270 *-*-solaris2* | *-*-sunos4* )
39271 if test "x$GCC" = "xyes"; then
39272 THREAD_OPTS="-pthreads $THREAD_OPTS"
39273 fi
39274 ;;
39275 *-*-freebsd*)
39276 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39277 ;;
39278 *-*-darwin* | *-*-cygwin* )
39279 THREAD_OPTS=""
39280 ;;
39281 *-*-aix*)
39282 THREAD_OPTS="pthreads"
39283 ;;
39284 *-hp-hpux* )
39285 if test "x$GCC" = "xyes"; then
39286 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39287 THREAD_OPTS=""
39288 else
39289 THREAD_OPTS="-mt"
39290 fi
39291 ;;
39292
39293 *-*-irix* )
39294 if test "x$GCC" = "xyes"; then
39295 THREAD_OPTS=""
39296 fi
39297 ;;
39298
39299 *-*-*UnixWare*)
39300 if test "x$GCC" != "xyes"; then
39301 THREAD_OPTS="-Ethread"
39302 fi
39303 ;;
39304 esac
39305
39306 THREAD_OPTS="$THREAD_OPTS pthread none"
39307
39308 THREADS_OK=no
39309 for flag in $THREAD_OPTS; do
39310 case $flag in
39311 none)
39312 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39313 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39314 ;;
39315
39316 -*)
39317 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39318 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39319 THREADS_CFLAGS="$flag"
39320 ;;
39321
39322 *)
39323 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39324 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39325 THREADS_LINK="-l$flag"
39326 ;;
39327 esac
39328
39329 save_LIBS="$LIBS"
39330 save_CFLAGS="$CFLAGS"
39331 LIBS="$THREADS_LINK $LIBS"
39332 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39333
39334 cat >conftest.$ac_ext <<_ACEOF
39335 /* confdefs.h. */
39336 _ACEOF
39337 cat confdefs.h >>conftest.$ac_ext
39338 cat >>conftest.$ac_ext <<_ACEOF
39339 /* end confdefs.h. */
39340 #include <pthread.h>
39341 int
39342 main ()
39343 {
39344 pthread_create(0,0,0,0);
39345 ;
39346 return 0;
39347 }
39348 _ACEOF
39349 rm -f conftest.$ac_objext conftest$ac_exeext
39350 if { (ac_try="$ac_link"
39351 case "(($ac_try" in
39352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39353 *) ac_try_echo=$ac_try;;
39354 esac
39355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39356 (eval "$ac_link") 2>conftest.er1
39357 ac_status=$?
39358 grep -v '^ *+' conftest.er1 >conftest.err
39359 rm -f conftest.er1
39360 cat conftest.err >&5
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); } && {
39363 test -z "$ac_c_werror_flag" ||
39364 test ! -s conftest.err
39365 } && test -s conftest$ac_exeext &&
39366 $as_test_x conftest$ac_exeext; then
39367 THREADS_OK=yes
39368 else
39369 echo "$as_me: failed program was:" >&5
39370 sed 's/^/| /' conftest.$ac_ext >&5
39371
39372
39373 fi
39374
39375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39376 conftest$ac_exeext conftest.$ac_ext
39377
39378 LIBS="$save_LIBS"
39379 CFLAGS="$save_CFLAGS"
39380
39381 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39382 echo "${ECHO_T}$THREADS_OK" >&6; }
39383 if test "x$THREADS_OK" = "xyes"; then
39384 break;
39385 fi
39386
39387 THREADS_LINK=""
39388 THREADS_CFLAGS=""
39389 done
39390
39391 if test "x$THREADS_OK" != "xyes"; then
39392 wxUSE_THREADS=no
39393 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39394 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39395 else
39396 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39397 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39398 LIBS="$THREADS_LINK $LIBS"
39399
39400 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39401 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39402 flag=no
39403 case "${host}" in
39404 *-aix*)
39405 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39406 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39407 flag="-D_THREAD_SAFE"
39408 ;;
39409 *-freebsd*)
39410 flag="-D_THREAD_SAFE"
39411 ;;
39412 *-hp-hpux* )
39413 flag="-D_REENTRANT"
39414 if test "x$GCC" != "xyes"; then
39415 flag="$flag -D_RWSTD_MULTI_THREAD"
39416 fi
39417 ;;
39418 *solaris* | alpha*-osf*)
39419 flag="-D_REENTRANT"
39420 ;;
39421 esac
39422 { echo "$as_me:$LINENO: result: ${flag}" >&5
39423 echo "${ECHO_T}${flag}" >&6; }
39424 if test "x$flag" != xno; then
39425 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39426 fi
39427
39428 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39429 fi
39430 fi
39431
39432 if test "$wxUSE_THREADS" = "yes" ; then
39433
39434 for ac_func in thr_setconcurrency
39435 do
39436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39437 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39439 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39440 echo $ECHO_N "(cached) $ECHO_C" >&6
39441 else
39442 cat >conftest.$ac_ext <<_ACEOF
39443 /* confdefs.h. */
39444 _ACEOF
39445 cat confdefs.h >>conftest.$ac_ext
39446 cat >>conftest.$ac_ext <<_ACEOF
39447 /* end confdefs.h. */
39448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39450 #define $ac_func innocuous_$ac_func
39451
39452 /* System header to define __stub macros and hopefully few prototypes,
39453 which can conflict with char $ac_func (); below.
39454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39455 <limits.h> exists even on freestanding compilers. */
39456
39457 #ifdef __STDC__
39458 # include <limits.h>
39459 #else
39460 # include <assert.h>
39461 #endif
39462
39463 #undef $ac_func
39464
39465 /* Override any GCC internal prototype to avoid an error.
39466 Use char because int might match the return type of a GCC
39467 builtin and then its argument prototype would still apply. */
39468 #ifdef __cplusplus
39469 extern "C"
39470 #endif
39471 char $ac_func ();
39472 /* The GNU C library defines this for functions which it implements
39473 to always fail with ENOSYS. Some functions are actually named
39474 something starting with __ and the normal name is an alias. */
39475 #if defined __stub_$ac_func || defined __stub___$ac_func
39476 choke me
39477 #endif
39478
39479 int
39480 main ()
39481 {
39482 return $ac_func ();
39483 ;
39484 return 0;
39485 }
39486 _ACEOF
39487 rm -f conftest.$ac_objext conftest$ac_exeext
39488 if { (ac_try="$ac_link"
39489 case "(($ac_try" in
39490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39491 *) ac_try_echo=$ac_try;;
39492 esac
39493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39494 (eval "$ac_link") 2>conftest.er1
39495 ac_status=$?
39496 grep -v '^ *+' conftest.er1 >conftest.err
39497 rm -f conftest.er1
39498 cat conftest.err >&5
39499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39500 (exit $ac_status); } && {
39501 test -z "$ac_c_werror_flag" ||
39502 test ! -s conftest.err
39503 } && test -s conftest$ac_exeext &&
39504 $as_test_x conftest$ac_exeext; then
39505 eval "$as_ac_var=yes"
39506 else
39507 echo "$as_me: failed program was:" >&5
39508 sed 's/^/| /' conftest.$ac_ext >&5
39509
39510 eval "$as_ac_var=no"
39511 fi
39512
39513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39514 conftest$ac_exeext conftest.$ac_ext
39515 fi
39516 ac_res=`eval echo '${'$as_ac_var'}'`
39517 { echo "$as_me:$LINENO: result: $ac_res" >&5
39518 echo "${ECHO_T}$ac_res" >&6; }
39519 if test `eval echo '${'$as_ac_var'}'` = yes; then
39520 cat >>confdefs.h <<_ACEOF
39521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39522 _ACEOF
39523
39524 fi
39525 done
39526
39527
39528 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39529 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39530 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39531 echo $ECHO_N "(cached) $ECHO_C" >&6
39532 else
39533
39534 ac_ext=cpp
39535 ac_cpp='$CXXCPP $CPPFLAGS'
39536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39539
39540 cat >conftest.$ac_ext <<_ACEOF
39541 /* confdefs.h. */
39542 _ACEOF
39543 cat confdefs.h >>conftest.$ac_ext
39544 cat >>conftest.$ac_ext <<_ACEOF
39545 /* end confdefs.h. */
39546 #include <pthread.h>
39547 void ThreadCleanupFunc(void *p);
39548
39549 int
39550 main ()
39551 {
39552
39553 void *p;
39554 pthread_cleanup_push(ThreadCleanupFunc, p);
39555 pthread_cleanup_pop(0);
39556
39557 ;
39558 return 0;
39559 }
39560 _ACEOF
39561 rm -f conftest.$ac_objext
39562 if { (ac_try="$ac_compile"
39563 case "(($ac_try" in
39564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39565 *) ac_try_echo=$ac_try;;
39566 esac
39567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39568 (eval "$ac_compile") 2>conftest.er1
39569 ac_status=$?
39570 grep -v '^ *+' conftest.er1 >conftest.err
39571 rm -f conftest.er1
39572 cat conftest.err >&5
39573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39574 (exit $ac_status); } && {
39575 test -z "$ac_cxx_werror_flag" ||
39576 test ! -s conftest.err
39577 } && test -s conftest.$ac_objext; then
39578
39579 wx_cv_func_pthread_cleanup=yes
39580
39581 else
39582 echo "$as_me: failed program was:" >&5
39583 sed 's/^/| /' conftest.$ac_ext >&5
39584
39585
39586 wx_cv_func_pthread_cleanup=no
39587
39588
39589 fi
39590
39591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39592 ac_ext=c
39593 ac_cpp='$CPP $CPPFLAGS'
39594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39597
39598
39599 fi
39600 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39601 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39602 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39603 cat >>confdefs.h <<\_ACEOF
39604 #define wxHAVE_PTHREAD_CLEANUP 1
39605 _ACEOF
39606
39607 fi
39608
39609
39610 for ac_header in sched.h
39611 do
39612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39616 echo $ECHO_N "(cached) $ECHO_C" >&6
39617 else
39618 cat >conftest.$ac_ext <<_ACEOF
39619 /* confdefs.h. */
39620 _ACEOF
39621 cat confdefs.h >>conftest.$ac_ext
39622 cat >>conftest.$ac_ext <<_ACEOF
39623 /* end confdefs.h. */
39624 $ac_includes_default
39625
39626 #include <$ac_header>
39627 _ACEOF
39628 rm -f conftest.$ac_objext
39629 if { (ac_try="$ac_compile"
39630 case "(($ac_try" in
39631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39632 *) ac_try_echo=$ac_try;;
39633 esac
39634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39635 (eval "$ac_compile") 2>conftest.er1
39636 ac_status=$?
39637 grep -v '^ *+' conftest.er1 >conftest.err
39638 rm -f conftest.er1
39639 cat conftest.err >&5
39640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39641 (exit $ac_status); } && {
39642 test -z "$ac_c_werror_flag" ||
39643 test ! -s conftest.err
39644 } && test -s conftest.$ac_objext; then
39645 eval "$as_ac_Header=yes"
39646 else
39647 echo "$as_me: failed program was:" >&5
39648 sed 's/^/| /' conftest.$ac_ext >&5
39649
39650 eval "$as_ac_Header=no"
39651 fi
39652
39653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39654 fi
39655 ac_res=`eval echo '${'$as_ac_Header'}'`
39656 { echo "$as_me:$LINENO: result: $ac_res" >&5
39657 echo "${ECHO_T}$ac_res" >&6; }
39658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39659 cat >>confdefs.h <<_ACEOF
39660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39661 _ACEOF
39662
39663 fi
39664
39665 done
39666
39667 if test "$ac_cv_header_sched_h" = "yes"; then
39668 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39669 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39670 if test "${ac_cv_func_sched_yield+set}" = set; then
39671 echo $ECHO_N "(cached) $ECHO_C" >&6
39672 else
39673 cat >conftest.$ac_ext <<_ACEOF
39674 /* confdefs.h. */
39675 _ACEOF
39676 cat confdefs.h >>conftest.$ac_ext
39677 cat >>conftest.$ac_ext <<_ACEOF
39678 /* end confdefs.h. */
39679 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39681 #define sched_yield innocuous_sched_yield
39682
39683 /* System header to define __stub macros and hopefully few prototypes,
39684 which can conflict with char sched_yield (); below.
39685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39686 <limits.h> exists even on freestanding compilers. */
39687
39688 #ifdef __STDC__
39689 # include <limits.h>
39690 #else
39691 # include <assert.h>
39692 #endif
39693
39694 #undef sched_yield
39695
39696 /* Override any GCC internal prototype to avoid an error.
39697 Use char because int might match the return type of a GCC
39698 builtin and then its argument prototype would still apply. */
39699 #ifdef __cplusplus
39700 extern "C"
39701 #endif
39702 char sched_yield ();
39703 /* The GNU C library defines this for functions which it implements
39704 to always fail with ENOSYS. Some functions are actually named
39705 something starting with __ and the normal name is an alias. */
39706 #if defined __stub_sched_yield || defined __stub___sched_yield
39707 choke me
39708 #endif
39709
39710 int
39711 main ()
39712 {
39713 return sched_yield ();
39714 ;
39715 return 0;
39716 }
39717 _ACEOF
39718 rm -f conftest.$ac_objext conftest$ac_exeext
39719 if { (ac_try="$ac_link"
39720 case "(($ac_try" in
39721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39722 *) ac_try_echo=$ac_try;;
39723 esac
39724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39725 (eval "$ac_link") 2>conftest.er1
39726 ac_status=$?
39727 grep -v '^ *+' conftest.er1 >conftest.err
39728 rm -f conftest.er1
39729 cat conftest.err >&5
39730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731 (exit $ac_status); } && {
39732 test -z "$ac_c_werror_flag" ||
39733 test ! -s conftest.err
39734 } && test -s conftest$ac_exeext &&
39735 $as_test_x conftest$ac_exeext; then
39736 ac_cv_func_sched_yield=yes
39737 else
39738 echo "$as_me: failed program was:" >&5
39739 sed 's/^/| /' conftest.$ac_ext >&5
39740
39741 ac_cv_func_sched_yield=no
39742 fi
39743
39744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39745 conftest$ac_exeext conftest.$ac_ext
39746 fi
39747 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39748 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39749 if test $ac_cv_func_sched_yield = yes; then
39750 cat >>confdefs.h <<\_ACEOF
39751 #define HAVE_SCHED_YIELD 1
39752 _ACEOF
39753
39754 else
39755
39756 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39757 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39758 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39759 echo $ECHO_N "(cached) $ECHO_C" >&6
39760 else
39761 ac_check_lib_save_LIBS=$LIBS
39762 LIBS="-lposix4 $LIBS"
39763 cat >conftest.$ac_ext <<_ACEOF
39764 /* confdefs.h. */
39765 _ACEOF
39766 cat confdefs.h >>conftest.$ac_ext
39767 cat >>conftest.$ac_ext <<_ACEOF
39768 /* end confdefs.h. */
39769
39770 /* Override any GCC internal prototype to avoid an error.
39771 Use char because int might match the return type of a GCC
39772 builtin and then its argument prototype would still apply. */
39773 #ifdef __cplusplus
39774 extern "C"
39775 #endif
39776 char sched_yield ();
39777 int
39778 main ()
39779 {
39780 return sched_yield ();
39781 ;
39782 return 0;
39783 }
39784 _ACEOF
39785 rm -f conftest.$ac_objext conftest$ac_exeext
39786 if { (ac_try="$ac_link"
39787 case "(($ac_try" in
39788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39789 *) ac_try_echo=$ac_try;;
39790 esac
39791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39792 (eval "$ac_link") 2>conftest.er1
39793 ac_status=$?
39794 grep -v '^ *+' conftest.er1 >conftest.err
39795 rm -f conftest.er1
39796 cat conftest.err >&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); } && {
39799 test -z "$ac_c_werror_flag" ||
39800 test ! -s conftest.err
39801 } && test -s conftest$ac_exeext &&
39802 $as_test_x conftest$ac_exeext; then
39803 ac_cv_lib_posix4_sched_yield=yes
39804 else
39805 echo "$as_me: failed program was:" >&5
39806 sed 's/^/| /' conftest.$ac_ext >&5
39807
39808 ac_cv_lib_posix4_sched_yield=no
39809 fi
39810
39811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39812 conftest$ac_exeext conftest.$ac_ext
39813 LIBS=$ac_check_lib_save_LIBS
39814 fi
39815 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39816 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39817 if test $ac_cv_lib_posix4_sched_yield = yes; then
39818 cat >>confdefs.h <<\_ACEOF
39819 #define HAVE_SCHED_YIELD 1
39820 _ACEOF
39821 POSIX4_LINK=" -lposix4"
39822 else
39823 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39824 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39825
39826 fi
39827
39828
39829
39830 fi
39831
39832 fi
39833
39834 HAVE_PRIOR_FUNCS=0
39835 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39836 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39837 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39838 echo $ECHO_N "(cached) $ECHO_C" >&6
39839 else
39840 cat >conftest.$ac_ext <<_ACEOF
39841 /* confdefs.h. */
39842 _ACEOF
39843 cat confdefs.h >>conftest.$ac_ext
39844 cat >>conftest.$ac_ext <<_ACEOF
39845 /* end confdefs.h. */
39846 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39848 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39849
39850 /* System header to define __stub macros and hopefully few prototypes,
39851 which can conflict with char pthread_attr_getschedpolicy (); below.
39852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39853 <limits.h> exists even on freestanding compilers. */
39854
39855 #ifdef __STDC__
39856 # include <limits.h>
39857 #else
39858 # include <assert.h>
39859 #endif
39860
39861 #undef pthread_attr_getschedpolicy
39862
39863 /* Override any GCC internal prototype to avoid an error.
39864 Use char because int might match the return type of a GCC
39865 builtin and then its argument prototype would still apply. */
39866 #ifdef __cplusplus
39867 extern "C"
39868 #endif
39869 char pthread_attr_getschedpolicy ();
39870 /* The GNU C library defines this for functions which it implements
39871 to always fail with ENOSYS. Some functions are actually named
39872 something starting with __ and the normal name is an alias. */
39873 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39874 choke me
39875 #endif
39876
39877 int
39878 main ()
39879 {
39880 return pthread_attr_getschedpolicy ();
39881 ;
39882 return 0;
39883 }
39884 _ACEOF
39885 rm -f conftest.$ac_objext conftest$ac_exeext
39886 if { (ac_try="$ac_link"
39887 case "(($ac_try" in
39888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39889 *) ac_try_echo=$ac_try;;
39890 esac
39891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39892 (eval "$ac_link") 2>conftest.er1
39893 ac_status=$?
39894 grep -v '^ *+' conftest.er1 >conftest.err
39895 rm -f conftest.er1
39896 cat conftest.err >&5
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); } && {
39899 test -z "$ac_c_werror_flag" ||
39900 test ! -s conftest.err
39901 } && test -s conftest$ac_exeext &&
39902 $as_test_x conftest$ac_exeext; then
39903 ac_cv_func_pthread_attr_getschedpolicy=yes
39904 else
39905 echo "$as_me: failed program was:" >&5
39906 sed 's/^/| /' conftest.$ac_ext >&5
39907
39908 ac_cv_func_pthread_attr_getschedpolicy=no
39909 fi
39910
39911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39912 conftest$ac_exeext conftest.$ac_ext
39913 fi
39914 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39915 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39916 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39917 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39918 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39919 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39920 echo $ECHO_N "(cached) $ECHO_C" >&6
39921 else
39922 cat >conftest.$ac_ext <<_ACEOF
39923 /* confdefs.h. */
39924 _ACEOF
39925 cat confdefs.h >>conftest.$ac_ext
39926 cat >>conftest.$ac_ext <<_ACEOF
39927 /* end confdefs.h. */
39928 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39930 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39931
39932 /* System header to define __stub macros and hopefully few prototypes,
39933 which can conflict with char pthread_attr_setschedparam (); below.
39934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39935 <limits.h> exists even on freestanding compilers. */
39936
39937 #ifdef __STDC__
39938 # include <limits.h>
39939 #else
39940 # include <assert.h>
39941 #endif
39942
39943 #undef pthread_attr_setschedparam
39944
39945 /* Override any GCC internal prototype to avoid an error.
39946 Use char because int might match the return type of a GCC
39947 builtin and then its argument prototype would still apply. */
39948 #ifdef __cplusplus
39949 extern "C"
39950 #endif
39951 char pthread_attr_setschedparam ();
39952 /* The GNU C library defines this for functions which it implements
39953 to always fail with ENOSYS. Some functions are actually named
39954 something starting with __ and the normal name is an alias. */
39955 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39956 choke me
39957 #endif
39958
39959 int
39960 main ()
39961 {
39962 return pthread_attr_setschedparam ();
39963 ;
39964 return 0;
39965 }
39966 _ACEOF
39967 rm -f conftest.$ac_objext conftest$ac_exeext
39968 if { (ac_try="$ac_link"
39969 case "(($ac_try" in
39970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39971 *) ac_try_echo=$ac_try;;
39972 esac
39973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39974 (eval "$ac_link") 2>conftest.er1
39975 ac_status=$?
39976 grep -v '^ *+' conftest.er1 >conftest.err
39977 rm -f conftest.er1
39978 cat conftest.err >&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); } && {
39981 test -z "$ac_c_werror_flag" ||
39982 test ! -s conftest.err
39983 } && test -s conftest$ac_exeext &&
39984 $as_test_x conftest$ac_exeext; then
39985 ac_cv_func_pthread_attr_setschedparam=yes
39986 else
39987 echo "$as_me: failed program was:" >&5
39988 sed 's/^/| /' conftest.$ac_ext >&5
39989
39990 ac_cv_func_pthread_attr_setschedparam=no
39991 fi
39992
39993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39994 conftest$ac_exeext conftest.$ac_ext
39995 fi
39996 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39997 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39998 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39999 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40000 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40001 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40002 echo $ECHO_N "(cached) $ECHO_C" >&6
40003 else
40004 cat >conftest.$ac_ext <<_ACEOF
40005 /* confdefs.h. */
40006 _ACEOF
40007 cat confdefs.h >>conftest.$ac_ext
40008 cat >>conftest.$ac_ext <<_ACEOF
40009 /* end confdefs.h. */
40010 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40012 #define sched_get_priority_max innocuous_sched_get_priority_max
40013
40014 /* System header to define __stub macros and hopefully few prototypes,
40015 which can conflict with char sched_get_priority_max (); below.
40016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40017 <limits.h> exists even on freestanding compilers. */
40018
40019 #ifdef __STDC__
40020 # include <limits.h>
40021 #else
40022 # include <assert.h>
40023 #endif
40024
40025 #undef sched_get_priority_max
40026
40027 /* Override any GCC internal prototype to avoid an error.
40028 Use char because int might match the return type of a GCC
40029 builtin and then its argument prototype would still apply. */
40030 #ifdef __cplusplus
40031 extern "C"
40032 #endif
40033 char sched_get_priority_max ();
40034 /* The GNU C library defines this for functions which it implements
40035 to always fail with ENOSYS. Some functions are actually named
40036 something starting with __ and the normal name is an alias. */
40037 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40038 choke me
40039 #endif
40040
40041 int
40042 main ()
40043 {
40044 return sched_get_priority_max ();
40045 ;
40046 return 0;
40047 }
40048 _ACEOF
40049 rm -f conftest.$ac_objext conftest$ac_exeext
40050 if { (ac_try="$ac_link"
40051 case "(($ac_try" in
40052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40053 *) ac_try_echo=$ac_try;;
40054 esac
40055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40056 (eval "$ac_link") 2>conftest.er1
40057 ac_status=$?
40058 grep -v '^ *+' conftest.er1 >conftest.err
40059 rm -f conftest.er1
40060 cat conftest.err >&5
40061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40062 (exit $ac_status); } && {
40063 test -z "$ac_c_werror_flag" ||
40064 test ! -s conftest.err
40065 } && test -s conftest$ac_exeext &&
40066 $as_test_x conftest$ac_exeext; then
40067 ac_cv_func_sched_get_priority_max=yes
40068 else
40069 echo "$as_me: failed program was:" >&5
40070 sed 's/^/| /' conftest.$ac_ext >&5
40071
40072 ac_cv_func_sched_get_priority_max=no
40073 fi
40074
40075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40076 conftest$ac_exeext conftest.$ac_ext
40077 fi
40078 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40079 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40080 if test $ac_cv_func_sched_get_priority_max = yes; then
40081 HAVE_PRIOR_FUNCS=1
40082 else
40083 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40084 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40085 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40086 echo $ECHO_N "(cached) $ECHO_C" >&6
40087 else
40088 ac_check_lib_save_LIBS=$LIBS
40089 LIBS="-lposix4 $LIBS"
40090 cat >conftest.$ac_ext <<_ACEOF
40091 /* confdefs.h. */
40092 _ACEOF
40093 cat confdefs.h >>conftest.$ac_ext
40094 cat >>conftest.$ac_ext <<_ACEOF
40095 /* end confdefs.h. */
40096
40097 /* Override any GCC internal prototype to avoid an error.
40098 Use char because int might match the return type of a GCC
40099 builtin and then its argument prototype would still apply. */
40100 #ifdef __cplusplus
40101 extern "C"
40102 #endif
40103 char sched_get_priority_max ();
40104 int
40105 main ()
40106 {
40107 return sched_get_priority_max ();
40108 ;
40109 return 0;
40110 }
40111 _ACEOF
40112 rm -f conftest.$ac_objext conftest$ac_exeext
40113 if { (ac_try="$ac_link"
40114 case "(($ac_try" in
40115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40116 *) ac_try_echo=$ac_try;;
40117 esac
40118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40119 (eval "$ac_link") 2>conftest.er1
40120 ac_status=$?
40121 grep -v '^ *+' conftest.er1 >conftest.err
40122 rm -f conftest.er1
40123 cat conftest.err >&5
40124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125 (exit $ac_status); } && {
40126 test -z "$ac_c_werror_flag" ||
40127 test ! -s conftest.err
40128 } && test -s conftest$ac_exeext &&
40129 $as_test_x conftest$ac_exeext; then
40130 ac_cv_lib_posix4_sched_get_priority_max=yes
40131 else
40132 echo "$as_me: failed program was:" >&5
40133 sed 's/^/| /' conftest.$ac_ext >&5
40134
40135 ac_cv_lib_posix4_sched_get_priority_max=no
40136 fi
40137
40138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40139 conftest$ac_exeext conftest.$ac_ext
40140 LIBS=$ac_check_lib_save_LIBS
40141 fi
40142 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40143 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40144 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40145
40146 HAVE_PRIOR_FUNCS=1
40147 POSIX4_LINK=" -lposix4"
40148
40149 fi
40150
40151
40152 fi
40153
40154
40155 fi
40156
40157
40158 fi
40159
40160
40161 if test "$HAVE_PRIOR_FUNCS" = 1; then
40162 cat >>confdefs.h <<\_ACEOF
40163 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40164 _ACEOF
40165
40166 else
40167 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40168 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40169 fi
40170
40171 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40172 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40173 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40174 echo $ECHO_N "(cached) $ECHO_C" >&6
40175 else
40176 cat >conftest.$ac_ext <<_ACEOF
40177 /* confdefs.h. */
40178 _ACEOF
40179 cat confdefs.h >>conftest.$ac_ext
40180 cat >>conftest.$ac_ext <<_ACEOF
40181 /* end confdefs.h. */
40182 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40184 #define pthread_cancel innocuous_pthread_cancel
40185
40186 /* System header to define __stub macros and hopefully few prototypes,
40187 which can conflict with char pthread_cancel (); below.
40188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40189 <limits.h> exists even on freestanding compilers. */
40190
40191 #ifdef __STDC__
40192 # include <limits.h>
40193 #else
40194 # include <assert.h>
40195 #endif
40196
40197 #undef pthread_cancel
40198
40199 /* Override any GCC internal prototype to avoid an error.
40200 Use char because int might match the return type of a GCC
40201 builtin and then its argument prototype would still apply. */
40202 #ifdef __cplusplus
40203 extern "C"
40204 #endif
40205 char pthread_cancel ();
40206 /* The GNU C library defines this for functions which it implements
40207 to always fail with ENOSYS. Some functions are actually named
40208 something starting with __ and the normal name is an alias. */
40209 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40210 choke me
40211 #endif
40212
40213 int
40214 main ()
40215 {
40216 return pthread_cancel ();
40217 ;
40218 return 0;
40219 }
40220 _ACEOF
40221 rm -f conftest.$ac_objext conftest$ac_exeext
40222 if { (ac_try="$ac_link"
40223 case "(($ac_try" in
40224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40225 *) ac_try_echo=$ac_try;;
40226 esac
40227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40228 (eval "$ac_link") 2>conftest.er1
40229 ac_status=$?
40230 grep -v '^ *+' conftest.er1 >conftest.err
40231 rm -f conftest.er1
40232 cat conftest.err >&5
40233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40234 (exit $ac_status); } && {
40235 test -z "$ac_c_werror_flag" ||
40236 test ! -s conftest.err
40237 } && test -s conftest$ac_exeext &&
40238 $as_test_x conftest$ac_exeext; then
40239 ac_cv_func_pthread_cancel=yes
40240 else
40241 echo "$as_me: failed program was:" >&5
40242 sed 's/^/| /' conftest.$ac_ext >&5
40243
40244 ac_cv_func_pthread_cancel=no
40245 fi
40246
40247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40248 conftest$ac_exeext conftest.$ac_ext
40249 fi
40250 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40251 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40252 if test $ac_cv_func_pthread_cancel = yes; then
40253 cat >>confdefs.h <<\_ACEOF
40254 #define HAVE_PTHREAD_CANCEL 1
40255 _ACEOF
40256
40257 else
40258 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40259 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40260 fi
40261
40262
40263 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40264 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40265 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40266 echo $ECHO_N "(cached) $ECHO_C" >&6
40267 else
40268 cat >conftest.$ac_ext <<_ACEOF
40269 /* confdefs.h. */
40270 _ACEOF
40271 cat confdefs.h >>conftest.$ac_ext
40272 cat >>conftest.$ac_ext <<_ACEOF
40273 /* end confdefs.h. */
40274 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40276 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40277
40278 /* System header to define __stub macros and hopefully few prototypes,
40279 which can conflict with char pthread_mutex_timedlock (); below.
40280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40281 <limits.h> exists even on freestanding compilers. */
40282
40283 #ifdef __STDC__
40284 # include <limits.h>
40285 #else
40286 # include <assert.h>
40287 #endif
40288
40289 #undef pthread_mutex_timedlock
40290
40291 /* Override any GCC internal prototype to avoid an error.
40292 Use char because int might match the return type of a GCC
40293 builtin and then its argument prototype would still apply. */
40294 #ifdef __cplusplus
40295 extern "C"
40296 #endif
40297 char pthread_mutex_timedlock ();
40298 /* The GNU C library defines this for functions which it implements
40299 to always fail with ENOSYS. Some functions are actually named
40300 something starting with __ and the normal name is an alias. */
40301 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40302 choke me
40303 #endif
40304
40305 int
40306 main ()
40307 {
40308 return pthread_mutex_timedlock ();
40309 ;
40310 return 0;
40311 }
40312 _ACEOF
40313 rm -f conftest.$ac_objext conftest$ac_exeext
40314 if { (ac_try="$ac_link"
40315 case "(($ac_try" in
40316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40317 *) ac_try_echo=$ac_try;;
40318 esac
40319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40320 (eval "$ac_link") 2>conftest.er1
40321 ac_status=$?
40322 grep -v '^ *+' conftest.er1 >conftest.err
40323 rm -f conftest.er1
40324 cat conftest.err >&5
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); } && {
40327 test -z "$ac_c_werror_flag" ||
40328 test ! -s conftest.err
40329 } && test -s conftest$ac_exeext &&
40330 $as_test_x conftest$ac_exeext; then
40331 ac_cv_func_pthread_mutex_timedlock=yes
40332 else
40333 echo "$as_me: failed program was:" >&5
40334 sed 's/^/| /' conftest.$ac_ext >&5
40335
40336 ac_cv_func_pthread_mutex_timedlock=no
40337 fi
40338
40339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40340 conftest$ac_exeext conftest.$ac_ext
40341 fi
40342 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40343 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40344 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40345 cat >>confdefs.h <<\_ACEOF
40346 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40347 _ACEOF
40348
40349 else
40350 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40351 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40352 fi
40353
40354
40355 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40356 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40357 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40358 echo $ECHO_N "(cached) $ECHO_C" >&6
40359 else
40360 cat >conftest.$ac_ext <<_ACEOF
40361 /* confdefs.h. */
40362 _ACEOF
40363 cat confdefs.h >>conftest.$ac_ext
40364 cat >>conftest.$ac_ext <<_ACEOF
40365 /* end confdefs.h. */
40366 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40368 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40369
40370 /* System header to define __stub macros and hopefully few prototypes,
40371 which can conflict with char pthread_attr_setstacksize (); below.
40372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40373 <limits.h> exists even on freestanding compilers. */
40374
40375 #ifdef __STDC__
40376 # include <limits.h>
40377 #else
40378 # include <assert.h>
40379 #endif
40380
40381 #undef pthread_attr_setstacksize
40382
40383 /* Override any GCC internal prototype to avoid an error.
40384 Use char because int might match the return type of a GCC
40385 builtin and then its argument prototype would still apply. */
40386 #ifdef __cplusplus
40387 extern "C"
40388 #endif
40389 char pthread_attr_setstacksize ();
40390 /* The GNU C library defines this for functions which it implements
40391 to always fail with ENOSYS. Some functions are actually named
40392 something starting with __ and the normal name is an alias. */
40393 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40394 choke me
40395 #endif
40396
40397 int
40398 main ()
40399 {
40400 return pthread_attr_setstacksize ();
40401 ;
40402 return 0;
40403 }
40404 _ACEOF
40405 rm -f conftest.$ac_objext conftest$ac_exeext
40406 if { (ac_try="$ac_link"
40407 case "(($ac_try" in
40408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40409 *) ac_try_echo=$ac_try;;
40410 esac
40411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40412 (eval "$ac_link") 2>conftest.er1
40413 ac_status=$?
40414 grep -v '^ *+' conftest.er1 >conftest.err
40415 rm -f conftest.er1
40416 cat conftest.err >&5
40417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40418 (exit $ac_status); } && {
40419 test -z "$ac_c_werror_flag" ||
40420 test ! -s conftest.err
40421 } && test -s conftest$ac_exeext &&
40422 $as_test_x conftest$ac_exeext; then
40423 ac_cv_func_pthread_attr_setstacksize=yes
40424 else
40425 echo "$as_me: failed program was:" >&5
40426 sed 's/^/| /' conftest.$ac_ext >&5
40427
40428 ac_cv_func_pthread_attr_setstacksize=no
40429 fi
40430
40431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40432 conftest$ac_exeext conftest.$ac_ext
40433 fi
40434 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40435 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40436 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40437 cat >>confdefs.h <<\_ACEOF
40438 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40439 _ACEOF
40440
40441 fi
40442
40443
40444
40445 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40446 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40447 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40448 echo $ECHO_N "(cached) $ECHO_C" >&6
40449 else
40450
40451 cat >conftest.$ac_ext <<_ACEOF
40452 /* confdefs.h. */
40453 _ACEOF
40454 cat confdefs.h >>conftest.$ac_ext
40455 cat >>conftest.$ac_ext <<_ACEOF
40456 /* end confdefs.h. */
40457 #include <pthread.h>
40458 int
40459 main ()
40460 {
40461
40462 pthread_mutexattr_t attr;
40463 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40464
40465 ;
40466 return 0;
40467 }
40468 _ACEOF
40469 rm -f conftest.$ac_objext
40470 if { (ac_try="$ac_compile"
40471 case "(($ac_try" in
40472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40473 *) ac_try_echo=$ac_try;;
40474 esac
40475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40476 (eval "$ac_compile") 2>conftest.er1
40477 ac_status=$?
40478 grep -v '^ *+' conftest.er1 >conftest.err
40479 rm -f conftest.er1
40480 cat conftest.err >&5
40481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40482 (exit $ac_status); } && {
40483 test -z "$ac_c_werror_flag" ||
40484 test ! -s conftest.err
40485 } && test -s conftest.$ac_objext; then
40486 wx_cv_type_pthread_mutexattr_t=yes
40487 else
40488 echo "$as_me: failed program was:" >&5
40489 sed 's/^/| /' conftest.$ac_ext >&5
40490
40491 wx_cv_type_pthread_mutexattr_t=no
40492
40493 fi
40494
40495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40496
40497 fi
40498 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40499 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40500
40501 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40502 cat >>confdefs.h <<\_ACEOF
40503 #define HAVE_PTHREAD_MUTEXATTR_T 1
40504 _ACEOF
40505
40506
40507 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40508 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40509 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40510 echo $ECHO_N "(cached) $ECHO_C" >&6
40511 else
40512
40513 cat >conftest.$ac_ext <<_ACEOF
40514 /* confdefs.h. */
40515 _ACEOF
40516 cat confdefs.h >>conftest.$ac_ext
40517 cat >>conftest.$ac_ext <<_ACEOF
40518 /* end confdefs.h. */
40519 #include <pthread.h>
40520 int
40521 main ()
40522 {
40523
40524 pthread_mutexattr_t attr;
40525 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40526
40527 ;
40528 return 0;
40529 }
40530 _ACEOF
40531 rm -f conftest.$ac_objext
40532 if { (ac_try="$ac_compile"
40533 case "(($ac_try" in
40534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40535 *) ac_try_echo=$ac_try;;
40536 esac
40537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40538 (eval "$ac_compile") 2>conftest.er1
40539 ac_status=$?
40540 grep -v '^ *+' conftest.er1 >conftest.err
40541 rm -f conftest.er1
40542 cat conftest.err >&5
40543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40544 (exit $ac_status); } && {
40545 test -z "$ac_c_werror_flag" ||
40546 test ! -s conftest.err
40547 } && test -s conftest.$ac_objext; then
40548 wx_cv_func_pthread_mutexattr_settype_decl=yes
40549 else
40550 echo "$as_me: failed program was:" >&5
40551 sed 's/^/| /' conftest.$ac_ext >&5
40552
40553 wx_cv_func_pthread_mutexattr_settype_decl=no
40554
40555 fi
40556
40557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40558
40559 fi
40560 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40561 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40562 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40563 cat >>confdefs.h <<\_ACEOF
40564 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40565 _ACEOF
40566
40567 fi
40568 else
40569 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40570 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40571 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40572 echo $ECHO_N "(cached) $ECHO_C" >&6
40573 else
40574
40575 cat >conftest.$ac_ext <<_ACEOF
40576 /* confdefs.h. */
40577 _ACEOF
40578 cat confdefs.h >>conftest.$ac_ext
40579 cat >>conftest.$ac_ext <<_ACEOF
40580 /* end confdefs.h. */
40581 #include <pthread.h>
40582 int
40583 main ()
40584 {
40585
40586 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40587
40588 ;
40589 return 0;
40590 }
40591 _ACEOF
40592 rm -f conftest.$ac_objext
40593 if { (ac_try="$ac_compile"
40594 case "(($ac_try" in
40595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40596 *) ac_try_echo=$ac_try;;
40597 esac
40598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40599 (eval "$ac_compile") 2>conftest.er1
40600 ac_status=$?
40601 grep -v '^ *+' conftest.er1 >conftest.err
40602 rm -f conftest.er1
40603 cat conftest.err >&5
40604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40605 (exit $ac_status); } && {
40606 test -z "$ac_c_werror_flag" ||
40607 test ! -s conftest.err
40608 } && test -s conftest.$ac_objext; then
40609
40610 wx_cv_type_pthread_rec_mutex_init=yes
40611
40612 else
40613 echo "$as_me: failed program was:" >&5
40614 sed 's/^/| /' conftest.$ac_ext >&5
40615
40616
40617 wx_cv_type_pthread_rec_mutex_init=no
40618
40619
40620 fi
40621
40622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40623
40624 fi
40625 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40626 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40627 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40628 cat >>confdefs.h <<\_ACEOF
40629 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40630 _ACEOF
40631
40632 else
40633 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40634 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40635 fi
40636 fi
40637
40638 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40639 if test "$USE_NETBSD" = 1; then
40640 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40641 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40642 wxUSE_COMPILER_TLS=no
40643 else
40644 wxUSE_COMPILER_TLS=yes
40645 fi
40646 fi
40647
40648 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40649 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40650 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40651 if test "${wx_cv_cc___thread+set}" = set; then
40652 echo $ECHO_N "(cached) $ECHO_C" >&6
40653 else
40654
40655 cat >conftest.$ac_ext <<_ACEOF
40656 /* confdefs.h. */
40657 _ACEOF
40658 cat confdefs.h >>conftest.$ac_ext
40659 cat >>conftest.$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40661 #include <pthread.h>
40662 int
40663 main ()
40664 {
40665
40666 static __thread int n = 0;
40667 static __thread int *p = 0;
40668
40669 ;
40670 return 0;
40671 }
40672 _ACEOF
40673 rm -f conftest.$ac_objext
40674 if { (ac_try="$ac_compile"
40675 case "(($ac_try" in
40676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40677 *) ac_try_echo=$ac_try;;
40678 esac
40679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40680 (eval "$ac_compile") 2>conftest.er1
40681 ac_status=$?
40682 grep -v '^ *+' conftest.er1 >conftest.err
40683 rm -f conftest.er1
40684 cat conftest.err >&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } && {
40687 test -z "$ac_c_werror_flag" ||
40688 test ! -s conftest.err
40689 } && test -s conftest.$ac_objext; then
40690 wx_cv_cc___thread=yes
40691 else
40692 echo "$as_me: failed program was:" >&5
40693 sed 's/^/| /' conftest.$ac_ext >&5
40694
40695 wx_cv_cc___thread=no
40696
40697 fi
40698
40699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40700
40701
40702 fi
40703 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40704 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40705
40706 if test "$wx_cv_cc___thread" = "yes"; then
40707
40708 GXX_VERSION=""
40709
40710
40711
40712 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40713 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40714
40715 if test "x$GCC" = "xyes" ; then
40716
40717 if test -z "" ; then
40718
40719 ax_gcc_option_test="int main()
40720 {
40721 return 0;
40722 }"
40723
40724 else
40725
40726 ax_gcc_option_test=""
40727
40728 fi
40729
40730
40731 # Dump the test program to file
40732 cat <<EOF > conftest.c
40733 $ax_gcc_option_test
40734 EOF
40735
40736 # Dump back the file to the log, useful for debugging purposes
40737 { ac_try='cat conftest.c 1>&5'
40738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40739 (eval $ac_try) 2>&5
40740 ac_status=$?
40741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742 (exit $ac_status); }; }
40743
40744 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40746 (eval $ac_try) 2>&5
40747 ac_status=$?
40748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40749 (exit $ac_status); }; } ; then
40750
40751 { echo "$as_me:$LINENO: result: yes" >&5
40752 echo "${ECHO_T}yes" >&6; }
40753
40754 ax_gcc_version_option=yes
40755
40756
40757 else
40758
40759 { echo "$as_me:$LINENO: result: no" >&5
40760 echo "${ECHO_T}no" >&6; }
40761
40762 ax_gcc_version_option=no
40763
40764
40765 fi
40766
40767
40768 else
40769
40770 { echo "$as_me:$LINENO: result: no gcc available" >&5
40771 echo "${ECHO_T}no gcc available" >&6; }
40772
40773 fi
40774
40775
40776 if test "x$GXX" = "xyes"; then
40777
40778 if test "x$ax_gxx_version_option" != "no"; then
40779
40780 { echo "$as_me:$LINENO: checking gxx version" >&5
40781 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40782 if test "${ax_cv_gxx_version+set}" = set; then
40783 echo $ECHO_N "(cached) $ECHO_C" >&6
40784 else
40785
40786 ax_cv_gxx_version="`$CXX -dumpversion`"
40787 if test "x$ax_cv_gxx_version" = "x"; then
40788
40789 ax_cv_gxx_version=""
40790
40791 fi
40792
40793
40794 fi
40795 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40796 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40797 GXX_VERSION=$ax_cv_gxx_version
40798
40799 fi
40800
40801
40802 fi
40803
40804
40805
40806 if test -n "$ax_cv_gxx_version"; then
40807 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40808 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40809 case "$ax_cv_gxx_version" in
40810 1.* | 2.* | 3.* )
40811 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40812 echo "${ECHO_T}no, it's broken" >&6; }
40813 wx_cv_cc___thread=no
40814 ;;
40815 *)
40816 { echo "$as_me:$LINENO: result: yes, it works" >&5
40817 echo "${ECHO_T}yes, it works" >&6; }
40818 ;;
40819 esac
40820 fi
40821 fi
40822
40823 if test "$wx_cv_cc___thread" = "yes"; then
40824 cat >>confdefs.h <<\_ACEOF
40825 #define HAVE___THREAD_KEYWORD 1
40826 _ACEOF
40827
40828 fi
40829 fi
40830 fi
40831
40832 else
40833 if test "$wxUSE_THREADS" = "yes" ; then
40834 case "${host}" in
40835 x86_64-*-mingw32* )
40836 ;;
40837 *-*-mingw32* )
40838 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40839 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40840 if test "${wx_cv_cflags_mthread+set}" = set; then
40841 echo $ECHO_N "(cached) $ECHO_C" >&6
40842 else
40843
40844 CFLAGS_OLD="$CFLAGS"
40845 CFLAGS="-mthreads $CFLAGS"
40846 cat >conftest.$ac_ext <<_ACEOF
40847 /* confdefs.h. */
40848 _ACEOF
40849 cat confdefs.h >>conftest.$ac_ext
40850 cat >>conftest.$ac_ext <<_ACEOF
40851 /* end confdefs.h. */
40852
40853 int
40854 main ()
40855 {
40856
40857 ;
40858 return 0;
40859 }
40860 _ACEOF
40861 rm -f conftest.$ac_objext
40862 if { (ac_try="$ac_compile"
40863 case "(($ac_try" in
40864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40865 *) ac_try_echo=$ac_try;;
40866 esac
40867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40868 (eval "$ac_compile") 2>conftest.er1
40869 ac_status=$?
40870 grep -v '^ *+' conftest.er1 >conftest.err
40871 rm -f conftest.er1
40872 cat conftest.err >&5
40873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40874 (exit $ac_status); } && {
40875 test -z "$ac_c_werror_flag" ||
40876 test ! -s conftest.err
40877 } && test -s conftest.$ac_objext; then
40878 wx_cv_cflags_mthread=yes
40879 else
40880 echo "$as_me: failed program was:" >&5
40881 sed 's/^/| /' conftest.$ac_ext >&5
40882
40883 wx_cv_cflags_mthread=no
40884
40885 fi
40886
40887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40888
40889
40890 fi
40891 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40892 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40893
40894 if test "$wx_cv_cflags_mthread" = "yes"; then
40895 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40896 LDFLAGS="$LDFLAGS -mthreads"
40897 else
40898 CFLAGS="$CFLAGS_OLD"
40899 fi
40900 ;;
40901 *-pc-os2*emx )
40902 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40903 LDFLAGS="$LDFLAGS -Zmt"
40904 ;;
40905 esac
40906 fi
40907 fi
40908
40909 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40910 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40911 if test "${ac_cv_func_localtime_r+set}" = set; then
40912 echo $ECHO_N "(cached) $ECHO_C" >&6
40913 else
40914 cat >conftest.$ac_ext <<_ACEOF
40915 /* confdefs.h. */
40916 _ACEOF
40917 cat confdefs.h >>conftest.$ac_ext
40918 cat >>conftest.$ac_ext <<_ACEOF
40919 /* end confdefs.h. */
40920 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40922 #define localtime_r innocuous_localtime_r
40923
40924 /* System header to define __stub macros and hopefully few prototypes,
40925 which can conflict with char localtime_r (); below.
40926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40927 <limits.h> exists even on freestanding compilers. */
40928
40929 #ifdef __STDC__
40930 # include <limits.h>
40931 #else
40932 # include <assert.h>
40933 #endif
40934
40935 #undef localtime_r
40936
40937 /* Override any GCC internal prototype to avoid an error.
40938 Use char because int might match the return type of a GCC
40939 builtin and then its argument prototype would still apply. */
40940 #ifdef __cplusplus
40941 extern "C"
40942 #endif
40943 char localtime_r ();
40944 /* The GNU C library defines this for functions which it implements
40945 to always fail with ENOSYS. Some functions are actually named
40946 something starting with __ and the normal name is an alias. */
40947 #if defined __stub_localtime_r || defined __stub___localtime_r
40948 choke me
40949 #endif
40950
40951 int
40952 main ()
40953 {
40954 return localtime_r ();
40955 ;
40956 return 0;
40957 }
40958 _ACEOF
40959 rm -f conftest.$ac_objext conftest$ac_exeext
40960 if { (ac_try="$ac_link"
40961 case "(($ac_try" in
40962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40963 *) ac_try_echo=$ac_try;;
40964 esac
40965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40966 (eval "$ac_link") 2>conftest.er1
40967 ac_status=$?
40968 grep -v '^ *+' conftest.er1 >conftest.err
40969 rm -f conftest.er1
40970 cat conftest.err >&5
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); } && {
40973 test -z "$ac_c_werror_flag" ||
40974 test ! -s conftest.err
40975 } && test -s conftest$ac_exeext &&
40976 $as_test_x conftest$ac_exeext; then
40977 ac_cv_func_localtime_r=yes
40978 else
40979 echo "$as_me: failed program was:" >&5
40980 sed 's/^/| /' conftest.$ac_ext >&5
40981
40982 ac_cv_func_localtime_r=no
40983 fi
40984
40985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40986 conftest$ac_exeext conftest.$ac_ext
40987 fi
40988 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40989 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40990 if test $ac_cv_func_localtime_r = yes; then
40991 cat >>confdefs.h <<\_ACEOF
40992 #define HAVE_LOCALTIME_R 1
40993 _ACEOF
40994
40995 fi
40996
40997 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40998 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40999 if test "${ac_cv_func_gmtime_r+set}" = set; then
41000 echo $ECHO_N "(cached) $ECHO_C" >&6
41001 else
41002 cat >conftest.$ac_ext <<_ACEOF
41003 /* confdefs.h. */
41004 _ACEOF
41005 cat confdefs.h >>conftest.$ac_ext
41006 cat >>conftest.$ac_ext <<_ACEOF
41007 /* end confdefs.h. */
41008 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41010 #define gmtime_r innocuous_gmtime_r
41011
41012 /* System header to define __stub macros and hopefully few prototypes,
41013 which can conflict with char gmtime_r (); below.
41014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41015 <limits.h> exists even on freestanding compilers. */
41016
41017 #ifdef __STDC__
41018 # include <limits.h>
41019 #else
41020 # include <assert.h>
41021 #endif
41022
41023 #undef gmtime_r
41024
41025 /* Override any GCC internal prototype to avoid an error.
41026 Use char because int might match the return type of a GCC
41027 builtin and then its argument prototype would still apply. */
41028 #ifdef __cplusplus
41029 extern "C"
41030 #endif
41031 char gmtime_r ();
41032 /* The GNU C library defines this for functions which it implements
41033 to always fail with ENOSYS. Some functions are actually named
41034 something starting with __ and the normal name is an alias. */
41035 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41036 choke me
41037 #endif
41038
41039 int
41040 main ()
41041 {
41042 return gmtime_r ();
41043 ;
41044 return 0;
41045 }
41046 _ACEOF
41047 rm -f conftest.$ac_objext conftest$ac_exeext
41048 if { (ac_try="$ac_link"
41049 case "(($ac_try" in
41050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41051 *) ac_try_echo=$ac_try;;
41052 esac
41053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41054 (eval "$ac_link") 2>conftest.er1
41055 ac_status=$?
41056 grep -v '^ *+' conftest.er1 >conftest.err
41057 rm -f conftest.er1
41058 cat conftest.err >&5
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); } && {
41061 test -z "$ac_c_werror_flag" ||
41062 test ! -s conftest.err
41063 } && test -s conftest$ac_exeext &&
41064 $as_test_x conftest$ac_exeext; then
41065 ac_cv_func_gmtime_r=yes
41066 else
41067 echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.$ac_ext >&5
41069
41070 ac_cv_func_gmtime_r=no
41071 fi
41072
41073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41074 conftest$ac_exeext conftest.$ac_ext
41075 fi
41076 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41077 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41078 if test $ac_cv_func_gmtime_r = yes; then
41079 cat >>confdefs.h <<\_ACEOF
41080 #define HAVE_GMTIME_R 1
41081 _ACEOF
41082
41083 fi
41084
41085
41086
41087
41088 ac_ext=c
41089 ac_cpp='$CPP $CPPFLAGS'
41090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41093
41094 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41095 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41096
41097 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41098 echo $ECHO_N "(cached) $ECHO_C" >&6
41099 else
41100
41101
41102 ################################################################
41103
41104 ac_cv_func_which_gethostbyname_r=unknown
41105
41106 #
41107 # ONE ARGUMENT (sanity check)
41108 #
41109
41110 # This should fail, as there is no variant of gethostbyname_r() that takes
41111 # a single argument. If it actually compiles, then we can assume that
41112 # netdb.h is not declaring the function, and the compiler is thereby
41113 # assuming an implicit prototype. In which case, we're out of luck.
41114 #
41115 cat >conftest.$ac_ext <<_ACEOF
41116 /* confdefs.h. */
41117 _ACEOF
41118 cat confdefs.h >>conftest.$ac_ext
41119 cat >>conftest.$ac_ext <<_ACEOF
41120 /* end confdefs.h. */
41121 #include <netdb.h>
41122 int
41123 main ()
41124 {
41125
41126 char *name = "www.gnu.org";
41127 (void)gethostbyname_r(name) /* ; */
41128
41129 ;
41130 return 0;
41131 }
41132 _ACEOF
41133 rm -f conftest.$ac_objext
41134 if { (ac_try="$ac_compile"
41135 case "(($ac_try" in
41136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41137 *) ac_try_echo=$ac_try;;
41138 esac
41139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41140 (eval "$ac_compile") 2>conftest.er1
41141 ac_status=$?
41142 grep -v '^ *+' conftest.er1 >conftest.err
41143 rm -f conftest.er1
41144 cat conftest.err >&5
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); } && {
41147 test -z "$ac_c_werror_flag" ||
41148 test ! -s conftest.err
41149 } && test -s conftest.$ac_objext; then
41150 ac_cv_func_which_gethostbyname_r=no
41151 else
41152 echo "$as_me: failed program was:" >&5
41153 sed 's/^/| /' conftest.$ac_ext >&5
41154
41155
41156 fi
41157
41158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41159
41160 #
41161 # SIX ARGUMENTS
41162 # (e.g. Linux)
41163 #
41164
41165 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41166
41167 cat >conftest.$ac_ext <<_ACEOF
41168 /* confdefs.h. */
41169 _ACEOF
41170 cat confdefs.h >>conftest.$ac_ext
41171 cat >>conftest.$ac_ext <<_ACEOF
41172 /* end confdefs.h. */
41173 #include <netdb.h>
41174 int
41175 main ()
41176 {
41177
41178 char *name = "www.gnu.org";
41179 struct hostent ret, *retp;
41180 char buf[1024];
41181 int buflen = 1024;
41182 int my_h_errno;
41183 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41184
41185 ;
41186 return 0;
41187 }
41188 _ACEOF
41189 rm -f conftest.$ac_objext
41190 if { (ac_try="$ac_compile"
41191 case "(($ac_try" in
41192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41193 *) ac_try_echo=$ac_try;;
41194 esac
41195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41196 (eval "$ac_compile") 2>conftest.er1
41197 ac_status=$?
41198 grep -v '^ *+' conftest.er1 >conftest.err
41199 rm -f conftest.er1
41200 cat conftest.err >&5
41201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202 (exit $ac_status); } && {
41203 test -z "$ac_c_werror_flag" ||
41204 test ! -s conftest.err
41205 } && test -s conftest.$ac_objext; then
41206 ac_cv_func_which_gethostbyname_r=six
41207 else
41208 echo "$as_me: failed program was:" >&5
41209 sed 's/^/| /' conftest.$ac_ext >&5
41210
41211
41212 fi
41213
41214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41215
41216 fi
41217
41218 #
41219 # FIVE ARGUMENTS
41220 # (e.g. Solaris)
41221 #
41222
41223 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41224
41225 cat >conftest.$ac_ext <<_ACEOF
41226 /* confdefs.h. */
41227 _ACEOF
41228 cat confdefs.h >>conftest.$ac_ext
41229 cat >>conftest.$ac_ext <<_ACEOF
41230 /* end confdefs.h. */
41231 #include <netdb.h>
41232 int
41233 main ()
41234 {
41235
41236 char *name = "www.gnu.org";
41237 struct hostent ret;
41238 char buf[1024];
41239 int buflen = 1024;
41240 int my_h_errno;
41241 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41242
41243 ;
41244 return 0;
41245 }
41246 _ACEOF
41247 rm -f conftest.$ac_objext
41248 if { (ac_try="$ac_compile"
41249 case "(($ac_try" in
41250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41251 *) ac_try_echo=$ac_try;;
41252 esac
41253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41254 (eval "$ac_compile") 2>conftest.er1
41255 ac_status=$?
41256 grep -v '^ *+' conftest.er1 >conftest.err
41257 rm -f conftest.er1
41258 cat conftest.err >&5
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); } && {
41261 test -z "$ac_c_werror_flag" ||
41262 test ! -s conftest.err
41263 } && test -s conftest.$ac_objext; then
41264 ac_cv_func_which_gethostbyname_r=five
41265 else
41266 echo "$as_me: failed program was:" >&5
41267 sed 's/^/| /' conftest.$ac_ext >&5
41268
41269
41270 fi
41271
41272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41273
41274 fi
41275
41276 #
41277 # THREE ARGUMENTS
41278 # (e.g. AIX, HP-UX, Tru64)
41279 #
41280
41281 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41282
41283 cat >conftest.$ac_ext <<_ACEOF
41284 /* confdefs.h. */
41285 _ACEOF
41286 cat confdefs.h >>conftest.$ac_ext
41287 cat >>conftest.$ac_ext <<_ACEOF
41288 /* end confdefs.h. */
41289 #include <netdb.h>
41290 int
41291 main ()
41292 {
41293
41294 char *name = "www.gnu.org";
41295 struct hostent ret;
41296 struct hostent_data data;
41297 (void)gethostbyname_r(name, &ret, &data) /* ; */
41298
41299 ;
41300 return 0;
41301 }
41302 _ACEOF
41303 rm -f conftest.$ac_objext
41304 if { (ac_try="$ac_compile"
41305 case "(($ac_try" in
41306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41307 *) ac_try_echo=$ac_try;;
41308 esac
41309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41310 (eval "$ac_compile") 2>conftest.er1
41311 ac_status=$?
41312 grep -v '^ *+' conftest.er1 >conftest.err
41313 rm -f conftest.er1
41314 cat conftest.err >&5
41315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41316 (exit $ac_status); } && {
41317 test -z "$ac_c_werror_flag" ||
41318 test ! -s conftest.err
41319 } && test -s conftest.$ac_objext; then
41320 ac_cv_func_which_gethostbyname_r=three
41321 else
41322 echo "$as_me: failed program was:" >&5
41323 sed 's/^/| /' conftest.$ac_ext >&5
41324
41325
41326 fi
41327
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329
41330 fi
41331
41332 ################################################################
41333
41334
41335 fi
41336
41337 case "$ac_cv_func_which_gethostbyname_r" in
41338 three)
41339 { echo "$as_me:$LINENO: result: three" >&5
41340 echo "${ECHO_T}three" >&6; }
41341 cat >>confdefs.h <<\_ACEOF
41342 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41343 _ACEOF
41344
41345 ;;
41346
41347 five)
41348 { echo "$as_me:$LINENO: result: five" >&5
41349 echo "${ECHO_T}five" >&6; }
41350 cat >>confdefs.h <<\_ACEOF
41351 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41352 _ACEOF
41353
41354 ;;
41355
41356 six)
41357 { echo "$as_me:$LINENO: result: six" >&5
41358 echo "${ECHO_T}six" >&6; }
41359 cat >>confdefs.h <<\_ACEOF
41360 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41361 _ACEOF
41362
41363 ;;
41364
41365 no)
41366 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41367 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41368 ;;
41369
41370 unknown)
41371 { echo "$as_me:$LINENO: result: can't tell" >&5
41372 echo "${ECHO_T}can't tell" >&6; }
41373 ;;
41374
41375 *)
41376 { { echo "$as_me:$LINENO: error: internal error" >&5
41377 echo "$as_me: error: internal error" >&2;}
41378 { (exit 1); exit 1; }; }
41379 ;;
41380 esac
41381
41382 ac_ext=c
41383 ac_cpp='$CPP $CPPFLAGS'
41384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41387
41388
41389
41390 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41391 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41392 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41393 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41394 if test "${ac_cv_func_gethostbyname+set}" = set; then
41395 echo $ECHO_N "(cached) $ECHO_C" >&6
41396 else
41397 cat >conftest.$ac_ext <<_ACEOF
41398 /* confdefs.h. */
41399 _ACEOF
41400 cat confdefs.h >>conftest.$ac_ext
41401 cat >>conftest.$ac_ext <<_ACEOF
41402 /* end confdefs.h. */
41403 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41405 #define gethostbyname innocuous_gethostbyname
41406
41407 /* System header to define __stub macros and hopefully few prototypes,
41408 which can conflict with char gethostbyname (); below.
41409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41410 <limits.h> exists even on freestanding compilers. */
41411
41412 #ifdef __STDC__
41413 # include <limits.h>
41414 #else
41415 # include <assert.h>
41416 #endif
41417
41418 #undef gethostbyname
41419
41420 /* Override any GCC internal prototype to avoid an error.
41421 Use char because int might match the return type of a GCC
41422 builtin and then its argument prototype would still apply. */
41423 #ifdef __cplusplus
41424 extern "C"
41425 #endif
41426 char gethostbyname ();
41427 /* The GNU C library defines this for functions which it implements
41428 to always fail with ENOSYS. Some functions are actually named
41429 something starting with __ and the normal name is an alias. */
41430 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41431 choke me
41432 #endif
41433
41434 int
41435 main ()
41436 {
41437 return gethostbyname ();
41438 ;
41439 return 0;
41440 }
41441 _ACEOF
41442 rm -f conftest.$ac_objext conftest$ac_exeext
41443 if { (ac_try="$ac_link"
41444 case "(($ac_try" in
41445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41446 *) ac_try_echo=$ac_try;;
41447 esac
41448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41449 (eval "$ac_link") 2>conftest.er1
41450 ac_status=$?
41451 grep -v '^ *+' conftest.er1 >conftest.err
41452 rm -f conftest.er1
41453 cat conftest.err >&5
41454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41455 (exit $ac_status); } && {
41456 test -z "$ac_c_werror_flag" ||
41457 test ! -s conftest.err
41458 } && test -s conftest$ac_exeext &&
41459 $as_test_x conftest$ac_exeext; then
41460 ac_cv_func_gethostbyname=yes
41461 else
41462 echo "$as_me: failed program was:" >&5
41463 sed 's/^/| /' conftest.$ac_ext >&5
41464
41465 ac_cv_func_gethostbyname=no
41466 fi
41467
41468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41469 conftest$ac_exeext conftest.$ac_ext
41470 fi
41471 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41472 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41473 if test $ac_cv_func_gethostbyname = yes; then
41474 cat >>confdefs.h <<\_ACEOF
41475 #define HAVE_GETHOSTBYNAME 1
41476 _ACEOF
41477
41478 fi
41479
41480 fi
41481
41482 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41483 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41484 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41485 echo $ECHO_N "(cached) $ECHO_C" >&6
41486 else
41487
41488 ac_ext=cpp
41489 ac_cpp='$CXXCPP $CPPFLAGS'
41490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41493
41494
41495 cat >conftest.$ac_ext <<_ACEOF
41496 /* confdefs.h. */
41497 _ACEOF
41498 cat confdefs.h >>conftest.$ac_ext
41499 cat >>conftest.$ac_ext <<_ACEOF
41500 /* end confdefs.h. */
41501 #include <netdb.h>
41502 int
41503 main ()
41504 {
41505
41506 char *name;
41507 char *proto;
41508 struct servent *se, *res;
41509 char buffer[2048];
41510 int buflen = 2048;
41511 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41512
41513 ;
41514 return 0;
41515 }
41516 _ACEOF
41517 rm -f conftest.$ac_objext
41518 if { (ac_try="$ac_compile"
41519 case "(($ac_try" in
41520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41521 *) ac_try_echo=$ac_try;;
41522 esac
41523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41524 (eval "$ac_compile") 2>conftest.er1
41525 ac_status=$?
41526 grep -v '^ *+' conftest.er1 >conftest.err
41527 rm -f conftest.er1
41528 cat conftest.err >&5
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); } && {
41531 test -z "$ac_cxx_werror_flag" ||
41532 test ! -s conftest.err
41533 } && test -s conftest.$ac_objext; then
41534 ac_cv_func_which_getservbyname_r=six
41535 else
41536 echo "$as_me: failed program was:" >&5
41537 sed 's/^/| /' conftest.$ac_ext >&5
41538
41539
41540 cat >conftest.$ac_ext <<_ACEOF
41541 /* confdefs.h. */
41542 _ACEOF
41543 cat confdefs.h >>conftest.$ac_ext
41544 cat >>conftest.$ac_ext <<_ACEOF
41545 /* end confdefs.h. */
41546 #include <netdb.h>
41547 int
41548 main ()
41549 {
41550
41551 char *name;
41552 char *proto;
41553 struct servent *se;
41554 char buffer[2048];
41555 int buflen = 2048;
41556 (void) getservbyname_r(name, proto, se, buffer, buflen)
41557
41558 ;
41559 return 0;
41560 }
41561 _ACEOF
41562 rm -f conftest.$ac_objext
41563 if { (ac_try="$ac_compile"
41564 case "(($ac_try" in
41565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41566 *) ac_try_echo=$ac_try;;
41567 esac
41568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41569 (eval "$ac_compile") 2>conftest.er1
41570 ac_status=$?
41571 grep -v '^ *+' conftest.er1 >conftest.err
41572 rm -f conftest.er1
41573 cat conftest.err >&5
41574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41575 (exit $ac_status); } && {
41576 test -z "$ac_cxx_werror_flag" ||
41577 test ! -s conftest.err
41578 } && test -s conftest.$ac_objext; then
41579 ac_cv_func_which_getservbyname_r=five
41580 else
41581 echo "$as_me: failed program was:" >&5
41582 sed 's/^/| /' conftest.$ac_ext >&5
41583
41584
41585 cat >conftest.$ac_ext <<_ACEOF
41586 /* confdefs.h. */
41587 _ACEOF
41588 cat confdefs.h >>conftest.$ac_ext
41589 cat >>conftest.$ac_ext <<_ACEOF
41590 /* end confdefs.h. */
41591 #include <netdb.h>
41592 int
41593 main ()
41594 {
41595
41596 char *name;
41597 char *proto;
41598 struct servent *se;
41599 struct servent_data data;
41600 (void) getservbyname_r(name, proto, se, &data);
41601
41602 ;
41603 return 0;
41604 }
41605 _ACEOF
41606 rm -f conftest.$ac_objext
41607 if { (ac_try="$ac_compile"
41608 case "(($ac_try" in
41609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41610 *) ac_try_echo=$ac_try;;
41611 esac
41612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41613 (eval "$ac_compile") 2>conftest.er1
41614 ac_status=$?
41615 grep -v '^ *+' conftest.er1 >conftest.err
41616 rm -f conftest.er1
41617 cat conftest.err >&5
41618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41619 (exit $ac_status); } && {
41620 test -z "$ac_cxx_werror_flag" ||
41621 test ! -s conftest.err
41622 } && test -s conftest.$ac_objext; then
41623 ac_cv_func_which_getservbyname_r=four
41624 else
41625 echo "$as_me: failed program was:" >&5
41626 sed 's/^/| /' conftest.$ac_ext >&5
41627
41628 ac_cv_func_which_getservbyname_r=no
41629
41630 fi
41631
41632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41633
41634
41635 fi
41636
41637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41638
41639
41640 fi
41641
41642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41643 ac_ext=c
41644 ac_cpp='$CPP $CPPFLAGS'
41645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41648
41649
41650
41651 fi
41652 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41653 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41654
41655 if test $ac_cv_func_which_getservbyname_r = six; then
41656 cat >>confdefs.h <<\_ACEOF
41657 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41658 _ACEOF
41659
41660 elif test $ac_cv_func_which_getservbyname_r = five; then
41661 cat >>confdefs.h <<\_ACEOF
41662 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41663 _ACEOF
41664
41665 elif test $ac_cv_func_which_getservbyname_r = four; then
41666 cat >>confdefs.h <<\_ACEOF
41667 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41668 _ACEOF
41669
41670 fi
41671
41672
41673 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41674 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41675
41676 for ac_func in getservbyname
41677 do
41678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41679 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41681 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41682 echo $ECHO_N "(cached) $ECHO_C" >&6
41683 else
41684 cat >conftest.$ac_ext <<_ACEOF
41685 /* confdefs.h. */
41686 _ACEOF
41687 cat confdefs.h >>conftest.$ac_ext
41688 cat >>conftest.$ac_ext <<_ACEOF
41689 /* end confdefs.h. */
41690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41692 #define $ac_func innocuous_$ac_func
41693
41694 /* System header to define __stub macros and hopefully few prototypes,
41695 which can conflict with char $ac_func (); below.
41696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41697 <limits.h> exists even on freestanding compilers. */
41698
41699 #ifdef __STDC__
41700 # include <limits.h>
41701 #else
41702 # include <assert.h>
41703 #endif
41704
41705 #undef $ac_func
41706
41707 /* Override any GCC internal prototype to avoid an error.
41708 Use char because int might match the return type of a GCC
41709 builtin and then its argument prototype would still apply. */
41710 #ifdef __cplusplus
41711 extern "C"
41712 #endif
41713 char $ac_func ();
41714 /* The GNU C library defines this for functions which it implements
41715 to always fail with ENOSYS. Some functions are actually named
41716 something starting with __ and the normal name is an alias. */
41717 #if defined __stub_$ac_func || defined __stub___$ac_func
41718 choke me
41719 #endif
41720
41721 int
41722 main ()
41723 {
41724 return $ac_func ();
41725 ;
41726 return 0;
41727 }
41728 _ACEOF
41729 rm -f conftest.$ac_objext conftest$ac_exeext
41730 if { (ac_try="$ac_link"
41731 case "(($ac_try" in
41732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41733 *) ac_try_echo=$ac_try;;
41734 esac
41735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41736 (eval "$ac_link") 2>conftest.er1
41737 ac_status=$?
41738 grep -v '^ *+' conftest.er1 >conftest.err
41739 rm -f conftest.er1
41740 cat conftest.err >&5
41741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41742 (exit $ac_status); } && {
41743 test -z "$ac_c_werror_flag" ||
41744 test ! -s conftest.err
41745 } && test -s conftest$ac_exeext &&
41746 $as_test_x conftest$ac_exeext; then
41747 eval "$as_ac_var=yes"
41748 else
41749 echo "$as_me: failed program was:" >&5
41750 sed 's/^/| /' conftest.$ac_ext >&5
41751
41752 eval "$as_ac_var=no"
41753 fi
41754
41755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41756 conftest$ac_exeext conftest.$ac_ext
41757 fi
41758 ac_res=`eval echo '${'$as_ac_var'}'`
41759 { echo "$as_me:$LINENO: result: $ac_res" >&5
41760 echo "${ECHO_T}$ac_res" >&6; }
41761 if test `eval echo '${'$as_ac_var'}'` = yes; then
41762 cat >>confdefs.h <<_ACEOF
41763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41764 _ACEOF
41765 cat >>confdefs.h <<\_ACEOF
41766 #define HAVE_GETSERVBYNAME 1
41767 _ACEOF
41768
41769 fi
41770 done
41771
41772 fi
41773
41774 if test "$wxUSE_THREADS" = "yes"; then
41775 cat >>confdefs.h <<\_ACEOF
41776 #define wxUSE_THREADS 1
41777 _ACEOF
41778
41779
41780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41781 else
41782 if test "$wx_cv_func_strtok_r" = "yes"; then
41783 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41784 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41785 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41786 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41787 { echo "$as_me:$LINENO: result: yes" >&5
41788 echo "${ECHO_T}yes" >&6; }
41789 else
41790 { echo "$as_me:$LINENO: result: no" >&5
41791 echo "${ECHO_T}no" >&6; }
41792 fi
41793 fi
41794 fi
41795
41796 if test "$WXGTK2" = 1 ; then
41797 cat >>confdefs.h <<_ACEOF
41798 #define __WXGTK20__ $WXGTK2
41799 _ACEOF
41800
41801 WXGTK12=1
41802 fi
41803
41804 if test "$WXGTK12" = 1 ; then
41805 cat >>confdefs.h <<_ACEOF
41806 #define __WXGTK12__ $WXGTK12
41807 _ACEOF
41808
41809 fi
41810
41811 if test "$WXGTK127" = 1 ; then
41812 cat >>confdefs.h <<_ACEOF
41813 #define __WXGTK127__ $WXGTK127
41814 _ACEOF
41815
41816 fi
41817
41818 if test "$WXGPE" = 1 ; then
41819 cat >>confdefs.h <<_ACEOF
41820 #define __WXGPE__ $WXGPE
41821 _ACEOF
41822
41823 fi
41824
41825 DEBUG_CFLAGS=
41826 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41827 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41828 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41829 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41830 DEBUG_CFLAGS="-g"
41831 fi
41832
41833 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41834 wxUSE_DEBUG_INFO=yes
41835 if test "$GCC" = yes; then
41836 DEBUG_CFLAGS="-ggdb"
41837 fi
41838 fi
41839
41840 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41841 if test "$wxUSE_GTK" = 1 ; then
41842 if test "x$wxGTK_VERSION" = "x1" ; then
41843 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41844 fi
41845 fi
41846 fi
41847
41848 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41849 cat >>confdefs.h <<\_ACEOF
41850 #define wxUSE_MEMORY_TRACING 1
41851 _ACEOF
41852
41853 cat >>confdefs.h <<\_ACEOF
41854 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41855 _ACEOF
41856
41857 cat >>confdefs.h <<\_ACEOF
41858 #define wxUSE_DEBUG_NEW_ALWAYS 1
41859 _ACEOF
41860
41861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41862 fi
41863
41864 if test "$wxUSE_DMALLOC" = "yes" ; then
41865 DMALLOC_LIBS="-ldmallocthcxx"
41866 fi
41867
41868 PROFILE_FLAGS=
41869 if test "$wxUSE_PROFILE" = "yes" ; then
41870 PROFILE_FLAGS=" -pg"
41871 fi
41872
41873 if test "$GCC" = "yes" ; then
41874 if test "$wxUSE_NO_RTTI" = "yes" ; then
41875 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41876 fi
41877 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41878 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41879 fi
41880 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41881 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41882 fi
41883
41884 case "${host}" in
41885 powerpc*-*-aix* )
41886 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41887 ;;
41888 *-hppa* )
41889 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41890 ;;
41891 esac
41892 fi
41893
41894 OPTIMISE_CFLAGS=
41895 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41896 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41897 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41898 else
41899 if test "$wxUSE_OPTIMISE" = "no" ; then
41900 if test "$GCC" = yes ; then
41901 OPTIMISE_CFLAGS="-O0"
41902 fi
41903 else
41904 if test "$GCC" = yes ; then
41905 case "${host}" in
41906 *-pc-os2_emx | *-pc-os2-emx )
41907 OPTIMISE_CFLAGS="-O2"
41908 ;;
41909 *)
41910 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41911 ;;
41912 esac
41913 else
41914 OPTIMISE_CFLAGS="-O"
41915 fi
41916 fi
41917 fi
41918
41919
41920 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41921 cat >>confdefs.h <<\_ACEOF
41922 #define WXWIN_COMPATIBILITY_2_6 1
41923 _ACEOF
41924
41925
41926 WXWIN_COMPATIBILITY_2_8="yes"
41927 fi
41928
41929 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41930 cat >>confdefs.h <<\_ACEOF
41931 #define WXWIN_COMPATIBILITY_2_8 1
41932 _ACEOF
41933
41934 fi
41935
41936
41937 if test "$wxUSE_GUI" = "yes"; then
41938 cat >>confdefs.h <<\_ACEOF
41939 #define wxUSE_GUI 1
41940 _ACEOF
41941
41942
41943 fi
41944
41945
41946 if test "$wxUSE_UNIX" = "yes"; then
41947 cat >>confdefs.h <<\_ACEOF
41948 #define wxUSE_UNIX 1
41949 _ACEOF
41950
41951 fi
41952
41953
41954 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41955
41956 HAVE_DL_FUNCS=0
41957 HAVE_SHL_FUNCS=0
41958 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41959 if test "$USE_DOS" = 1; then
41960 HAVE_DL_FUNCS=0
41961 else
41962
41963 for ac_func in dlopen
41964 do
41965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41969 echo $ECHO_N "(cached) $ECHO_C" >&6
41970 else
41971 cat >conftest.$ac_ext <<_ACEOF
41972 /* confdefs.h. */
41973 _ACEOF
41974 cat confdefs.h >>conftest.$ac_ext
41975 cat >>conftest.$ac_ext <<_ACEOF
41976 /* end confdefs.h. */
41977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41979 #define $ac_func innocuous_$ac_func
41980
41981 /* System header to define __stub macros and hopefully few prototypes,
41982 which can conflict with char $ac_func (); below.
41983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41984 <limits.h> exists even on freestanding compilers. */
41985
41986 #ifdef __STDC__
41987 # include <limits.h>
41988 #else
41989 # include <assert.h>
41990 #endif
41991
41992 #undef $ac_func
41993
41994 /* Override any GCC internal prototype to avoid an error.
41995 Use char because int might match the return type of a GCC
41996 builtin and then its argument prototype would still apply. */
41997 #ifdef __cplusplus
41998 extern "C"
41999 #endif
42000 char $ac_func ();
42001 /* The GNU C library defines this for functions which it implements
42002 to always fail with ENOSYS. Some functions are actually named
42003 something starting with __ and the normal name is an alias. */
42004 #if defined __stub_$ac_func || defined __stub___$ac_func
42005 choke me
42006 #endif
42007
42008 int
42009 main ()
42010 {
42011 return $ac_func ();
42012 ;
42013 return 0;
42014 }
42015 _ACEOF
42016 rm -f conftest.$ac_objext conftest$ac_exeext
42017 if { (ac_try="$ac_link"
42018 case "(($ac_try" in
42019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42020 *) ac_try_echo=$ac_try;;
42021 esac
42022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42023 (eval "$ac_link") 2>conftest.er1
42024 ac_status=$?
42025 grep -v '^ *+' conftest.er1 >conftest.err
42026 rm -f conftest.er1
42027 cat conftest.err >&5
42028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42029 (exit $ac_status); } && {
42030 test -z "$ac_c_werror_flag" ||
42031 test ! -s conftest.err
42032 } && test -s conftest$ac_exeext &&
42033 $as_test_x conftest$ac_exeext; then
42034 eval "$as_ac_var=yes"
42035 else
42036 echo "$as_me: failed program was:" >&5
42037 sed 's/^/| /' conftest.$ac_ext >&5
42038
42039 eval "$as_ac_var=no"
42040 fi
42041
42042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42043 conftest$ac_exeext conftest.$ac_ext
42044 fi
42045 ac_res=`eval echo '${'$as_ac_var'}'`
42046 { echo "$as_me:$LINENO: result: $ac_res" >&5
42047 echo "${ECHO_T}$ac_res" >&6; }
42048 if test `eval echo '${'$as_ac_var'}'` = yes; then
42049 cat >>confdefs.h <<_ACEOF
42050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42051 _ACEOF
42052
42053 cat >>confdefs.h <<\_ACEOF
42054 #define HAVE_DLOPEN 1
42055 _ACEOF
42056
42057 HAVE_DL_FUNCS=1
42058
42059 else
42060
42061 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42062 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42063 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42064 echo $ECHO_N "(cached) $ECHO_C" >&6
42065 else
42066 ac_check_lib_save_LIBS=$LIBS
42067 LIBS="-ldl $LIBS"
42068 cat >conftest.$ac_ext <<_ACEOF
42069 /* confdefs.h. */
42070 _ACEOF
42071 cat confdefs.h >>conftest.$ac_ext
42072 cat >>conftest.$ac_ext <<_ACEOF
42073 /* end confdefs.h. */
42074
42075 /* Override any GCC internal prototype to avoid an error.
42076 Use char because int might match the return type of a GCC
42077 builtin and then its argument prototype would still apply. */
42078 #ifdef __cplusplus
42079 extern "C"
42080 #endif
42081 char dlopen ();
42082 int
42083 main ()
42084 {
42085 return dlopen ();
42086 ;
42087 return 0;
42088 }
42089 _ACEOF
42090 rm -f conftest.$ac_objext conftest$ac_exeext
42091 if { (ac_try="$ac_link"
42092 case "(($ac_try" in
42093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42094 *) ac_try_echo=$ac_try;;
42095 esac
42096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42097 (eval "$ac_link") 2>conftest.er1
42098 ac_status=$?
42099 grep -v '^ *+' conftest.er1 >conftest.err
42100 rm -f conftest.er1
42101 cat conftest.err >&5
42102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42103 (exit $ac_status); } && {
42104 test -z "$ac_c_werror_flag" ||
42105 test ! -s conftest.err
42106 } && test -s conftest$ac_exeext &&
42107 $as_test_x conftest$ac_exeext; then
42108 ac_cv_lib_dl_dlopen=yes
42109 else
42110 echo "$as_me: failed program was:" >&5
42111 sed 's/^/| /' conftest.$ac_ext >&5
42112
42113 ac_cv_lib_dl_dlopen=no
42114 fi
42115
42116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42117 conftest$ac_exeext conftest.$ac_ext
42118 LIBS=$ac_check_lib_save_LIBS
42119 fi
42120 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42121 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42122 if test $ac_cv_lib_dl_dlopen = yes; then
42123
42124 cat >>confdefs.h <<\_ACEOF
42125 #define HAVE_DLOPEN 1
42126 _ACEOF
42127
42128 HAVE_DL_FUNCS=1
42129 DL_LINK=" -ldl$DL_LINK"
42130
42131 else
42132
42133
42134 for ac_func in shl_load
42135 do
42136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42137 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42139 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42140 echo $ECHO_N "(cached) $ECHO_C" >&6
42141 else
42142 cat >conftest.$ac_ext <<_ACEOF
42143 /* confdefs.h. */
42144 _ACEOF
42145 cat confdefs.h >>conftest.$ac_ext
42146 cat >>conftest.$ac_ext <<_ACEOF
42147 /* end confdefs.h. */
42148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42150 #define $ac_func innocuous_$ac_func
42151
42152 /* System header to define __stub macros and hopefully few prototypes,
42153 which can conflict with char $ac_func (); below.
42154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42155 <limits.h> exists even on freestanding compilers. */
42156
42157 #ifdef __STDC__
42158 # include <limits.h>
42159 #else
42160 # include <assert.h>
42161 #endif
42162
42163 #undef $ac_func
42164
42165 /* Override any GCC internal prototype to avoid an error.
42166 Use char because int might match the return type of a GCC
42167 builtin and then its argument prototype would still apply. */
42168 #ifdef __cplusplus
42169 extern "C"
42170 #endif
42171 char $ac_func ();
42172 /* The GNU C library defines this for functions which it implements
42173 to always fail with ENOSYS. Some functions are actually named
42174 something starting with __ and the normal name is an alias. */
42175 #if defined __stub_$ac_func || defined __stub___$ac_func
42176 choke me
42177 #endif
42178
42179 int
42180 main ()
42181 {
42182 return $ac_func ();
42183 ;
42184 return 0;
42185 }
42186 _ACEOF
42187 rm -f conftest.$ac_objext conftest$ac_exeext
42188 if { (ac_try="$ac_link"
42189 case "(($ac_try" in
42190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42191 *) ac_try_echo=$ac_try;;
42192 esac
42193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42194 (eval "$ac_link") 2>conftest.er1
42195 ac_status=$?
42196 grep -v '^ *+' conftest.er1 >conftest.err
42197 rm -f conftest.er1
42198 cat conftest.err >&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); } && {
42201 test -z "$ac_c_werror_flag" ||
42202 test ! -s conftest.err
42203 } && test -s conftest$ac_exeext &&
42204 $as_test_x conftest$ac_exeext; then
42205 eval "$as_ac_var=yes"
42206 else
42207 echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.$ac_ext >&5
42209
42210 eval "$as_ac_var=no"
42211 fi
42212
42213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42214 conftest$ac_exeext conftest.$ac_ext
42215 fi
42216 ac_res=`eval echo '${'$as_ac_var'}'`
42217 { echo "$as_me:$LINENO: result: $ac_res" >&5
42218 echo "${ECHO_T}$ac_res" >&6; }
42219 if test `eval echo '${'$as_ac_var'}'` = yes; then
42220 cat >>confdefs.h <<_ACEOF
42221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42222 _ACEOF
42223
42224 cat >>confdefs.h <<\_ACEOF
42225 #define HAVE_SHL_LOAD 1
42226 _ACEOF
42227
42228 HAVE_SHL_FUNCS=1
42229
42230 else
42231
42232 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42233 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42234 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42235 echo $ECHO_N "(cached) $ECHO_C" >&6
42236 else
42237 ac_check_lib_save_LIBS=$LIBS
42238 LIBS="-lshl_load $LIBS"
42239 cat >conftest.$ac_ext <<_ACEOF
42240 /* confdefs.h. */
42241 _ACEOF
42242 cat confdefs.h >>conftest.$ac_ext
42243 cat >>conftest.$ac_ext <<_ACEOF
42244 /* end confdefs.h. */
42245
42246 /* Override any GCC internal prototype to avoid an error.
42247 Use char because int might match the return type of a GCC
42248 builtin and then its argument prototype would still apply. */
42249 #ifdef __cplusplus
42250 extern "C"
42251 #endif
42252 char dld ();
42253 int
42254 main ()
42255 {
42256 return dld ();
42257 ;
42258 return 0;
42259 }
42260 _ACEOF
42261 rm -f conftest.$ac_objext conftest$ac_exeext
42262 if { (ac_try="$ac_link"
42263 case "(($ac_try" in
42264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42265 *) ac_try_echo=$ac_try;;
42266 esac
42267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42268 (eval "$ac_link") 2>conftest.er1
42269 ac_status=$?
42270 grep -v '^ *+' conftest.er1 >conftest.err
42271 rm -f conftest.er1
42272 cat conftest.err >&5
42273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42274 (exit $ac_status); } && {
42275 test -z "$ac_c_werror_flag" ||
42276 test ! -s conftest.err
42277 } && test -s conftest$ac_exeext &&
42278 $as_test_x conftest$ac_exeext; then
42279 ac_cv_lib_shl_load_dld=yes
42280 else
42281 echo "$as_me: failed program was:" >&5
42282 sed 's/^/| /' conftest.$ac_ext >&5
42283
42284 ac_cv_lib_shl_load_dld=no
42285 fi
42286
42287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42288 conftest$ac_exeext conftest.$ac_ext
42289 LIBS=$ac_check_lib_save_LIBS
42290 fi
42291 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42292 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42293 if test $ac_cv_lib_shl_load_dld = yes; then
42294
42295 HAVE_SHL_FUNCS=1
42296 DL_LINK=" -ldld$DL_LINK"
42297
42298 fi
42299
42300
42301 fi
42302 done
42303
42304
42305 fi
42306
42307
42308 fi
42309 done
42310
42311
42312 if test "$HAVE_DL_FUNCS" = 1; then
42313
42314 for ac_func in dlerror
42315 do
42316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42320 echo $ECHO_N "(cached) $ECHO_C" >&6
42321 else
42322 cat >conftest.$ac_ext <<_ACEOF
42323 /* confdefs.h. */
42324 _ACEOF
42325 cat confdefs.h >>conftest.$ac_ext
42326 cat >>conftest.$ac_ext <<_ACEOF
42327 /* end confdefs.h. */
42328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42330 #define $ac_func innocuous_$ac_func
42331
42332 /* System header to define __stub macros and hopefully few prototypes,
42333 which can conflict with char $ac_func (); below.
42334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42335 <limits.h> exists even on freestanding compilers. */
42336
42337 #ifdef __STDC__
42338 # include <limits.h>
42339 #else
42340 # include <assert.h>
42341 #endif
42342
42343 #undef $ac_func
42344
42345 /* Override any GCC internal prototype to avoid an error.
42346 Use char because int might match the return type of a GCC
42347 builtin and then its argument prototype would still apply. */
42348 #ifdef __cplusplus
42349 extern "C"
42350 #endif
42351 char $ac_func ();
42352 /* The GNU C library defines this for functions which it implements
42353 to always fail with ENOSYS. Some functions are actually named
42354 something starting with __ and the normal name is an alias. */
42355 #if defined __stub_$ac_func || defined __stub___$ac_func
42356 choke me
42357 #endif
42358
42359 int
42360 main ()
42361 {
42362 return $ac_func ();
42363 ;
42364 return 0;
42365 }
42366 _ACEOF
42367 rm -f conftest.$ac_objext conftest$ac_exeext
42368 if { (ac_try="$ac_link"
42369 case "(($ac_try" in
42370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42371 *) ac_try_echo=$ac_try;;
42372 esac
42373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42374 (eval "$ac_link") 2>conftest.er1
42375 ac_status=$?
42376 grep -v '^ *+' conftest.er1 >conftest.err
42377 rm -f conftest.er1
42378 cat conftest.err >&5
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); } && {
42381 test -z "$ac_c_werror_flag" ||
42382 test ! -s conftest.err
42383 } && test -s conftest$ac_exeext &&
42384 $as_test_x conftest$ac_exeext; then
42385 eval "$as_ac_var=yes"
42386 else
42387 echo "$as_me: failed program was:" >&5
42388 sed 's/^/| /' conftest.$ac_ext >&5
42389
42390 eval "$as_ac_var=no"
42391 fi
42392
42393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42394 conftest$ac_exeext conftest.$ac_ext
42395 fi
42396 ac_res=`eval echo '${'$as_ac_var'}'`
42397 { echo "$as_me:$LINENO: result: $ac_res" >&5
42398 echo "${ECHO_T}$ac_res" >&6; }
42399 if test `eval echo '${'$as_ac_var'}'` = yes; then
42400 cat >>confdefs.h <<_ACEOF
42401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42402 _ACEOF
42403 cat >>confdefs.h <<\_ACEOF
42404 #define HAVE_DLERROR 1
42405 _ACEOF
42406
42407 else
42408
42409 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42410 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42411 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42412 echo $ECHO_N "(cached) $ECHO_C" >&6
42413 else
42414 ac_check_lib_save_LIBS=$LIBS
42415 LIBS="-ldl $LIBS"
42416 cat >conftest.$ac_ext <<_ACEOF
42417 /* confdefs.h. */
42418 _ACEOF
42419 cat confdefs.h >>conftest.$ac_ext
42420 cat >>conftest.$ac_ext <<_ACEOF
42421 /* end confdefs.h. */
42422
42423 /* Override any GCC internal prototype to avoid an error.
42424 Use char because int might match the return type of a GCC
42425 builtin and then its argument prototype would still apply. */
42426 #ifdef __cplusplus
42427 extern "C"
42428 #endif
42429 char dlerror ();
42430 int
42431 main ()
42432 {
42433 return dlerror ();
42434 ;
42435 return 0;
42436 }
42437 _ACEOF
42438 rm -f conftest.$ac_objext conftest$ac_exeext
42439 if { (ac_try="$ac_link"
42440 case "(($ac_try" in
42441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42442 *) ac_try_echo=$ac_try;;
42443 esac
42444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42445 (eval "$ac_link") 2>conftest.er1
42446 ac_status=$?
42447 grep -v '^ *+' conftest.er1 >conftest.err
42448 rm -f conftest.er1
42449 cat conftest.err >&5
42450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42451 (exit $ac_status); } && {
42452 test -z "$ac_c_werror_flag" ||
42453 test ! -s conftest.err
42454 } && test -s conftest$ac_exeext &&
42455 $as_test_x conftest$ac_exeext; then
42456 ac_cv_lib_dl_dlerror=yes
42457 else
42458 echo "$as_me: failed program was:" >&5
42459 sed 's/^/| /' conftest.$ac_ext >&5
42460
42461 ac_cv_lib_dl_dlerror=no
42462 fi
42463
42464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42465 conftest$ac_exeext conftest.$ac_ext
42466 LIBS=$ac_check_lib_save_LIBS
42467 fi
42468 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42469 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42470 if test $ac_cv_lib_dl_dlerror = yes; then
42471 cat >>confdefs.h <<\_ACEOF
42472 #define HAVE_DLERROR 1
42473 _ACEOF
42474
42475 fi
42476
42477
42478
42479 fi
42480 done
42481
42482 fi
42483 fi
42484
42485 if test "$USE_DARWIN" = 1; then
42486 HAVE_DL_FUNCS=1
42487 fi
42488
42489 if test "$HAVE_DL_FUNCS" = 0; then
42490 if test "$HAVE_SHL_FUNCS" = 0; then
42491 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42492 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42493 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42494 wxUSE_DYNAMIC_LOADER=no
42495 wxUSE_DYNLIB_CLASS=no
42496 else
42497 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42498 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42499 fi
42500 fi
42501 fi
42502 fi
42503 fi
42504
42505 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42506 cat >>confdefs.h <<\_ACEOF
42507 #define wxUSE_DYNAMIC_LOADER 1
42508 _ACEOF
42509
42510 fi
42511 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42512 cat >>confdefs.h <<\_ACEOF
42513 #define wxUSE_DYNLIB_CLASS 1
42514 _ACEOF
42515
42516 fi
42517
42518
42519
42520 if test "$wxUSE_PLUGINS" = "yes" ; then
42521 if test "$wxUSE_SHARED" = "no" ; then
42522 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42523 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42524 wxUSE_PLUGINS=no
42525 fi
42526 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42527 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42528 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42529 wxUSE_PLUGINS=no
42530 fi
42531 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42532 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42533 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42534 wxUSE_PLUGINS=no
42535 fi
42536 if test "$wxUSE_PLUGINS" = "yes" ; then
42537 cat >>confdefs.h <<\_ACEOF
42538 #define wxUSE_PLUGINS 1
42539 _ACEOF
42540
42541 fi
42542 fi
42543
42544
42545 if test "$wxUSE_FSWATCHER" = "yes"; then
42546 cat >>confdefs.h <<\_ACEOF
42547 #define wxUSE_FSWATCHER 1
42548 _ACEOF
42549
42550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42551
42552 if test "$wxUSE_UNIX" = "yes"; then
42553
42554 for ac_header in sys/inotify.h
42555 do
42556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42560 echo $ECHO_N "(cached) $ECHO_C" >&6
42561 else
42562 cat >conftest.$ac_ext <<_ACEOF
42563 /* confdefs.h. */
42564 _ACEOF
42565 cat confdefs.h >>conftest.$ac_ext
42566 cat >>conftest.$ac_ext <<_ACEOF
42567 /* end confdefs.h. */
42568 $ac_includes_default
42569
42570 #include <$ac_header>
42571 _ACEOF
42572 rm -f conftest.$ac_objext
42573 if { (ac_try="$ac_compile"
42574 case "(($ac_try" in
42575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42576 *) ac_try_echo=$ac_try;;
42577 esac
42578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42579 (eval "$ac_compile") 2>conftest.er1
42580 ac_status=$?
42581 grep -v '^ *+' conftest.er1 >conftest.err
42582 rm -f conftest.er1
42583 cat conftest.err >&5
42584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585 (exit $ac_status); } && {
42586 test -z "$ac_c_werror_flag" ||
42587 test ! -s conftest.err
42588 } && test -s conftest.$ac_objext; then
42589 eval "$as_ac_Header=yes"
42590 else
42591 echo "$as_me: failed program was:" >&5
42592 sed 's/^/| /' conftest.$ac_ext >&5
42593
42594 eval "$as_ac_Header=no"
42595 fi
42596
42597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42598 fi
42599 ac_res=`eval echo '${'$as_ac_Header'}'`
42600 { echo "$as_me:$LINENO: result: $ac_res" >&5
42601 echo "${ECHO_T}$ac_res" >&6; }
42602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42603 cat >>confdefs.h <<_ACEOF
42604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42605 _ACEOF
42606
42607 fi
42608
42609 done
42610
42611 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxHAS_INOTIFY 1
42614 _ACEOF
42615
42616 else
42617
42618 for ac_header in sys/event.h
42619 do
42620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42624 echo $ECHO_N "(cached) $ECHO_C" >&6
42625 else
42626 cat >conftest.$ac_ext <<_ACEOF
42627 /* confdefs.h. */
42628 _ACEOF
42629 cat confdefs.h >>conftest.$ac_ext
42630 cat >>conftest.$ac_ext <<_ACEOF
42631 /* end confdefs.h. */
42632 $ac_includes_default
42633
42634 #include <$ac_header>
42635 _ACEOF
42636 rm -f conftest.$ac_objext
42637 if { (ac_try="$ac_compile"
42638 case "(($ac_try" in
42639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42640 *) ac_try_echo=$ac_try;;
42641 esac
42642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42643 (eval "$ac_compile") 2>conftest.er1
42644 ac_status=$?
42645 grep -v '^ *+' conftest.er1 >conftest.err
42646 rm -f conftest.er1
42647 cat conftest.err >&5
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); } && {
42650 test -z "$ac_c_werror_flag" ||
42651 test ! -s conftest.err
42652 } && test -s conftest.$ac_objext; then
42653 eval "$as_ac_Header=yes"
42654 else
42655 echo "$as_me: failed program was:" >&5
42656 sed 's/^/| /' conftest.$ac_ext >&5
42657
42658 eval "$as_ac_Header=no"
42659 fi
42660
42661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42662 fi
42663 ac_res=`eval echo '${'$as_ac_Header'}'`
42664 { echo "$as_me:$LINENO: result: $ac_res" >&5
42665 echo "${ECHO_T}$ac_res" >&6; }
42666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42667 cat >>confdefs.h <<_ACEOF
42668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42669 _ACEOF
42670
42671 fi
42672
42673 done
42674
42675 if test "$ac_cv_header_sys_event_h" = "yes"; then
42676 cat >>confdefs.h <<\_ACEOF
42677 #define wxHAS_KQUEUE 1
42678 _ACEOF
42679
42680 else
42681 { echo "$as_me:$LINENO: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&5
42682 echo "$as_me: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&2;}
42683 fi
42684 fi
42685 fi
42686 fi
42687
42688
42689 if test "$wxUSE_STL" = "yes"; then
42690 cat >>confdefs.h <<\_ACEOF
42691 #define wxUSE_STL 1
42692 _ACEOF
42693
42694 fi
42695
42696 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42697 cat >>confdefs.h <<\_ACEOF
42698 #define wxUSE_EXTENDED_RTTI 1
42699 _ACEOF
42700
42701 fi
42702
42703 if test "$wxUSE_ANY" = "yes"; then
42704 cat >>confdefs.h <<\_ACEOF
42705 #define wxUSE_ANY 1
42706 _ACEOF
42707
42708 fi
42709
42710 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42711 cat >>confdefs.h <<\_ACEOF
42712 #define wxUSE_APPLE_IEEE 1
42713 _ACEOF
42714
42715 fi
42716
42717 if test "$wxUSE_TIMER" = "yes"; then
42718 cat >>confdefs.h <<\_ACEOF
42719 #define wxUSE_TIMER 1
42720 _ACEOF
42721
42722 fi
42723
42724 if test "$USE_UNIX" = 1 ; then
42725 if test "$wxUSE_MGL" != 1; then
42726 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42727 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42728 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42729 echo $ECHO_N "(cached) $ECHO_C" >&6
42730 else
42731
42732 cat >conftest.$ac_ext <<_ACEOF
42733 /* confdefs.h. */
42734 _ACEOF
42735 cat confdefs.h >>conftest.$ac_ext
42736 cat >>conftest.$ac_ext <<_ACEOF
42737 /* end confdefs.h. */
42738
42739 #include <sys/ioctl.h>
42740 #include <sys/soundcard.h>
42741
42742 int
42743 main ()
42744 {
42745
42746 ioctl(0, SNDCTL_DSP_SPEED, 0);
42747
42748 ;
42749 return 0;
42750 }
42751 _ACEOF
42752 rm -f conftest.$ac_objext conftest$ac_exeext
42753 if { (ac_try="$ac_link"
42754 case "(($ac_try" in
42755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42756 *) ac_try_echo=$ac_try;;
42757 esac
42758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42759 (eval "$ac_link") 2>conftest.er1
42760 ac_status=$?
42761 grep -v '^ *+' conftest.er1 >conftest.err
42762 rm -f conftest.er1
42763 cat conftest.err >&5
42764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42765 (exit $ac_status); } && {
42766 test -z "$ac_c_werror_flag" ||
42767 test ! -s conftest.err
42768 } && test -s conftest$ac_exeext &&
42769 $as_test_x conftest$ac_exeext; then
42770 ac_cv_header_sys_soundcard=yes
42771 else
42772 echo "$as_me: failed program was:" >&5
42773 sed 's/^/| /' conftest.$ac_ext >&5
42774
42775
42776 saveLibs="$LIBS"
42777 LIBS="$saveLibs -lossaudio"
42778 cat >conftest.$ac_ext <<_ACEOF
42779 /* confdefs.h. */
42780 _ACEOF
42781 cat confdefs.h >>conftest.$ac_ext
42782 cat >>conftest.$ac_ext <<_ACEOF
42783 /* end confdefs.h. */
42784
42785 #include <sys/ioctl.h>
42786 #include <sys/soundcard.h>
42787
42788 int
42789 main ()
42790 {
42791
42792 ioctl(0, SNDCTL_DSP_SPEED, 0);
42793
42794 ;
42795 return 0;
42796 }
42797 _ACEOF
42798 rm -f conftest.$ac_objext conftest$ac_exeext
42799 if { (ac_try="$ac_link"
42800 case "(($ac_try" in
42801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42802 *) ac_try_echo=$ac_try;;
42803 esac
42804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42805 (eval "$ac_link") 2>conftest.er1
42806 ac_status=$?
42807 grep -v '^ *+' conftest.er1 >conftest.err
42808 rm -f conftest.er1
42809 cat conftest.err >&5
42810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42811 (exit $ac_status); } && {
42812 test -z "$ac_c_werror_flag" ||
42813 test ! -s conftest.err
42814 } && test -s conftest$ac_exeext &&
42815 $as_test_x conftest$ac_exeext; then
42816 ac_cv_header_sys_soundcard=yes
42817 else
42818 echo "$as_me: failed program was:" >&5
42819 sed 's/^/| /' conftest.$ac_ext >&5
42820
42821
42822 LIBS="$saveLibs"
42823 ac_cv_header_sys_soundcard=no
42824
42825
42826 fi
42827
42828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42829 conftest$ac_exeext conftest.$ac_ext
42830
42831
42832 fi
42833
42834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42835 conftest$ac_exeext conftest.$ac_ext
42836
42837 fi
42838 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42839 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42840 fi
42841
42842 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42843 cat >>confdefs.h <<\_ACEOF
42844 #define HAVE_SYS_SOUNDCARD_H 1
42845 _ACEOF
42846
42847 fi
42848 fi
42849
42850 WITH_PLUGIN_SDL=0
42851 if test "$wxUSE_SOUND" = "yes"; then
42852 if test "$USE_UNIX" = 1 ; then
42853 if test "$wxUSE_LIBSDL" != "no"; then
42854
42855 # Check whether --with-sdl-prefix was given.
42856 if test "${with_sdl_prefix+set}" = set; then
42857 withval=$with_sdl_prefix; sdl_prefix="$withval"
42858 else
42859 sdl_prefix=""
42860 fi
42861
42862
42863 # Check whether --with-sdl-exec-prefix was given.
42864 if test "${with_sdl_exec_prefix+set}" = set; then
42865 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42866 else
42867 sdl_exec_prefix=""
42868 fi
42869
42870 # Check whether --enable-sdltest was given.
42871 if test "${enable_sdltest+set}" = set; then
42872 enableval=$enable_sdltest;
42873 else
42874 enable_sdltest=yes
42875 fi
42876
42877
42878 if test x$sdl_exec_prefix != x ; then
42879 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42880 if test x${SDL_CONFIG+set} != xset ; then
42881 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42882 fi
42883 fi
42884 if test x$sdl_prefix != x ; then
42885 sdl_args="$sdl_args --prefix=$sdl_prefix"
42886 if test x${SDL_CONFIG+set} != xset ; then
42887 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42888 fi
42889 fi
42890
42891 if test "x$prefix" != xNONE; then
42892 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42893 fi
42894 # Extract the first word of "sdl-config", so it can be a program name with args.
42895 set dummy sdl-config; ac_word=$2
42896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42898 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42899 echo $ECHO_N "(cached) $ECHO_C" >&6
42900 else
42901 case $SDL_CONFIG in
42902 [\\/]* | ?:[\\/]*)
42903 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42904 ;;
42905 *)
42906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42907 for as_dir in $PATH
42908 do
42909 IFS=$as_save_IFS
42910 test -z "$as_dir" && as_dir=.
42911 for ac_exec_ext in '' $ac_executable_extensions; do
42912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42913 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42915 break 2
42916 fi
42917 done
42918 done
42919 IFS=$as_save_IFS
42920
42921 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42922 ;;
42923 esac
42924 fi
42925 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42926 if test -n "$SDL_CONFIG"; then
42927 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42928 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42929 else
42930 { echo "$as_me:$LINENO: result: no" >&5
42931 echo "${ECHO_T}no" >&6; }
42932 fi
42933
42934
42935 min_sdl_version=1.2.0
42936 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42937 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42938 no_sdl=""
42939 if test "$SDL_CONFIG" = "no" ; then
42940 no_sdl=yes
42941 else
42942 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42943 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42944
42945 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42947 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42949 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42951 if test "x$enable_sdltest" = "xyes" ; then
42952 ac_save_CFLAGS="$CFLAGS"
42953 ac_save_CXXFLAGS="$CXXFLAGS"
42954 ac_save_LIBS="$LIBS"
42955 CFLAGS="$CFLAGS $SDL_CFLAGS"
42956 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42957 LIBS="$LIBS $SDL_LIBS"
42958 rm -f conf.sdltest
42959 if test "$cross_compiling" = yes; then
42960 echo $ac_n "cross compiling; assumed OK... $ac_c"
42961 else
42962 cat >conftest.$ac_ext <<_ACEOF
42963 /* confdefs.h. */
42964 _ACEOF
42965 cat confdefs.h >>conftest.$ac_ext
42966 cat >>conftest.$ac_ext <<_ACEOF
42967 /* end confdefs.h. */
42968
42969 #include <stdio.h>
42970 #include <stdlib.h>
42971 #include <string.h>
42972 #include "SDL.h"
42973
42974 char*
42975 my_strdup (char *str)
42976 {
42977 char *new_str;
42978
42979 if (str)
42980 {
42981 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42982 strcpy (new_str, str);
42983 }
42984 else
42985 new_str = NULL;
42986
42987 return new_str;
42988 }
42989
42990 int main (int argc, char *argv[])
42991 {
42992 int major, minor, micro;
42993 char *tmp_version;
42994
42995 /* This hangs on some systems (?)
42996 system ("touch conf.sdltest");
42997 */
42998 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42999
43000 /* HP/UX 9 (%@#!) writes to sscanf strings */
43001 tmp_version = my_strdup("$min_sdl_version");
43002 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43003 printf("%s, bad version string\n", "$min_sdl_version");
43004 exit(1);
43005 }
43006
43007 if (($sdl_major_version > major) ||
43008 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43009 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43010 {
43011 return 0;
43012 }
43013 else
43014 {
43015 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43016 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43017 printf("*** best to upgrade to the required version.\n");
43018 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43019 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43020 printf("*** config.cache before re-running configure\n");
43021 return 1;
43022 }
43023 }
43024
43025
43026 _ACEOF
43027 rm -f conftest$ac_exeext
43028 if { (ac_try="$ac_link"
43029 case "(($ac_try" in
43030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43031 *) ac_try_echo=$ac_try;;
43032 esac
43033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43034 (eval "$ac_link") 2>&5
43035 ac_status=$?
43036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43038 { (case "(($ac_try" in
43039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43040 *) ac_try_echo=$ac_try;;
43041 esac
43042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43043 (eval "$ac_try") 2>&5
43044 ac_status=$?
43045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43046 (exit $ac_status); }; }; then
43047 :
43048 else
43049 echo "$as_me: program exited with status $ac_status" >&5
43050 echo "$as_me: failed program was:" >&5
43051 sed 's/^/| /' conftest.$ac_ext >&5
43052
43053 ( exit $ac_status )
43054 no_sdl=yes
43055 fi
43056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43057 fi
43058
43059
43060 CFLAGS="$ac_save_CFLAGS"
43061 CXXFLAGS="$ac_save_CXXFLAGS"
43062 LIBS="$ac_save_LIBS"
43063 fi
43064 fi
43065 if test "x$no_sdl" = x ; then
43066 { echo "$as_me:$LINENO: result: yes" >&5
43067 echo "${ECHO_T}yes" >&6; }
43068
43069 EXTRALIBS_SDL="$SDL_LIBS"
43070 CFLAGS="$SDL_CFLAGS $CFLAGS"
43071 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43072 cat >>confdefs.h <<\_ACEOF
43073 #define wxUSE_LIBSDL 1
43074 _ACEOF
43075
43076
43077 else
43078 { echo "$as_me:$LINENO: result: no" >&5
43079 echo "${ECHO_T}no" >&6; }
43080 if test "$SDL_CONFIG" = "no" ; then
43081 echo "*** The sdl-config script installed by SDL could not be found"
43082 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43083 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43084 echo "*** full path to sdl-config."
43085 else
43086 if test -f conf.sdltest ; then
43087 :
43088 else
43089 echo "*** Could not run SDL test program, checking why..."
43090 CFLAGS="$CFLAGS $SDL_CFLAGS"
43091 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43092 LIBS="$LIBS $SDL_LIBS"
43093 cat >conftest.$ac_ext <<_ACEOF
43094 /* confdefs.h. */
43095 _ACEOF
43096 cat confdefs.h >>conftest.$ac_ext
43097 cat >>conftest.$ac_ext <<_ACEOF
43098 /* end confdefs.h. */
43099
43100 #include <stdio.h>
43101 #include "SDL.h"
43102
43103 int main(int argc, char *argv[])
43104 { return 0; }
43105 #undef main
43106 #define main K_and_R_C_main
43107
43108 int
43109 main ()
43110 {
43111 return 0;
43112 ;
43113 return 0;
43114 }
43115 _ACEOF
43116 rm -f conftest.$ac_objext conftest$ac_exeext
43117 if { (ac_try="$ac_link"
43118 case "(($ac_try" in
43119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43120 *) ac_try_echo=$ac_try;;
43121 esac
43122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43123 (eval "$ac_link") 2>conftest.er1
43124 ac_status=$?
43125 grep -v '^ *+' conftest.er1 >conftest.err
43126 rm -f conftest.er1
43127 cat conftest.err >&5
43128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43129 (exit $ac_status); } && {
43130 test -z "$ac_c_werror_flag" ||
43131 test ! -s conftest.err
43132 } && test -s conftest$ac_exeext &&
43133 $as_test_x conftest$ac_exeext; then
43134 echo "*** The test program compiled, but did not run. This usually means"
43135 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43136 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43137 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43138 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43139 echo "*** is required on your system"
43140 echo "***"
43141 echo "*** If you have an old version installed, it is best to remove it, although"
43142 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43143 else
43144 echo "$as_me: failed program was:" >&5
43145 sed 's/^/| /' conftest.$ac_ext >&5
43146
43147 echo "*** The test program failed to compile or link. See the file config.log for the"
43148 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43149 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43150 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43151 fi
43152
43153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43154 conftest$ac_exeext conftest.$ac_ext
43155 CFLAGS="$ac_save_CFLAGS"
43156 CXXFLAGS="$ac_save_CXXFLAGS"
43157 LIBS="$ac_save_LIBS"
43158 fi
43159 fi
43160 SDL_CFLAGS=""
43161 SDL_LIBS=""
43162 wxUSE_LIBSDL="no"
43163 fi
43164
43165
43166 rm -f conf.sdltest
43167
43168 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43169 WITH_PLUGIN_SDL=1
43170 fi
43171 fi
43172 else
43173 if test "$wxUSE_MGL" = 1; then
43174 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43175 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43176 wxUSE_SOUND="no"
43177 fi
43178 fi
43179 fi
43180
43181 if test "$wxUSE_SOUND" = "yes"; then
43182 cat >>confdefs.h <<\_ACEOF
43183 #define wxUSE_SOUND 1
43184 _ACEOF
43185
43186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43187 fi
43188
43189 if test "$WXGTK2" = 1; then
43190
43191
43192 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43193 if test -n "$ac_tool_prefix"; then
43194 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43195 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43198 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43199 echo $ECHO_N "(cached) $ECHO_C" >&6
43200 else
43201 case $PKG_CONFIG in
43202 [\\/]* | ?:[\\/]*)
43203 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43204 ;;
43205 *)
43206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43207 for as_dir in $PATH
43208 do
43209 IFS=$as_save_IFS
43210 test -z "$as_dir" && as_dir=.
43211 for ac_exec_ext in '' $ac_executable_extensions; do
43212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43213 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43215 break 2
43216 fi
43217 done
43218 done
43219 IFS=$as_save_IFS
43220
43221 ;;
43222 esac
43223 fi
43224 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43225 if test -n "$PKG_CONFIG"; then
43226 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43227 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43228 else
43229 { echo "$as_me:$LINENO: result: no" >&5
43230 echo "${ECHO_T}no" >&6; }
43231 fi
43232
43233
43234 fi
43235 if test -z "$ac_cv_path_PKG_CONFIG"; then
43236 ac_pt_PKG_CONFIG=$PKG_CONFIG
43237 # Extract the first word of "pkg-config", so it can be a program name with args.
43238 set dummy pkg-config; ac_word=$2
43239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43241 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43242 echo $ECHO_N "(cached) $ECHO_C" >&6
43243 else
43244 case $ac_pt_PKG_CONFIG in
43245 [\\/]* | ?:[\\/]*)
43246 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43247 ;;
43248 *)
43249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43250 for as_dir in $PATH
43251 do
43252 IFS=$as_save_IFS
43253 test -z "$as_dir" && as_dir=.
43254 for ac_exec_ext in '' $ac_executable_extensions; do
43255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43256 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43258 break 2
43259 fi
43260 done
43261 done
43262 IFS=$as_save_IFS
43263
43264 ;;
43265 esac
43266 fi
43267 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43268 if test -n "$ac_pt_PKG_CONFIG"; then
43269 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43270 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43271 else
43272 { echo "$as_me:$LINENO: result: no" >&5
43273 echo "${ECHO_T}no" >&6; }
43274 fi
43275
43276 if test "x$ac_pt_PKG_CONFIG" = x; then
43277 PKG_CONFIG=""
43278 else
43279 case $cross_compiling:$ac_tool_warned in
43280 yes:)
43281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43282 whose name does not start with the host triplet. If you think this
43283 configuration is useful to you, please write to autoconf@gnu.org." >&5
43284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43285 whose name does not start with the host triplet. If you think this
43286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43287 ac_tool_warned=yes ;;
43288 esac
43289 PKG_CONFIG=$ac_pt_PKG_CONFIG
43290 fi
43291 else
43292 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43293 fi
43294
43295 fi
43296 if test -n "$PKG_CONFIG"; then
43297 _pkg_min_version=0.9.0
43298 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43299 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43300 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43301 { echo "$as_me:$LINENO: result: yes" >&5
43302 echo "${ECHO_T}yes" >&6; }
43303 else
43304 { echo "$as_me:$LINENO: result: no" >&5
43305 echo "${ECHO_T}no" >&6; }
43306 PKG_CONFIG=""
43307 fi
43308
43309 fi
43310
43311 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43312
43313 if test "$wxUSE_GTKPRINT" = "yes" ; then
43314
43315
43316 pkg_failed=no
43317 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43318 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43319
43320 if test -n "$PKG_CONFIG"; then
43321 if test -n "$GTKPRINT_CFLAGS"; then
43322 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43323 else
43324 if test -n "$PKG_CONFIG" && \
43325 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43326 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43327 ac_status=$?
43328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329 (exit $ac_status); }; then
43330 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43331 else
43332 pkg_failed=yes
43333 fi
43334 fi
43335 else
43336 pkg_failed=untried
43337 fi
43338 if test -n "$PKG_CONFIG"; then
43339 if test -n "$GTKPRINT_LIBS"; then
43340 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43341 else
43342 if test -n "$PKG_CONFIG" && \
43343 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43344 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43345 ac_status=$?
43346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43347 (exit $ac_status); }; then
43348 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43349 else
43350 pkg_failed=yes
43351 fi
43352 fi
43353 else
43354 pkg_failed=untried
43355 fi
43356
43357
43358
43359 if test $pkg_failed = yes; then
43360
43361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43362 _pkg_short_errors_supported=yes
43363 else
43364 _pkg_short_errors_supported=no
43365 fi
43366 if test $_pkg_short_errors_supported = yes; then
43367 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43368 else
43369 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43370 fi
43371 # Put the nasty error message in config.log where it belongs
43372 echo "$GTKPRINT_PKG_ERRORS" >&5
43373
43374
43375 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43376 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43377 wxUSE_GTKPRINT="no"
43378
43379
43380 elif test $pkg_failed = untried; then
43381
43382 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43383 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43384 wxUSE_GTKPRINT="no"
43385
43386
43387 else
43388 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43389 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43390 { echo "$as_me:$LINENO: result: yes" >&5
43391 echo "${ECHO_T}yes" >&6; }
43392
43393 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43394 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43395 cat >>confdefs.h <<\_ACEOF
43396 #define wxUSE_GTKPRINT 1
43397 _ACEOF
43398
43399
43400 fi
43401 fi
43402
43403 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43404
43405
43406 pkg_failed=no
43407 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43408 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43409
43410 if test -n "$PKG_CONFIG"; then
43411 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43412 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43413 else
43414 if test -n "$PKG_CONFIG" && \
43415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43416 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43417 ac_status=$?
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); }; then
43420 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43421 else
43422 pkg_failed=yes
43423 fi
43424 fi
43425 else
43426 pkg_failed=untried
43427 fi
43428 if test -n "$PKG_CONFIG"; then
43429 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43430 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43431 else
43432 if test -n "$PKG_CONFIG" && \
43433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43434 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43435 ac_status=$?
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); }; then
43438 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43439 else
43440 pkg_failed=yes
43441 fi
43442 fi
43443 else
43444 pkg_failed=untried
43445 fi
43446
43447
43448
43449 if test $pkg_failed = yes; then
43450
43451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43452 _pkg_short_errors_supported=yes
43453 else
43454 _pkg_short_errors_supported=no
43455 fi
43456 if test $_pkg_short_errors_supported = yes; then
43457 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43458 else
43459 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43460 fi
43461 # Put the nasty error message in config.log where it belongs
43462 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43463
43464
43465 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43466 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43467 wxUSE_LIBGNOMEPRINT="no"
43468
43469
43470 elif test $pkg_failed = untried; then
43471
43472 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43473 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43474 wxUSE_LIBGNOMEPRINT="no"
43475
43476
43477 else
43478 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43479 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43480 { echo "$as_me:$LINENO: result: yes" >&5
43481 echo "${ECHO_T}yes" >&6; }
43482
43483 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43484 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43485 cat >>confdefs.h <<\_ACEOF
43486 #define wxUSE_LIBGNOMEPRINT 1
43487 _ACEOF
43488
43489
43490 fi
43491 fi
43492 fi
43493
43494 if test "$wxUSE_MIMETYPE" = "yes" ; then
43495 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43496
43497
43498 pkg_failed=no
43499 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43500 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43501
43502 if test -n "$PKG_CONFIG"; then
43503 if test -n "$GNOMEVFS_CFLAGS"; then
43504 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43505 else
43506 if test -n "$PKG_CONFIG" && \
43507 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43508 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43509 ac_status=$?
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); }; then
43512 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43513 else
43514 pkg_failed=yes
43515 fi
43516 fi
43517 else
43518 pkg_failed=untried
43519 fi
43520 if test -n "$PKG_CONFIG"; then
43521 if test -n "$GNOMEVFS_LIBS"; then
43522 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43523 else
43524 if test -n "$PKG_CONFIG" && \
43525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43526 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43527 ac_status=$?
43528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43529 (exit $ac_status); }; then
43530 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43531 else
43532 pkg_failed=yes
43533 fi
43534 fi
43535 else
43536 pkg_failed=untried
43537 fi
43538
43539
43540
43541 if test $pkg_failed = yes; then
43542
43543 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43544 _pkg_short_errors_supported=yes
43545 else
43546 _pkg_short_errors_supported=no
43547 fi
43548 if test $_pkg_short_errors_supported = yes; then
43549 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43550 else
43551 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43552 fi
43553 # Put the nasty error message in config.log where it belongs
43554 echo "$GNOMEVFS_PKG_ERRORS" >&5
43555
43556
43557 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43558 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43559 wxUSE_LIBGNOMEVFS="no"
43560
43561
43562 elif test $pkg_failed = untried; then
43563
43564 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43565 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43566 wxUSE_LIBGNOMEVFS="no"
43567
43568
43569 else
43570 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43571 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43572 { echo "$as_me:$LINENO: result: yes" >&5
43573 echo "${ECHO_T}yes" >&6; }
43574
43575 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43576 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43577 cat >>confdefs.h <<\_ACEOF
43578 #define wxUSE_LIBGNOMEVFS 1
43579 _ACEOF
43580
43581
43582 fi
43583 fi
43584 fi
43585
43586 if test "$wxUSE_LIBHILDON" = "yes" ; then
43587
43588 pkg_failed=no
43589 { echo "$as_me:$LINENO: checking for HILDON" >&5
43590 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43591
43592 if test -n "$PKG_CONFIG"; then
43593 if test -n "$HILDON_CFLAGS"; then
43594 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43595 else
43596 if test -n "$PKG_CONFIG" && \
43597 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43598 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43599 ac_status=$?
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); }; then
43602 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43603 else
43604 pkg_failed=yes
43605 fi
43606 fi
43607 else
43608 pkg_failed=untried
43609 fi
43610 if test -n "$PKG_CONFIG"; then
43611 if test -n "$HILDON_LIBS"; then
43612 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43613 else
43614 if test -n "$PKG_CONFIG" && \
43615 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43616 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43617 ac_status=$?
43618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43619 (exit $ac_status); }; then
43620 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43621 else
43622 pkg_failed=yes
43623 fi
43624 fi
43625 else
43626 pkg_failed=untried
43627 fi
43628
43629
43630
43631 if test $pkg_failed = yes; then
43632
43633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43634 _pkg_short_errors_supported=yes
43635 else
43636 _pkg_short_errors_supported=no
43637 fi
43638 if test $_pkg_short_errors_supported = yes; then
43639 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43640 else
43641 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43642 fi
43643 # Put the nasty error message in config.log where it belongs
43644 echo "$HILDON_PKG_ERRORS" >&5
43645
43646
43647 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43648 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43649 wxUSE_LIBHILDON="no"
43650 ac_hildon_lgpl=0
43651
43652
43653 elif test $pkg_failed = untried; then
43654
43655 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43656 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43657 wxUSE_LIBHILDON="no"
43658 ac_hildon_lgpl=0
43659
43660
43661 else
43662 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43663 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43664 { echo "$as_me:$LINENO: result: yes" >&5
43665 echo "${ECHO_T}yes" >&6; }
43666
43667 EXTRALIBS_HILDON="$HILDON_LIBS"
43668 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43669 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43670 cat >>confdefs.h <<\_ACEOF
43671 #define wxUSE_LIBHILDON 1
43672 _ACEOF
43673
43674 ac_hildon_lgpl=1
43675
43676 fi
43677
43678 if test "$ac_hildon_lgpl" = 0 ; then
43679
43680 pkg_failed=no
43681 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43682 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43683
43684 if test -n "$PKG_CONFIG"; then
43685 if test -n "$HILDON2_CFLAGS"; then
43686 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43687 else
43688 if test -n "$PKG_CONFIG" && \
43689 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43690 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43691 ac_status=$?
43692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43693 (exit $ac_status); }; then
43694 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43695 else
43696 pkg_failed=yes
43697 fi
43698 fi
43699 else
43700 pkg_failed=untried
43701 fi
43702 if test -n "$PKG_CONFIG"; then
43703 if test -n "$HILDON2_LIBS"; then
43704 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43705 else
43706 if test -n "$PKG_CONFIG" && \
43707 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43708 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43709 ac_status=$?
43710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43711 (exit $ac_status); }; then
43712 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43713 else
43714 pkg_failed=yes
43715 fi
43716 fi
43717 else
43718 pkg_failed=untried
43719 fi
43720
43721
43722
43723 if test $pkg_failed = yes; then
43724
43725 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43726 _pkg_short_errors_supported=yes
43727 else
43728 _pkg_short_errors_supported=no
43729 fi
43730 if test $_pkg_short_errors_supported = yes; then
43731 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43732 else
43733 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43734 fi
43735 # Put the nasty error message in config.log where it belongs
43736 echo "$HILDON2_PKG_ERRORS" >&5
43737
43738
43739 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43740 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43741 wxUSE_LIBHILDON2="no"
43742
43743
43744 elif test $pkg_failed = untried; then
43745
43746 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43747 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43748 wxUSE_LIBHILDON2="no"
43749
43750
43751 else
43752 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43753 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43754 { echo "$as_me:$LINENO: result: yes" >&5
43755 echo "${ECHO_T}yes" >&6; }
43756
43757 EXTRALIBS_HILDON="$HILDON2_LIBS"
43758 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43759 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43760 cat >>confdefs.h <<\_ACEOF
43761 #define wxUSE_LIBHILDON2 1
43762 _ACEOF
43763
43764
43765 fi
43766 fi
43767 fi
43768 fi
43769
43770 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43771 cat >>confdefs.h <<\_ACEOF
43772 #define wxUSE_CMDLINE_PARSER 1
43773 _ACEOF
43774
43775 fi
43776
43777 if test "$wxUSE_STOPWATCH" = "yes"; then
43778 cat >>confdefs.h <<\_ACEOF
43779 #define wxUSE_STOPWATCH 1
43780 _ACEOF
43781
43782 fi
43783
43784 if test "$wxUSE_DATETIME" = "yes"; then
43785 cat >>confdefs.h <<\_ACEOF
43786 #define wxUSE_DATETIME 1
43787 _ACEOF
43788
43789 fi
43790
43791 if test "$wxUSE_FILE" = "yes"; then
43792 cat >>confdefs.h <<\_ACEOF
43793 #define wxUSE_FILE 1
43794 _ACEOF
43795
43796 fi
43797
43798 if test "$wxUSE_FFILE" = "yes"; then
43799 cat >>confdefs.h <<\_ACEOF
43800 #define wxUSE_FFILE 1
43801 _ACEOF
43802
43803 fi
43804
43805 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43806 if test "$wxUSE_STREAMS" != yes; then
43807 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43808 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43809 wxUSE_ARCHIVE_STREAMS=no
43810 else
43811 cat >>confdefs.h <<\_ACEOF
43812 #define wxUSE_ARCHIVE_STREAMS 1
43813 _ACEOF
43814
43815 fi
43816 fi
43817
43818 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43819 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43820 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43821 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43822 elif test "$wxUSE_ZLIB" = "no"; then
43823 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43824 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43825 else
43826 cat >>confdefs.h <<\_ACEOF
43827 #define wxUSE_ZIPSTREAM 1
43828 _ACEOF
43829
43830 fi
43831 fi
43832
43833 if test "$wxUSE_TARSTREAM" = "yes"; then
43834 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43835 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43836 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43837 else
43838 cat >>confdefs.h <<\_ACEOF
43839 #define wxUSE_TARSTREAM 1
43840 _ACEOF
43841
43842 fi
43843 fi
43844
43845 if test "$wxUSE_FILESYSTEM" = "yes"; then
43846 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43847 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43848 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43849 wxUSE_FILESYSTEM=no
43850 else
43851 cat >>confdefs.h <<\_ACEOF
43852 #define wxUSE_FILESYSTEM 1
43853 _ACEOF
43854
43855 fi
43856 fi
43857
43858 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43859 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43860 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43861 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43862 else
43863 cat >>confdefs.h <<\_ACEOF
43864 #define wxUSE_FS_ARCHIVE 1
43865 _ACEOF
43866
43867 fi
43868 fi
43869
43870 if test "$wxUSE_FS_ZIP" = "yes"; then
43871 if test "$wxUSE_FS_ARCHIVE" != yes; then
43872 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43873 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43874 else
43875 cat >>confdefs.h <<\_ACEOF
43876 #define wxUSE_FS_ZIP 1
43877 _ACEOF
43878
43879 fi
43880 fi
43881
43882 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43883 if test "$USE_UNIX" != 1; then
43884 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43885 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43886 wxUSE_ON_FATAL_EXCEPTION=no
43887 else
43888 cat >>confdefs.h <<\_ACEOF
43889 #define wxUSE_ON_FATAL_EXCEPTION 1
43890 _ACEOF
43891
43892 fi
43893 fi
43894
43895 if test "$wxUSE_STACKWALKER" = "yes"; then
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_STACKWALKER 1
43898 _ACEOF
43899
43900 fi
43901
43902 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43903 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43904 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43905 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43906 wxUSE_DEBUGREPORT=no
43907 else
43908 cat >>confdefs.h <<\_ACEOF
43909 #define wxUSE_DEBUGREPORT 1
43910 _ACEOF
43911
43912 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43914 fi
43915 fi
43916 fi
43917
43918 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43919 cat >>confdefs.h <<\_ACEOF
43920 #define wxUSE_SNGLINST_CHECKER 1
43921 _ACEOF
43922
43923 fi
43924
43925 if test "$wxUSE_BUSYINFO" = "yes"; then
43926 cat >>confdefs.h <<\_ACEOF
43927 #define wxUSE_BUSYINFO 1
43928 _ACEOF
43929
43930 fi
43931
43932 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43933 cat >>confdefs.h <<\_ACEOF
43934 #define wxUSE_STD_IOSTREAM 1
43935 _ACEOF
43936
43937 fi
43938
43939 if test "$wxUSE_STD_STRING" = "yes"; then
43940 cat >>confdefs.h <<\_ACEOF
43941 #define wxUSE_STD_STRING 1
43942 _ACEOF
43943
43944 fi
43945
43946 if test "$wxUSE_STDPATHS" = "yes"; then
43947 cat >>confdefs.h <<\_ACEOF
43948 #define wxUSE_STDPATHS 1
43949 _ACEOF
43950
43951 fi
43952
43953 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43954 cat >>confdefs.h <<\_ACEOF
43955 #define wxUSE_TEXTBUFFER 1
43956 _ACEOF
43957
43958 fi
43959
43960 if test "$wxUSE_TEXTFILE" = "yes"; then
43961 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43962 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43963 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43964 else
43965 cat >>confdefs.h <<\_ACEOF
43966 #define wxUSE_TEXTFILE 1
43967 _ACEOF
43968
43969 fi
43970 fi
43971
43972 if test "$wxUSE_CONFIG" = "yes" ; then
43973 if test "$wxUSE_TEXTFILE" != "yes"; then
43974 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43975 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43976 else
43977 cat >>confdefs.h <<\_ACEOF
43978 #define wxUSE_CONFIG 1
43979 _ACEOF
43980
43981 cat >>confdefs.h <<\_ACEOF
43982 #define wxUSE_CONFIG_NATIVE 1
43983 _ACEOF
43984
43985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43986 fi
43987 fi
43988
43989 if test "$wxUSE_INTL" = "yes" ; then
43990 if test "$wxUSE_FILE" != "yes"; then
43991 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43992 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43993 else
43994 cat >>confdefs.h <<\_ACEOF
43995 #define wxUSE_INTL 1
43996 _ACEOF
43997
43998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43999 GUIDIST="$GUIDIST INTL_DIST"
44000 fi
44001 fi
44002
44003 if test "$wxUSE_XLOCALE" = "yes" ; then
44004 cat >>confdefs.h <<\_ACEOF
44005 #define wxUSE_XLOCALE 1
44006 _ACEOF
44007
44008 { echo "$as_me:$LINENO: checking for locale_t" >&5
44009 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44010 if test "${ac_cv_type_locale_t+set}" = set; then
44011 echo $ECHO_N "(cached) $ECHO_C" >&6
44012 else
44013 cat >conftest.$ac_ext <<_ACEOF
44014 /* confdefs.h. */
44015 _ACEOF
44016 cat confdefs.h >>conftest.$ac_ext
44017 cat >>conftest.$ac_ext <<_ACEOF
44018 /* end confdefs.h. */
44019 #include <xlocale.h>
44020 #include <locale.h>
44021
44022 typedef locale_t ac__type_new_;
44023 int
44024 main ()
44025 {
44026 if ((ac__type_new_ *) 0)
44027 return 0;
44028 if (sizeof (ac__type_new_))
44029 return 0;
44030 ;
44031 return 0;
44032 }
44033 _ACEOF
44034 rm -f conftest.$ac_objext
44035 if { (ac_try="$ac_compile"
44036 case "(($ac_try" in
44037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44038 *) ac_try_echo=$ac_try;;
44039 esac
44040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44041 (eval "$ac_compile") 2>conftest.er1
44042 ac_status=$?
44043 grep -v '^ *+' conftest.er1 >conftest.err
44044 rm -f conftest.er1
44045 cat conftest.err >&5
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); } && {
44048 test -z "$ac_c_werror_flag" ||
44049 test ! -s conftest.err
44050 } && test -s conftest.$ac_objext; then
44051 ac_cv_type_locale_t=yes
44052 else
44053 echo "$as_me: failed program was:" >&5
44054 sed 's/^/| /' conftest.$ac_ext >&5
44055
44056 ac_cv_type_locale_t=no
44057 fi
44058
44059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44060 fi
44061 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44062 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44063 if test $ac_cv_type_locale_t = yes; then
44064
44065 cat >>confdefs.h <<_ACEOF
44066 #define HAVE_LOCALE_T 1
44067 _ACEOF
44068
44069
44070 fi
44071
44072 fi
44073
44074 if test "$wxUSE_LOG" = "yes"; then
44075 cat >>confdefs.h <<\_ACEOF
44076 #define wxUSE_LOG 1
44077 _ACEOF
44078
44079
44080 if test "$wxUSE_LOGGUI" = "yes"; then
44081 cat >>confdefs.h <<\_ACEOF
44082 #define wxUSE_LOGGUI 1
44083 _ACEOF
44084
44085 fi
44086
44087 if test "$wxUSE_LOGWINDOW" = "yes"; then
44088 cat >>confdefs.h <<\_ACEOF
44089 #define wxUSE_LOGWINDOW 1
44090 _ACEOF
44091
44092 fi
44093
44094 if test "$wxUSE_LOGDIALOG" = "yes"; then
44095 cat >>confdefs.h <<\_ACEOF
44096 #define wxUSE_LOG_DIALOG 1
44097 _ACEOF
44098
44099 fi
44100
44101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44102 fi
44103
44104 if test "$wxUSE_LONGLONG" = "yes"; then
44105 cat >>confdefs.h <<\_ACEOF
44106 #define wxUSE_LONGLONG 1
44107 _ACEOF
44108
44109 fi
44110
44111 if test "$wxUSE_GEOMETRY" = "yes"; then
44112 cat >>confdefs.h <<\_ACEOF
44113 #define wxUSE_GEOMETRY 1
44114 _ACEOF
44115
44116 fi
44117
44118 if test "$wxUSE_BASE64" = "yes"; then
44119 cat >>confdefs.h <<\_ACEOF
44120 #define wxUSE_BASE64 1
44121 _ACEOF
44122
44123 fi
44124
44125 if test "$wxUSE_STREAMS" = "yes" ; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_STREAMS 1
44128 _ACEOF
44129
44130 fi
44131
44132 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44133 cat >>confdefs.h <<\_ACEOF
44134 #define wxUSE_PRINTF_POS_PARAMS 1
44135 _ACEOF
44136
44137 fi
44138
44139 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44140 cat >>confdefs.h <<\_ACEOF
44141 #define wxUSE_OBJC_UNIQUIFYING 1
44142 _ACEOF
44143
44144 fi
44145
44146
44147 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44148 cat >>confdefs.h <<\_ACEOF
44149 #define wxUSE_CONSOLE_EVENTLOOP 1
44150 _ACEOF
44151
44152
44153 if test "$wxUSE_UNIX" = "yes"; then
44154 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_SELECT_DISPATCHER 1
44157 _ACEOF
44158
44159 fi
44160
44161 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44162
44163 for ac_header in sys/epoll.h
44164 do
44165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44166 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44169 echo $ECHO_N "(cached) $ECHO_C" >&6
44170 else
44171 cat >conftest.$ac_ext <<_ACEOF
44172 /* confdefs.h. */
44173 _ACEOF
44174 cat confdefs.h >>conftest.$ac_ext
44175 cat >>conftest.$ac_ext <<_ACEOF
44176 /* end confdefs.h. */
44177 $ac_includes_default
44178
44179 #include <$ac_header>
44180 _ACEOF
44181 rm -f conftest.$ac_objext
44182 if { (ac_try="$ac_compile"
44183 case "(($ac_try" in
44184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44185 *) ac_try_echo=$ac_try;;
44186 esac
44187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44188 (eval "$ac_compile") 2>conftest.er1
44189 ac_status=$?
44190 grep -v '^ *+' conftest.er1 >conftest.err
44191 rm -f conftest.er1
44192 cat conftest.err >&5
44193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44194 (exit $ac_status); } && {
44195 test -z "$ac_c_werror_flag" ||
44196 test ! -s conftest.err
44197 } && test -s conftest.$ac_objext; then
44198 eval "$as_ac_Header=yes"
44199 else
44200 echo "$as_me: failed program was:" >&5
44201 sed 's/^/| /' conftest.$ac_ext >&5
44202
44203 eval "$as_ac_Header=no"
44204 fi
44205
44206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44207 fi
44208 ac_res=`eval echo '${'$as_ac_Header'}'`
44209 { echo "$as_me:$LINENO: result: $ac_res" >&5
44210 echo "${ECHO_T}$ac_res" >&6; }
44211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44212 cat >>confdefs.h <<_ACEOF
44213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44214 _ACEOF
44215
44216 fi
44217
44218 done
44219
44220 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44221 cat >>confdefs.h <<\_ACEOF
44222 #define wxUSE_EPOLL_DISPATCHER 1
44223 _ACEOF
44224
44225 else
44226 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44227 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44228 fi
44229 fi
44230 fi
44231 fi
44232
44233
44234
44235
44236 for ac_func in gettimeofday ftime
44237 do
44238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44239 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44241 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44242 echo $ECHO_N "(cached) $ECHO_C" >&6
44243 else
44244 cat >conftest.$ac_ext <<_ACEOF
44245 /* confdefs.h. */
44246 _ACEOF
44247 cat confdefs.h >>conftest.$ac_ext
44248 cat >>conftest.$ac_ext <<_ACEOF
44249 /* end confdefs.h. */
44250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44252 #define $ac_func innocuous_$ac_func
44253
44254 /* System header to define __stub macros and hopefully few prototypes,
44255 which can conflict with char $ac_func (); below.
44256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44257 <limits.h> exists even on freestanding compilers. */
44258
44259 #ifdef __STDC__
44260 # include <limits.h>
44261 #else
44262 # include <assert.h>
44263 #endif
44264
44265 #undef $ac_func
44266
44267 /* Override any GCC internal prototype to avoid an error.
44268 Use char because int might match the return type of a GCC
44269 builtin and then its argument prototype would still apply. */
44270 #ifdef __cplusplus
44271 extern "C"
44272 #endif
44273 char $ac_func ();
44274 /* The GNU C library defines this for functions which it implements
44275 to always fail with ENOSYS. Some functions are actually named
44276 something starting with __ and the normal name is an alias. */
44277 #if defined __stub_$ac_func || defined __stub___$ac_func
44278 choke me
44279 #endif
44280
44281 int
44282 main ()
44283 {
44284 return $ac_func ();
44285 ;
44286 return 0;
44287 }
44288 _ACEOF
44289 rm -f conftest.$ac_objext conftest$ac_exeext
44290 if { (ac_try="$ac_link"
44291 case "(($ac_try" in
44292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44293 *) ac_try_echo=$ac_try;;
44294 esac
44295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44296 (eval "$ac_link") 2>conftest.er1
44297 ac_status=$?
44298 grep -v '^ *+' conftest.er1 >conftest.err
44299 rm -f conftest.er1
44300 cat conftest.err >&5
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); } && {
44303 test -z "$ac_c_werror_flag" ||
44304 test ! -s conftest.err
44305 } && test -s conftest$ac_exeext &&
44306 $as_test_x conftest$ac_exeext; then
44307 eval "$as_ac_var=yes"
44308 else
44309 echo "$as_me: failed program was:" >&5
44310 sed 's/^/| /' conftest.$ac_ext >&5
44311
44312 eval "$as_ac_var=no"
44313 fi
44314
44315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44316 conftest$ac_exeext conftest.$ac_ext
44317 fi
44318 ac_res=`eval echo '${'$as_ac_var'}'`
44319 { echo "$as_me:$LINENO: result: $ac_res" >&5
44320 echo "${ECHO_T}$ac_res" >&6; }
44321 if test `eval echo '${'$as_ac_var'}'` = yes; then
44322 cat >>confdefs.h <<_ACEOF
44323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44324 _ACEOF
44325 break
44326 fi
44327 done
44328
44329
44330 if test "$ac_cv_func_gettimeofday" = "yes"; then
44331 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44332 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44333 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44334 echo $ECHO_N "(cached) $ECHO_C" >&6
44335 else
44336
44337 cat >conftest.$ac_ext <<_ACEOF
44338 /* confdefs.h. */
44339 _ACEOF
44340 cat confdefs.h >>conftest.$ac_ext
44341 cat >>conftest.$ac_ext <<_ACEOF
44342 /* end confdefs.h. */
44343
44344 #include <sys/time.h>
44345 #include <unistd.h>
44346
44347 int
44348 main ()
44349 {
44350
44351 struct timeval tv;
44352 gettimeofday(&tv, NULL);
44353
44354 ;
44355 return 0;
44356 }
44357 _ACEOF
44358 rm -f conftest.$ac_objext
44359 if { (ac_try="$ac_compile"
44360 case "(($ac_try" in
44361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44362 *) ac_try_echo=$ac_try;;
44363 esac
44364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44365 (eval "$ac_compile") 2>conftest.er1
44366 ac_status=$?
44367 grep -v '^ *+' conftest.er1 >conftest.err
44368 rm -f conftest.er1
44369 cat conftest.err >&5
44370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44371 (exit $ac_status); } && {
44372 test -z "$ac_c_werror_flag" ||
44373 test ! -s conftest.err
44374 } && test -s conftest.$ac_objext; then
44375 wx_cv_func_gettimeofday_has_2_args=yes
44376 else
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44379
44380 cat >conftest.$ac_ext <<_ACEOF
44381 /* confdefs.h. */
44382 _ACEOF
44383 cat confdefs.h >>conftest.$ac_ext
44384 cat >>conftest.$ac_ext <<_ACEOF
44385 /* end confdefs.h. */
44386
44387 #include <sys/time.h>
44388 #include <unistd.h>
44389
44390 int
44391 main ()
44392 {
44393
44394 struct timeval tv;
44395 gettimeofday(&tv);
44396
44397 ;
44398 return 0;
44399 }
44400 _ACEOF
44401 rm -f conftest.$ac_objext
44402 if { (ac_try="$ac_compile"
44403 case "(($ac_try" in
44404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44405 *) ac_try_echo=$ac_try;;
44406 esac
44407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44408 (eval "$ac_compile") 2>conftest.er1
44409 ac_status=$?
44410 grep -v '^ *+' conftest.er1 >conftest.err
44411 rm -f conftest.er1
44412 cat conftest.err >&5
44413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414 (exit $ac_status); } && {
44415 test -z "$ac_c_werror_flag" ||
44416 test ! -s conftest.err
44417 } && test -s conftest.$ac_objext; then
44418 wx_cv_func_gettimeofday_has_2_args=no
44419 else
44420 echo "$as_me: failed program was:" >&5
44421 sed 's/^/| /' conftest.$ac_ext >&5
44422
44423
44424 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44425 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44426 wx_cv_func_gettimeofday_has_2_args=unknown
44427
44428
44429 fi
44430
44431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44432
44433 fi
44434
44435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44436
44437 fi
44438 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44439 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44440
44441 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44442 cat >>confdefs.h <<\_ACEOF
44443 #define WX_GETTIMEOFDAY_NO_TZ 1
44444 _ACEOF
44445
44446 fi
44447 fi
44448
44449 if test "$wxUSE_DATETIME" = "yes"; then
44450 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44451 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44452 if test "${wx_cv_var_timezone+set}" = set; then
44453 echo $ECHO_N "(cached) $ECHO_C" >&6
44454 else
44455
44456 ac_ext=cpp
44457 ac_cpp='$CXXCPP $CPPFLAGS'
44458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44461
44462 cat >conftest.$ac_ext <<_ACEOF
44463 /* confdefs.h. */
44464 _ACEOF
44465 cat confdefs.h >>conftest.$ac_ext
44466 cat >>conftest.$ac_ext <<_ACEOF
44467 /* end confdefs.h. */
44468
44469 #include <time.h>
44470
44471 int
44472 main ()
44473 {
44474
44475 int tz;
44476 tz = timezone;
44477
44478 ;
44479 return 0;
44480 }
44481 _ACEOF
44482 rm -f conftest.$ac_objext
44483 if { (ac_try="$ac_compile"
44484 case "(($ac_try" in
44485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44486 *) ac_try_echo=$ac_try;;
44487 esac
44488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44489 (eval "$ac_compile") 2>conftest.er1
44490 ac_status=$?
44491 grep -v '^ *+' conftest.er1 >conftest.err
44492 rm -f conftest.er1
44493 cat conftest.err >&5
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); } && {
44496 test -z "$ac_cxx_werror_flag" ||
44497 test ! -s conftest.err
44498 } && test -s conftest.$ac_objext; then
44499
44500 wx_cv_var_timezone=timezone
44501
44502 else
44503 echo "$as_me: failed program was:" >&5
44504 sed 's/^/| /' conftest.$ac_ext >&5
44505
44506
44507 cat >conftest.$ac_ext <<_ACEOF
44508 /* confdefs.h. */
44509 _ACEOF
44510 cat confdefs.h >>conftest.$ac_ext
44511 cat >>conftest.$ac_ext <<_ACEOF
44512 /* end confdefs.h. */
44513
44514 #include <time.h>
44515
44516 int
44517 main ()
44518 {
44519
44520 int tz;
44521 tz = _timezone;
44522
44523 ;
44524 return 0;
44525 }
44526 _ACEOF
44527 rm -f conftest.$ac_objext
44528 if { (ac_try="$ac_compile"
44529 case "(($ac_try" in
44530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44531 *) ac_try_echo=$ac_try;;
44532 esac
44533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44534 (eval "$ac_compile") 2>conftest.er1
44535 ac_status=$?
44536 grep -v '^ *+' conftest.er1 >conftest.err
44537 rm -f conftest.er1
44538 cat conftest.err >&5
44539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540 (exit $ac_status); } && {
44541 test -z "$ac_cxx_werror_flag" ||
44542 test ! -s conftest.err
44543 } && test -s conftest.$ac_objext; then
44544
44545 wx_cv_var_timezone=_timezone
44546
44547 else
44548 echo "$as_me: failed program was:" >&5
44549 sed 's/^/| /' conftest.$ac_ext >&5
44550
44551
44552 cat >conftest.$ac_ext <<_ACEOF
44553 /* confdefs.h. */
44554 _ACEOF
44555 cat confdefs.h >>conftest.$ac_ext
44556 cat >>conftest.$ac_ext <<_ACEOF
44557 /* end confdefs.h. */
44558
44559 #include <time.h>
44560
44561 int
44562 main ()
44563 {
44564
44565 int tz;
44566 tz = __timezone;
44567
44568 ;
44569 return 0;
44570 }
44571 _ACEOF
44572 rm -f conftest.$ac_objext
44573 if { (ac_try="$ac_compile"
44574 case "(($ac_try" in
44575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44576 *) ac_try_echo=$ac_try;;
44577 esac
44578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44579 (eval "$ac_compile") 2>conftest.er1
44580 ac_status=$?
44581 grep -v '^ *+' conftest.er1 >conftest.err
44582 rm -f conftest.er1
44583 cat conftest.err >&5
44584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585 (exit $ac_status); } && {
44586 test -z "$ac_cxx_werror_flag" ||
44587 test ! -s conftest.err
44588 } && test -s conftest.$ac_objext; then
44589
44590 wx_cv_var_timezone=__timezone
44591
44592 else
44593 echo "$as_me: failed program was:" >&5
44594 sed 's/^/| /' conftest.$ac_ext >&5
44595
44596
44597 if test "$USE_DOS" = 0 ; then
44598 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44599 echo "$as_me: WARNING: no timezone variable" >&2;}
44600 fi
44601
44602
44603 fi
44604
44605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44606
44607
44608 fi
44609
44610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44611
44612
44613 fi
44614
44615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44616 ac_ext=c
44617 ac_cpp='$CPP $CPPFLAGS'
44618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44621
44622
44623
44624 fi
44625 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44626 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44627
44628 if test "x$wx_cv_var_timezone" != x ; then
44629 cat >>confdefs.h <<_ACEOF
44630 #define WX_TIMEZONE $wx_cv_var_timezone
44631 _ACEOF
44632
44633 fi
44634
44635
44636 for ac_func in localtime
44637 do
44638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44642 echo $ECHO_N "(cached) $ECHO_C" >&6
44643 else
44644 cat >conftest.$ac_ext <<_ACEOF
44645 /* confdefs.h. */
44646 _ACEOF
44647 cat confdefs.h >>conftest.$ac_ext
44648 cat >>conftest.$ac_ext <<_ACEOF
44649 /* end confdefs.h. */
44650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44652 #define $ac_func innocuous_$ac_func
44653
44654 /* System header to define __stub macros and hopefully few prototypes,
44655 which can conflict with char $ac_func (); below.
44656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44657 <limits.h> exists even on freestanding compilers. */
44658
44659 #ifdef __STDC__
44660 # include <limits.h>
44661 #else
44662 # include <assert.h>
44663 #endif
44664
44665 #undef $ac_func
44666
44667 /* Override any GCC internal prototype to avoid an error.
44668 Use char because int might match the return type of a GCC
44669 builtin and then its argument prototype would still apply. */
44670 #ifdef __cplusplus
44671 extern "C"
44672 #endif
44673 char $ac_func ();
44674 /* The GNU C library defines this for functions which it implements
44675 to always fail with ENOSYS. Some functions are actually named
44676 something starting with __ and the normal name is an alias. */
44677 #if defined __stub_$ac_func || defined __stub___$ac_func
44678 choke me
44679 #endif
44680
44681 int
44682 main ()
44683 {
44684 return $ac_func ();
44685 ;
44686 return 0;
44687 }
44688 _ACEOF
44689 rm -f conftest.$ac_objext conftest$ac_exeext
44690 if { (ac_try="$ac_link"
44691 case "(($ac_try" in
44692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44693 *) ac_try_echo=$ac_try;;
44694 esac
44695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44696 (eval "$ac_link") 2>conftest.er1
44697 ac_status=$?
44698 grep -v '^ *+' conftest.er1 >conftest.err
44699 rm -f conftest.er1
44700 cat conftest.err >&5
44701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702 (exit $ac_status); } && {
44703 test -z "$ac_c_werror_flag" ||
44704 test ! -s conftest.err
44705 } && test -s conftest$ac_exeext &&
44706 $as_test_x conftest$ac_exeext; then
44707 eval "$as_ac_var=yes"
44708 else
44709 echo "$as_me: failed program was:" >&5
44710 sed 's/^/| /' conftest.$ac_ext >&5
44711
44712 eval "$as_ac_var=no"
44713 fi
44714
44715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44716 conftest$ac_exeext conftest.$ac_ext
44717 fi
44718 ac_res=`eval echo '${'$as_ac_var'}'`
44719 { echo "$as_me:$LINENO: result: $ac_res" >&5
44720 echo "${ECHO_T}$ac_res" >&6; }
44721 if test `eval echo '${'$as_ac_var'}'` = yes; then
44722 cat >>confdefs.h <<_ACEOF
44723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44724 _ACEOF
44725
44726 fi
44727 done
44728
44729
44730 if test "$ac_cv_func_localtime" = "yes"; then
44731 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44732 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44733 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44734 echo $ECHO_N "(cached) $ECHO_C" >&6
44735 else
44736
44737 cat >conftest.$ac_ext <<_ACEOF
44738 /* confdefs.h. */
44739 _ACEOF
44740 cat confdefs.h >>conftest.$ac_ext
44741 cat >>conftest.$ac_ext <<_ACEOF
44742 /* end confdefs.h. */
44743
44744 #include <time.h>
44745
44746 int
44747 main ()
44748 {
44749
44750 struct tm tm;
44751 tm.tm_gmtoff++;
44752
44753 ;
44754 return 0;
44755 }
44756 _ACEOF
44757 rm -f conftest.$ac_objext
44758 if { (ac_try="$ac_compile"
44759 case "(($ac_try" in
44760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44761 *) ac_try_echo=$ac_try;;
44762 esac
44763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44764 (eval "$ac_compile") 2>conftest.er1
44765 ac_status=$?
44766 grep -v '^ *+' conftest.er1 >conftest.err
44767 rm -f conftest.er1
44768 cat conftest.err >&5
44769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44770 (exit $ac_status); } && {
44771 test -z "$ac_c_werror_flag" ||
44772 test ! -s conftest.err
44773 } && test -s conftest.$ac_objext; then
44774
44775 wx_cv_struct_tm_has_gmtoff=yes
44776
44777 else
44778 echo "$as_me: failed program was:" >&5
44779 sed 's/^/| /' conftest.$ac_ext >&5
44780
44781 wx_cv_struct_tm_has_gmtoff=no
44782
44783 fi
44784
44785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44786
44787 fi
44788 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44789 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44790 fi
44791
44792 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44793 cat >>confdefs.h <<\_ACEOF
44794 #define WX_GMTOFF_IN_TM 1
44795 _ACEOF
44796
44797 fi
44798
44799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44800 fi
44801
44802
44803 if test "$wxUSE_SOCKETS" = "yes"; then
44804 if test "$wxUSE_MGL" = 1; then
44805 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44806 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44807 wxUSE_SOCKETS="no"
44808 fi
44809 fi
44810
44811 if test "$wxUSE_SOCKETS" = "yes"; then
44812 if test "$TOOLKIT" != "MSW"; then
44813 { echo "$as_me:$LINENO: checking for socket" >&5
44814 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44815 if test "${ac_cv_func_socket+set}" = set; then
44816 echo $ECHO_N "(cached) $ECHO_C" >&6
44817 else
44818 cat >conftest.$ac_ext <<_ACEOF
44819 /* confdefs.h. */
44820 _ACEOF
44821 cat confdefs.h >>conftest.$ac_ext
44822 cat >>conftest.$ac_ext <<_ACEOF
44823 /* end confdefs.h. */
44824 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44826 #define socket innocuous_socket
44827
44828 /* System header to define __stub macros and hopefully few prototypes,
44829 which can conflict with char socket (); below.
44830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44831 <limits.h> exists even on freestanding compilers. */
44832
44833 #ifdef __STDC__
44834 # include <limits.h>
44835 #else
44836 # include <assert.h>
44837 #endif
44838
44839 #undef socket
44840
44841 /* Override any GCC internal prototype to avoid an error.
44842 Use char because int might match the return type of a GCC
44843 builtin and then its argument prototype would still apply. */
44844 #ifdef __cplusplus
44845 extern "C"
44846 #endif
44847 char socket ();
44848 /* The GNU C library defines this for functions which it implements
44849 to always fail with ENOSYS. Some functions are actually named
44850 something starting with __ and the normal name is an alias. */
44851 #if defined __stub_socket || defined __stub___socket
44852 choke me
44853 #endif
44854
44855 int
44856 main ()
44857 {
44858 return socket ();
44859 ;
44860 return 0;
44861 }
44862 _ACEOF
44863 rm -f conftest.$ac_objext conftest$ac_exeext
44864 if { (ac_try="$ac_link"
44865 case "(($ac_try" in
44866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44867 *) ac_try_echo=$ac_try;;
44868 esac
44869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44870 (eval "$ac_link") 2>conftest.er1
44871 ac_status=$?
44872 grep -v '^ *+' conftest.er1 >conftest.err
44873 rm -f conftest.er1
44874 cat conftest.err >&5
44875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44876 (exit $ac_status); } && {
44877 test -z "$ac_c_werror_flag" ||
44878 test ! -s conftest.err
44879 } && test -s conftest$ac_exeext &&
44880 $as_test_x conftest$ac_exeext; then
44881 ac_cv_func_socket=yes
44882 else
44883 echo "$as_me: failed program was:" >&5
44884 sed 's/^/| /' conftest.$ac_ext >&5
44885
44886 ac_cv_func_socket=no
44887 fi
44888
44889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44890 conftest$ac_exeext conftest.$ac_ext
44891 fi
44892 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44893 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44894 if test $ac_cv_func_socket = yes; then
44895 :
44896 else
44897
44898 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44899 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44900 if test "${ac_cv_lib_socket_socket+set}" = set; then
44901 echo $ECHO_N "(cached) $ECHO_C" >&6
44902 else
44903 ac_check_lib_save_LIBS=$LIBS
44904 LIBS="-lsocket $LIBS"
44905 cat >conftest.$ac_ext <<_ACEOF
44906 /* confdefs.h. */
44907 _ACEOF
44908 cat confdefs.h >>conftest.$ac_ext
44909 cat >>conftest.$ac_ext <<_ACEOF
44910 /* end confdefs.h. */
44911
44912 /* Override any GCC internal prototype to avoid an error.
44913 Use char because int might match the return type of a GCC
44914 builtin and then its argument prototype would still apply. */
44915 #ifdef __cplusplus
44916 extern "C"
44917 #endif
44918 char socket ();
44919 int
44920 main ()
44921 {
44922 return socket ();
44923 ;
44924 return 0;
44925 }
44926 _ACEOF
44927 rm -f conftest.$ac_objext conftest$ac_exeext
44928 if { (ac_try="$ac_link"
44929 case "(($ac_try" in
44930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44931 *) ac_try_echo=$ac_try;;
44932 esac
44933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44934 (eval "$ac_link") 2>conftest.er1
44935 ac_status=$?
44936 grep -v '^ *+' conftest.er1 >conftest.err
44937 rm -f conftest.er1
44938 cat conftest.err >&5
44939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44940 (exit $ac_status); } && {
44941 test -z "$ac_c_werror_flag" ||
44942 test ! -s conftest.err
44943 } && test -s conftest$ac_exeext &&
44944 $as_test_x conftest$ac_exeext; then
44945 ac_cv_lib_socket_socket=yes
44946 else
44947 echo "$as_me: failed program was:" >&5
44948 sed 's/^/| /' conftest.$ac_ext >&5
44949
44950 ac_cv_lib_socket_socket=no
44951 fi
44952
44953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44954 conftest$ac_exeext conftest.$ac_ext
44955 LIBS=$ac_check_lib_save_LIBS
44956 fi
44957 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44958 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44959 if test $ac_cv_lib_socket_socket = yes; then
44960 if test "$INET_LINK" != " -lsocket"; then
44961 INET_LINK="$INET_LINK -lsocket"
44962 fi
44963 else
44964
44965 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44966 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44967 wxUSE_SOCKETS=no
44968
44969
44970 fi
44971
44972
44973
44974 fi
44975
44976 fi
44977 fi
44978
44979 if test "$wxUSE_SOCKETS" = "yes" ; then
44980 if test "$TOOLKIT" != "MSW"; then
44981 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44982 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44983 if test "${wx_cv_type_getsockname3+set}" = set; then
44984 echo $ECHO_N "(cached) $ECHO_C" >&6
44985 else
44986
44987 ac_ext=cpp
44988 ac_cpp='$CXXCPP $CPPFLAGS'
44989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44992
44993 cat >conftest.$ac_ext <<_ACEOF
44994 /* confdefs.h. */
44995 _ACEOF
44996 cat confdefs.h >>conftest.$ac_ext
44997 cat >>conftest.$ac_ext <<_ACEOF
44998 /* end confdefs.h. */
44999
45000 #include <sys/types.h>
45001 #include <sys/socket.h>
45002
45003 int
45004 main ()
45005 {
45006
45007 socklen_t len;
45008 getsockname(0, 0, &len);
45009
45010 ;
45011 return 0;
45012 }
45013 _ACEOF
45014 rm -f conftest.$ac_objext
45015 if { (ac_try="$ac_compile"
45016 case "(($ac_try" in
45017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45018 *) ac_try_echo=$ac_try;;
45019 esac
45020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45021 (eval "$ac_compile") 2>conftest.er1
45022 ac_status=$?
45023 grep -v '^ *+' conftest.er1 >conftest.err
45024 rm -f conftest.er1
45025 cat conftest.err >&5
45026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45027 (exit $ac_status); } && {
45028 test -z "$ac_cxx_werror_flag" ||
45029 test ! -s conftest.err
45030 } && test -s conftest.$ac_objext; then
45031 wx_cv_type_getsockname3=socklen_t
45032 else
45033 echo "$as_me: failed program was:" >&5
45034 sed 's/^/| /' conftest.$ac_ext >&5
45035
45036
45037 CFLAGS_OLD="$CFLAGS"
45038 if test "$GCC" = yes ; then
45039 CFLAGS="-Werror $CFLAGS"
45040 fi
45041
45042 cat >conftest.$ac_ext <<_ACEOF
45043 /* confdefs.h. */
45044 _ACEOF
45045 cat confdefs.h >>conftest.$ac_ext
45046 cat >>conftest.$ac_ext <<_ACEOF
45047 /* end confdefs.h. */
45048
45049 #include <sys/types.h>
45050 #include <sys/socket.h>
45051
45052 int
45053 main ()
45054 {
45055
45056 size_t len;
45057 getsockname(0, 0, &len);
45058
45059 ;
45060 return 0;
45061 }
45062 _ACEOF
45063 rm -f conftest.$ac_objext
45064 if { (ac_try="$ac_compile"
45065 case "(($ac_try" in
45066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45067 *) ac_try_echo=$ac_try;;
45068 esac
45069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45070 (eval "$ac_compile") 2>conftest.er1
45071 ac_status=$?
45072 grep -v '^ *+' conftest.er1 >conftest.err
45073 rm -f conftest.er1
45074 cat conftest.err >&5
45075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45076 (exit $ac_status); } && {
45077 test -z "$ac_cxx_werror_flag" ||
45078 test ! -s conftest.err
45079 } && test -s conftest.$ac_objext; then
45080 wx_cv_type_getsockname3=size_t
45081 else
45082 echo "$as_me: failed program was:" >&5
45083 sed 's/^/| /' conftest.$ac_ext >&5
45084
45085 cat >conftest.$ac_ext <<_ACEOF
45086 /* confdefs.h. */
45087 _ACEOF
45088 cat confdefs.h >>conftest.$ac_ext
45089 cat >>conftest.$ac_ext <<_ACEOF
45090 /* end confdefs.h. */
45091
45092 #include <sys/types.h>
45093 #include <sys/socket.h>
45094
45095 int
45096 main ()
45097 {
45098
45099 int len;
45100 getsockname(0, 0, &len);
45101
45102 ;
45103 return 0;
45104 }
45105 _ACEOF
45106 rm -f conftest.$ac_objext
45107 if { (ac_try="$ac_compile"
45108 case "(($ac_try" in
45109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45110 *) ac_try_echo=$ac_try;;
45111 esac
45112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45113 (eval "$ac_compile") 2>conftest.er1
45114 ac_status=$?
45115 grep -v '^ *+' conftest.er1 >conftest.err
45116 rm -f conftest.er1
45117 cat conftest.err >&5
45118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45119 (exit $ac_status); } && {
45120 test -z "$ac_cxx_werror_flag" ||
45121 test ! -s conftest.err
45122 } && test -s conftest.$ac_objext; then
45123 wx_cv_type_getsockname3=int
45124 else
45125 echo "$as_me: failed program was:" >&5
45126 sed 's/^/| /' conftest.$ac_ext >&5
45127
45128 wx_cv_type_getsockname3=unknown
45129
45130 fi
45131
45132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45133
45134 fi
45135
45136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45137
45138 CFLAGS="$CFLAGS_OLD"
45139
45140
45141 fi
45142
45143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45144 ac_ext=c
45145 ac_cpp='$CPP $CPPFLAGS'
45146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45149
45150
45151 fi
45152 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45153 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45154
45155 if test "$wx_cv_type_getsockname3" = "unknown"; then
45156 wxUSE_SOCKETS=no
45157 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45158 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45159 else
45160 cat >>confdefs.h <<_ACEOF
45161 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45162 _ACEOF
45163
45164 fi
45165 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45166 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45167 if test "${wx_cv_type_getsockopt5+set}" = set; then
45168 echo $ECHO_N "(cached) $ECHO_C" >&6
45169 else
45170
45171 ac_ext=cpp
45172 ac_cpp='$CXXCPP $CPPFLAGS'
45173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45176
45177 cat >conftest.$ac_ext <<_ACEOF
45178 /* confdefs.h. */
45179 _ACEOF
45180 cat confdefs.h >>conftest.$ac_ext
45181 cat >>conftest.$ac_ext <<_ACEOF
45182 /* end confdefs.h. */
45183
45184 #include <sys/types.h>
45185 #include <sys/socket.h>
45186
45187 int
45188 main ()
45189 {
45190
45191 socklen_t len;
45192 getsockopt(0, 0, 0, 0, &len);
45193
45194 ;
45195 return 0;
45196 }
45197 _ACEOF
45198 rm -f conftest.$ac_objext
45199 if { (ac_try="$ac_compile"
45200 case "(($ac_try" in
45201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45202 *) ac_try_echo=$ac_try;;
45203 esac
45204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45205 (eval "$ac_compile") 2>conftest.er1
45206 ac_status=$?
45207 grep -v '^ *+' conftest.er1 >conftest.err
45208 rm -f conftest.er1
45209 cat conftest.err >&5
45210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45211 (exit $ac_status); } && {
45212 test -z "$ac_cxx_werror_flag" ||
45213 test ! -s conftest.err
45214 } && test -s conftest.$ac_objext; then
45215 wx_cv_type_getsockopt5=socklen_t
45216 else
45217 echo "$as_me: failed program was:" >&5
45218 sed 's/^/| /' conftest.$ac_ext >&5
45219
45220
45221 cat >conftest.$ac_ext <<_ACEOF
45222 /* confdefs.h. */
45223 _ACEOF
45224 cat confdefs.h >>conftest.$ac_ext
45225 cat >>conftest.$ac_ext <<_ACEOF
45226 /* end confdefs.h. */
45227
45228 #include <sys/types.h>
45229 #include <sys/socket.h>
45230
45231 int
45232 main ()
45233 {
45234
45235 size_t len;
45236 getsockopt(0, 0, 0, 0, &len);
45237
45238 ;
45239 return 0;
45240 }
45241 _ACEOF
45242 rm -f conftest.$ac_objext
45243 if { (ac_try="$ac_compile"
45244 case "(($ac_try" in
45245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45246 *) ac_try_echo=$ac_try;;
45247 esac
45248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45249 (eval "$ac_compile") 2>conftest.er1
45250 ac_status=$?
45251 grep -v '^ *+' conftest.er1 >conftest.err
45252 rm -f conftest.er1
45253 cat conftest.err >&5
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); } && {
45256 test -z "$ac_cxx_werror_flag" ||
45257 test ! -s conftest.err
45258 } && test -s conftest.$ac_objext; then
45259 wx_cv_type_getsockopt5=size_t
45260 else
45261 echo "$as_me: failed program was:" >&5
45262 sed 's/^/| /' conftest.$ac_ext >&5
45263
45264 cat >conftest.$ac_ext <<_ACEOF
45265 /* confdefs.h. */
45266 _ACEOF
45267 cat confdefs.h >>conftest.$ac_ext
45268 cat >>conftest.$ac_ext <<_ACEOF
45269 /* end confdefs.h. */
45270
45271 #include <sys/types.h>
45272 #include <sys/socket.h>
45273
45274 int
45275 main ()
45276 {
45277
45278 int len;
45279 getsockopt(0, 0, 0, 0, &len);
45280
45281 ;
45282 return 0;
45283 }
45284 _ACEOF
45285 rm -f conftest.$ac_objext
45286 if { (ac_try="$ac_compile"
45287 case "(($ac_try" in
45288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45289 *) ac_try_echo=$ac_try;;
45290 esac
45291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45292 (eval "$ac_compile") 2>conftest.er1
45293 ac_status=$?
45294 grep -v '^ *+' conftest.er1 >conftest.err
45295 rm -f conftest.er1
45296 cat conftest.err >&5
45297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45298 (exit $ac_status); } && {
45299 test -z "$ac_cxx_werror_flag" ||
45300 test ! -s conftest.err
45301 } && test -s conftest.$ac_objext; then
45302 wx_cv_type_getsockopt5=int
45303 else
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.$ac_ext >&5
45306
45307 wx_cv_type_getsockopt5=unknown
45308
45309 fi
45310
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45312
45313 fi
45314
45315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45316
45317
45318 fi
45319
45320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45321 ac_ext=c
45322 ac_cpp='$CPP $CPPFLAGS'
45323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45326
45327
45328 fi
45329 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45330 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45331
45332 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45333 wxUSE_SOCKETS=no
45334 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45335 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45336 else
45337 cat >>confdefs.h <<_ACEOF
45338 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45339 _ACEOF
45340
45341 fi
45342 fi
45343 fi
45344
45345 if test "$wxUSE_SOCKETS" = "yes" ; then
45346 if test "$wxUSE_IPV6" = "yes"; then
45347 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45348 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45349 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45350 echo $ECHO_N "(cached) $ECHO_C" >&6
45351 else
45352
45353 cat >conftest.$ac_ext <<_ACEOF
45354 /* confdefs.h. */
45355 _ACEOF
45356 cat confdefs.h >>conftest.$ac_ext
45357 cat >>conftest.$ac_ext <<_ACEOF
45358 /* end confdefs.h. */
45359
45360 #include <sys/types.h>
45361 #include <sys/socket.h>
45362 #include <netinet/in.h>
45363
45364 int
45365 main ()
45366 {
45367
45368 struct sockaddr_in6 sa6;
45369
45370 ;
45371 return 0;
45372 }
45373 _ACEOF
45374 rm -f conftest.$ac_objext
45375 if { (ac_try="$ac_compile"
45376 case "(($ac_try" in
45377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45378 *) ac_try_echo=$ac_try;;
45379 esac
45380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45381 (eval "$ac_compile") 2>conftest.er1
45382 ac_status=$?
45383 grep -v '^ *+' conftest.er1 >conftest.err
45384 rm -f conftest.er1
45385 cat conftest.err >&5
45386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45387 (exit $ac_status); } && {
45388 test -z "$ac_c_werror_flag" ||
45389 test ! -s conftest.err
45390 } && test -s conftest.$ac_objext; then
45391 wx_cv_type_sockaddr_in6=yes
45392 else
45393 echo "$as_me: failed program was:" >&5
45394 sed 's/^/| /' conftest.$ac_ext >&5
45395
45396 wx_cv_type_sockaddr_in6=no
45397
45398 fi
45399
45400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45401
45402
45403 fi
45404 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45405 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45406
45407 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_IPV6 1
45410 _ACEOF
45411
45412 else
45413 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45414 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45415 fi
45416 fi
45417
45418 cat >>confdefs.h <<\_ACEOF
45419 #define wxUSE_SOCKETS 1
45420 _ACEOF
45421
45422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45423 fi
45424
45425 if test "$wxUSE_PROTOCOL" = "yes"; then
45426 if test "$wxUSE_SOCKETS" != "yes"; then
45427 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45428 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45429 wxUSE_PROTOCOL=no
45430 fi
45431 fi
45432
45433 if test "$wxUSE_PROTOCOL" = "yes"; then
45434 cat >>confdefs.h <<\_ACEOF
45435 #define wxUSE_PROTOCOL 1
45436 _ACEOF
45437
45438
45439 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_PROTOCOL_HTTP 1
45442 _ACEOF
45443
45444 fi
45445 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_PROTOCOL_FTP 1
45448 _ACEOF
45449
45450 fi
45451 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_PROTOCOL_FILE 1
45454 _ACEOF
45455
45456 fi
45457 else
45458 if test "$wxUSE_FS_INET" = "yes"; then
45459 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45460 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45461 wxUSE_FS_INET="no"
45462 fi
45463 fi
45464
45465 if test "$wxUSE_URL" = "yes"; then
45466 if test "$wxUSE_PROTOCOL" != "yes"; then
45467 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45468 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45469 wxUSE_URL=no
45470 fi
45471 if test "$wxUSE_URL" = "yes"; then
45472 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_URL 1
45474 _ACEOF
45475
45476 fi
45477 fi
45478
45479 if test "$wxUSE_VARIANT" = "yes"; then
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_VARIANT 1
45482 _ACEOF
45483
45484 fi
45485
45486 if test "$wxUSE_FS_INET" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_FS_INET 1
45489 _ACEOF
45490
45491 fi
45492
45493
45494 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45495 wxUSE_JOYSTICK=no
45496
45497 if test "$TOOLKIT" = "MSW"; then
45498 wxUSE_JOYSTICK=yes
45499
45500 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45501 if test "$USE_DARWIN" = 1; then
45502 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45503 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45504 ac_ext=cpp
45505 ac_cpp='$CXXCPP $CPPFLAGS'
45506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45509
45510 cat >conftest.$ac_ext <<_ACEOF
45511 /* confdefs.h. */
45512 _ACEOF
45513 cat confdefs.h >>conftest.$ac_ext
45514 cat >>conftest.$ac_ext <<_ACEOF
45515 /* end confdefs.h. */
45516 #include <IOKit/hid/IOHIDLib.h>
45517 int
45518 main ()
45519 {
45520 IOHIDQueueInterface *qi = NULL;
45521 IOHIDCallbackFunction cb = NULL;
45522 qi->setEventCallout(NULL, cb, NULL, NULL);
45523 ;
45524 return 0;
45525 }
45526 _ACEOF
45527 rm -f conftest.$ac_objext
45528 if { (ac_try="$ac_compile"
45529 case "(($ac_try" in
45530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45531 *) ac_try_echo=$ac_try;;
45532 esac
45533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45534 (eval "$ac_compile") 2>conftest.er1
45535 ac_status=$?
45536 grep -v '^ *+' conftest.er1 >conftest.err
45537 rm -f conftest.er1
45538 cat conftest.err >&5
45539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45540 (exit $ac_status); } && {
45541 test -z "$ac_cxx_werror_flag" ||
45542 test ! -s conftest.err
45543 } && test -s conftest.$ac_objext; then
45544 wxUSE_JOYSTICK=yes
45545
45546 else
45547 echo "$as_me: failed program was:" >&5
45548 sed 's/^/| /' conftest.$ac_ext >&5
45549
45550
45551 fi
45552
45553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45554 ac_ext=c
45555 ac_cpp='$CPP $CPPFLAGS'
45556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45559
45560 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45561 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45562 fi
45563
45564 else
45565 if test "$wxUSE_MGL" != 1; then
45566
45567 for ac_header in linux/joystick.h
45568 do
45569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45573 echo $ECHO_N "(cached) $ECHO_C" >&6
45574 else
45575 cat >conftest.$ac_ext <<_ACEOF
45576 /* confdefs.h. */
45577 _ACEOF
45578 cat confdefs.h >>conftest.$ac_ext
45579 cat >>conftest.$ac_ext <<_ACEOF
45580 /* end confdefs.h. */
45581 $ac_includes_default
45582
45583 #include <$ac_header>
45584 _ACEOF
45585 rm -f conftest.$ac_objext
45586 if { (ac_try="$ac_compile"
45587 case "(($ac_try" in
45588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45589 *) ac_try_echo=$ac_try;;
45590 esac
45591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45592 (eval "$ac_compile") 2>conftest.er1
45593 ac_status=$?
45594 grep -v '^ *+' conftest.er1 >conftest.err
45595 rm -f conftest.er1
45596 cat conftest.err >&5
45597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45598 (exit $ac_status); } && {
45599 test -z "$ac_c_werror_flag" ||
45600 test ! -s conftest.err
45601 } && test -s conftest.$ac_objext; then
45602 eval "$as_ac_Header=yes"
45603 else
45604 echo "$as_me: failed program was:" >&5
45605 sed 's/^/| /' conftest.$ac_ext >&5
45606
45607 eval "$as_ac_Header=no"
45608 fi
45609
45610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45611 fi
45612 ac_res=`eval echo '${'$as_ac_Header'}'`
45613 { echo "$as_me:$LINENO: result: $ac_res" >&5
45614 echo "${ECHO_T}$ac_res" >&6; }
45615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45616 cat >>confdefs.h <<_ACEOF
45617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45618 _ACEOF
45619 wxUSE_JOYSTICK=yes
45620 fi
45621
45622 done
45623
45624 fi
45625 fi
45626
45627 if test "$wxUSE_JOYSTICK" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_JOYSTICK 1
45630 _ACEOF
45631
45632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45633 else
45634 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45635 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45636 fi
45637 fi
45638
45639
45640
45641 if test "$wxUSE_FONTENUM" = "yes" ; then
45642 cat >>confdefs.h <<\_ACEOF
45643 #define wxUSE_FONTENUM 1
45644 _ACEOF
45645
45646 fi
45647
45648 if test "$wxUSE_FONTMAP" = "yes" ; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_FONTMAP 1
45651 _ACEOF
45652
45653 fi
45654
45655 if test "$wxUSE_UNICODE" = "yes" ; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_UNICODE 1
45658 _ACEOF
45659
45660
45661 if test "$USE_WIN32" != 1; then
45662 wxUSE_UNICODE_MSLU=no
45663 fi
45664
45665 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45666 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45667 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45668 if test "${ac_cv_lib_unicows_main+set}" = set; then
45669 echo $ECHO_N "(cached) $ECHO_C" >&6
45670 else
45671 ac_check_lib_save_LIBS=$LIBS
45672 LIBS="-lunicows $LIBS"
45673 cat >conftest.$ac_ext <<_ACEOF
45674 /* confdefs.h. */
45675 _ACEOF
45676 cat confdefs.h >>conftest.$ac_ext
45677 cat >>conftest.$ac_ext <<_ACEOF
45678 /* end confdefs.h. */
45679
45680
45681 int
45682 main ()
45683 {
45684 return main ();
45685 ;
45686 return 0;
45687 }
45688 _ACEOF
45689 rm -f conftest.$ac_objext conftest$ac_exeext
45690 if { (ac_try="$ac_link"
45691 case "(($ac_try" in
45692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45693 *) ac_try_echo=$ac_try;;
45694 esac
45695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45696 (eval "$ac_link") 2>conftest.er1
45697 ac_status=$?
45698 grep -v '^ *+' conftest.er1 >conftest.err
45699 rm -f conftest.er1
45700 cat conftest.err >&5
45701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45702 (exit $ac_status); } && {
45703 test -z "$ac_c_werror_flag" ||
45704 test ! -s conftest.err
45705 } && test -s conftest$ac_exeext &&
45706 $as_test_x conftest$ac_exeext; then
45707 ac_cv_lib_unicows_main=yes
45708 else
45709 echo "$as_me: failed program was:" >&5
45710 sed 's/^/| /' conftest.$ac_ext >&5
45711
45712 ac_cv_lib_unicows_main=no
45713 fi
45714
45715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45716 conftest$ac_exeext conftest.$ac_ext
45717 LIBS=$ac_check_lib_save_LIBS
45718 fi
45719 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45720 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45721 if test $ac_cv_lib_unicows_main = yes; then
45722
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_UNICODE_MSLU 1
45725 _ACEOF
45726
45727
45728 else
45729
45730 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45731 Applications will only run on Windows NT/2000/XP!" >&5
45732 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45733 Applications will only run on Windows NT/2000/XP!" >&2;}
45734 wxUSE_UNICODE_MSLU=no
45735
45736 fi
45737
45738 fi
45739 fi
45740
45741 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_UNICODE_UTF8 1
45744 _ACEOF
45745
45746
45747 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_UTF8_LOCALE_ONLY 1
45750 _ACEOF
45751
45752 fi
45753 fi
45754
45755
45756 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_CONSTRAINTS 1
45759 _ACEOF
45760
45761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45762 fi
45763
45764 if test "$wxUSE_MDI" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_MDI 1
45767 _ACEOF
45768
45769
45770 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_MDI_ARCHITECTURE 1
45773 _ACEOF
45774
45775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45776 fi
45777 fi
45778
45779 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45782 _ACEOF
45783
45784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45785 fi
45786
45787 if test "$wxUSE_HELP" = "yes"; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_HELP 1
45790 _ACEOF
45791
45792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45793
45794 if test "$wxUSE_MSW" = 1; then
45795 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_MS_HTML_HELP 1
45798 _ACEOF
45799
45800 fi
45801 fi
45802
45803 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45804 if test "$wxUSE_HTML" = "yes"; then
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_WXHTML_HELP 1
45807 _ACEOF
45808
45809 else
45810 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45811 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45812 wxUSE_WXHTML_HELP=no
45813 fi
45814 fi
45815 fi
45816
45817 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_PRINTING_ARCHITECTURE 1
45820 _ACEOF
45821
45822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45823 fi
45824
45825 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_POSTSCRIPT 1
45828 _ACEOF
45829
45830 fi
45831
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45834 _ACEOF
45835
45836
45837 if test "$wxUSE_SVG" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_SVG 1
45840 _ACEOF
45841
45842 fi
45843
45844
45845 if test "$wxUSE_METAFILE" = "yes"; then
45846 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45847 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45848 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45849 wxUSE_METAFILE=no
45850 fi
45851 fi
45852
45853
45854 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45855 -o "$wxUSE_CLIPBOARD" = "yes" \
45856 -o "$wxUSE_OLE" = "yes" \
45857 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45858 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45859 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45860 if test "${ac_cv_header_ole2_h+set}" = set; then
45861 echo $ECHO_N "(cached) $ECHO_C" >&6
45862 else
45863 cat >conftest.$ac_ext <<_ACEOF
45864 /* confdefs.h. */
45865 _ACEOF
45866 cat confdefs.h >>conftest.$ac_ext
45867 cat >>conftest.$ac_ext <<_ACEOF
45868 /* end confdefs.h. */
45869
45870
45871 #include <ole2.h>
45872 _ACEOF
45873 rm -f conftest.$ac_objext
45874 if { (ac_try="$ac_compile"
45875 case "(($ac_try" in
45876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45877 *) ac_try_echo=$ac_try;;
45878 esac
45879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45880 (eval "$ac_compile") 2>conftest.er1
45881 ac_status=$?
45882 grep -v '^ *+' conftest.er1 >conftest.err
45883 rm -f conftest.er1
45884 cat conftest.err >&5
45885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45886 (exit $ac_status); } && {
45887 test -z "$ac_c_werror_flag" ||
45888 test ! -s conftest.err
45889 } && test -s conftest.$ac_objext; then
45890 ac_cv_header_ole2_h=yes
45891 else
45892 echo "$as_me: failed program was:" >&5
45893 sed 's/^/| /' conftest.$ac_ext >&5
45894
45895 ac_cv_header_ole2_h=no
45896 fi
45897
45898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45899 fi
45900 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45901 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45902
45903
45904
45905 if test "$ac_cv_header_ole2_h" = "yes" ; then
45906 if test "$GCC" = yes ; then
45907 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45908 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45909 cat >conftest.$ac_ext <<_ACEOF
45910 /* confdefs.h. */
45911 _ACEOF
45912 cat confdefs.h >>conftest.$ac_ext
45913 cat >>conftest.$ac_ext <<_ACEOF
45914 /* end confdefs.h. */
45915 #include <windows.h>
45916 #include <ole2.h>
45917 int
45918 main ()
45919 {
45920
45921 ;
45922 return 0;
45923 }
45924 _ACEOF
45925 rm -f conftest.$ac_objext
45926 if { (ac_try="$ac_compile"
45927 case "(($ac_try" in
45928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45929 *) ac_try_echo=$ac_try;;
45930 esac
45931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45932 (eval "$ac_compile") 2>conftest.er1
45933 ac_status=$?
45934 grep -v '^ *+' conftest.er1 >conftest.err
45935 rm -f conftest.er1
45936 cat conftest.err >&5
45937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45938 (exit $ac_status); } && {
45939 test -z "$ac_c_werror_flag" ||
45940 test ! -s conftest.err
45941 } && test -s conftest.$ac_objext; then
45942 { echo "$as_me:$LINENO: result: no" >&5
45943 echo "${ECHO_T}no" >&6; }
45944 else
45945 echo "$as_me: failed program was:" >&5
45946 sed 's/^/| /' conftest.$ac_ext >&5
45947
45948 { echo "$as_me:$LINENO: result: yes" >&5
45949 echo "${ECHO_T}yes" >&6; }
45950 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45951 fi
45952
45953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45954 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45955 if test "$wxUSE_OLE" = "yes" ; then
45956 cat >>confdefs.h <<\_ACEOF
45957 #define wxUSE_OLE 1
45958 _ACEOF
45959
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_OLE_AUTOMATION 1
45962 _ACEOF
45963
45964 cat >>confdefs.h <<\_ACEOF
45965 #define wxUSE_ACTIVEX 1
45966 _ACEOF
45967
45968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45969 fi
45970 fi
45971
45972 if test "$wxUSE_DATAOBJ" = "yes" ; then
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_DATAOBJ 1
45975 _ACEOF
45976
45977 fi
45978 else
45979 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45980 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45981
45982 wxUSE_CLIPBOARD=no
45983 wxUSE_DRAG_AND_DROP=no
45984 wxUSE_DATAOBJ=no
45985 wxUSE_OLE=no
45986 fi
45987
45988 if test "$wxUSE_METAFILE" = "yes"; then
45989 cat >>confdefs.h <<\_ACEOF
45990 #define wxUSE_METAFILE 1
45991 _ACEOF
45992
45993
45994 cat >>confdefs.h <<\_ACEOF
45995 #define wxUSE_ENH_METAFILE 1
45996 _ACEOF
45997
45998 fi
45999 fi
46000
46001 if test "$wxUSE_IPC" = "yes"; then
46002 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46003 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46004 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46005 wxUSE_IPC=no
46006 fi
46007
46008 if test "$wxUSE_IPC" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_IPC 1
46011 _ACEOF
46012
46013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46014 fi
46015 fi
46016
46017 if test "$wxUSE_DATAOBJ" = "yes"; then
46018 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46019 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46020 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46021 wxUSE_DATAOBJ=no
46022 else
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_DATAOBJ 1
46025 _ACEOF
46026
46027 fi
46028 else
46029 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46030 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46031 wxUSE_CLIPBOARD=no
46032 wxUSE_DRAG_AND_DROP=no
46033 fi
46034
46035 if test "$wxUSE_CLIPBOARD" = "yes"; then
46036 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46037 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46038 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46039 wxUSE_CLIPBOARD=no
46040 fi
46041
46042 if test "$wxUSE_CLIPBOARD" = "yes"; then
46043 cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_CLIPBOARD 1
46045 _ACEOF
46046
46047 fi
46048 fi
46049
46050 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46051 if test "$wxUSE_GTK" = 1; then
46052 if test "$WXGTK12" != 1; then
46053 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46054 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46055 wxUSE_DRAG_AND_DROP=no
46056 fi
46057 fi
46058
46059 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46060 "$wxUSE_DFB" = 1; then
46061 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46062 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46063 wxUSE_DRAG_AND_DROP=no
46064 fi
46065
46066 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_DRAG_AND_DROP 1
46069 _ACEOF
46070
46071 fi
46072
46073 fi
46074
46075 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46077 fi
46078
46079 if test "$wxUSE_CLIPBOARD" = "yes"; then
46080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46081 fi
46082
46083 if test "$wxUSE_SPLINES" = "yes" ; then
46084 cat >>confdefs.h <<\_ACEOF
46085 #define wxUSE_SPLINES 1
46086 _ACEOF
46087
46088 fi
46089
46090 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46091 cat >>confdefs.h <<\_ACEOF
46092 #define wxUSE_MOUSEWHEEL 1
46093 _ACEOF
46094
46095 fi
46096
46097
46098 USES_CONTROLS=0
46099 if test "$wxUSE_CONTROLS" = "yes"; then
46100 USES_CONTROLS=1
46101 fi
46102
46103 if test "$wxUSE_ACCEL" = "yes"; then
46104 cat >>confdefs.h <<\_ACEOF
46105 #define wxUSE_ACCEL 1
46106 _ACEOF
46107
46108 USES_CONTROLS=1
46109 fi
46110
46111 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46112 cat >>confdefs.h <<\_ACEOF
46113 #define wxUSE_ANIMATIONCTRL 1
46114 _ACEOF
46115
46116 USES_CONTROLS=1
46117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46118 fi
46119
46120 if test "$wxUSE_BUTTON" = "yes"; then
46121 cat >>confdefs.h <<\_ACEOF
46122 #define wxUSE_BUTTON 1
46123 _ACEOF
46124
46125 USES_CONTROLS=1
46126 fi
46127
46128 if test "$wxUSE_BMPBUTTON" = "yes"; then
46129 cat >>confdefs.h <<\_ACEOF
46130 #define wxUSE_BMPBUTTON 1
46131 _ACEOF
46132
46133 USES_CONTROLS=1
46134 fi
46135
46136 if test "$wxUSE_CALCTRL" = "yes"; then
46137 cat >>confdefs.h <<\_ACEOF
46138 #define wxUSE_CALENDARCTRL 1
46139 _ACEOF
46140
46141 USES_CONTROLS=1
46142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46143 fi
46144
46145 if test "$wxUSE_CARET" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_CARET 1
46148 _ACEOF
46149
46150 USES_CONTROLS=1
46151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46152 fi
46153
46154 if test "$wxUSE_COLLPANE" = "yes"; then
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_COLLPANE 1
46157 _ACEOF
46158
46159 USES_CONTROLS=1
46160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46161 fi
46162
46163 if test "$wxUSE_COMBOBOX" = "yes"; then
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_COMBOBOX 1
46166 _ACEOF
46167
46168 USES_CONTROLS=1
46169 fi
46170
46171 if test "$wxUSE_COMBOCTRL" = "yes"; then
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_COMBOCTRL 1
46174 _ACEOF
46175
46176 USES_CONTROLS=1
46177 fi
46178
46179 if test "$wxUSE_CHOICE" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_CHOICE 1
46182 _ACEOF
46183
46184 USES_CONTROLS=1
46185 fi
46186
46187 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46188 cat >>confdefs.h <<\_ACEOF
46189 #define wxUSE_CHOICEBOOK 1
46190 _ACEOF
46191
46192 USES_CONTROLS=1
46193 fi
46194
46195 if test "$wxUSE_CHECKBOX" = "yes"; then
46196 cat >>confdefs.h <<\_ACEOF
46197 #define wxUSE_CHECKBOX 1
46198 _ACEOF
46199
46200 USES_CONTROLS=1
46201 fi
46202
46203 if test "$wxUSE_CHECKLST" = "yes"; then
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_CHECKLISTBOX 1
46206 _ACEOF
46207
46208 USES_CONTROLS=1
46209 fi
46210
46211 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_COLOURPICKERCTRL 1
46214 _ACEOF
46215
46216 USES_CONTROLS=1
46217 fi
46218
46219 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46220 cat >>confdefs.h <<\_ACEOF
46221 #define wxUSE_DATEPICKCTRL 1
46222 _ACEOF
46223
46224 USES_CONTROLS=1
46225 fi
46226
46227 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_DIRPICKERCTRL 1
46230 _ACEOF
46231
46232 USES_CONTROLS=1
46233 fi
46234
46235 if test "$wxUSE_FILECTRL" = "yes"; then
46236 cat >>confdefs.h <<\_ACEOF
46237 #define wxUSE_FILECTRL 1
46238 _ACEOF
46239
46240 USES_CONTROLS=1
46241 fi
46242
46243 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_FILEPICKERCTRL 1
46246 _ACEOF
46247
46248 USES_CONTROLS=1
46249 fi
46250
46251 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_FONTPICKERCTRL 1
46254 _ACEOF
46255
46256 USES_CONTROLS=1
46257 fi
46258
46259 if test "$wxUSE_DISPLAY" = "yes"; then
46260 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46261 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46262 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46263 wxUSE_DISPLAY=no
46264 else
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_DISPLAY 1
46267 _ACEOF
46268
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46270 fi
46271 fi
46272
46273 if test "$wxUSE_DETECT_SM" = "yes"; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_DETECT_SM 1
46276 _ACEOF
46277
46278 fi
46279
46280 if test "$wxUSE_GAUGE" = "yes"; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_GAUGE 1
46283 _ACEOF
46284
46285 USES_CONTROLS=1
46286 fi
46287
46288 if test "$wxUSE_GRID" = "yes"; then
46289 cat >>confdefs.h <<\_ACEOF
46290 #define wxUSE_GRID 1
46291 _ACEOF
46292
46293 USES_CONTROLS=1
46294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46295 fi
46296
46297 if test "$wxUSE_HEADERCTRL" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_HEADERCTRL 1
46300 _ACEOF
46301
46302 USES_CONTROLS=1
46303 fi
46304
46305 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_HYPERLINKCTRL 1
46308 _ACEOF
46309
46310 USES_CONTROLS=1
46311 fi
46312
46313 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46314 cat >>confdefs.h <<\_ACEOF
46315 #define wxUSE_BITMAPCOMBOBOX 1
46316 _ACEOF
46317
46318 USES_CONTROLS=1
46319 fi
46320
46321 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46322 cat >>confdefs.h <<\_ACEOF
46323 #define wxUSE_DATAVIEWCTRL 1
46324 _ACEOF
46325
46326 USES_CONTROLS=1
46327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46328 fi
46329
46330 if test "$wxUSE_IMAGLIST" = "yes"; then
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_IMAGLIST 1
46333 _ACEOF
46334
46335 fi
46336
46337 if test "$wxUSE_INFOBAR" = "yes"; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_INFOBAR 1
46340 _ACEOF
46341
46342 fi
46343
46344 if test "$wxUSE_LISTBOOK" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_LISTBOOK 1
46347 _ACEOF
46348
46349 USES_CONTROLS=1
46350 fi
46351
46352 if test "$wxUSE_LISTBOX" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_LISTBOX 1
46355 _ACEOF
46356
46357 USES_CONTROLS=1
46358 fi
46359
46360 if test "$wxUSE_LISTCTRL" = "yes"; then
46361 if test "$wxUSE_IMAGLIST" = "yes"; then
46362 cat >>confdefs.h <<\_ACEOF
46363 #define wxUSE_LISTCTRL 1
46364 _ACEOF
46365
46366 USES_CONTROLS=1
46367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46368 else
46369 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46370 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46371 fi
46372 fi
46373
46374 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_EDITABLELISTBOX 1
46377 _ACEOF
46378
46379 USES_CONTROLS=1
46380 fi
46381
46382 if test "$wxUSE_NOTEBOOK" = "yes"; then
46383 cat >>confdefs.h <<\_ACEOF
46384 #define wxUSE_NOTEBOOK 1
46385 _ACEOF
46386
46387 USES_CONTROLS=1
46388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46389 fi
46390
46391 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_NOTIFICATION_MESSAGE 1
46394 _ACEOF
46395
46396 fi
46397
46398 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46399 cat >>confdefs.h <<\_ACEOF
46400 #define wxUSE_ODCOMBOBOX 1
46401 _ACEOF
46402
46403 USES_CONTROLS=1
46404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46405 fi
46406
46407 if test "$wxUSE_RADIOBOX" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_RADIOBOX 1
46410 _ACEOF
46411
46412 USES_CONTROLS=1
46413 fi
46414
46415 if test "$wxUSE_RADIOBTN" = "yes"; then
46416 cat >>confdefs.h <<\_ACEOF
46417 #define wxUSE_RADIOBTN 1
46418 _ACEOF
46419
46420 USES_CONTROLS=1
46421 fi
46422
46423 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_REARRANGECTRL 1
46426 _ACEOF
46427
46428 fi
46429
46430 if test "$wxUSE_SASH" = "yes"; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_SASH 1
46433 _ACEOF
46434
46435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46436 fi
46437
46438 if test "$wxUSE_SCROLLBAR" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_SCROLLBAR 1
46441 _ACEOF
46442
46443 USES_CONTROLS=1
46444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46445 fi
46446
46447 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_SEARCHCTRL 1
46450 _ACEOF
46451
46452 USES_CONTROLS=1
46453 fi
46454
46455 if test "$wxUSE_SLIDER" = "yes"; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_SLIDER 1
46458 _ACEOF
46459
46460 USES_CONTROLS=1
46461 fi
46462
46463 if test "$wxUSE_SPINBTN" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_SPINBTN 1
46466 _ACEOF
46467
46468 USES_CONTROLS=1
46469 fi
46470
46471 if test "$wxUSE_SPINCTRL" = "yes"; then
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_SPINCTRL 1
46474 _ACEOF
46475
46476 USES_CONTROLS=1
46477 fi
46478
46479 if test "$wxUSE_SPLITTER" = "yes"; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_SPLITTER 1
46482 _ACEOF
46483
46484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46485 fi
46486
46487 if test "$wxUSE_STATBMP" = "yes"; then
46488 cat >>confdefs.h <<\_ACEOF
46489 #define wxUSE_STATBMP 1
46490 _ACEOF
46491
46492 USES_CONTROLS=1
46493 fi
46494
46495 if test "$wxUSE_STATBOX" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_STATBOX 1
46498 _ACEOF
46499
46500 USES_CONTROLS=1
46501 fi
46502
46503 if test "$wxUSE_STATTEXT" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_STATTEXT 1
46506 _ACEOF
46507
46508 USES_CONTROLS=1
46509 fi
46510
46511 if test "$wxUSE_STATLINE" = "yes"; then
46512 cat >>confdefs.h <<\_ACEOF
46513 #define wxUSE_STATLINE 1
46514 _ACEOF
46515
46516 USES_CONTROLS=1
46517 fi
46518
46519 if test "$wxUSE_STATUSBAR" = "yes"; then
46520 cat >>confdefs.h <<\_ACEOF
46521 #define wxUSE_NATIVE_STATUSBAR 1
46522 _ACEOF
46523
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_STATUSBAR 1
46526 _ACEOF
46527
46528 USES_CONTROLS=1
46529
46530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46531 fi
46532
46533 if test "$wxUSE_TEXTCTRL" = "yes"; then
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_TEXTCTRL 1
46536 _ACEOF
46537
46538 USES_CONTROLS=1
46539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46540
46541 cat >>confdefs.h <<\_ACEOF
46542 #define wxUSE_RICHEDIT 1
46543 _ACEOF
46544
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_RICHEDIT2 1
46547 _ACEOF
46548
46549 fi
46550
46551 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46552 if test "$wxUSE_COCOA" = 1 ; then
46553 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46554 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46555 wxUSE_TOGGLEBTN=no
46556 fi
46557
46558 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_TOGGLEBTN 1
46561 _ACEOF
46562
46563 USES_CONTROLS=1
46564 fi
46565 fi
46566
46567 if test "$wxUSE_TOOLBAR" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_TOOLBAR 1
46570 _ACEOF
46571
46572 USES_CONTROLS=1
46573
46574 if test "$wxUSE_UNIVERSAL" = "yes"; then
46575 wxUSE_TOOLBAR_NATIVE="no"
46576 else
46577 wxUSE_TOOLBAR_NATIVE="yes"
46578 cat >>confdefs.h <<\_ACEOF
46579 #define wxUSE_TOOLBAR_NATIVE 1
46580 _ACEOF
46581
46582 fi
46583
46584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46585 fi
46586
46587 if test "$wxUSE_TOOLTIPS" = "yes"; then
46588 if test "$wxUSE_MOTIF" = 1; then
46589 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46590 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46591 else
46592 if test "$wxUSE_UNIVERSAL" = "yes"; then
46593 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46594 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46595 else
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_TOOLTIPS 1
46598 _ACEOF
46599
46600 fi
46601 fi
46602 fi
46603
46604 if test "$wxUSE_TREEBOOK" = "yes"; then
46605 cat >>confdefs.h <<\_ACEOF
46606 #define wxUSE_TREEBOOK 1
46607 _ACEOF
46608
46609 USES_CONTROLS=1
46610 fi
46611
46612 if test "$wxUSE_TOOLBOOK" = "yes"; then
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_TOOLBOOK 1
46615 _ACEOF
46616
46617 USES_CONTROLS=1
46618 fi
46619
46620 if test "$wxUSE_TREECTRL" = "yes"; then
46621 if test "$wxUSE_IMAGLIST" = "yes"; then
46622 cat >>confdefs.h <<\_ACEOF
46623 #define wxUSE_TREECTRL 1
46624 _ACEOF
46625
46626 USES_CONTROLS=1
46627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46628 else
46629 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46630 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46631 fi
46632 fi
46633
46634 if test "$wxUSE_POPUPWIN" = "yes"; then
46635 if test "$wxUSE_COCOA" = 1 ; then
46636 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46637 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46638 else
46639 if test "$wxUSE_PM" = 1; then
46640 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46641 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46642 else
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_POPUPWIN 1
46645 _ACEOF
46646
46647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46648
46649 USES_CONTROLS=1
46650 fi
46651 fi
46652 fi
46653
46654 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46655 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46656 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46657 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46658 else
46659 cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_DIALUP_MANAGER 1
46661 _ACEOF
46662
46663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46664 fi
46665 fi
46666
46667 if test "$wxUSE_TIPWINDOW" = "yes"; then
46668 if test "$wxUSE_PM" = 1; then
46669 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46670 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46671 else
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_TIPWINDOW 1
46674 _ACEOF
46675
46676 fi
46677 fi
46678
46679 if test "$USES_CONTROLS" = 1; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_CONTROLS 1
46682 _ACEOF
46683
46684 fi
46685
46686
46687 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46688 cat >>confdefs.h <<\_ACEOF
46689 #define wxUSE_ACCESSIBILITY 1
46690 _ACEOF
46691
46692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46693 fi
46694
46695 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46696 cat >>confdefs.h <<\_ACEOF
46697 #define wxUSE_DRAGIMAGE 1
46698 _ACEOF
46699
46700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46701 fi
46702
46703 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46704 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46705 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46706 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46707 else
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_EXCEPTIONS 1
46710 _ACEOF
46711
46712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46713 fi
46714 fi
46715
46716 USE_HTML=0
46717 if test "$wxUSE_HTML" = "yes"; then
46718 cat >>confdefs.h <<\_ACEOF
46719 #define wxUSE_HTML 1
46720 _ACEOF
46721
46722 USE_HTML=1
46723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46724 fi
46725 if test "$wxUSE_WEBKIT" = "yes"; then
46726 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46727 old_CPPFLAGS="$CPPFLAGS"
46728 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46729 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46730 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46731 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46732 echo $ECHO_N "(cached) $ECHO_C" >&6
46733 else
46734 cat >conftest.$ac_ext <<_ACEOF
46735 /* confdefs.h. */
46736 _ACEOF
46737 cat confdefs.h >>conftest.$ac_ext
46738 cat >>conftest.$ac_ext <<_ACEOF
46739 /* end confdefs.h. */
46740
46741 #include <Carbon/Carbon.h>
46742 #include <WebKit/WebKit.h>
46743
46744
46745 #include <WebKit/HIWebView.h>
46746 _ACEOF
46747 rm -f conftest.$ac_objext
46748 if { (ac_try="$ac_compile"
46749 case "(($ac_try" in
46750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46751 *) ac_try_echo=$ac_try;;
46752 esac
46753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46754 (eval "$ac_compile") 2>conftest.er1
46755 ac_status=$?
46756 grep -v '^ *+' conftest.er1 >conftest.err
46757 rm -f conftest.er1
46758 cat conftest.err >&5
46759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760 (exit $ac_status); } && {
46761 test -z "$ac_c_werror_flag" ||
46762 test ! -s conftest.err
46763 } && test -s conftest.$ac_objext; then
46764 ac_cv_header_WebKit_HIWebView_h=yes
46765 else
46766 echo "$as_me: failed program was:" >&5
46767 sed 's/^/| /' conftest.$ac_ext >&5
46768
46769 ac_cv_header_WebKit_HIWebView_h=no
46770 fi
46771
46772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46773 fi
46774 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46775 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46776 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46777
46778 cat >>confdefs.h <<\_ACEOF
46779 #define wxUSE_WEBKIT 1
46780 _ACEOF
46781
46782 WEBKIT_LINK="-framework WebKit"
46783
46784 else
46785
46786 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46787 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46788 wxUSE_WEBKIT=no
46789
46790 fi
46791
46792
46793 CPPFLAGS="$old_CPPFLAGS"
46794 elif test "$wxUSE_COCOA" = 1; then
46795 cat >>confdefs.h <<\_ACEOF
46796 #define wxUSE_WEBKIT 1
46797 _ACEOF
46798
46799 else
46800 wxUSE_WEBKIT=no
46801 fi
46802 if test "$wxUSE_WEBKIT" = "yes"; then
46803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46804 fi
46805 fi
46806
46807 USE_XRC=0
46808 if test "$wxUSE_XRC" = "yes"; then
46809 if test "$wxUSE_XML" != "yes"; then
46810 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46811 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46812 wxUSE_XRC=no
46813 else
46814 cat >>confdefs.h <<\_ACEOF
46815 #define wxUSE_XRC 1
46816 _ACEOF
46817
46818 USE_XRC=1
46819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46820 fi
46821 fi
46822
46823 USE_AUI=0
46824 if test "$wxUSE_AUI" = "yes"; then
46825 cat >>confdefs.h <<\_ACEOF
46826 #define wxUSE_AUI 1
46827 _ACEOF
46828
46829 USE_AUI=1
46830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46831 fi
46832
46833 USE_PROPGRID=0
46834 if test "$wxUSE_PROPGRID" = "yes"; then
46835 cat >>confdefs.h <<\_ACEOF
46836 #define wxUSE_PROPGRID 1
46837 _ACEOF
46838
46839 USE_PROPGRID=1
46840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46841 fi
46842
46843 USE_RIBBON=0
46844 if test "$wxUSE_RIBBON" = "yes"; then
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_RIBBON 1
46847 _ACEOF
46848
46849 USE_RIBBON=1
46850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46851 fi
46852
46853 USE_STC=0
46854 if test "$wxUSE_STC" = "yes"; then
46855 cat >>confdefs.h <<\_ACEOF
46856 #define wxUSE_STC 1
46857 _ACEOF
46858
46859 USE_STC=1
46860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46861
46862 # Extract the first word of "python", so it can be a program name with args.
46863 set dummy python; ac_word=$2
46864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46866 if test "${ac_cv_path_PYTHON+set}" = set; then
46867 echo $ECHO_N "(cached) $ECHO_C" >&6
46868 else
46869 case $PYTHON in
46870 [\\/]* | ?:[\\/]*)
46871 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46872 ;;
46873 *)
46874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46875 for as_dir in $PATH
46876 do
46877 IFS=$as_save_IFS
46878 test -z "$as_dir" && as_dir=.
46879 for ac_exec_ext in '' $ac_executable_extensions; do
46880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46881 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46883 break 2
46884 fi
46885 done
46886 done
46887 IFS=$as_save_IFS
46888
46889 ;;
46890 esac
46891 fi
46892 PYTHON=$ac_cv_path_PYTHON
46893 if test -n "$PYTHON"; then
46894 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46895 echo "${ECHO_T}$PYTHON" >&6; }
46896 else
46897 { echo "$as_me:$LINENO: result: no" >&5
46898 echo "${ECHO_T}no" >&6; }
46899 fi
46900
46901
46902 if test "x$PYTHON" = "x"; then
46903 COND_PYTHON="#"
46904 fi
46905
46906 fi
46907
46908 if test "$wxUSE_MENUS" = "yes"; then
46909 cat >>confdefs.h <<\_ACEOF
46910 #define wxUSE_MENUS 1
46911 _ACEOF
46912
46913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46914 fi
46915
46916 if test "$wxUSE_METAFILE" = "yes"; then
46917 cat >>confdefs.h <<\_ACEOF
46918 #define wxUSE_METAFILE 1
46919 _ACEOF
46920
46921 fi
46922
46923 if test "$wxUSE_MIMETYPE" = "yes"; then
46924 cat >>confdefs.h <<\_ACEOF
46925 #define wxUSE_MIMETYPE 1
46926 _ACEOF
46927
46928 fi
46929
46930 if test "$wxUSE_MINIFRAME" = "yes"; then
46931 cat >>confdefs.h <<\_ACEOF
46932 #define wxUSE_MINIFRAME 1
46933 _ACEOF
46934
46935 fi
46936
46937 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46938 cat >>confdefs.h <<\_ACEOF
46939 #define wxUSE_SYSTEM_OPTIONS 1
46940 _ACEOF
46941
46942 fi
46943
46944 if test "$wxUSE_TASKBARICON" = "yes"; then
46945 cat >>confdefs.h <<\_ACEOF
46946 #define wxUSE_TASKBARICON 1
46947 _ACEOF
46948
46949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46950 fi
46951
46952
46953 if test "$wxUSE_VALIDATORS" = "yes"; then
46954 cat >>confdefs.h <<\_ACEOF
46955 #define wxUSE_VALIDATORS 1
46956 _ACEOF
46957
46958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46959 fi
46960
46961 if test "$wxUSE_PALETTE" = "yes" ; then
46962 if test "$wxUSE_DFB" = 1; then
46963 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46964 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46965 wxUSE_PALETTE=no
46966 else
46967 cat >>confdefs.h <<\_ACEOF
46968 #define wxUSE_PALETTE 1
46969 _ACEOF
46970
46971 fi
46972 fi
46973
46974 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46975 LIBS=" -lunicows $LIBS"
46976 fi
46977
46978 USE_RICHTEXT=0
46979 if test "$wxUSE_RICHTEXT" = "yes"; then
46980 cat >>confdefs.h <<\_ACEOF
46981 #define wxUSE_RICHTEXT 1
46982 _ACEOF
46983
46984 USE_RICHTEXT=1
46985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46986 fi
46987
46988
46989 if test "$wxUSE_IMAGE" = "yes" ; then
46990 cat >>confdefs.h <<\_ACEOF
46991 #define wxUSE_IMAGE 1
46992 _ACEOF
46993
46994
46995 if test "$wxUSE_GIF" = "yes" ; then
46996 cat >>confdefs.h <<\_ACEOF
46997 #define wxUSE_GIF 1
46998 _ACEOF
46999
47000 fi
47001
47002 if test "$wxUSE_PCX" = "yes" ; then
47003 cat >>confdefs.h <<\_ACEOF
47004 #define wxUSE_PCX 1
47005 _ACEOF
47006
47007 fi
47008
47009 if test "$wxUSE_TGA" = "yes" ; then
47010 cat >>confdefs.h <<\_ACEOF
47011 #define wxUSE_TGA 1
47012 _ACEOF
47013
47014 fi
47015
47016 if test "$wxUSE_IFF" = "yes" ; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_IFF 1
47019 _ACEOF
47020
47021 fi
47022
47023 if test "$wxUSE_PNM" = "yes" ; then
47024 cat >>confdefs.h <<\_ACEOF
47025 #define wxUSE_PNM 1
47026 _ACEOF
47027
47028 fi
47029
47030 if test "$wxUSE_XPM" = "yes" ; then
47031 cat >>confdefs.h <<\_ACEOF
47032 #define wxUSE_XPM 1
47033 _ACEOF
47034
47035 fi
47036
47037 if test "$wxUSE_ICO_CUR" = "yes" ; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_ICO_CUR 1
47040 _ACEOF
47041
47042 fi
47043 fi
47044
47045
47046 if test "$wxUSE_ABOUTDLG" = "yes"; then
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_ABOUTDLG 1
47049 _ACEOF
47050
47051 fi
47052
47053 if test "$wxUSE_CHOICEDLG" = "yes"; then
47054 cat >>confdefs.h <<\_ACEOF
47055 #define wxUSE_CHOICEDLG 1
47056 _ACEOF
47057
47058 fi
47059
47060 if test "$wxUSE_COLOURDLG" = "yes"; then
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_COLOURDLG 1
47063 _ACEOF
47064
47065 fi
47066
47067 if test "$wxUSE_FILEDLG" = "yes"; then
47068 cat >>confdefs.h <<\_ACEOF
47069 #define wxUSE_FILEDLG 1
47070 _ACEOF
47071
47072 fi
47073
47074 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47075 cat >>confdefs.h <<\_ACEOF
47076 #define wxUSE_FINDREPLDLG 1
47077 _ACEOF
47078
47079 fi
47080
47081 if test "$wxUSE_FONTDLG" = "yes"; then
47082 cat >>confdefs.h <<\_ACEOF
47083 #define wxUSE_FONTDLG 1
47084 _ACEOF
47085
47086 fi
47087
47088 if test "$wxUSE_DIRDLG" = "yes"; then
47089 if test "$wxUSE_TREECTRL" != "yes"; then
47090 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47091 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47092 else
47093 cat >>confdefs.h <<\_ACEOF
47094 #define wxUSE_DIRDLG 1
47095 _ACEOF
47096
47097 fi
47098 fi
47099
47100 if test "$wxUSE_MSGDLG" = "yes"; then
47101 cat >>confdefs.h <<\_ACEOF
47102 #define wxUSE_MSGDLG 1
47103 _ACEOF
47104
47105 fi
47106
47107 if test "$wxUSE_NUMBERDLG" = "yes"; then
47108 cat >>confdefs.h <<\_ACEOF
47109 #define wxUSE_NUMBERDLG 1
47110 _ACEOF
47111
47112 fi
47113
47114 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47115 cat >>confdefs.h <<\_ACEOF
47116 #define wxUSE_PROGRESSDLG 1
47117 _ACEOF
47118
47119 fi
47120
47121 if test "$wxUSE_SPLASH" = "yes"; then
47122 cat >>confdefs.h <<\_ACEOF
47123 #define wxUSE_SPLASH 1
47124 _ACEOF
47125
47126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47127 fi
47128
47129 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47130 cat >>confdefs.h <<\_ACEOF
47131 #define wxUSE_STARTUP_TIPS 1
47132 _ACEOF
47133
47134 fi
47135
47136 if test "$wxUSE_TEXTDLG" = "yes"; then
47137 cat >>confdefs.h <<\_ACEOF
47138 #define wxUSE_TEXTDLG 1
47139 _ACEOF
47140
47141 fi
47142
47143 if test "$wxUSE_WIZARDDLG" = "yes"; then
47144 cat >>confdefs.h <<\_ACEOF
47145 #define wxUSE_WIZARDDLG 1
47146 _ACEOF
47147
47148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47149 fi
47150
47151
47152 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47153 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47154 cat >>confdefs.h <<\_ACEOF
47155 #define wxUSE_OWNER_DRAWN 1
47156 _ACEOF
47157
47158 fi
47159 fi
47160
47161
47162 if test "$wxUSE_MSW" = 1 ; then
47163
47164 if test "$wxUSE_DC_CACHEING" = "yes"; then
47165 cat >>confdefs.h <<\_ACEOF
47166 #define wxUSE_DC_CACHEING 1
47167 _ACEOF
47168
47169 fi
47170
47171 if test "$wxUSE_DIB" = "yes"; then
47172 cat >>confdefs.h <<\_ACEOF
47173 #define wxUSE_WXDIB 1
47174 _ACEOF
47175
47176 fi
47177
47178 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47179 cat >>confdefs.h <<\_ACEOF
47180 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47181 _ACEOF
47182
47183 fi
47184
47185 if test "$wxUSE_UXTHEME" = "yes"; then
47186 cat >>confdefs.h <<\_ACEOF
47187 #define wxUSE_UXTHEME 1
47188 _ACEOF
47189
47190 fi
47191
47192 fi
47193
47194 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_AUTOID_MANAGEMENT 1
47197 _ACEOF
47198
47199 fi
47200
47201 if test "$USE_WIN32" = 1 ; then
47202 if test "$wxUSE_INICONF" = "yes"; then
47203 cat >>confdefs.h <<\_ACEOF
47204 #define wxUSE_INICONF 1
47205 _ACEOF
47206
47207 fi
47208
47209 if test "$wxUSE_REGKEY" = "yes"; then
47210 cat >>confdefs.h <<\_ACEOF
47211 #define wxUSE_REGKEY 1
47212 _ACEOF
47213
47214 fi
47215 fi
47216
47217
47218 if test "$wxUSE_MAC" = 1; then
47219 wxUSE_GRAPHICS_CONTEXT="yes"
47220 fi
47221
47222 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47223 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
47224 cat >>confdefs.h <<\_ACEOF
47225 #define wxUSE_GRAPHICS_CONTEXT 1
47226 _ACEOF
47227
47228 elif test "$wxUSE_GTK" != 1; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_GRAPHICS_CONTEXT 1
47231 _ACEOF
47232
47233 else
47234
47235 pkg_failed=no
47236 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47237 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47238
47239 if test -n "$PKG_CONFIG"; then
47240 if test -n "$CAIRO_CFLAGS"; then
47241 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47242 else
47243 if test -n "$PKG_CONFIG" && \
47244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47245 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47246 ac_status=$?
47247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47248 (exit $ac_status); }; then
47249 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47250 else
47251 pkg_failed=yes
47252 fi
47253 fi
47254 else
47255 pkg_failed=untried
47256 fi
47257 if test -n "$PKG_CONFIG"; then
47258 if test -n "$CAIRO_LIBS"; then
47259 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47260 else
47261 if test -n "$PKG_CONFIG" && \
47262 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47263 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47264 ac_status=$?
47265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47266 (exit $ac_status); }; then
47267 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47268 else
47269 pkg_failed=yes
47270 fi
47271 fi
47272 else
47273 pkg_failed=untried
47274 fi
47275
47276
47277
47278 if test $pkg_failed = yes; then
47279
47280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47281 _pkg_short_errors_supported=yes
47282 else
47283 _pkg_short_errors_supported=no
47284 fi
47285 if test $_pkg_short_errors_supported = yes; then
47286 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47287 else
47288 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47289 fi
47290 # Put the nasty error message in config.log where it belongs
47291 echo "$CAIRO_PKG_ERRORS" >&5
47292
47293 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47294 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47295
47296 elif test $pkg_failed = untried; then
47297 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47298 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47299
47300 else
47301 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47302 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47303 { echo "$as_me:$LINENO: result: yes" >&5
47304 echo "${ECHO_T}yes" >&6; }
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_GRAPHICS_CONTEXT 1
47307 _ACEOF
47308
47309 fi
47310 fi
47311 fi
47312
47313
47314 USE_MEDIA=0
47315
47316 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47317 USE_MEDIA=1
47318
47319 if test "$wxUSE_GTK" = 1; then
47320 wxUSE_GSTREAMER="no"
47321
47322 GST_VERSION_MAJOR=0
47323 GST_VERSION_MINOR=10
47324 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47325
47326 if test "$wxUSE_GSTREAMER8" = "no"; then
47327
47328 pkg_failed=no
47329 { echo "$as_me:$LINENO: checking for GST" >&5
47330 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47331
47332 if test -n "$PKG_CONFIG"; then
47333 if test -n "$GST_CFLAGS"; then
47334 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47335 else
47336 if test -n "$PKG_CONFIG" && \
47337 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47338 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47339 ac_status=$?
47340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47341 (exit $ac_status); }; then
47342 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47343 else
47344 pkg_failed=yes
47345 fi
47346 fi
47347 else
47348 pkg_failed=untried
47349 fi
47350 if test -n "$PKG_CONFIG"; then
47351 if test -n "$GST_LIBS"; then
47352 pkg_cv_GST_LIBS="$GST_LIBS"
47353 else
47354 if test -n "$PKG_CONFIG" && \
47355 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47356 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47357 ac_status=$?
47358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47359 (exit $ac_status); }; then
47360 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47361 else
47362 pkg_failed=yes
47363 fi
47364 fi
47365 else
47366 pkg_failed=untried
47367 fi
47368
47369
47370
47371 if test $pkg_failed = yes; then
47372
47373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47374 _pkg_short_errors_supported=yes
47375 else
47376 _pkg_short_errors_supported=no
47377 fi
47378 if test $_pkg_short_errors_supported = yes; then
47379 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47380 else
47381 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47382 fi
47383 # Put the nasty error message in config.log where it belongs
47384 echo "$GST_PKG_ERRORS" >&5
47385
47386
47387 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47388 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47389 GST_VERSION_MINOR=8
47390
47391
47392 elif test $pkg_failed = untried; then
47393
47394 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47395 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47396 GST_VERSION_MINOR=8
47397
47398
47399 else
47400 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47401 GST_LIBS=$pkg_cv_GST_LIBS
47402 { echo "$as_me:$LINENO: result: yes" >&5
47403 echo "${ECHO_T}yes" >&6; }
47404
47405 wxUSE_GSTREAMER="yes"
47406 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47407
47408 fi
47409 else
47410 GST_VERSION_MINOR=8
47411 fi
47412
47413 if test $GST_VERSION_MINOR = "8"; then
47414 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47415
47416 pkg_failed=no
47417 { echo "$as_me:$LINENO: checking for GST" >&5
47418 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47419
47420 if test -n "$PKG_CONFIG"; then
47421 if test -n "$GST_CFLAGS"; then
47422 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47423 else
47424 if test -n "$PKG_CONFIG" && \
47425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47426 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47427 ac_status=$?
47428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47429 (exit $ac_status); }; then
47430 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47431 else
47432 pkg_failed=yes
47433 fi
47434 fi
47435 else
47436 pkg_failed=untried
47437 fi
47438 if test -n "$PKG_CONFIG"; then
47439 if test -n "$GST_LIBS"; then
47440 pkg_cv_GST_LIBS="$GST_LIBS"
47441 else
47442 if test -n "$PKG_CONFIG" && \
47443 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47444 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47445 ac_status=$?
47446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47447 (exit $ac_status); }; then
47448 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47449 else
47450 pkg_failed=yes
47451 fi
47452 fi
47453 else
47454 pkg_failed=untried
47455 fi
47456
47457
47458
47459 if test $pkg_failed = yes; then
47460
47461 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47462 _pkg_short_errors_supported=yes
47463 else
47464 _pkg_short_errors_supported=no
47465 fi
47466 if test $_pkg_short_errors_supported = yes; then
47467 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47468 else
47469 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47470 fi
47471 # Put the nasty error message in config.log where it belongs
47472 echo "$GST_PKG_ERRORS" >&5
47473
47474
47475 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47476 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47477
47478 elif test $pkg_failed = untried; then
47479
47480 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47481 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47482
47483 else
47484 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47485 GST_LIBS=$pkg_cv_GST_LIBS
47486 { echo "$as_me:$LINENO: result: yes" >&5
47487 echo "${ECHO_T}yes" >&6; }
47488 wxUSE_GSTREAMER="yes"
47489 fi
47490 fi
47491
47492
47493 if test "$wxUSE_GSTREAMER" = "yes"; then
47494 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47495 EXTRALIBS_MEDIA="$GST_LIBS"
47496
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_GSTREAMER 1
47499 _ACEOF
47500
47501 else
47502 USE_MEDIA=0
47503 fi
47504 fi
47505
47506 if test $USE_MEDIA = 1; then
47507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47508 cat >>confdefs.h <<\_ACEOF
47509 #define wxUSE_MEDIACTRL 1
47510 _ACEOF
47511
47512 else
47513 if test "$wxUSE_MEDIACTRL" = "yes"; then
47514 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47515 echo "$as_me: error: GStreamer not available" >&2;}
47516 { (exit 1); exit 1; }; }
47517 else
47518 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47519 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47520 fi
47521 fi
47522 fi
47523
47524
47525 if test "$cross_compiling" != "no"; then
47526 OSINFO="\"$host\""
47527 else
47528 OSINFO=`uname -s -r -m`
47529 OSINFO="\"$OSINFO\""
47530 fi
47531
47532 cat >>confdefs.h <<_ACEOF
47533 #define WXWIN_OS_DESCRIPTION $OSINFO
47534 _ACEOF
47535
47536
47537
47538 if test "x$prefix" != "xNONE"; then
47539 wxPREFIX=$prefix
47540 else
47541 wxPREFIX=$ac_default_prefix
47542 fi
47543
47544 cat >>confdefs.h <<_ACEOF
47545 #define wxINSTALL_PREFIX "$wxPREFIX"
47546 _ACEOF
47547
47548
47549
47550
47551 STD_BASE_LIBS="base"
47552 STD_GUI_LIBS=""
47553 BUILT_WX_LIBS="base"
47554 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47555
47556 if test "$wxUSE_SOCKETS" = "yes" ; then
47557 STD_BASE_LIBS="net $STD_BASE_LIBS"
47558 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47559 fi
47560 if test "$wxUSE_XML" = "yes" ; then
47561 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47562 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47563 fi
47564
47565 if test "$wxUSE_GUI" = "yes"; then
47566 STD_GUI_LIBS="adv core"
47567 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47568
47569 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47570 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47571 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47572 fi
47573 if test "$wxUSE_HTML" = "yes" ; then
47574 STD_GUI_LIBS="html $STD_GUI_LIBS"
47575 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47576 fi
47577 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47578 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47579 fi
47580 if test "$wxUSE_OPENGL" = "yes" ; then
47581 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47582 fi
47583 if test "$wxUSE_AUI" = "yes" ; then
47584 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47585 fi
47586 if test "$wxUSE_PROPGRID" = "yes" ; then
47587 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47588 fi
47589 if test "$wxUSE_RIBBON" = "yes" ; then
47590 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47591 fi
47592 if test "$wxUSE_RICHTEXT" = "yes" ; then
47593 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47594 fi
47595 if test "$wxUSE_STC" = "yes" ; then
47596 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47597 fi
47598 if test "$wxUSE_XRC" = "yes" ; then
47599 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47600 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47601 fi
47602 fi
47603
47604
47605
47606
47607
47608
47609
47610 EXTRA_FRAMEWORKS=
47611 if test "$wxUSE_MAC" = 1 ; then
47612 if test "$USE_DARWIN" = 1; then
47613 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47614 fi
47615 fi
47616 if test "$wxUSE_COCOA" = 1 ; then
47617 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
47618 if test "$wxUSE_MEDIACTRL" = "yes"; then
47619 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
47620 fi
47621 fi
47622 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47623 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47624 fi
47625
47626 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
47627 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47628
47629 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47630
47631 if test "$wxUSE_GUI" = "yes"; then
47632
47633
47634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47635 erase event exec font image minimal render \
47636 shaped svg taborder vscroll widgets wrapsizer"
47637
47638 if test "$wxUSE_MONOLITHIC" != "yes"; then
47639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47640 fi
47641 if test "$TOOLKIT" = "MSW"; then
47642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47643 if test "$wxUSE_UNIVERSAL" != "yes"; then
47644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47645 fi
47646 fi
47647 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47649 fi
47650 else
47651 SAMPLES_SUBDIRS="console"
47652 if test "$wxUSE_SOCKETS" = "yes" ; then
47653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47654 fi
47655 if test "$wxUSE_IPC" = "yes" ; then
47656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47657 fi
47658 fi
47659
47660
47661 if test "x$INTELCC" = "xyes" ; then
47662 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47663 elif test "$GCC" = yes ; then
47664 CWARNINGS="-Wall -Wundef"
47665 fi
47666
47667 if test "x$INTELCXX" = "xyes" ; then
47668 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47669 elif test "$GXX" = yes ; then
47670 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47671 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47672 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47673 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47674 echo $ECHO_N "(cached) $ECHO_C" >&6
47675 else
47676 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47677
47678 ac_ext=cpp
47679 ac_cpp='$CXXCPP $CPPFLAGS'
47680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47683
47684 ac_save_CXXFLAGS="$CXXFLAGS"
47685 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47686 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47687 cat >conftest.$ac_ext <<_ACEOF
47688 /* confdefs.h. */
47689 _ACEOF
47690 cat confdefs.h >>conftest.$ac_ext
47691 cat >>conftest.$ac_ext <<_ACEOF
47692 /* end confdefs.h. */
47693
47694 int
47695 main ()
47696 {
47697 return 0;
47698 ;
47699 return 0;
47700 }
47701 _ACEOF
47702 rm -f conftest.$ac_objext
47703 if { (ac_try="$ac_compile"
47704 case "(($ac_try" in
47705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47706 *) ac_try_echo=$ac_try;;
47707 esac
47708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47709 (eval "$ac_compile") 2>conftest.er1
47710 ac_status=$?
47711 grep -v '^ *+' conftest.er1 >conftest.err
47712 rm -f conftest.er1
47713 cat conftest.err >&5
47714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47715 (exit $ac_status); } && {
47716 test -z "$ac_cxx_werror_flag" ||
47717 test ! -s conftest.err
47718 } && test -s conftest.$ac_objext; then
47719 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47720 else
47721 echo "$as_me: failed program was:" >&5
47722 sed 's/^/| /' conftest.$ac_ext >&5
47723
47724
47725 fi
47726
47727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47728 done
47729 CXXFLAGS="$ac_save_CXXFLAGS"
47730 ac_ext=c
47731 ac_cpp='$CPP $CPPFLAGS'
47732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735
47736
47737 fi
47738 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47739 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47740 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47741 .ok|.ok,*) ;;
47742 .|.no|.no,*) ;;
47743 *)
47744 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47745 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47746 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47747 ac_status=$?
47748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47749 (exit $ac_status); }
47750 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47751 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47752 ac_status=$?
47753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47754 (exit $ac_status); }
47755 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47756 fi
47757 ;;
47758 esac
47759
47760
47761 if test "$wxUSE_MAC" = 1 ; then
47762 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47763 fi
47764 fi
47765
47766
47767 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47768 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47769
47770
47771 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47772 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47773 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47774 $CPPFLAGS `
47775
47776 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47777 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47778 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47779 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47780 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47781
47782 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47783
47784
47785 if test "x$MWCC" = "xyes"; then
47786
47787 CC="$CC -cwd source -I-"
47788 CXX="$CXX -cwd source -I-"
47789 fi
47790
47791
47792 LIBS=`echo $LIBS`
47793 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47794 EXTRALIBS_XML="$EXPAT_LINK"
47795 EXTRALIBS_HTML="$MSPACK_LINK"
47796 EXTRALIBS_MEDIA="$GST_LIBS"
47797 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47798 if test "$wxUSE_GUI" = "yes"; then
47799 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47800 fi
47801 if test "$wxUSE_OPENGL" = "yes"; then
47802 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47803 fi
47804
47805 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47806
47807 WXCONFIG_LIBS="$LIBS"
47808
47809 if test "$wxUSE_REGEX" = "builtin" ; then
47810 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47811 fi
47812 if test "$wxUSE_EXPAT" = "builtin" ; then
47813 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47814 fi
47815 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47816 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47817 fi
47818 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47819 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47820 fi
47821 if test "$wxUSE_LIBPNG" = "builtin" ; then
47822 wxconfig_3rdparty="png $wxconfig_3rdparty"
47823 fi
47824 if test "$wxUSE_ZLIB" = "builtin" ; then
47825 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47826 fi
47827
47828 for i in $wxconfig_3rdparty ; do
47829 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47830 done
47831
47832
47833 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47834 WXUNIV=1
47835
47836 case "$wxUNIV_THEMES" in
47837 ''|all)
47838 cat >>confdefs.h <<\_ACEOF
47839 #define wxUSE_ALL_THEMES 1
47840 _ACEOF
47841
47842 ;;
47843
47844 *)
47845 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47846 cat >>confdefs.h <<_ACEOF
47847 #define wxUSE_THEME_$t 1
47848 _ACEOF
47849
47850 done
47851 esac
47852 else
47853 WXUNIV=0
47854 fi
47855
47856
47857
47858
47859
47860
47861
47862
47863 if test $wxUSE_MONOLITHIC = "yes" ; then
47864 MONOLITHIC=1
47865 else
47866 MONOLITHIC=0
47867 fi
47868
47869 if test $wxUSE_PLUGINS = "yes" ; then
47870 USE_PLUGINS=1
47871 else
47872 USE_PLUGINS=0
47873 fi
47874
47875 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47876 USE_QA=1
47877 else
47878 USE_QA=0
47879 fi
47880
47881 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47882 OFFICIAL_BUILD=1
47883 else
47884 OFFICIAL_BUILD=0
47885 fi
47886
47887
47888
47889
47890
47891
47892
47893
47894
47895
47896
47897
47898
47899
47900
47901
47902
47903
47904
47905
47906
47907
47908
47909
47910
47911
47912
47913 TOOLKIT_LOWERCASE=xxx
47914 if test "$TOOLKIT" = "MAC"; then
47915 TOOLKIT_LOWERCASE=osx_carbon
47916 fi
47917 if test "$TOOLKIT" = "OSX_CARBON"; then
47918 TOOLKIT_LOWERCASE=osx_carbon
47919 fi
47920 if test "$TOOLKIT" = "OSX_COCOA"; then
47921 TOOLKIT_LOWERCASE=osx_cocoa
47922 fi
47923 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47924 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47925 fi
47926
47927
47928
47929
47930
47931
47932
47933
47934
47935
47936 case "$TOOLKIT" in
47937 GTK)
47938 TOOLKIT_DESC="GTK+"
47939 if test "$WXGTK2" = 1; then
47940 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47941 if test "$wxUSE_GTKPRINT" = "yes" ; then
47942 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47943 fi
47944 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47945 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47946 fi
47947 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47948 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47949 fi
47950 if test "$wxUSE_LIBHILDON" = "yes"; then
47951 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47952 fi
47953 if test "$wxUSE_LIBHILDON2" = "yes"; then
47954 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47955 fi
47956
47957 if test "$TOOLKIT_EXTRA" != ""; then
47958 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47959 fi
47960 fi
47961 ;;
47962
47963 ?*)
47964 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47965 ;;
47966
47967 *)
47968 TOOLKIT_DESC="base only"
47969 ;;
47970 esac
47971
47972 if test "$wxUSE_WINE" = "yes"; then
47973 BAKEFILE_FORCE_PLATFORM=win32
47974 fi
47975
47976 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47977 then
47978 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47979 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47980 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47981 echo $ECHO_N "(cached) $ECHO_C" >&6
47982 else
47983
47984 echo '#include <stdio.h>
47985 const wchar_t test_var[] = L"awidetest";' > conftest.h
47986
47987 echo '#include "conftest.h"
47988 int main()
47989 {
47990 printf("%ls", test_var);
47991 return 0;
47992 }' > conftest.cpp
47993
47994 wx_cv_gcc_pch_bug="pch not supported"
47995
47996 if $CXX conftest.h >/dev/null 2>&1
47997 then
47998 wx_cv_gcc_pch_bug=
47999
48000 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48001 then
48002 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48003 grep awidetest >/dev/null
48004 then
48005 wx_cv_gcc_pch_bug=no
48006 else
48007 wx_cv_gcc_pch_bug=yes
48008 fi
48009 fi
48010 fi
48011
48012 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48013
48014 fi
48015 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48016 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48017
48018 if test "$wx_cv_gcc_pch_bug" = yes; then
48019 bk_use_pch=no
48020 fi
48021 fi
48022
48023
48024
48025
48026
48027
48028
48029 if test "x$BAKEFILE_HOST" = "x"; then
48030 if test "x${host}" = "x" ; then
48031 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48032 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48033 { (exit 1); exit 1; }; }
48034 fi
48035
48036 BAKEFILE_HOST="${host}"
48037 fi
48038
48039 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48040
48041 if test -n "$ac_tool_prefix"; then
48042 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48043 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48046 if test "${ac_cv_prog_RANLIB+set}" = set; then
48047 echo $ECHO_N "(cached) $ECHO_C" >&6
48048 else
48049 if test -n "$RANLIB"; then
48050 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48051 else
48052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48053 for as_dir in $PATH
48054 do
48055 IFS=$as_save_IFS
48056 test -z "$as_dir" && as_dir=.
48057 for ac_exec_ext in '' $ac_executable_extensions; do
48058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48059 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48061 break 2
48062 fi
48063 done
48064 done
48065 IFS=$as_save_IFS
48066
48067 fi
48068 fi
48069 RANLIB=$ac_cv_prog_RANLIB
48070 if test -n "$RANLIB"; then
48071 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48072 echo "${ECHO_T}$RANLIB" >&6; }
48073 else
48074 { echo "$as_me:$LINENO: result: no" >&5
48075 echo "${ECHO_T}no" >&6; }
48076 fi
48077
48078
48079 fi
48080 if test -z "$ac_cv_prog_RANLIB"; then
48081 ac_ct_RANLIB=$RANLIB
48082 # Extract the first word of "ranlib", so it can be a program name with args.
48083 set dummy ranlib; ac_word=$2
48084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48086 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48087 echo $ECHO_N "(cached) $ECHO_C" >&6
48088 else
48089 if test -n "$ac_ct_RANLIB"; then
48090 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48091 else
48092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48093 for as_dir in $PATH
48094 do
48095 IFS=$as_save_IFS
48096 test -z "$as_dir" && as_dir=.
48097 for ac_exec_ext in '' $ac_executable_extensions; do
48098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48099 ac_cv_prog_ac_ct_RANLIB="ranlib"
48100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48101 break 2
48102 fi
48103 done
48104 done
48105 IFS=$as_save_IFS
48106
48107 fi
48108 fi
48109 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48110 if test -n "$ac_ct_RANLIB"; then
48111 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48112 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48113 else
48114 { echo "$as_me:$LINENO: result: no" >&5
48115 echo "${ECHO_T}no" >&6; }
48116 fi
48117
48118 if test "x$ac_ct_RANLIB" = x; then
48119 RANLIB=":"
48120 else
48121 case $cross_compiling:$ac_tool_warned in
48122 yes:)
48123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48124 whose name does not start with the host triplet. If you think this
48125 configuration is useful to you, please write to autoconf@gnu.org." >&5
48126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48127 whose name does not start with the host triplet. If you think this
48128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48129 ac_tool_warned=yes ;;
48130 esac
48131 RANLIB=$ac_ct_RANLIB
48132 fi
48133 else
48134 RANLIB="$ac_cv_prog_RANLIB"
48135 fi
48136
48137 # Find a good install program. We prefer a C program (faster),
48138 # so one script is as good as another. But avoid the broken or
48139 # incompatible versions:
48140 # SysV /etc/install, /usr/sbin/install
48141 # SunOS /usr/etc/install
48142 # IRIX /sbin/install
48143 # AIX /bin/install
48144 # AmigaOS /C/install, which installs bootblocks on floppy discs
48145 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48146 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48147 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48148 # OS/2's system install, which has a completely different semantic
48149 # ./install, which can be erroneously created by make from ./install.sh.
48150 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48151 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48152 if test -z "$INSTALL"; then
48153 if test "${ac_cv_path_install+set}" = set; then
48154 echo $ECHO_N "(cached) $ECHO_C" >&6
48155 else
48156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48157 for as_dir in $PATH
48158 do
48159 IFS=$as_save_IFS
48160 test -z "$as_dir" && as_dir=.
48161 # Account for people who put trailing slashes in PATH elements.
48162 case $as_dir/ in
48163 ./ | .// | /cC/* | \
48164 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48165 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48166 /usr/ucb/* ) ;;
48167 *)
48168 # OSF1 and SCO ODT 3.0 have their own names for install.
48169 # Don't use installbsd from OSF since it installs stuff as root
48170 # by default.
48171 for ac_prog in ginstall scoinst install; do
48172 for ac_exec_ext in '' $ac_executable_extensions; do
48173 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48174 if test $ac_prog = install &&
48175 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48176 # AIX install. It has an incompatible calling convention.
48177 :
48178 elif test $ac_prog = install &&
48179 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48180 # program-specific install script used by HP pwplus--don't use.
48181 :
48182 else
48183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48184 break 3
48185 fi
48186 fi
48187 done
48188 done
48189 ;;
48190 esac
48191 done
48192 IFS=$as_save_IFS
48193
48194
48195 fi
48196 if test "${ac_cv_path_install+set}" = set; then
48197 INSTALL=$ac_cv_path_install
48198 else
48199 # As a last resort, use the slow shell script. Don't cache a
48200 # value for INSTALL within a source directory, because that will
48201 # break other packages using the cache if that directory is
48202 # removed, or if the value is a relative name.
48203 INSTALL=$ac_install_sh
48204 fi
48205 fi
48206 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48207 echo "${ECHO_T}$INSTALL" >&6; }
48208
48209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48210 # It thinks the first close brace ends the variable substitution.
48211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48212
48213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48214
48215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48216
48217 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48218 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48219 LN_S=$as_ln_s
48220 if test "$LN_S" = "ln -s"; then
48221 { echo "$as_me:$LINENO: result: yes" >&5
48222 echo "${ECHO_T}yes" >&6; }
48223 else
48224 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48225 echo "${ECHO_T}no, using $LN_S" >&6; }
48226 fi
48227
48228
48229 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48230 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48231 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48232 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48233 echo $ECHO_N "(cached) $ECHO_C" >&6
48234 else
48235 cat >conftest.make <<\_ACEOF
48236 SHELL = /bin/sh
48237 all:
48238 @echo '@@@%%%=$(MAKE)=@@@%%%'
48239 _ACEOF
48240 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48241 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48242 *@@@%%%=?*=@@@%%%*)
48243 eval ac_cv_prog_make_${ac_make}_set=yes;;
48244 *)
48245 eval ac_cv_prog_make_${ac_make}_set=no;;
48246 esac
48247 rm -f conftest.make
48248 fi
48249 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48250 { echo "$as_me:$LINENO: result: yes" >&5
48251 echo "${ECHO_T}yes" >&6; }
48252 SET_MAKE=
48253 else
48254 { echo "$as_me:$LINENO: result: no" >&5
48255 echo "${ECHO_T}no" >&6; }
48256 SET_MAKE="MAKE=${MAKE-make}"
48257 fi
48258
48259
48260
48261 if test "x$SUNCXX" = "xyes"; then
48262 AR=$CXX
48263 AROPTIONS="-xar -o"
48264
48265 elif test "x$SGICC" = "xyes"; then
48266 AR=$CXX
48267 AROPTIONS="-ar -o"
48268
48269 else
48270 if test -n "$ac_tool_prefix"; then
48271 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48272 set dummy ${ac_tool_prefix}ar; ac_word=$2
48273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48275 if test "${ac_cv_prog_AR+set}" = set; then
48276 echo $ECHO_N "(cached) $ECHO_C" >&6
48277 else
48278 if test -n "$AR"; then
48279 ac_cv_prog_AR="$AR" # Let the user override the test.
48280 else
48281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48282 for as_dir in $PATH
48283 do
48284 IFS=$as_save_IFS
48285 test -z "$as_dir" && as_dir=.
48286 for ac_exec_ext in '' $ac_executable_extensions; do
48287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48288 ac_cv_prog_AR="${ac_tool_prefix}ar"
48289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48290 break 2
48291 fi
48292 done
48293 done
48294 IFS=$as_save_IFS
48295
48296 fi
48297 fi
48298 AR=$ac_cv_prog_AR
48299 if test -n "$AR"; then
48300 { echo "$as_me:$LINENO: result: $AR" >&5
48301 echo "${ECHO_T}$AR" >&6; }
48302 else
48303 { echo "$as_me:$LINENO: result: no" >&5
48304 echo "${ECHO_T}no" >&6; }
48305 fi
48306
48307
48308 fi
48309 if test -z "$ac_cv_prog_AR"; then
48310 ac_ct_AR=$AR
48311 # Extract the first word of "ar", so it can be a program name with args.
48312 set dummy ar; ac_word=$2
48313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48315 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48316 echo $ECHO_N "(cached) $ECHO_C" >&6
48317 else
48318 if test -n "$ac_ct_AR"; then
48319 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48320 else
48321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48322 for as_dir in $PATH
48323 do
48324 IFS=$as_save_IFS
48325 test -z "$as_dir" && as_dir=.
48326 for ac_exec_ext in '' $ac_executable_extensions; do
48327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48328 ac_cv_prog_ac_ct_AR="ar"
48329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48330 break 2
48331 fi
48332 done
48333 done
48334 IFS=$as_save_IFS
48335
48336 fi
48337 fi
48338 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48339 if test -n "$ac_ct_AR"; then
48340 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48341 echo "${ECHO_T}$ac_ct_AR" >&6; }
48342 else
48343 { echo "$as_me:$LINENO: result: no" >&5
48344 echo "${ECHO_T}no" >&6; }
48345 fi
48346
48347 if test "x$ac_ct_AR" = x; then
48348 AR="ar"
48349 else
48350 case $cross_compiling:$ac_tool_warned in
48351 yes:)
48352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48353 whose name does not start with the host triplet. If you think this
48354 configuration is useful to you, please write to autoconf@gnu.org." >&5
48355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48356 whose name does not start with the host triplet. If you think this
48357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48358 ac_tool_warned=yes ;;
48359 esac
48360 AR=$ac_ct_AR
48361 fi
48362 else
48363 AR="$ac_cv_prog_AR"
48364 fi
48365
48366 AROPTIONS=rcu
48367 fi
48368
48369
48370 if test -n "$ac_tool_prefix"; then
48371 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48372 set dummy ${ac_tool_prefix}strip; ac_word=$2
48373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48375 if test "${ac_cv_prog_STRIP+set}" = set; then
48376 echo $ECHO_N "(cached) $ECHO_C" >&6
48377 else
48378 if test -n "$STRIP"; then
48379 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48380 else
48381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48382 for as_dir in $PATH
48383 do
48384 IFS=$as_save_IFS
48385 test -z "$as_dir" && as_dir=.
48386 for ac_exec_ext in '' $ac_executable_extensions; do
48387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48388 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48390 break 2
48391 fi
48392 done
48393 done
48394 IFS=$as_save_IFS
48395
48396 fi
48397 fi
48398 STRIP=$ac_cv_prog_STRIP
48399 if test -n "$STRIP"; then
48400 { echo "$as_me:$LINENO: result: $STRIP" >&5
48401 echo "${ECHO_T}$STRIP" >&6; }
48402 else
48403 { echo "$as_me:$LINENO: result: no" >&5
48404 echo "${ECHO_T}no" >&6; }
48405 fi
48406
48407
48408 fi
48409 if test -z "$ac_cv_prog_STRIP"; then
48410 ac_ct_STRIP=$STRIP
48411 # Extract the first word of "strip", so it can be a program name with args.
48412 set dummy strip; ac_word=$2
48413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48415 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48416 echo $ECHO_N "(cached) $ECHO_C" >&6
48417 else
48418 if test -n "$ac_ct_STRIP"; then
48419 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48420 else
48421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48422 for as_dir in $PATH
48423 do
48424 IFS=$as_save_IFS
48425 test -z "$as_dir" && as_dir=.
48426 for ac_exec_ext in '' $ac_executable_extensions; do
48427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48428 ac_cv_prog_ac_ct_STRIP="strip"
48429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48430 break 2
48431 fi
48432 done
48433 done
48434 IFS=$as_save_IFS
48435
48436 fi
48437 fi
48438 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48439 if test -n "$ac_ct_STRIP"; then
48440 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48441 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48442 else
48443 { echo "$as_me:$LINENO: result: no" >&5
48444 echo "${ECHO_T}no" >&6; }
48445 fi
48446
48447 if test "x$ac_ct_STRIP" = x; then
48448 STRIP=":"
48449 else
48450 case $cross_compiling:$ac_tool_warned in
48451 yes:)
48452 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48453 whose name does not start with the host triplet. If you think this
48454 configuration is useful to you, please write to autoconf@gnu.org." >&5
48455 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48456 whose name does not start with the host triplet. If you think this
48457 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48458 ac_tool_warned=yes ;;
48459 esac
48460 STRIP=$ac_ct_STRIP
48461 fi
48462 else
48463 STRIP="$ac_cv_prog_STRIP"
48464 fi
48465
48466 if test -n "$ac_tool_prefix"; then
48467 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48468 set dummy ${ac_tool_prefix}nm; ac_word=$2
48469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48471 if test "${ac_cv_prog_NM+set}" = set; then
48472 echo $ECHO_N "(cached) $ECHO_C" >&6
48473 else
48474 if test -n "$NM"; then
48475 ac_cv_prog_NM="$NM" # Let the user override the test.
48476 else
48477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48478 for as_dir in $PATH
48479 do
48480 IFS=$as_save_IFS
48481 test -z "$as_dir" && as_dir=.
48482 for ac_exec_ext in '' $ac_executable_extensions; do
48483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48484 ac_cv_prog_NM="${ac_tool_prefix}nm"
48485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48486 break 2
48487 fi
48488 done
48489 done
48490 IFS=$as_save_IFS
48491
48492 fi
48493 fi
48494 NM=$ac_cv_prog_NM
48495 if test -n "$NM"; then
48496 { echo "$as_me:$LINENO: result: $NM" >&5
48497 echo "${ECHO_T}$NM" >&6; }
48498 else
48499 { echo "$as_me:$LINENO: result: no" >&5
48500 echo "${ECHO_T}no" >&6; }
48501 fi
48502
48503
48504 fi
48505 if test -z "$ac_cv_prog_NM"; then
48506 ac_ct_NM=$NM
48507 # Extract the first word of "nm", so it can be a program name with args.
48508 set dummy nm; ac_word=$2
48509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48511 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48512 echo $ECHO_N "(cached) $ECHO_C" >&6
48513 else
48514 if test -n "$ac_ct_NM"; then
48515 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48516 else
48517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48518 for as_dir in $PATH
48519 do
48520 IFS=$as_save_IFS
48521 test -z "$as_dir" && as_dir=.
48522 for ac_exec_ext in '' $ac_executable_extensions; do
48523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48524 ac_cv_prog_ac_ct_NM="nm"
48525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48526 break 2
48527 fi
48528 done
48529 done
48530 IFS=$as_save_IFS
48531
48532 fi
48533 fi
48534 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48535 if test -n "$ac_ct_NM"; then
48536 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48537 echo "${ECHO_T}$ac_ct_NM" >&6; }
48538 else
48539 { echo "$as_me:$LINENO: result: no" >&5
48540 echo "${ECHO_T}no" >&6; }
48541 fi
48542
48543 if test "x$ac_ct_NM" = x; then
48544 NM=":"
48545 else
48546 case $cross_compiling:$ac_tool_warned in
48547 yes:)
48548 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48549 whose name does not start with the host triplet. If you think this
48550 configuration is useful to you, please write to autoconf@gnu.org." >&5
48551 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48552 whose name does not start with the host triplet. If you think this
48553 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48554 ac_tool_warned=yes ;;
48555 esac
48556 NM=$ac_ct_NM
48557 fi
48558 else
48559 NM="$ac_cv_prog_NM"
48560 fi
48561
48562
48563 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48564 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48565 INSTALL_TEST_DIR=acbftest$$
48566 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48567 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48568 rmdir $INSTALL_TEST_DIR
48569 INSTALL_DIR='$(INSTALL) -d'
48570 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48571 echo "${ECHO_T}$INSTALL -d" >&6; }
48572 else
48573 INSTALL_DIR="mkdir -p"
48574 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48575 echo "${ECHO_T}mkdir -p" >&6; }
48576 fi
48577
48578
48579 LDFLAGS_GUI=
48580 case ${BAKEFILE_HOST} in
48581 *-*-cygwin* | *-*-mingw32* )
48582 LDFLAGS_GUI="-mwindows"
48583 esac
48584
48585
48586 fi
48587
48588 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48589 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48590 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48591 echo $ECHO_N "(cached) $ECHO_C" >&6
48592 else
48593
48594 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48595 egrep -s GNU > /dev/null); then
48596 bakefile_cv_prog_makeisgnu="yes"
48597 else
48598 bakefile_cv_prog_makeisgnu="no"
48599 fi
48600
48601 fi
48602 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48603 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48604
48605 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48606 IF_GNU_MAKE=""
48607 else
48608 IF_GNU_MAKE="#"
48609 fi
48610
48611
48612
48613 PLATFORM_UNIX=0
48614 PLATFORM_WIN32=0
48615 PLATFORM_MSDOS=0
48616 PLATFORM_MAC=0
48617 PLATFORM_MACOS=0
48618 PLATFORM_MACOSX=0
48619 PLATFORM_OS2=0
48620 PLATFORM_BEOS=0
48621
48622 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48623 case "${BAKEFILE_HOST}" in
48624 *-*-mingw32* )
48625 PLATFORM_WIN32=1
48626 ;;
48627 *-pc-msdosdjgpp )
48628 PLATFORM_MSDOS=1
48629 ;;
48630 *-pc-os2_emx | *-pc-os2-emx )
48631 PLATFORM_OS2=1
48632 ;;
48633 *-*-darwin* )
48634 PLATFORM_MAC=1
48635 PLATFORM_MACOSX=1
48636 ;;
48637 *-*-beos* )
48638 PLATFORM_BEOS=1
48639 ;;
48640 powerpc-apple-macos* )
48641 PLATFORM_MAC=1
48642 PLATFORM_MACOS=1
48643 ;;
48644 * )
48645 PLATFORM_UNIX=1
48646 ;;
48647 esac
48648 else
48649 case "$BAKEFILE_FORCE_PLATFORM" in
48650 win32 )
48651 PLATFORM_WIN32=1
48652 ;;
48653 msdos )
48654 PLATFORM_MSDOS=1
48655 ;;
48656 os2 )
48657 PLATFORM_OS2=1
48658 ;;
48659 darwin )
48660 PLATFORM_MAC=1
48661 PLATFORM_MACOSX=1
48662 ;;
48663 unix )
48664 PLATFORM_UNIX=1
48665 ;;
48666 beos )
48667 PLATFORM_BEOS=1
48668 ;;
48669 * )
48670 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48671 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48672 { (exit 1); exit 1; }; }
48673 ;;
48674 esac
48675 fi
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687 # Check whether --enable-omf was given.
48688 if test "${enable_omf+set}" = set; then
48689 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48690 fi
48691
48692
48693 case "${BAKEFILE_HOST}" in
48694 *-*-darwin* )
48695 if test "x$GCC" = "xyes"; then
48696 CFLAGS="$CFLAGS -fno-common"
48697 CXXFLAGS="$CXXFLAGS -fno-common"
48698 fi
48699 if test "x$XLCC" = "xyes"; then
48700 CFLAGS="$CFLAGS -qnocommon"
48701 CXXFLAGS="$CXXFLAGS -qnocommon"
48702 fi
48703 ;;
48704
48705 *-pc-os2_emx | *-pc-os2-emx )
48706 if test "x$bk_os2_use_omf" = "xyes" ; then
48707 AR=emxomfar
48708 RANLIB=:
48709 LDFLAGS="-Zomf $LDFLAGS"
48710 CFLAGS="-Zomf $CFLAGS"
48711 CXXFLAGS="-Zomf $CXXFLAGS"
48712 OS2_LIBEXT="lib"
48713 else
48714 OS2_LIBEXT="a"
48715 fi
48716 ;;
48717
48718 i*86-*-beos* )
48719 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48720 ;;
48721 esac
48722
48723
48724 SO_SUFFIX="so"
48725 SO_SUFFIX_MODULE="so"
48726 EXEEXT=""
48727 LIBPREFIX="lib"
48728 LIBEXT=".a"
48729 DLLPREFIX="lib"
48730 DLLPREFIX_MODULE=""
48731 DLLIMP_SUFFIX=""
48732 dlldir="$libdir"
48733
48734 case "${BAKEFILE_HOST}" in
48735 ia64-hp-hpux* )
48736 ;;
48737 *-hp-hpux* )
48738 SO_SUFFIX="sl"
48739 SO_SUFFIX_MODULE="sl"
48740 ;;
48741 *-*-aix* )
48742 SO_SUFFIX="a"
48743 SO_SUFFIX_MODULE="a"
48744 ;;
48745 *-*-cygwin* )
48746 SO_SUFFIX="dll"
48747 SO_SUFFIX_MODULE="dll"
48748 DLLIMP_SUFFIX="dll.a"
48749 EXEEXT=".exe"
48750 DLLPREFIX="cyg"
48751 dlldir="$bindir"
48752 ;;
48753 *-*-mingw32* )
48754 SO_SUFFIX="dll"
48755 SO_SUFFIX_MODULE="dll"
48756 DLLIMP_SUFFIX="dll.a"
48757 EXEEXT=".exe"
48758 DLLPREFIX=""
48759 dlldir="$bindir"
48760 ;;
48761 *-pc-msdosdjgpp )
48762 EXEEXT=".exe"
48763 DLLPREFIX=""
48764 dlldir="$bindir"
48765 ;;
48766 *-pc-os2_emx | *-pc-os2-emx )
48767 SO_SUFFIX="dll"
48768 SO_SUFFIX_MODULE="dll"
48769 DLLIMP_SUFFIX=$OS2_LIBEXT
48770 EXEEXT=".exe"
48771 DLLPREFIX=""
48772 LIBPREFIX=""
48773 LIBEXT=".$OS2_LIBEXT"
48774 dlldir="$bindir"
48775 ;;
48776 *-*-darwin* )
48777 SO_SUFFIX="dylib"
48778 SO_SUFFIX_MODULE="bundle"
48779 ;;
48780 esac
48781
48782 if test "x$DLLIMP_SUFFIX" = "x" ; then
48783 DLLIMP_SUFFIX="$SO_SUFFIX"
48784 fi
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797 PIC_FLAG=""
48798 if test "x$GCC" = "xyes"; then
48799 PIC_FLAG="-fPIC"
48800 fi
48801
48802 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48803 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48804 WINDOWS_IMPLIB=0
48805
48806 case "${BAKEFILE_HOST}" in
48807 *-hp-hpux* )
48808 if test "x$GCC" != "xyes"; then
48809 LDFLAGS="$LDFLAGS -L/usr/lib"
48810
48811 SHARED_LD_CC="${CC} -b -o"
48812 SHARED_LD_CXX="${CXX} -b -o"
48813 PIC_FLAG="+Z"
48814 fi
48815 ;;
48816
48817 *-*-linux* )
48818 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48819 PIC_FLAG="-KPIC"
48820 elif test "x$SUNCXX" = "xyes"; then
48821 SHARED_LD_CC="${CC} -G -o"
48822 SHARED_LD_CXX="${CXX} -G -o"
48823 PIC_FLAG="-KPIC"
48824 fi
48825 ;;
48826
48827 *-*-solaris2* )
48828 if test "x$SUNCXX" = xyes ; then
48829 SHARED_LD_CC="${CC} -G -o"
48830 SHARED_LD_CXX="${CXX} -G -o"
48831 PIC_FLAG="-KPIC"
48832 fi
48833 ;;
48834
48835 *-*-darwin* )
48836
48837 D='$'
48838 cat <<EOF >shared-ld-sh
48839 #!/bin/sh
48840 #-----------------------------------------------------------------------------
48841 #-- Name: distrib/mac/shared-ld-sh
48842 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48843 #-- Author: Gilles Depeyrot
48844 #-- Copyright: (c) 2002 Gilles Depeyrot
48845 #-- Licence: any use permitted
48846 #-----------------------------------------------------------------------------
48847
48848 verbose=0
48849 args=""
48850 objects=""
48851 linking_flag="-dynamiclib"
48852 ldargs="-r -keep_private_externs -nostdlib"
48853
48854 if test "x${D}CXX" = "x"; then
48855 CXX="c++"
48856 fi
48857
48858 while test ${D}# -gt 0; do
48859 case ${D}1 in
48860
48861 -v)
48862 verbose=1
48863 ;;
48864
48865 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48866 # collect these options and values
48867 args="${D}{args} ${D}1 ${D}2"
48868 shift
48869 ;;
48870
48871 -arch|-isysroot)
48872 # collect these options and values
48873 ldargs="${D}{ldargs} ${D}1 ${D}2"
48874 shift
48875 ;;
48876
48877 -s|-Wl,*)
48878 # collect these load args
48879 ldargs="${D}{ldargs} ${D}1"
48880 ;;
48881
48882 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48883 # collect these options
48884 args="${D}{args} ${D}1"
48885 ;;
48886
48887 -dynamiclib|-bundle)
48888 linking_flag="${D}1"
48889 ;;
48890
48891 -*)
48892 echo "shared-ld: unhandled option '${D}1'"
48893 exit 1
48894 ;;
48895
48896 *.o | *.a | *.dylib)
48897 # collect object files
48898 objects="${D}{objects} ${D}1"
48899 ;;
48900
48901 *)
48902 echo "shared-ld: unhandled argument '${D}1'"
48903 exit 1
48904 ;;
48905
48906 esac
48907 shift
48908 done
48909
48910 status=0
48911
48912 #
48913 # Link one module containing all the others
48914 #
48915 if test ${D}{verbose} = 1; then
48916 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48917 fi
48918 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48919 status=${D}?
48920
48921 #
48922 # Link the shared library from the single module created, but only if the
48923 # previous command didn't fail:
48924 #
48925 if test ${D}{status} = 0; then
48926 if test ${D}{verbose} = 1; then
48927 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48928 fi
48929 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48930 status=${D}?
48931 fi
48932
48933 #
48934 # Remove intermediate module
48935 #
48936 rm -f master.${D}${D}.o
48937
48938 exit ${D}status
48939 EOF
48940
48941 chmod +x shared-ld-sh
48942
48943 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48944 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
48945
48946
48947 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48948 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48949 if test "${bakefile_cv_gcc31+set}" = set; then
48950 echo $ECHO_N "(cached) $ECHO_C" >&6
48951 else
48952
48953 cat >conftest.$ac_ext <<_ACEOF
48954 /* confdefs.h. */
48955 _ACEOF
48956 cat confdefs.h >>conftest.$ac_ext
48957 cat >>conftest.$ac_ext <<_ACEOF
48958 /* end confdefs.h. */
48959
48960 int
48961 main ()
48962 {
48963
48964 #if (__GNUC__ < 3) || \
48965 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48966 This is old gcc
48967 #endif
48968
48969 ;
48970 return 0;
48971 }
48972 _ACEOF
48973 rm -f conftest.$ac_objext
48974 if { (ac_try="$ac_compile"
48975 case "(($ac_try" in
48976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48977 *) ac_try_echo=$ac_try;;
48978 esac
48979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48980 (eval "$ac_compile") 2>conftest.er1
48981 ac_status=$?
48982 grep -v '^ *+' conftest.er1 >conftest.err
48983 rm -f conftest.er1
48984 cat conftest.err >&5
48985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48986 (exit $ac_status); } && {
48987 test -z "$ac_c_werror_flag" ||
48988 test ! -s conftest.err
48989 } && test -s conftest.$ac_objext; then
48990
48991 bakefile_cv_gcc31=yes
48992
48993 else
48994 echo "$as_me: failed program was:" >&5
48995 sed 's/^/| /' conftest.$ac_ext >&5
48996
48997
48998 bakefile_cv_gcc31=no
48999
49000
49001 fi
49002
49003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49004
49005 fi
49006 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49007 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49008 if test "$bakefile_cv_gcc31" = "no"; then
49009 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49010 SHARED_LD_CXX="$SHARED_LD_CC"
49011 else
49012 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49013 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49014 fi
49015
49016 if test "x$GCC" == "xyes"; then
49017 PIC_FLAG="-dynamic -fPIC"
49018 fi
49019 if test "x$XLCC" = "xyes"; then
49020 PIC_FLAG="-dynamic -DPIC"
49021 fi
49022 ;;
49023
49024 *-*-aix* )
49025 if test "x$GCC" = "xyes"; then
49026 PIC_FLAG=""
49027
49028 case "${BAKEFILE_HOST}" in
49029 *-*-aix5* )
49030 LD_EXPFULL="-Wl,-bexpfull"
49031 ;;
49032 esac
49033
49034 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49035 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49036 else
49037 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49038 set dummy makeC++SharedLib; ac_word=$2
49039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49041 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49042 echo $ECHO_N "(cached) $ECHO_C" >&6
49043 else
49044 if test -n "$AIX_CXX_LD"; then
49045 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49046 else
49047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49048 for as_dir in $PATH
49049 do
49050 IFS=$as_save_IFS
49051 test -z "$as_dir" && as_dir=.
49052 for ac_exec_ext in '' $ac_executable_extensions; do
49053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49054 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49056 break 2
49057 fi
49058 done
49059 done
49060 IFS=$as_save_IFS
49061
49062 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49063 fi
49064 fi
49065 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49066 if test -n "$AIX_CXX_LD"; then
49067 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49068 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49069 else
49070 { echo "$as_me:$LINENO: result: no" >&5
49071 echo "${ECHO_T}no" >&6; }
49072 fi
49073
49074
49075 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49076 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49077 fi
49078 ;;
49079
49080 *-*-beos* )
49081 SHARED_LD_CC="${LD} -nostart -o"
49082 SHARED_LD_CXX="${LD} -nostart -o"
49083 ;;
49084
49085 *-*-irix* )
49086 if test "x$GCC" != "xyes"; then
49087 PIC_FLAG="-KPIC"
49088 fi
49089 ;;
49090
49091 *-*-cygwin* | *-*-mingw32* )
49092 PIC_FLAG=""
49093 SHARED_LD_CC="\$(CC) -shared -o"
49094 SHARED_LD_CXX="\$(CXX) -shared -o"
49095 WINDOWS_IMPLIB=1
49096 ;;
49097
49098 *-pc-os2_emx | *-pc-os2-emx )
49099 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49100 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49101 PIC_FLAG=""
49102
49103 D='$'
49104 cat <<EOF >dllar.sh
49105 #!/bin/sh
49106 #
49107 # dllar - a tool to build both a .dll and an .a file
49108 # from a set of object (.o) files for EMX/OS2.
49109 #
49110 # Written by Andrew Zabolotny, bit@freya.etu.ru
49111 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49112 #
49113 # This script will accept a set of files on the command line.
49114 # All the public symbols from the .o files will be exported into
49115 # a .DEF file, then linker will be run (through gcc) against them to
49116 # build a shared library consisting of all given .o files. All libraries
49117 # (.a) will be first decompressed into component .o files then act as
49118 # described above. You can optionally give a description (-d "description")
49119 # which will be put into .DLL. To see the list of accepted options (as well
49120 # as command-line format) simply run this program without options. The .DLL
49121 # is built to be imported by name (there is no guarantee that new versions
49122 # of the library you build will have same ordinals for same symbols).
49123 #
49124 # dllar is free software; you can redistribute it and/or modify
49125 # it under the terms of the GNU General Public License as published by
49126 # the Free Software Foundation; either version 2, or (at your option)
49127 # any later version.
49128 #
49129 # dllar is distributed in the hope that it will be useful,
49130 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49131 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49132 # GNU General Public License for more details.
49133 #
49134 # You should have received a copy of the GNU General Public License
49135 # along with dllar; see the file COPYING. If not, write to the Free
49136 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49137 # 02111-1307, USA.
49138
49139 # To successfuly run this program you will need:
49140 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49141 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49142 # - gcc
49143 # (used to build the .dll)
49144 # - emxexp
49145 # (used to create .def file from .o files)
49146 # - emximp
49147 # (used to create .a file from .def file)
49148 # - GNU text utilites (cat, sort, uniq)
49149 # used to process emxexp output
49150 # - GNU file utilities (mv, rm)
49151 # - GNU sed
49152 # - lxlite (optional, see flag below)
49153 # (used for general .dll cleanup)
49154 #
49155
49156 flag_USE_LXLITE=1;
49157
49158 #
49159 # helper functions
49160 # basnam, variant of basename, which does _not_ remove the path, _iff_
49161 # second argument (suffix to remove) is given
49162 basnam(){
49163 case ${D}# in
49164 1)
49165 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49166 ;;
49167 2)
49168 echo ${D}1 | sed 's/'${D}2'${D}//'
49169 ;;
49170 *)
49171 echo "error in basnam ${D}*"
49172 exit 8
49173 ;;
49174 esac
49175 }
49176
49177 # Cleanup temporary files and output
49178 CleanUp() {
49179 cd ${D}curDir
49180 for i in ${D}inputFiles ; do
49181 case ${D}i in
49182 *!)
49183 rm -rf \`basnam ${D}i !\`
49184 ;;
49185 *)
49186 ;;
49187 esac
49188 done
49189
49190 # Kill result in case of failure as there is just to many stupid make/nmake
49191 # things out there which doesn't do this.
49192 if [ ${D}# -eq 0 ]; then
49193 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49194 fi
49195 }
49196
49197 # Print usage and exit script with rc=1.
49198 PrintHelp() {
49199 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49200 echo ' [-name-mangler-script script.sh]'
49201 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49202 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49203 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49204 echo ' [*.o] [*.a]'
49205 echo '*> "output_file" should have no extension.'
49206 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49207 echo ' The import library name is derived from this and is set to "name".a,'
49208 echo ' unless overridden by -import'
49209 echo '*> "importlib_name" should have no extension.'
49210 echo ' If it has the .o, or .a extension, it is automatically removed.'
49211 echo ' This name is used as the import library name and may be longer and'
49212 echo ' more descriptive than the DLL name which has to follow the old '
49213 echo ' 8.3 convention of FAT.'
49214 echo '*> "script.sh may be given to override the output_file name by a'
49215 echo ' different name. It is mainly useful if the regular make process'
49216 echo ' of some package does not take into account OS/2 restriction of'
49217 echo ' DLL name lengths. It takes the importlib name as input and is'
49218 echo ' supposed to procude a shorter name as output. The script should'
49219 echo ' expect to get importlib_name without extension and should produce'
49220 echo ' a (max.) 8 letter name without extension.'
49221 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49222 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49223 echo ' These flags will be put at the start of GCC command line.'
49224 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49225 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49226 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49227 echo ' If the last character of a symbol is "*", all symbols beginning'
49228 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49229 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49230 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49231 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49232 echo ' C runtime DLLs.'
49233 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49234 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49235 echo ' unchanged to GCC at the end of command line.'
49236 echo '*> If you create a DLL from a library and you do not specify -o,'
49237 echo ' the basename for DLL and import library will be set to library name,'
49238 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49239 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49240 echo ' library will be renamed into gcc_s.a.'
49241 echo '--------'
49242 echo 'Example:'
49243 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49244 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49245 CleanUp
49246 exit 1
49247 }
49248
49249 # Execute a command.
49250 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49251 # @Uses Whatever CleanUp() uses.
49252 doCommand() {
49253 echo "${D}*"
49254 eval ${D}*
49255 rcCmd=${D}?
49256
49257 if [ ${D}rcCmd -ne 0 ]; then
49258 echo "command failed, exit code="${D}rcCmd
49259 CleanUp
49260 exit ${D}rcCmd
49261 fi
49262 }
49263
49264 # main routine
49265 # setup globals
49266 cmdLine=${D}*
49267 outFile=""
49268 outimpFile=""
49269 inputFiles=""
49270 renameScript=""
49271 description=""
49272 CC=gcc.exe
49273 CFLAGS="-s -Zcrtdll"
49274 EXTRA_CFLAGS=""
49275 EXPORT_BY_ORDINALS=0
49276 exclude_symbols=""
49277 library_flags=""
49278 curDir=\`pwd\`
49279 curDirS=curDir
49280 case ${D}curDirS in
49281 */)
49282 ;;
49283 *)
49284 curDirS=${D}{curDirS}"/"
49285 ;;
49286 esac
49287 # Parse commandline
49288 libsToLink=0
49289 omfLinking=0
49290 while [ ${D}1 ]; do
49291 case ${D}1 in
49292 -ord*)
49293 EXPORT_BY_ORDINALS=1;
49294 ;;
49295 -o*)
49296 shift
49297 outFile=${D}1
49298 ;;
49299 -i*)
49300 shift
49301 outimpFile=${D}1
49302 ;;
49303 -name-mangler-script)
49304 shift
49305 renameScript=${D}1
49306 ;;
49307 -d*)
49308 shift
49309 description=${D}1
49310 ;;
49311 -f*)
49312 shift
49313 CFLAGS=${D}1
49314 ;;
49315 -c*)
49316 shift
49317 CC=${D}1
49318 ;;
49319 -h*)
49320 PrintHelp
49321 ;;
49322 -ex*)
49323 shift
49324 exclude_symbols=${D}{exclude_symbols}${D}1" "
49325 ;;
49326 -libf*)
49327 shift
49328 library_flags=${D}{library_flags}${D}1" "
49329 ;;
49330 -nocrt*)
49331 CFLAGS="-s"
49332 ;;
49333 -nolxl*)
49334 flag_USE_LXLITE=0
49335 ;;
49336 -* | /*)
49337 case ${D}1 in
49338 -L* | -l*)
49339 libsToLink=1
49340 ;;
49341 -Zomf)
49342 omfLinking=1
49343 ;;
49344 *)
49345 ;;
49346 esac
49347 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49348 ;;
49349 *.dll)
49350 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49351 if [ ${D}omfLinking -eq 1 ]; then
49352 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49353 else
49354 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49355 fi
49356 ;;
49357 *)
49358 found=0;
49359 if [ ${D}libsToLink -ne 0 ]; then
49360 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49361 else
49362 for file in ${D}1 ; do
49363 if [ -f ${D}file ]; then
49364 inputFiles="${D}{inputFiles} ${D}file"
49365 found=1
49366 fi
49367 done
49368 if [ ${D}found -eq 0 ]; then
49369 echo "ERROR: No file(s) found: "${D}1
49370 exit 8
49371 fi
49372 fi
49373 ;;
49374 esac
49375 shift
49376 done # iterate cmdline words
49377
49378 #
49379 if [ -z "${D}inputFiles" ]; then
49380 echo "dllar: no input files"
49381 PrintHelp
49382 fi
49383
49384 # Now extract all .o files from .a files
49385 newInputFiles=""
49386 for file in ${D}inputFiles ; do
49387 case ${D}file in
49388 *.a | *.lib)
49389 case ${D}file in
49390 *.a)
49391 suffix=".a"
49392 AR="ar"
49393 ;;
49394 *.lib)
49395 suffix=".lib"
49396 AR="emxomfar"
49397 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49398 ;;
49399 *)
49400 ;;
49401 esac
49402 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49403 mkdir ${D}dirname
49404 if [ ${D}? -ne 0 ]; then
49405 echo "Failed to create subdirectory ./${D}dirname"
49406 CleanUp
49407 exit 8;
49408 fi
49409 # Append '!' to indicate archive
49410 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49411 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49412 cd ${D}curDir
49413 found=0;
49414 for subfile in ${D}dirname/*.o* ; do
49415 if [ -f ${D}subfile ]; then
49416 found=1
49417 if [ -s ${D}subfile ]; then
49418 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49419 newInputFiles="${D}newInputFiles ${D}subfile"
49420 fi
49421 fi
49422 done
49423 if [ ${D}found -eq 0 ]; then
49424 echo "WARNING: there are no files in archive \\'${D}file\\'"
49425 fi
49426 ;;
49427 *)
49428 newInputFiles="${D}{newInputFiles} ${D}file"
49429 ;;
49430 esac
49431 done
49432 inputFiles="${D}newInputFiles"
49433
49434 # Output filename(s).
49435 do_backup=0;
49436 if [ -z ${D}outFile ]; then
49437 do_backup=1;
49438 set outFile ${D}inputFiles; outFile=${D}2
49439 fi
49440
49441 # If it is an archive, remove the '!' and the '_%' suffixes
49442 case ${D}outFile in
49443 *_%!)
49444 outFile=\`basnam ${D}outFile _%!\`
49445 ;;
49446 *)
49447 ;;
49448 esac
49449 case ${D}outFile in
49450 *.dll)
49451 outFile=\`basnam ${D}outFile .dll\`
49452 ;;
49453 *.DLL)
49454 outFile=\`basnam ${D}outFile .DLL\`
49455 ;;
49456 *.o)
49457 outFile=\`basnam ${D}outFile .o\`
49458 ;;
49459 *.obj)
49460 outFile=\`basnam ${D}outFile .obj\`
49461 ;;
49462 *.a)
49463 outFile=\`basnam ${D}outFile .a\`
49464 ;;
49465 *.lib)
49466 outFile=\`basnam ${D}outFile .lib\`
49467 ;;
49468 *)
49469 ;;
49470 esac
49471 case ${D}outimpFile in
49472 *.a)
49473 outimpFile=\`basnam ${D}outimpFile .a\`
49474 ;;
49475 *.lib)
49476 outimpFile=\`basnam ${D}outimpFile .lib\`
49477 ;;
49478 *)
49479 ;;
49480 esac
49481 if [ -z ${D}outimpFile ]; then
49482 outimpFile=${D}outFile
49483 fi
49484 defFile="${D}{outFile}.def"
49485 arcFile="${D}{outimpFile}.a"
49486 arcFile2="${D}{outimpFile}.lib"
49487
49488 #create ${D}dllFile as something matching 8.3 restrictions,
49489 if [ -z ${D}renameScript ] ; then
49490 dllFile="${D}outFile"
49491 else
49492 dllFile=\`${D}renameScript ${D}outimpFile\`
49493 fi
49494
49495 if [ ${D}do_backup -ne 0 ] ; then
49496 if [ -f ${D}arcFile ] ; then
49497 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49498 fi
49499 if [ -f ${D}arcFile2 ] ; then
49500 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49501 fi
49502 fi
49503
49504 # Extract public symbols from all the object files.
49505 tmpdefFile=${D}{defFile}_%
49506 rm -f ${D}tmpdefFile
49507 for file in ${D}inputFiles ; do
49508 case ${D}file in
49509 *!)
49510 ;;
49511 *)
49512 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49513 ;;
49514 esac
49515 done
49516
49517 # Create the def file.
49518 rm -f ${D}defFile
49519 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49520 dllFile="${D}{dllFile}.dll"
49521 if [ ! -z ${D}description ]; then
49522 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49523 fi
49524 echo "EXPORTS" >> ${D}defFile
49525
49526 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49527 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49528
49529 # Checks if the export is ok or not.
49530 for word in ${D}exclude_symbols; do
49531 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49532 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49533 done
49534
49535
49536 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49537 sed "=" < ${D}tmpdefFile | \\
49538 sed '
49539 N
49540 : loop
49541 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49542 t loop
49543 ' > ${D}{tmpdefFile}%
49544 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49545 else
49546 rm -f ${D}{tmpdefFile}%
49547 fi
49548 cat ${D}tmpdefFile >> ${D}defFile
49549 rm -f ${D}tmpdefFile
49550
49551 # Do linking, create implib, and apply lxlite.
49552 gccCmdl="";
49553 for file in ${D}inputFiles ; do
49554 case ${D}file in
49555 *!)
49556 ;;
49557 *)
49558 gccCmdl="${D}gccCmdl ${D}file"
49559 ;;
49560 esac
49561 done
49562 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49563 touch "${D}{outFile}.dll"
49564
49565 doCommand "emximp -o ${D}arcFile ${D}defFile"
49566 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49567 add_flags="";
49568 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49569 add_flags="-ynd"
49570 fi
49571 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49572 fi
49573 doCommand "emxomf -s -l ${D}arcFile"
49574
49575 # Successful exit.
49576 CleanUp 1
49577 exit 0
49578 EOF
49579
49580 chmod +x dllar.sh
49581 ;;
49582
49583 powerpc-apple-macos* | \
49584 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49585 *-*-mirbsd* | \
49586 *-*-sunos4* | \
49587 *-*-osf* | \
49588 *-*-dgux5* | \
49589 *-*-sysv5* | \
49590 *-pc-msdosdjgpp )
49591 ;;
49592
49593 *)
49594 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49595 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49596 { (exit 1); exit 1; }; }
49597 esac
49598
49599 if test "x$PIC_FLAG" != "x" ; then
49600 PIC_FLAG="$PIC_FLAG -DPIC"
49601 fi
49602
49603 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49604 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49605 fi
49606 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49607 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49608 fi
49609
49610
49611
49612
49613
49614
49615
49616
49617
49618 USE_SOVERSION=0
49619 USE_SOVERLINUX=0
49620 USE_SOVERSOLARIS=0
49621 USE_SOVERCYGWIN=0
49622 USE_SOTWOSYMLINKS=0
49623 USE_MACVERSION=0
49624 SONAME_FLAG=
49625
49626 case "${BAKEFILE_HOST}" in
49627 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49628 *-*-k*bsd*-gnu | *-*-mirbsd* )
49629 if test "x$SUNCXX" = "xyes"; then
49630 SONAME_FLAG="-h "
49631 else
49632 SONAME_FLAG="-Wl,-soname,"
49633 fi
49634 USE_SOVERSION=1
49635 USE_SOVERLINUX=1
49636 USE_SOTWOSYMLINKS=1
49637 ;;
49638
49639 *-*-solaris2* )
49640 SONAME_FLAG="-h "
49641 USE_SOVERSION=1
49642 USE_SOVERSOLARIS=1
49643 ;;
49644
49645 *-*-darwin* )
49646 USE_MACVERSION=1
49647 USE_SOVERSION=1
49648 USE_SOTWOSYMLINKS=1
49649 ;;
49650
49651 *-*-cygwin* )
49652 USE_SOVERSION=1
49653 USE_SOVERCYGWIN=1
49654 ;;
49655 esac
49656
49657
49658
49659
49660
49661
49662
49663
49664
49665
49666 # Check whether --enable-dependency-tracking was given.
49667 if test "${enable_dependency_tracking+set}" = set; then
49668 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49669 fi
49670
49671
49672 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49673 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49674
49675 BK_DEPS=""
49676 if test "x$bk_use_trackdeps" = "xno" ; then
49677 DEPS_TRACKING=0
49678 { echo "$as_me:$LINENO: result: disabled" >&5
49679 echo "${ECHO_T}disabled" >&6; }
49680 else
49681 DEPS_TRACKING=1
49682
49683 if test "x$GCC" = "xyes"; then
49684 DEPSMODE=gcc
49685 case "${BAKEFILE_HOST}" in
49686 *-*-darwin* )
49687 DEPSFLAG="-no-cpp-precomp -MMD"
49688 ;;
49689 * )
49690 DEPSFLAG="-MMD"
49691 ;;
49692 esac
49693 { echo "$as_me:$LINENO: result: gcc" >&5
49694 echo "${ECHO_T}gcc" >&6; }
49695 elif test "x$MWCC" = "xyes"; then
49696 DEPSMODE=mwcc
49697 DEPSFLAG="-MM"
49698 { echo "$as_me:$LINENO: result: mwcc" >&5
49699 echo "${ECHO_T}mwcc" >&6; }
49700 elif test "x$SUNCC" = "xyes"; then
49701 DEPSMODE=unixcc
49702 DEPSFLAG="-xM1"
49703 { echo "$as_me:$LINENO: result: Sun cc" >&5
49704 echo "${ECHO_T}Sun cc" >&6; }
49705 elif test "x$SGICC" = "xyes"; then
49706 DEPSMODE=unixcc
49707 DEPSFLAG="-M"
49708 { echo "$as_me:$LINENO: result: SGI cc" >&5
49709 echo "${ECHO_T}SGI cc" >&6; }
49710 elif test "x$HPCC" = "xyes"; then
49711 DEPSMODE=unixcc
49712 DEPSFLAG="+make"
49713 { echo "$as_me:$LINENO: result: HP cc" >&5
49714 echo "${ECHO_T}HP cc" >&6; }
49715 elif test "x$COMPAQCC" = "xyes"; then
49716 DEPSMODE=gcc
49717 DEPSFLAG="-MD"
49718 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49719 echo "${ECHO_T}Compaq cc" >&6; }
49720 else
49721 DEPS_TRACKING=0
49722 { echo "$as_me:$LINENO: result: none" >&5
49723 echo "${ECHO_T}none" >&6; }
49724 fi
49725
49726 if test $DEPS_TRACKING = 1 ; then
49727
49728 D='$'
49729 cat <<EOF >bk-deps
49730 #!/bin/sh
49731
49732 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49733 # script. It is used to track C/C++ files dependencies in portable way.
49734 #
49735 # Permission is given to use this file in any way.
49736
49737 DEPSMODE=${DEPSMODE}
49738 DEPSFLAG="${DEPSFLAG}"
49739 DEPSDIRBASE=.deps
49740
49741 if test ${D}DEPSMODE = gcc ; then
49742 ${D}* ${D}{DEPSFLAG}
49743 status=${D}?
49744
49745 # determine location of created files:
49746 while test ${D}# -gt 0; do
49747 case "${D}1" in
49748 -o )
49749 shift
49750 objfile=${D}1
49751 ;;
49752 -* )
49753 ;;
49754 * )
49755 srcfile=${D}1
49756 ;;
49757 esac
49758 shift
49759 done
49760 objfilebase=\`basename ${D}objfile\`
49761 builddir=\`dirname ${D}objfile\`
49762 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49763 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49764 depsdir=${D}builddir/${D}DEPSDIRBASE
49765 mkdir -p ${D}depsdir
49766
49767 # if the compiler failed, we're done:
49768 if test ${D}{status} != 0 ; then
49769 rm -f ${D}depfile
49770 exit ${D}{status}
49771 fi
49772
49773 # move created file to the location we want it in:
49774 if test -f ${D}depfile ; then
49775 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49776 rm -f ${D}depfile
49777 else
49778 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49779 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49780 if test ! -f ${D}depfile ; then
49781 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49782 depfile="${D}objfile.d"
49783 fi
49784 if test -f ${D}depfile ; then
49785 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49786 rm -f ${D}depfile
49787 fi
49788 fi
49789 exit 0
49790
49791 elif test ${D}DEPSMODE = mwcc ; then
49792 ${D}* || exit ${D}?
49793 # Run mwcc again with -MM and redirect into the dep file we want
49794 # NOTE: We can't use shift here because we need ${D}* to be valid
49795 prevarg=
49796 for arg in ${D}* ; do
49797 if test "${D}prevarg" = "-o"; then
49798 objfile=${D}arg
49799 else
49800 case "${D}arg" in
49801 -* )
49802 ;;
49803 * )
49804 srcfile=${D}arg
49805 ;;
49806 esac
49807 fi
49808 prevarg="${D}arg"
49809 done
49810
49811 objfilebase=\`basename ${D}objfile\`
49812 builddir=\`dirname ${D}objfile\`
49813 depsdir=${D}builddir/${D}DEPSDIRBASE
49814 mkdir -p ${D}depsdir
49815
49816 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49817 exit 0
49818
49819 elif test ${D}DEPSMODE = unixcc; then
49820 ${D}* || exit ${D}?
49821 # Run compiler again with deps flag and redirect into the dep file.
49822 # It doesn't work if the '-o FILE' option is used, but without it the
49823 # dependency file will contain the wrong name for the object. So it is
49824 # removed from the command line, and the dep file is fixed with sed.
49825 cmd=""
49826 while test ${D}# -gt 0; do
49827 case "${D}1" in
49828 -o )
49829 shift
49830 objfile=${D}1
49831 ;;
49832 * )
49833 eval arg${D}#=\\${D}1
49834 cmd="${D}cmd \\${D}arg${D}#"
49835 ;;
49836 esac
49837 shift
49838 done
49839
49840 objfilebase=\`basename ${D}objfile\`
49841 builddir=\`dirname ${D}objfile\`
49842 depsdir=${D}builddir/${D}DEPSDIRBASE
49843 mkdir -p ${D}depsdir
49844
49845 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49846 exit 0
49847
49848 else
49849 ${D}*
49850 exit ${D}?
49851 fi
49852 EOF
49853
49854 chmod +x bk-deps
49855 BK_DEPS="`pwd`/bk-deps"
49856 fi
49857 fi
49858
49859
49860
49861
49862
49863 case ${BAKEFILE_HOST} in
49864 *-*-cygwin* | *-*-mingw32* )
49865 if test -n "$ac_tool_prefix"; then
49866 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49867 set dummy ${ac_tool_prefix}windres; ac_word=$2
49868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49870 if test "${ac_cv_prog_WINDRES+set}" = set; then
49871 echo $ECHO_N "(cached) $ECHO_C" >&6
49872 else
49873 if test -n "$WINDRES"; then
49874 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49875 else
49876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49877 for as_dir in $PATH
49878 do
49879 IFS=$as_save_IFS
49880 test -z "$as_dir" && as_dir=.
49881 for ac_exec_ext in '' $ac_executable_extensions; do
49882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49883 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49885 break 2
49886 fi
49887 done
49888 done
49889 IFS=$as_save_IFS
49890
49891 fi
49892 fi
49893 WINDRES=$ac_cv_prog_WINDRES
49894 if test -n "$WINDRES"; then
49895 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49896 echo "${ECHO_T}$WINDRES" >&6; }
49897 else
49898 { echo "$as_me:$LINENO: result: no" >&5
49899 echo "${ECHO_T}no" >&6; }
49900 fi
49901
49902
49903 fi
49904 if test -z "$ac_cv_prog_WINDRES"; then
49905 ac_ct_WINDRES=$WINDRES
49906 # Extract the first word of "windres", so it can be a program name with args.
49907 set dummy windres; ac_word=$2
49908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49910 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49911 echo $ECHO_N "(cached) $ECHO_C" >&6
49912 else
49913 if test -n "$ac_ct_WINDRES"; then
49914 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49915 else
49916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49917 for as_dir in $PATH
49918 do
49919 IFS=$as_save_IFS
49920 test -z "$as_dir" && as_dir=.
49921 for ac_exec_ext in '' $ac_executable_extensions; do
49922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49923 ac_cv_prog_ac_ct_WINDRES="windres"
49924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49925 break 2
49926 fi
49927 done
49928 done
49929 IFS=$as_save_IFS
49930
49931 fi
49932 fi
49933 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49934 if test -n "$ac_ct_WINDRES"; then
49935 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49936 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49937 else
49938 { echo "$as_me:$LINENO: result: no" >&5
49939 echo "${ECHO_T}no" >&6; }
49940 fi
49941
49942 if test "x$ac_ct_WINDRES" = x; then
49943 WINDRES=""
49944 else
49945 case $cross_compiling:$ac_tool_warned in
49946 yes:)
49947 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49948 whose name does not start with the host triplet. If you think this
49949 configuration is useful to you, please write to autoconf@gnu.org." >&5
49950 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49951 whose name does not start with the host triplet. If you think this
49952 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49953 ac_tool_warned=yes ;;
49954 esac
49955 WINDRES=$ac_ct_WINDRES
49956 fi
49957 else
49958 WINDRES="$ac_cv_prog_WINDRES"
49959 fi
49960
49961 ;;
49962
49963 *-*-darwin* | powerpc-apple-macos* )
49964 # Extract the first word of "Rez", so it can be a program name with args.
49965 set dummy Rez; ac_word=$2
49966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49968 if test "${ac_cv_prog_REZ+set}" = set; then
49969 echo $ECHO_N "(cached) $ECHO_C" >&6
49970 else
49971 if test -n "$REZ"; then
49972 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49973 else
49974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49975 for as_dir in $PATH
49976 do
49977 IFS=$as_save_IFS
49978 test -z "$as_dir" && as_dir=.
49979 for ac_exec_ext in '' $ac_executable_extensions; do
49980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49981 ac_cv_prog_REZ="Rez"
49982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49983 break 2
49984 fi
49985 done
49986 done
49987 IFS=$as_save_IFS
49988
49989 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49990 fi
49991 fi
49992 REZ=$ac_cv_prog_REZ
49993 if test -n "$REZ"; then
49994 { echo "$as_me:$LINENO: result: $REZ" >&5
49995 echo "${ECHO_T}$REZ" >&6; }
49996 else
49997 { echo "$as_me:$LINENO: result: no" >&5
49998 echo "${ECHO_T}no" >&6; }
49999 fi
50000
50001
50002 # Extract the first word of "SetFile", so it can be a program name with args.
50003 set dummy SetFile; ac_word=$2
50004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50006 if test "${ac_cv_prog_SETFILE+set}" = set; then
50007 echo $ECHO_N "(cached) $ECHO_C" >&6
50008 else
50009 if test -n "$SETFILE"; then
50010 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50011 else
50012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50013 for as_dir in $PATH
50014 do
50015 IFS=$as_save_IFS
50016 test -z "$as_dir" && as_dir=.
50017 for ac_exec_ext in '' $ac_executable_extensions; do
50018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50019 ac_cv_prog_SETFILE="SetFile"
50020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50021 break 2
50022 fi
50023 done
50024 done
50025 IFS=$as_save_IFS
50026
50027 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50028 fi
50029 fi
50030 SETFILE=$ac_cv_prog_SETFILE
50031 if test -n "$SETFILE"; then
50032 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50033 echo "${ECHO_T}$SETFILE" >&6; }
50034 else
50035 { echo "$as_me:$LINENO: result: no" >&5
50036 echo "${ECHO_T}no" >&6; }
50037 fi
50038
50039
50040 ;;
50041 esac
50042
50043
50044
50045
50046
50047
50048
50049
50050
50051 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50052
50053
50054 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50055
50056
50057
50058 # Check whether --enable-precomp-headers was given.
50059 if test "${enable_precomp_headers+set}" = set; then
50060 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50061 fi
50062
50063
50064 GCC_PCH=0
50065 ICC_PCH=0
50066 USE_PCH=0
50067 BK_MAKE_PCH=""
50068
50069 case ${BAKEFILE_HOST} in
50070 *-*-cygwin* )
50071 bk_use_pch="no"
50072 ;;
50073 esac
50074
50075 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50076 if test "x$GCC" = "xyes"; then
50077 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50078 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50079 cat >conftest.$ac_ext <<_ACEOF
50080 /* confdefs.h. */
50081 _ACEOF
50082 cat confdefs.h >>conftest.$ac_ext
50083 cat >>conftest.$ac_ext <<_ACEOF
50084 /* end confdefs.h. */
50085
50086 int
50087 main ()
50088 {
50089
50090 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50091 There is no PCH support
50092 #endif
50093 #if (__GNUC__ < 3)
50094 There is no PCH support
50095 #endif
50096 #if (__GNUC__ == 3) && \
50097 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50098 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50099 ( defined(__INTEL_COMPILER) )
50100 There is no PCH support
50101 #endif
50102
50103 ;
50104 return 0;
50105 }
50106 _ACEOF
50107 rm -f conftest.$ac_objext
50108 if { (ac_try="$ac_compile"
50109 case "(($ac_try" in
50110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50111 *) ac_try_echo=$ac_try;;
50112 esac
50113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50114 (eval "$ac_compile") 2>conftest.er1
50115 ac_status=$?
50116 grep -v '^ *+' conftest.er1 >conftest.err
50117 rm -f conftest.er1
50118 cat conftest.err >&5
50119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50120 (exit $ac_status); } && {
50121 test -z "$ac_c_werror_flag" ||
50122 test ! -s conftest.err
50123 } && test -s conftest.$ac_objext; then
50124
50125 { echo "$as_me:$LINENO: result: yes" >&5
50126 echo "${ECHO_T}yes" >&6; }
50127 GCC_PCH=1
50128
50129 else
50130 echo "$as_me: failed program was:" >&5
50131 sed 's/^/| /' conftest.$ac_ext >&5
50132
50133
50134 if test "$INTELCXX8" = "yes"; then
50135 { echo "$as_me:$LINENO: result: yes" >&5
50136 echo "${ECHO_T}yes" >&6; }
50137 ICC_PCH=1
50138 if test "$INTELCXX10" = "yes"; then
50139 ICC_PCH_CREATE_SWITCH="-pch-create"
50140 ICC_PCH_USE_SWITCH="-pch-use"
50141 else
50142 ICC_PCH_CREATE_SWITCH="-create-pch"
50143 ICC_PCH_USE_SWITCH="-use-pch"
50144 fi
50145 else
50146 { echo "$as_me:$LINENO: result: no" >&5
50147 echo "${ECHO_T}no" >&6; }
50148 fi
50149
50150 fi
50151
50152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50153 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50154 USE_PCH=1
50155
50156 D='$'
50157 cat <<EOF >bk-make-pch
50158 #!/bin/sh
50159
50160 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50161 # script. It is used to generated precompiled headers.
50162 #
50163 # Permission is given to use this file in any way.
50164
50165 outfile="${D}{1}"
50166 header="${D}{2}"
50167 shift
50168 shift
50169
50170 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50171
50172 compiler=""
50173 headerfile=""
50174
50175 while test ${D}{#} -gt 0; do
50176 add_to_cmdline=1
50177 case "${D}{1}" in
50178 -I* )
50179 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50180 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50181 headerfile="${D}{incdir}/${D}{header}"
50182 fi
50183 ;;
50184 -use-pch|-use_pch|-pch-use )
50185 shift
50186 add_to_cmdline=0
50187 ;;
50188 esac
50189 if test ${D}add_to_cmdline = 1 ; then
50190 compiler="${D}{compiler} ${D}{1}"
50191 fi
50192 shift
50193 done
50194
50195 if test "x${D}{headerfile}" = "x" ; then
50196 echo "error: can't find header ${D}{header} in include paths" >&2
50197 else
50198 if test -f ${D}{outfile} ; then
50199 rm -f ${D}{outfile}
50200 else
50201 mkdir -p \`dirname ${D}{outfile}\`
50202 fi
50203 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50204 mkdir -p ${D}{builddir}/.deps
50205 if test "x${GCC_PCH}" = "x1" ; then
50206 # can do this because gcc is >= 3.4:
50207 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50208 elif test "x${ICC_PCH}" = "x1" ; then
50209 filename=pch_gen-${D}${D}
50210 file=${D}{filename}.c
50211 dfile=${D}{filename}.d
50212 cat > ${D}file <<EOT
50213 #include "${D}header"
50214 EOT
50215 # using -MF icc complains about differing command lines in creation/use
50216 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50217 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50218 rm -f ${D}file ${D}dfile ${D}{filename}.o
50219 fi
50220 exit ${D}{?}
50221 fi
50222 EOF
50223
50224 chmod +x bk-make-pch
50225 BK_MAKE_PCH="`pwd`/bk-make-pch"
50226 fi
50227 fi
50228 fi
50229
50230
50231
50232
50233
50234
50235
50236 COND_BUILD_DEBUG="#"
50237 if test "x$BUILD" = "xdebug" ; then
50238 COND_BUILD_DEBUG=""
50239 fi
50240
50241 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50242 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50243 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50244 fi
50245
50246 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50247 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50248 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50249 fi
50250
50251 COND_BUILD_DEBUG_UNICODE_0="#"
50252 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50253 COND_BUILD_DEBUG_UNICODE_0=""
50254 fi
50255
50256 COND_BUILD_DEBUG_UNICODE_1="#"
50257 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50258 COND_BUILD_DEBUG_UNICODE_1=""
50259 fi
50260
50261 COND_BUILD_RELEASE="#"
50262 if test "x$BUILD" = "xrelease" ; then
50263 COND_BUILD_RELEASE=""
50264 fi
50265
50266 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50267 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50268 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50269 fi
50270
50271 COND_BUILD_RELEASE_UNICODE_0="#"
50272 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50273 COND_BUILD_RELEASE_UNICODE_0=""
50274 fi
50275
50276 COND_BUILD_RELEASE_UNICODE_1="#"
50277 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50278 COND_BUILD_RELEASE_UNICODE_1=""
50279 fi
50280
50281 COND_BUILD_debug="#"
50282 if test "x$BUILD" = "xdebug" ; then
50283 COND_BUILD_debug=""
50284 fi
50285
50286 COND_BUILD_debug_DEBUG_FLAG_default="#"
50287 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50288 COND_BUILD_debug_DEBUG_FLAG_default=""
50289 fi
50290
50291 COND_BUILD_debug_DEBUG_INFO_default="#"
50292 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50293 COND_BUILD_debug_DEBUG_INFO_default=""
50294 fi
50295
50296 COND_BUILD_debug_UNICODE_0="#"
50297 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50298 COND_BUILD_debug_UNICODE_0=""
50299 fi
50300
50301 COND_BUILD_debug_UNICODE_1="#"
50302 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50303 COND_BUILD_debug_UNICODE_1=""
50304 fi
50305
50306 COND_BUILD_release="#"
50307 if test "x$BUILD" = "xrelease" ; then
50308 COND_BUILD_release=""
50309 fi
50310
50311 COND_BUILD_release_DEBUG_INFO_default="#"
50312 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50313 COND_BUILD_release_DEBUG_INFO_default=""
50314 fi
50315
50316 COND_BUILD_release_UNICODE_0="#"
50317 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50318 COND_BUILD_release_UNICODE_0=""
50319 fi
50320
50321 COND_BUILD_release_UNICODE_1="#"
50322 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50323 COND_BUILD_release_UNICODE_1=""
50324 fi
50325
50326 COND_DEBUG_FLAG_0="#"
50327 if test "x$DEBUG_FLAG" = "x0" ; then
50328 COND_DEBUG_FLAG_0=""
50329 fi
50330
50331 COND_DEBUG_FLAG_1="#"
50332 if test "x$DEBUG_FLAG" = "x1" ; then
50333 COND_DEBUG_FLAG_1=""
50334 fi
50335
50336 COND_DEBUG_INFO_0="#"
50337 if test "x$DEBUG_INFO" = "x0" ; then
50338 COND_DEBUG_INFO_0=""
50339 fi
50340
50341 COND_DEBUG_INFO_1="#"
50342 if test "x$DEBUG_INFO" = "x1" ; then
50343 COND_DEBUG_INFO_1=""
50344 fi
50345
50346 COND_DEPS_TRACKING_0="#"
50347 if test "x$DEPS_TRACKING" = "x0" ; then
50348 COND_DEPS_TRACKING_0=""
50349 fi
50350
50351 COND_DEPS_TRACKING_1="#"
50352 if test "x$DEPS_TRACKING" = "x1" ; then
50353 COND_DEPS_TRACKING_1=""
50354 fi
50355
50356 COND_GCC_PCH_1="#"
50357 if test "x$GCC_PCH" = "x1" ; then
50358 COND_GCC_PCH_1=""
50359 fi
50360
50361 COND_ICC_PCH_1="#"
50362 if test "x$ICC_PCH" = "x1" ; then
50363 COND_ICC_PCH_1=""
50364 fi
50365
50366 COND_MONOLITHIC_0="#"
50367 if test "x$MONOLITHIC" = "x0" ; then
50368 COND_MONOLITHIC_0=""
50369 fi
50370
50371 COND_MONOLITHIC_0_SHARED_0="#"
50372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50373 COND_MONOLITHIC_0_SHARED_0=""
50374 fi
50375
50376 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50378 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50379 fi
50380
50381 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50383 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50384 fi
50385
50386 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50388 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50389 fi
50390
50391 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50392 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50393 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50394 fi
50395
50396 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50398 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50399 fi
50400
50401 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50403 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50404 fi
50405
50406 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50408 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50409 fi
50410
50411 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50413 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50414 fi
50415
50416 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50418 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50419 fi
50420
50421 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50422 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50423 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50424 fi
50425
50426 COND_MONOLITHIC_0_SHARED_1="#"
50427 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50428 COND_MONOLITHIC_0_SHARED_1=""
50429 fi
50430
50431 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50432 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50433 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50434 fi
50435
50436 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50437 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50438 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50439 fi
50440
50441 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50442 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50443 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50444 fi
50445
50446 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50448 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50449 fi
50450
50451 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50453 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50454 fi
50455
50456 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50457 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50458 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50459 fi
50460
50461 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50462 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50463 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50464 fi
50465
50466 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50467 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50468 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50469 fi
50470
50471 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50472 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50473 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50474 fi
50475
50476 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50477 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50478 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50479 fi
50480
50481 COND_MONOLITHIC_0_USE_AUI_1="#"
50482 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50483 COND_MONOLITHIC_0_USE_AUI_1=""
50484 fi
50485
50486 COND_MONOLITHIC_0_USE_GUI_1="#"
50487 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50488 COND_MONOLITHIC_0_USE_GUI_1=""
50489 fi
50490
50491 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50492 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50493 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50494 fi
50495
50496 COND_MONOLITHIC_0_USE_HTML_1="#"
50497 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50498 COND_MONOLITHIC_0_USE_HTML_1=""
50499 fi
50500
50501 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50502 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50503 COND_MONOLITHIC_0_USE_MEDIA_1=""
50504 fi
50505
50506 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50507 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50508 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50509 fi
50510
50511 COND_MONOLITHIC_0_USE_QA_1="#"
50512 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50513 COND_MONOLITHIC_0_USE_QA_1=""
50514 fi
50515
50516 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50517 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50518 COND_MONOLITHIC_0_USE_RIBBON_1=""
50519 fi
50520
50521 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50522 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50523 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50524 fi
50525
50526 COND_MONOLITHIC_0_USE_STC_1="#"
50527 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50528 COND_MONOLITHIC_0_USE_STC_1=""
50529 fi
50530
50531 COND_MONOLITHIC_0_USE_XRC_1="#"
50532 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50533 COND_MONOLITHIC_0_USE_XRC_1=""
50534 fi
50535
50536 COND_MONOLITHIC_1="#"
50537 if test "x$MONOLITHIC" = "x1" ; then
50538 COND_MONOLITHIC_1=""
50539 fi
50540
50541 COND_MONOLITHIC_1_SHARED_0="#"
50542 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50543 COND_MONOLITHIC_1_SHARED_0=""
50544 fi
50545
50546 COND_MONOLITHIC_1_SHARED_1="#"
50547 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50548 COND_MONOLITHIC_1_SHARED_1=""
50549 fi
50550
50551 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50552 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50553 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50554 fi
50555
50556 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50557 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50558 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50559 fi
50560
50561 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50562 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50563 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50564 fi
50565
50566 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50567 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50568 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50569 fi
50570
50571 COND_PLATFORM_MACOSX_1="#"
50572 if test "x$PLATFORM_MACOSX" = "x1" ; then
50573 COND_PLATFORM_MACOSX_1=""
50574 fi
50575
50576 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50577 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50578 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50579 fi
50580
50581 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50582 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50583 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50584 fi
50585
50586 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50587 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50588 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50589 fi
50590
50591 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50592 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50593 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50594 fi
50595
50596 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50597 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50598 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50599 fi
50600
50601 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50602 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50603 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50604 fi
50605
50606 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50607 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50608 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50609 fi
50610
50611 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50612 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50613 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50614 fi
50615
50616 COND_PLATFORM_MACOS_1="#"
50617 if test "x$PLATFORM_MACOS" = "x1" ; then
50618 COND_PLATFORM_MACOS_1=""
50619 fi
50620
50621 COND_PLATFORM_MAC_0="#"
50622 if test "x$PLATFORM_MAC" = "x0" ; then
50623 COND_PLATFORM_MAC_0=""
50624 fi
50625
50626 COND_PLATFORM_MAC_1="#"
50627 if test "x$PLATFORM_MAC" = "x1" ; then
50628 COND_PLATFORM_MAC_1=""
50629 fi
50630
50631 COND_PLATFORM_MSDOS_0="#"
50632 if test "x$PLATFORM_MSDOS" = "x0" ; then
50633 COND_PLATFORM_MSDOS_0=""
50634 fi
50635
50636 COND_PLATFORM_MSDOS_1="#"
50637 if test "x$PLATFORM_MSDOS" = "x1" ; then
50638 COND_PLATFORM_MSDOS_1=""
50639 fi
50640
50641 COND_PLATFORM_OS2_1="#"
50642 if test "x$PLATFORM_OS2" = "x1" ; then
50643 COND_PLATFORM_OS2_1=""
50644 fi
50645
50646 COND_PLATFORM_UNIX_0="#"
50647 if test "x$PLATFORM_UNIX" = "x0" ; then
50648 COND_PLATFORM_UNIX_0=""
50649 fi
50650
50651 COND_PLATFORM_UNIX_1="#"
50652 if test "x$PLATFORM_UNIX" = "x1" ; then
50653 COND_PLATFORM_UNIX_1=""
50654 fi
50655
50656 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50657 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50658 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50659 fi
50660
50661 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50662 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50663 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50664 fi
50665
50666 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50667 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50668 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50669 fi
50670
50671 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50672 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50673 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50674 fi
50675
50676 COND_PLATFORM_WIN32_0="#"
50677 if test "x$PLATFORM_WIN32" = "x0" ; then
50678 COND_PLATFORM_WIN32_0=""
50679 fi
50680
50681 COND_PLATFORM_WIN32_1="#"
50682 if test "x$PLATFORM_WIN32" = "x1" ; then
50683 COND_PLATFORM_WIN32_1=""
50684 fi
50685
50686 COND_SHARED_0="#"
50687 if test "x$SHARED" = "x0" ; then
50688 COND_SHARED_0=""
50689 fi
50690
50691 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50692 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50693 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50694 fi
50695
50696 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50697 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50698 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50699 fi
50700
50701 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50702 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50703 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50704 fi
50705
50706 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50707 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50708 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50709 fi
50710
50711 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50712 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50713 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50714 fi
50715
50716 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50717 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50718 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50719 fi
50720
50721 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50722 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50723 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50724 fi
50725
50726 COND_SHARED_0_USE_STC_1="#"
50727 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50728 COND_SHARED_0_USE_STC_1=""
50729 fi
50730
50731 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50732 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50733 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50734 fi
50735
50736 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50737 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50738 COND_SHARED_0_wxUSE_REGEX_builtin=""
50739 fi
50740
50741 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50742 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50743 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50744 fi
50745
50746 COND_SHARED_1="#"
50747 if test "x$SHARED" = "x1" ; then
50748 COND_SHARED_1=""
50749 fi
50750
50751 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50752 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50753 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50754 fi
50755
50756 COND_TOOLKIT_="#"
50757 if test "x$TOOLKIT" = "x" ; then
50758 COND_TOOLKIT_=""
50759 fi
50760
50761 COND_TOOLKIT_COCOA="#"
50762 if test "x$TOOLKIT" = "xCOCOA" ; then
50763 COND_TOOLKIT_COCOA=""
50764 fi
50765
50766 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50767 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50768 COND_TOOLKIT_COCOA_USE_GUI_1=""
50769 fi
50770
50771 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50772 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50773 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50774 fi
50775
50776 COND_TOOLKIT_DFB="#"
50777 if test "x$TOOLKIT" = "xDFB" ; then
50778 COND_TOOLKIT_DFB=""
50779 fi
50780
50781 COND_TOOLKIT_DFB_USE_GUI_1="#"
50782 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50783 COND_TOOLKIT_DFB_USE_GUI_1=""
50784 fi
50785
50786 COND_TOOLKIT_GTK="#"
50787 if test "x$TOOLKIT" = "xGTK" ; then
50788 COND_TOOLKIT_GTK=""
50789 fi
50790
50791 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50792 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50793 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50794 fi
50795
50796 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50797 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50798 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50799 fi
50800
50801 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50802 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50803 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50804 fi
50805
50806 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50807 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50808 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50809 fi
50810
50811 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50812 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50813 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50814 fi
50815
50816 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50817 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50818 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50819 fi
50820
50821 COND_TOOLKIT_GTK_USE_GUI_1="#"
50822 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50823 COND_TOOLKIT_GTK_USE_GUI_1=""
50824 fi
50825
50826 COND_TOOLKIT_MAC="#"
50827 if test "x$TOOLKIT" = "xMAC" ; then
50828 COND_TOOLKIT_MAC=""
50829 fi
50830
50831 COND_TOOLKIT_MGL="#"
50832 if test "x$TOOLKIT" = "xMGL" ; then
50833 COND_TOOLKIT_MGL=""
50834 fi
50835
50836 COND_TOOLKIT_MGL_USE_GUI_1="#"
50837 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50838 COND_TOOLKIT_MGL_USE_GUI_1=""
50839 fi
50840
50841 COND_TOOLKIT_MOTIF="#"
50842 if test "x$TOOLKIT" = "xMOTIF" ; then
50843 COND_TOOLKIT_MOTIF=""
50844 fi
50845
50846 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50847 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50848 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50849 fi
50850
50851 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50852 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50853 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50854 fi
50855
50856 COND_TOOLKIT_MSW="#"
50857 if test "x$TOOLKIT" = "xMSW" ; then
50858 COND_TOOLKIT_MSW=""
50859 fi
50860
50861 COND_TOOLKIT_MSW_USE_GUI_1="#"
50862 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50863 COND_TOOLKIT_MSW_USE_GUI_1=""
50864 fi
50865
50866 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50867 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50868 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50869 fi
50870
50871 COND_TOOLKIT_MSW_WXUNIV_0="#"
50872 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50873 COND_TOOLKIT_MSW_WXUNIV_0=""
50874 fi
50875
50876 COND_TOOLKIT_OSX_CARBON="#"
50877 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50878 COND_TOOLKIT_OSX_CARBON=""
50879 fi
50880
50881 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50882 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50883 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50884 fi
50885
50886 COND_TOOLKIT_OSX_COCOA="#"
50887 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50888 COND_TOOLKIT_OSX_COCOA=""
50889 fi
50890
50891 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50892 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50893 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50894 fi
50895
50896 COND_TOOLKIT_OSX_IPHONE="#"
50897 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50898 COND_TOOLKIT_OSX_IPHONE=""
50899 fi
50900
50901 COND_TOOLKIT_PM="#"
50902 if test "x$TOOLKIT" = "xPM" ; then
50903 COND_TOOLKIT_PM=""
50904 fi
50905
50906 COND_TOOLKIT_PM_USE_GUI_1="#"
50907 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50908 COND_TOOLKIT_PM_USE_GUI_1=""
50909 fi
50910
50911 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50912 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50913 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50914 fi
50915
50916 COND_TOOLKIT_WINCE="#"
50917 if test "x$TOOLKIT" = "xWINCE" ; then
50918 COND_TOOLKIT_WINCE=""
50919 fi
50920
50921 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50922 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50923 COND_TOOLKIT_WINCE_USE_GUI_1=""
50924 fi
50925
50926 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50927 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50928 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50929 fi
50930
50931 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50932 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50933 COND_TOOLKIT_WINCE_WXUNIV_0=""
50934 fi
50935
50936 COND_TOOLKIT_X11="#"
50937 if test "x$TOOLKIT" = "xX11" ; then
50938 COND_TOOLKIT_X11=""
50939 fi
50940
50941 COND_TOOLKIT_X11_USE_GUI_1="#"
50942 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50943 COND_TOOLKIT_X11_USE_GUI_1=""
50944 fi
50945
50946 COND_UNICODE_1="#"
50947 if test "x$UNICODE" = "x1" ; then
50948 COND_UNICODE_1=""
50949 fi
50950
50951 COND_USE_EXCEPTIONS_0="#"
50952 if test "x$USE_EXCEPTIONS" = "x0" ; then
50953 COND_USE_EXCEPTIONS_0=""
50954 fi
50955
50956 COND_USE_EXCEPTIONS_1="#"
50957 if test "x$USE_EXCEPTIONS" = "x1" ; then
50958 COND_USE_EXCEPTIONS_1=""
50959 fi
50960
50961 COND_USE_GUI_0="#"
50962 if test "x$USE_GUI" = "x0" ; then
50963 COND_USE_GUI_0=""
50964 fi
50965
50966 COND_USE_GUI_1="#"
50967 if test "x$USE_GUI" = "x1" ; then
50968 COND_USE_GUI_1=""
50969 fi
50970
50971 COND_USE_GUI_1_USE_OPENGL_1="#"
50972 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50973 COND_USE_GUI_1_USE_OPENGL_1=""
50974 fi
50975
50976 COND_USE_GUI_1_WXUNIV_0="#"
50977 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50978 COND_USE_GUI_1_WXUNIV_0=""
50979 fi
50980
50981 COND_USE_GUI_1_WXUNIV_1="#"
50982 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50983 COND_USE_GUI_1_WXUNIV_1=""
50984 fi
50985
50986 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50987 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50988 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50989 fi
50990
50991 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50992 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50993 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50994 fi
50995
50996 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50997 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50998 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50999 fi
51000
51001 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51002 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51003 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51004 fi
51005
51006 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51007 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51008 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51009 fi
51010
51011 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51012 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51013 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51014 fi
51015
51016 COND_USE_OPENGL_1="#"
51017 if test "x$USE_OPENGL" = "x1" ; then
51018 COND_USE_OPENGL_1=""
51019 fi
51020
51021 COND_USE_PCH_1="#"
51022 if test "x$USE_PCH" = "x1" ; then
51023 COND_USE_PCH_1=""
51024 fi
51025
51026 COND_USE_PLUGINS_0="#"
51027 if test "x$USE_PLUGINS" = "x0" ; then
51028 COND_USE_PLUGINS_0=""
51029 fi
51030
51031 COND_USE_RTTI_0="#"
51032 if test "x$USE_RTTI" = "x0" ; then
51033 COND_USE_RTTI_0=""
51034 fi
51035
51036 COND_USE_RTTI_1="#"
51037 if test "x$USE_RTTI" = "x1" ; then
51038 COND_USE_RTTI_1=""
51039 fi
51040
51041 COND_USE_SOTWOSYMLINKS_1="#"
51042 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51043 COND_USE_SOTWOSYMLINKS_1=""
51044 fi
51045
51046 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51047 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51048 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51049 fi
51050
51051 COND_USE_SOVERLINUX_1="#"
51052 if test "x$USE_SOVERLINUX" = "x1" ; then
51053 COND_USE_SOVERLINUX_1=""
51054 fi
51055
51056 COND_USE_SOVERSION_0="#"
51057 if test "x$USE_SOVERSION" = "x0" ; then
51058 COND_USE_SOVERSION_0=""
51059 fi
51060
51061 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51062 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51063 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51064 fi
51065
51066 COND_USE_SOVERSOLARIS_1="#"
51067 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51068 COND_USE_SOVERSOLARIS_1=""
51069 fi
51070
51071 COND_USE_STC_1="#"
51072 if test "x$USE_STC" = "x1" ; then
51073 COND_USE_STC_1=""
51074 fi
51075
51076 COND_USE_THREADS_0="#"
51077 if test "x$USE_THREADS" = "x0" ; then
51078 COND_USE_THREADS_0=""
51079 fi
51080
51081 COND_USE_THREADS_1="#"
51082 if test "x$USE_THREADS" = "x1" ; then
51083 COND_USE_THREADS_1=""
51084 fi
51085
51086 COND_USE_XRC_1="#"
51087 if test "x$USE_XRC" = "x1" ; then
51088 COND_USE_XRC_1=""
51089 fi
51090
51091 COND_WINDOWS_IMPLIB_1="#"
51092 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51093 COND_WINDOWS_IMPLIB_1=""
51094 fi
51095
51096 COND_WITH_PLUGIN_SDL_1="#"
51097 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51098 COND_WITH_PLUGIN_SDL_1=""
51099 fi
51100
51101 COND_WXUNIV_0="#"
51102 if test "x$WXUNIV" = "x0" ; then
51103 COND_WXUNIV_0=""
51104 fi
51105
51106 COND_WXUNIV_1="#"
51107 if test "x$WXUNIV" = "x1" ; then
51108 COND_WXUNIV_1=""
51109 fi
51110
51111 COND_WXUSE_EXPAT_BUILTIN="#"
51112 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51113 COND_WXUSE_EXPAT_BUILTIN=""
51114 fi
51115
51116 COND_WXUSE_LIBJPEG_BUILTIN="#"
51117 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51118 COND_WXUSE_LIBJPEG_BUILTIN=""
51119 fi
51120
51121 COND_WXUSE_LIBPNG_BUILTIN="#"
51122 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51123 COND_WXUSE_LIBPNG_BUILTIN=""
51124 fi
51125
51126 COND_WXUSE_LIBTIFF_BUILTIN="#"
51127 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51128 COND_WXUSE_LIBTIFF_BUILTIN=""
51129 fi
51130
51131 COND_WXUSE_REGEX_BUILTIN="#"
51132 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51133 COND_WXUSE_REGEX_BUILTIN=""
51134 fi
51135
51136 COND_WXUSE_ZLIB_BUILTIN="#"
51137 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51138 COND_WXUSE_ZLIB_BUILTIN=""
51139 fi
51140
51141 COND_wxUSE_EXPAT_builtin="#"
51142 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51143 COND_wxUSE_EXPAT_builtin=""
51144 fi
51145
51146 COND_wxUSE_LIBJPEG_builtin="#"
51147 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51148 COND_wxUSE_LIBJPEG_builtin=""
51149 fi
51150
51151 COND_wxUSE_LIBPNG_builtin="#"
51152 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51153 COND_wxUSE_LIBPNG_builtin=""
51154 fi
51155
51156 COND_wxUSE_LIBTIFF_builtin="#"
51157 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51158 COND_wxUSE_LIBTIFF_builtin=""
51159 fi
51160
51161 COND_wxUSE_REGEX_builtin="#"
51162 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51163 COND_wxUSE_REGEX_builtin=""
51164 fi
51165
51166 COND_wxUSE_ZLIB_builtin="#"
51167 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51168 COND_wxUSE_ZLIB_builtin=""
51169 fi
51170
51171
51172
51173 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51174 { { 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
51175 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;}
51176 { (exit 1); exit 1; }; }
51177 fi
51178
51179 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51180 { { 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
51181 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;}
51182 { (exit 1); exit 1; }; }
51183 fi
51184
51185
51186 case ${INSTALL} in
51187 /* ) # Absolute
51188 ;;
51189 ?:* ) # Drive letter, considered as absolute.
51190 ;;
51191 *)
51192 INSTALL=`pwd`/${INSTALL} ;;
51193 esac
51194
51195 if test "$wxUSE_GUI" = "yes"; then
51196
51197 if test "$wxUSE_MSW" = 1 ; then
51198 if test "x$WINDRES" = "x"; then
51199 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51200 echo "$as_me: error: Required windres program not found" >&2;}
51201 { (exit 1); exit 1; }; }
51202 fi
51203
51204 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51205 fi
51206
51207 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
51208 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51209 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51210
51211 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51212
51213 # Extract the first word of "DeRez", so it can be a program name with args.
51214 set dummy DeRez; ac_word=$2
51215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51217 if test "${ac_cv_prog_DEREZ+set}" = set; then
51218 echo $ECHO_N "(cached) $ECHO_C" >&6
51219 else
51220 if test -n "$DEREZ"; then
51221 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51222 else
51223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51224 for as_dir in $PATH
51225 do
51226 IFS=$as_save_IFS
51227 test -z "$as_dir" && as_dir=.
51228 for ac_exec_ext in '' $ac_executable_extensions; do
51229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51230 ac_cv_prog_DEREZ="DeRez"
51231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51232 break 2
51233 fi
51234 done
51235 done
51236 IFS=$as_save_IFS
51237
51238 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51239 fi
51240 fi
51241 DEREZ=$ac_cv_prog_DEREZ
51242 if test -n "$DEREZ"; then
51243 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51244 echo "${ECHO_T}$DEREZ" >&6; }
51245 else
51246 { echo "$as_me:$LINENO: result: no" >&5
51247 echo "${ECHO_T}no" >&6; }
51248 fi
51249
51250
51251
51252 MACSETFILE="\$(SETFILE)"
51253
51254 if test "$wxUSE_OSX_CARBON" = 1; then
51255 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51256 RESCOMP="$REZ"
51257 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51258 else
51259 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51260 RESCOMP="cat /dev/null \| $REZ"
51261 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51262 fi
51263
51264 else
51265 MACSETFILE="@true"
51266
51267 if test "$wxUSE_PM" = 1; then
51268 RESCOMP="emxbind"
51269 WXCONFIG_RESFLAGS="-ep"
51270
51271 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51272 else
51273 POSTLINK_COMMAND="@true"
51274 fi
51275 fi
51276
51277 fi
51278
51279
51280 if test $GCC_PCH = 1
51281 then
51282 if test "$wx_cv_gcc_pch_bug" = yes; then
51283 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51284 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51285 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51286 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51287 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51288 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51289 fi
51290
51291 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51292 # the headers that benefit from precompilation are mostly C++ headers.
51293 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51294 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51295 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51296 fi
51297
51298
51299 if test "$wxUSE_MAC" = 1 ; then
51300 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51301 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51302 mv temp bk-deps
51303 chmod +x bk-deps
51304 fi
51305 fi
51306
51307 if test "$wxUSE_SHARED" = "yes"; then
51308 case "${host}" in
51309 *-pc-os2_emx | *-pc-os2-emx )
51310 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51311 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51312 cp -p ${srcdir}/src/os2/dllnames.sh .
51313 cp -p ${srcdir}/src/os2/dllar.sh .
51314 ;;
51315 esac
51316 fi
51317 if test "$wxUSE_OMF" = "yes"; then
51318 case "${host}" in
51319 *-pc-os2_emx | *-pc-os2-emx )
51320 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51321 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51322 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51323 ;;
51324 esac
51325 fi
51326
51327 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51328
51329
51330 case "${host}" in
51331 *-*-solaris2* )
51332 if test "$GCC" = yes; then
51333 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51334 LIBS=`echo $LIBS | sed 's/-mt//'`
51335 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51336 fi
51337 ;;
51338
51339 *-*-linux* )
51340 if test "x$SUNCXX" = xyes; then
51341 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51342 LIBS=`echo $LIBS | sed 's/-pthread//'`
51343 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51344 fi
51345 ;;
51346 esac
51347
51348 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51349 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51350 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51351 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51352
51353 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51354
51355
51356
51357
51358
51359
51360
51361
51362
51363
51364
51365
51366
51367
51368
51369
51370
51371
51372
51373
51374
51375
51376
51377
51378
51379
51380
51381
51382
51383
51384
51385
51386
51387
51388
51389
51390
51391
51392
51393
51394
51395
51396
51397
51398
51399
51400
51401
51402
51403
51404
51405
51406
51407
51408
51409
51410
51411
51412
51413
51414 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51415 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51416 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51417 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51418 echo $ECHO_N "(cached) $ECHO_C" >&6
51419 else
51420 cat >conftest.make <<\_ACEOF
51421 SHELL = /bin/sh
51422 all:
51423 @echo '@@@%%%=$(MAKE)=@@@%%%'
51424 _ACEOF
51425 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51426 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51427 *@@@%%%=?*=@@@%%%*)
51428 eval ac_cv_prog_make_${ac_make}_set=yes;;
51429 *)
51430 eval ac_cv_prog_make_${ac_make}_set=no;;
51431 esac
51432 rm -f conftest.make
51433 fi
51434 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51435 { echo "$as_me:$LINENO: result: yes" >&5
51436 echo "${ECHO_T}yes" >&6; }
51437 SET_MAKE=
51438 else
51439 { echo "$as_me:$LINENO: result: no" >&5
51440 echo "${ECHO_T}no" >&6; }
51441 SET_MAKE="MAKE=${MAKE-make}"
51442 fi
51443
51444
51445
51446 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51447
51448
51449 if test "$USE_WIN32" = 1; then
51450 ac_config_commands="$ac_config_commands rcdefs.h"
51451
51452 fi
51453
51454 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51455
51456
51457 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51458
51459
51460 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51461
51462
51463 if test "$wx_cv_version_script" = "yes"; then
51464 ac_config_files="$ac_config_files version-script"
51465
51466 fi
51467 ac_config_files="$ac_config_files Makefile"
51468
51469
51470 ac_config_commands="$ac_config_commands wx-config"
51471
51472
51473
51474 if test "$wxWITH_SUBDIRS" != "no"; then
51475 if test "$wxUSE_GUI" = "yes"; then
51476 SUBDIRS="samples demos utils"
51477 else
51478 SUBDIRS="samples utils"
51479 fi
51480
51481
51482
51483 # Check whether --with-cppunit-prefix was given.
51484 if test "${with_cppunit_prefix+set}" = set; then
51485 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51486 else
51487 cppunit_config_prefix=""
51488 fi
51489
51490
51491 # Check whether --with-cppunit-exec-prefix was given.
51492 if test "${with_cppunit_exec_prefix+set}" = set; then
51493 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51494 else
51495 cppunit_config_exec_prefix=""
51496 fi
51497
51498
51499 if test x$cppunit_config_exec_prefix != x ; then
51500 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51501 if test x${CPPUNIT_CONFIG+set} != xset ; then
51502 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51503 fi
51504 fi
51505 if test x$cppunit_config_prefix != x ; then
51506 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51507 if test x${CPPUNIT_CONFIG+set} != xset ; then
51508 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51509 fi
51510 fi
51511
51512 # Extract the first word of "cppunit-config", so it can be a program name with args.
51513 set dummy cppunit-config; ac_word=$2
51514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51516 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51517 echo $ECHO_N "(cached) $ECHO_C" >&6
51518 else
51519 case $CPPUNIT_CONFIG in
51520 [\\/]* | ?:[\\/]*)
51521 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51522 ;;
51523 *)
51524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51525 for as_dir in $PATH
51526 do
51527 IFS=$as_save_IFS
51528 test -z "$as_dir" && as_dir=.
51529 for ac_exec_ext in '' $ac_executable_extensions; do
51530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51531 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51533 break 2
51534 fi
51535 done
51536 done
51537 IFS=$as_save_IFS
51538
51539 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51540 ;;
51541 esac
51542 fi
51543 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51544 if test -n "$CPPUNIT_CONFIG"; then
51545 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51546 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51547 else
51548 { echo "$as_me:$LINENO: result: no" >&5
51549 echo "${ECHO_T}no" >&6; }
51550 fi
51551
51552
51553 cppunit_version_min=1.8.0
51554
51555 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51556 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51557 no_cppunit=""
51558 if test "$CPPUNIT_CONFIG" = "no" ; then
51559 { echo "$as_me:$LINENO: result: no" >&5
51560 echo "${ECHO_T}no" >&6; }
51561 no_cppunit=yes
51562 else
51563 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51564 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51565 cppunit_version=`$CPPUNIT_CONFIG --version`
51566
51567 cppunit_major_version=`echo $cppunit_version | \
51568 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51569 cppunit_minor_version=`echo $cppunit_version | \
51570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51571 cppunit_micro_version=`echo $cppunit_version | \
51572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51573
51574 cppunit_major_min=`echo $cppunit_version_min | \
51575 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51576 cppunit_minor_min=`echo $cppunit_version_min | \
51577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51578 cppunit_micro_min=`echo $cppunit_version_min | \
51579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51580
51581 cppunit_version_proper=`expr \
51582 $cppunit_major_version \> $cppunit_major_min \| \
51583 $cppunit_major_version \= $cppunit_major_min \& \
51584 $cppunit_minor_version \> $cppunit_minor_min \| \
51585 $cppunit_major_version \= $cppunit_major_min \& \
51586 $cppunit_minor_version \= $cppunit_minor_min \& \
51587 $cppunit_micro_version \>= $cppunit_micro_min `
51588
51589 if test "$cppunit_version_proper" = "1" ; then
51590 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51591 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51592 else
51593 { echo "$as_me:$LINENO: result: no" >&5
51594 echo "${ECHO_T}no" >&6; }
51595 no_cppunit=yes
51596 fi
51597 fi
51598
51599 if test "x$no_cppunit" = x ; then
51600 SUBDIRS="$SUBDIRS tests"
51601 else
51602 CPPUNIT_CFLAGS=""
51603 CPPUNIT_LIBS=""
51604 :
51605 fi
51606
51607
51608
51609
51610
51611 for subdir in $SUBDIRS; do
51612 if test -d ${srcdir}/${subdir} ; then
51613 if test "$wxUSE_GUI" = "yes"; then
51614 if test ${subdir} = "samples"; then
51615 makefiles="samples/Makefile.in $makefiles"
51616 for sample in $SAMPLES_SUBDIRS; do
51617 if test -d $srcdir/samples/$sample; then
51618 makefiles="samples/$sample/Makefile.in $makefiles"
51619 fi
51620 done
51621 else
51622 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51623 eval "disabled=\$$disabled_var"
51624 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51625 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51626 fi
51627 else
51628 if test ${subdir} = "samples"; then
51629 makefiles="samples/Makefile.in $makefiles"
51630 for sample in `echo $SAMPLES_SUBDIRS`; do
51631 if test -d $srcdir/samples/$sample; then
51632 makefiles="samples/$sample/Makefile.in $makefiles"
51633 fi
51634 done
51635 elif test ${subdir} = "utils"; then
51636 makefiles=""
51637 for util in ifacecheck ; do
51638 if test -d $srcdir/utils/$util ; then
51639 makefiles="utils/$util/src/Makefile.in \
51640 $makefiles"
51641 fi
51642 done
51643 else
51644 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51645 fi
51646 fi
51647
51648 for mkin in $makefiles ; do
51649 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51650 ac_config_files="$ac_config_files $mk"
51651
51652 done
51653 fi
51654 done
51655 fi
51656 cat >confcache <<\_ACEOF
51657 # This file is a shell script that caches the results of configure
51658 # tests run on this system so they can be shared between configure
51659 # scripts and configure runs, see configure's option --config-cache.
51660 # It is not useful on other systems. If it contains results you don't
51661 # want to keep, you may remove or edit it.
51662 #
51663 # config.status only pays attention to the cache file if you give it
51664 # the --recheck option to rerun configure.
51665 #
51666 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51667 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51668 # following values.
51669
51670 _ACEOF
51671
51672 # The following way of writing the cache mishandles newlines in values,
51673 # but we know of no workaround that is simple, portable, and efficient.
51674 # So, we kill variables containing newlines.
51675 # Ultrix sh set writes to stderr and can't be redirected directly,
51676 # and sets the high bit in the cache file unless we assign to the vars.
51677 (
51678 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51679 eval ac_val=\$$ac_var
51680 case $ac_val in #(
51681 *${as_nl}*)
51682 case $ac_var in #(
51683 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51684 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51685 esac
51686 case $ac_var in #(
51687 _ | IFS | as_nl) ;; #(
51688 *) $as_unset $ac_var ;;
51689 esac ;;
51690 esac
51691 done
51692
51693 (set) 2>&1 |
51694 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51695 *${as_nl}ac_space=\ *)
51696 # `set' does not quote correctly, so add quotes (double-quote
51697 # substitution turns \\\\ into \\, and sed turns \\ into \).
51698 sed -n \
51699 "s/'/'\\\\''/g;
51700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51701 ;; #(
51702 *)
51703 # `set' quotes correctly as required by POSIX, so do not add quotes.
51704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51705 ;;
51706 esac |
51707 sort
51708 ) |
51709 sed '
51710 /^ac_cv_env_/b end
51711 t clear
51712 :clear
51713 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51714 t end
51715 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51716 :end' >>confcache
51717 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51718 if test -w "$cache_file"; then
51719 test "x$cache_file" != "x/dev/null" &&
51720 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51721 echo "$as_me: updating cache $cache_file" >&6;}
51722 cat confcache >$cache_file
51723 else
51724 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51725 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51726 fi
51727 fi
51728 rm -f confcache
51729
51730 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51731 # Let make expand exec_prefix.
51732 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51733
51734 DEFS=-DHAVE_CONFIG_H
51735
51736 ac_libobjs=
51737 ac_ltlibobjs=
51738 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51739 # 1. Remove the extension, and $U if already installed.
51740 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51741 ac_i=`echo "$ac_i" | sed "$ac_script"`
51742 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51743 # will be set to the directory where LIBOBJS objects are built.
51744 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51745 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51746 done
51747 LIBOBJS=$ac_libobjs
51748
51749 LTLIBOBJS=$ac_ltlibobjs
51750
51751
51752
51753 : ${CONFIG_STATUS=./config.status}
51754 ac_clean_files_save=$ac_clean_files
51755 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51756 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51757 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51758 cat >$CONFIG_STATUS <<_ACEOF
51759 #! $SHELL
51760 # Generated by $as_me.
51761 # Run this file to recreate the current configuration.
51762 # Compiler output produced by configure, useful for debugging
51763 # configure, is in config.log if it exists.
51764
51765 debug=false
51766 ac_cs_recheck=false
51767 ac_cs_silent=false
51768 SHELL=\${CONFIG_SHELL-$SHELL}
51769 _ACEOF
51770
51771 cat >>$CONFIG_STATUS <<\_ACEOF
51772 ## --------------------- ##
51773 ## M4sh Initialization. ##
51774 ## --------------------- ##
51775
51776 # Be more Bourne compatible
51777 DUALCASE=1; export DUALCASE # for MKS sh
51778 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51779 emulate sh
51780 NULLCMD=:
51781 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51782 # is contrary to our usage. Disable this feature.
51783 alias -g '${1+"$@"}'='"$@"'
51784 setopt NO_GLOB_SUBST
51785 else
51786 case `(set -o) 2>/dev/null` in
51787 *posix*) set -o posix ;;
51788 esac
51789
51790 fi
51791
51792
51793
51794
51795 # PATH needs CR
51796 # Avoid depending upon Character Ranges.
51797 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51798 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51799 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51800 as_cr_digits='0123456789'
51801 as_cr_alnum=$as_cr_Letters$as_cr_digits
51802
51803 # The user is always right.
51804 if test "${PATH_SEPARATOR+set}" != set; then
51805 echo "#! /bin/sh" >conf$$.sh
51806 echo "exit 0" >>conf$$.sh
51807 chmod +x conf$$.sh
51808 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51809 PATH_SEPARATOR=';'
51810 else
51811 PATH_SEPARATOR=:
51812 fi
51813 rm -f conf$$.sh
51814 fi
51815
51816 # Support unset when possible.
51817 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51818 as_unset=unset
51819 else
51820 as_unset=false
51821 fi
51822
51823
51824 # IFS
51825 # We need space, tab and new line, in precisely that order. Quoting is
51826 # there to prevent editors from complaining about space-tab.
51827 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51828 # splitting by setting IFS to empty value.)
51829 as_nl='
51830 '
51831 IFS=" "" $as_nl"
51832
51833 # Find who we are. Look in the path if we contain no directory separator.
51834 case $0 in
51835 *[\\/]* ) as_myself=$0 ;;
51836 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51837 for as_dir in $PATH
51838 do
51839 IFS=$as_save_IFS
51840 test -z "$as_dir" && as_dir=.
51841 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51842 done
51843 IFS=$as_save_IFS
51844
51845 ;;
51846 esac
51847 # We did not find ourselves, most probably we were run as `sh COMMAND'
51848 # in which case we are not to be found in the path.
51849 if test "x$as_myself" = x; then
51850 as_myself=$0
51851 fi
51852 if test ! -f "$as_myself"; then
51853 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51854 { (exit 1); exit 1; }
51855 fi
51856
51857 # Work around bugs in pre-3.0 UWIN ksh.
51858 for as_var in ENV MAIL MAILPATH
51859 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51860 done
51861 PS1='$ '
51862 PS2='> '
51863 PS4='+ '
51864
51865 # NLS nuisances.
51866 for as_var in \
51867 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51868 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51869 LC_TELEPHONE LC_TIME
51870 do
51871 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51872 eval $as_var=C; export $as_var
51873 else
51874 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51875 fi
51876 done
51877
51878 # Required to use basename.
51879 if expr a : '\(a\)' >/dev/null 2>&1 &&
51880 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51881 as_expr=expr
51882 else
51883 as_expr=false
51884 fi
51885
51886 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51887 as_basename=basename
51888 else
51889 as_basename=false
51890 fi
51891
51892
51893 # Name of the executable.
51894 as_me=`$as_basename -- "$0" ||
51895 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51896 X"$0" : 'X\(//\)$' \| \
51897 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51898 echo X/"$0" |
51899 sed '/^.*\/\([^/][^/]*\)\/*$/{
51900 s//\1/
51901 q
51902 }
51903 /^X\/\(\/\/\)$/{
51904 s//\1/
51905 q
51906 }
51907 /^X\/\(\/\).*/{
51908 s//\1/
51909 q
51910 }
51911 s/.*/./; q'`
51912
51913 # CDPATH.
51914 $as_unset CDPATH
51915
51916
51917
51918 as_lineno_1=$LINENO
51919 as_lineno_2=$LINENO
51920 test "x$as_lineno_1" != "x$as_lineno_2" &&
51921 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51922
51923 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51924 # uniformly replaced by the line number. The first 'sed' inserts a
51925 # line-number line after each line using $LINENO; the second 'sed'
51926 # does the real work. The second script uses 'N' to pair each
51927 # line-number line with the line containing $LINENO, and appends
51928 # trailing '-' during substitution so that $LINENO is not a special
51929 # case at line end.
51930 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51931 # scripts with optimization help from Paolo Bonzini. Blame Lee
51932 # E. McMahon (1931-1989) for sed's syntax. :-)
51933 sed -n '
51934 p
51935 /[$]LINENO/=
51936 ' <$as_myself |
51937 sed '
51938 s/[$]LINENO.*/&-/
51939 t lineno
51940 b
51941 :lineno
51942 N
51943 :loop
51944 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51945 t loop
51946 s/-\n.*//
51947 ' >$as_me.lineno &&
51948 chmod +x "$as_me.lineno" ||
51949 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51950 { (exit 1); exit 1; }; }
51951
51952 # Don't try to exec as it changes $[0], causing all sort of problems
51953 # (the dirname of $[0] is not the place where we might find the
51954 # original and so on. Autoconf is especially sensitive to this).
51955 . "./$as_me.lineno"
51956 # Exit status is that of the last command.
51957 exit
51958 }
51959
51960
51961 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51962 as_dirname=dirname
51963 else
51964 as_dirname=false
51965 fi
51966
51967 ECHO_C= ECHO_N= ECHO_T=
51968 case `echo -n x` in
51969 -n*)
51970 case `echo 'x\c'` in
51971 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51972 *) ECHO_C='\c';;
51973 esac;;
51974 *)
51975 ECHO_N='-n';;
51976 esac
51977
51978 if expr a : '\(a\)' >/dev/null 2>&1 &&
51979 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51980 as_expr=expr
51981 else
51982 as_expr=false
51983 fi
51984
51985 rm -f conf$$ conf$$.exe conf$$.file
51986 if test -d conf$$.dir; then
51987 rm -f conf$$.dir/conf$$.file
51988 else
51989 rm -f conf$$.dir
51990 mkdir conf$$.dir
51991 fi
51992 echo >conf$$.file
51993 if ln -s conf$$.file conf$$ 2>/dev/null; then
51994 as_ln_s='ln -s'
51995 # ... but there are two gotchas:
51996 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51997 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51998 # In both cases, we have to default to `cp -p'.
51999 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52000 as_ln_s='cp -p'
52001 elif ln conf$$.file conf$$ 2>/dev/null; then
52002 as_ln_s=ln
52003 else
52004 as_ln_s='cp -p'
52005 fi
52006 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52007 rmdir conf$$.dir 2>/dev/null
52008
52009 if mkdir -p . 2>/dev/null; then
52010 as_mkdir_p=:
52011 else
52012 test -d ./-p && rmdir ./-p
52013 as_mkdir_p=false
52014 fi
52015
52016 if test -x / >/dev/null 2>&1; then
52017 as_test_x='test -x'
52018 else
52019 if ls -dL / >/dev/null 2>&1; then
52020 as_ls_L_option=L
52021 else
52022 as_ls_L_option=
52023 fi
52024 as_test_x='
52025 eval sh -c '\''
52026 if test -d "$1"; then
52027 test -d "$1/.";
52028 else
52029 case $1 in
52030 -*)set "./$1";;
52031 esac;
52032 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52033 ???[sx]*):;;*)false;;esac;fi
52034 '\'' sh
52035 '
52036 fi
52037 as_executable_p=$as_test_x
52038
52039 # Sed expression to map a string onto a valid CPP name.
52040 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52041
52042 # Sed expression to map a string onto a valid variable name.
52043 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52044
52045
52046 exec 6>&1
52047
52048 # Save the log message, to keep $[0] and so on meaningful, and to
52049 # report actual input values of CONFIG_FILES etc. instead of their
52050 # values after options handling.
52051 ac_log="
52052 This file was extended by wxWidgets $as_me 2.9.1, which was
52053 generated by GNU Autoconf 2.61. Invocation command line was
52054
52055 CONFIG_FILES = $CONFIG_FILES
52056 CONFIG_HEADERS = $CONFIG_HEADERS
52057 CONFIG_LINKS = $CONFIG_LINKS
52058 CONFIG_COMMANDS = $CONFIG_COMMANDS
52059 $ $0 $@
52060
52061 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52062 "
52063
52064 _ACEOF
52065
52066 cat >>$CONFIG_STATUS <<_ACEOF
52067 # Files that config.status was made for.
52068 config_files="$ac_config_files"
52069 config_headers="$ac_config_headers"
52070 config_commands="$ac_config_commands"
52071
52072 _ACEOF
52073
52074 cat >>$CONFIG_STATUS <<\_ACEOF
52075 ac_cs_usage="\
52076 \`$as_me' instantiates files from templates according to the
52077 current configuration.
52078
52079 Usage: $0 [OPTIONS] [FILE]...
52080
52081 -h, --help print this help, then exit
52082 -V, --version print version number and configuration settings, then exit
52083 -q, --quiet do not print progress messages
52084 -d, --debug don't remove temporary files
52085 --recheck update $as_me by reconfiguring in the same conditions
52086 --file=FILE[:TEMPLATE]
52087 instantiate the configuration file FILE
52088 --header=FILE[:TEMPLATE]
52089 instantiate the configuration header FILE
52090
52091 Configuration files:
52092 $config_files
52093
52094 Configuration headers:
52095 $config_headers
52096
52097 Configuration commands:
52098 $config_commands
52099
52100 Report bugs to <bug-autoconf@gnu.org>."
52101
52102 _ACEOF
52103 cat >>$CONFIG_STATUS <<_ACEOF
52104 ac_cs_version="\\
52105 wxWidgets config.status 2.9.1
52106 configured by $0, generated by GNU Autoconf 2.61,
52107 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52108
52109 Copyright (C) 2006 Free Software Foundation, Inc.
52110 This config.status script is free software; the Free Software Foundation
52111 gives unlimited permission to copy, distribute and modify it."
52112
52113 ac_pwd='$ac_pwd'
52114 srcdir='$srcdir'
52115 INSTALL='$INSTALL'
52116 _ACEOF
52117
52118 cat >>$CONFIG_STATUS <<\_ACEOF
52119 # If no file are specified by the user, then we need to provide default
52120 # value. By we need to know if files were specified by the user.
52121 ac_need_defaults=:
52122 while test $# != 0
52123 do
52124 case $1 in
52125 --*=*)
52126 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52127 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52128 ac_shift=:
52129 ;;
52130 *)
52131 ac_option=$1
52132 ac_optarg=$2
52133 ac_shift=shift
52134 ;;
52135 esac
52136
52137 case $ac_option in
52138 # Handling of the options.
52139 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52140 ac_cs_recheck=: ;;
52141 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52142 echo "$ac_cs_version"; exit ;;
52143 --debug | --debu | --deb | --de | --d | -d )
52144 debug=: ;;
52145 --file | --fil | --fi | --f )
52146 $ac_shift
52147 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52148 ac_need_defaults=false;;
52149 --header | --heade | --head | --hea )
52150 $ac_shift
52151 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52152 ac_need_defaults=false;;
52153 --he | --h)
52154 # Conflict between --help and --header
52155 { echo "$as_me: error: ambiguous option: $1
52156 Try \`$0 --help' for more information." >&2
52157 { (exit 1); exit 1; }; };;
52158 --help | --hel | -h )
52159 echo "$ac_cs_usage"; exit ;;
52160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52161 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52162 ac_cs_silent=: ;;
52163
52164 # This is an error.
52165 -*) { echo "$as_me: error: unrecognized option: $1
52166 Try \`$0 --help' for more information." >&2
52167 { (exit 1); exit 1; }; } ;;
52168
52169 *) ac_config_targets="$ac_config_targets $1"
52170 ac_need_defaults=false ;;
52171
52172 esac
52173 shift
52174 done
52175
52176 ac_configure_extra_args=
52177
52178 if $ac_cs_silent; then
52179 exec 6>/dev/null
52180 ac_configure_extra_args="$ac_configure_extra_args --silent"
52181 fi
52182
52183 _ACEOF
52184 cat >>$CONFIG_STATUS <<_ACEOF
52185 if \$ac_cs_recheck; then
52186 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52187 CONFIG_SHELL=$SHELL
52188 export CONFIG_SHELL
52189 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52190 fi
52191
52192 _ACEOF
52193 cat >>$CONFIG_STATUS <<\_ACEOF
52194 exec 5>>config.log
52195 {
52196 echo
52197 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52198 ## Running $as_me. ##
52199 _ASBOX
52200 echo "$ac_log"
52201 } >&5
52202
52203 _ACEOF
52204 cat >>$CONFIG_STATUS <<_ACEOF
52205 #
52206 # INIT-COMMANDS
52207 #
52208
52209 CPP="$CPP"
52210 infile="$srcdir/include/wx/msw/genrcdefs.h"
52211 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52212
52213
52214 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52215 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52216 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52217 LN_S="${LN_S}"
52218
52219
52220 _ACEOF
52221
52222 cat >>$CONFIG_STATUS <<\_ACEOF
52223
52224 # Handling of arguments.
52225 for ac_config_target in $ac_config_targets
52226 do
52227 case $ac_config_target in
52228 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52229 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52230 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52231 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52232 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52233 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52234 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52235 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52236 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52237
52238 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52239 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52240 { (exit 1); exit 1; }; };;
52241 esac
52242 done
52243
52244
52245 # If the user did not use the arguments to specify the items to instantiate,
52246 # then the envvar interface is used. Set only those that are not.
52247 # We use the long form for the default assignment because of an extremely
52248 # bizarre bug on SunOS 4.1.3.
52249 if $ac_need_defaults; then
52250 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52251 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52252 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52253 fi
52254
52255 # Have a temporary directory for convenience. Make it in the build tree
52256 # simply because there is no reason against having it here, and in addition,
52257 # creating and moving files from /tmp can sometimes cause problems.
52258 # Hook for its removal unless debugging.
52259 # Note that there is a small window in which the directory will not be cleaned:
52260 # after its creation but before its name has been assigned to `$tmp'.
52261 $debug ||
52262 {
52263 tmp=
52264 trap 'exit_status=$?
52265 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52266 ' 0
52267 trap '{ (exit 1); exit 1; }' 1 2 13 15
52268 }
52269 # Create a (secure) tmp directory for tmp files.
52270
52271 {
52272 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52273 test -n "$tmp" && test -d "$tmp"
52274 } ||
52275 {
52276 tmp=./conf$$-$RANDOM
52277 (umask 077 && mkdir "$tmp")
52278 } ||
52279 {
52280 echo "$me: cannot create a temporary directory in ." >&2
52281 { (exit 1); exit 1; }
52282 }
52283
52284 #
52285 # Set up the sed scripts for CONFIG_FILES section.
52286 #
52287
52288 # No need to generate the scripts if there are no CONFIG_FILES.
52289 # This happens for instance when ./config.status config.h
52290 if test -n "$CONFIG_FILES"; then
52291
52292 _ACEOF
52293
52294
52295
52296 ac_delim='%!_!# '
52297 for ac_last_try in false false false false false :; do
52298 cat >conf$$subs.sed <<_ACEOF
52299 SHELL!$SHELL$ac_delim
52300 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52301 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52302 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52303 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52304 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52305 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52306 exec_prefix!$exec_prefix$ac_delim
52307 prefix!$prefix$ac_delim
52308 program_transform_name!$program_transform_name$ac_delim
52309 bindir!$bindir$ac_delim
52310 sbindir!$sbindir$ac_delim
52311 libexecdir!$libexecdir$ac_delim
52312 datarootdir!$datarootdir$ac_delim
52313 datadir!$datadir$ac_delim
52314 sysconfdir!$sysconfdir$ac_delim
52315 sharedstatedir!$sharedstatedir$ac_delim
52316 localstatedir!$localstatedir$ac_delim
52317 includedir!$includedir$ac_delim
52318 oldincludedir!$oldincludedir$ac_delim
52319 docdir!$docdir$ac_delim
52320 infodir!$infodir$ac_delim
52321 htmldir!$htmldir$ac_delim
52322 dvidir!$dvidir$ac_delim
52323 pdfdir!$pdfdir$ac_delim
52324 psdir!$psdir$ac_delim
52325 libdir!$libdir$ac_delim
52326 localedir!$localedir$ac_delim
52327 mandir!$mandir$ac_delim
52328 DEFS!$DEFS$ac_delim
52329 ECHO_C!$ECHO_C$ac_delim
52330 ECHO_N!$ECHO_N$ac_delim
52331 ECHO_T!$ECHO_T$ac_delim
52332 LIBS!$LIBS$ac_delim
52333 build_alias!$build_alias$ac_delim
52334 host_alias!$host_alias$ac_delim
52335 target_alias!$target_alias$ac_delim
52336 build!$build$ac_delim
52337 build_cpu!$build_cpu$ac_delim
52338 build_vendor!$build_vendor$ac_delim
52339 build_os!$build_os$ac_delim
52340 host!$host$ac_delim
52341 host_cpu!$host_cpu$ac_delim
52342 host_vendor!$host_vendor$ac_delim
52343 host_os!$host_os$ac_delim
52344 wx_top_builddir!$wx_top_builddir$ac_delim
52345 CC!$CC$ac_delim
52346 CFLAGS!$CFLAGS$ac_delim
52347 LDFLAGS!$LDFLAGS$ac_delim
52348 CPPFLAGS!$CPPFLAGS$ac_delim
52349 ac_ct_CC!$ac_ct_CC$ac_delim
52350 EXEEXT!$EXEEXT$ac_delim
52351 OBJEXT!$OBJEXT$ac_delim
52352 CPP!$CPP$ac_delim
52353 GREP!$GREP$ac_delim
52354 EGREP!$EGREP$ac_delim
52355 CXX!$CXX$ac_delim
52356 CXXFLAGS!$CXXFLAGS$ac_delim
52357 ac_ct_CXX!$ac_ct_CXX$ac_delim
52358 AR!$AR$ac_delim
52359 subdirs!$subdirs$ac_delim
52360 PKG_CONFIG!$PKG_CONFIG$ac_delim
52361 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52362 GTK_LIBS!$GTK_LIBS$ac_delim
52363 GTK_CONFIG!$GTK_CONFIG$ac_delim
52364 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52365 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52366 XMKMF!$XMKMF$ac_delim
52367 X_CFLAGS!$X_CFLAGS$ac_delim
52368 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52369 X_LIBS!$X_LIBS$ac_delim
52370 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52371 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52372 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52373 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52374 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52375 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52376 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52377 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52378 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52379 LIBICONV!$LIBICONV$ac_delim
52380 GXX_VERSION!$GXX_VERSION$ac_delim
52381 SDL_CONFIG!$SDL_CONFIG$ac_delim
52382 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52383 SDL_LIBS!$SDL_LIBS$ac_delim
52384 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52385 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52386 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52387 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52388 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52389 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52390 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52391 HILDON_LIBS!$HILDON_LIBS$ac_delim
52392 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52393 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52394 PYTHON!$PYTHON$ac_delim
52395 COND_PYTHON!$COND_PYTHON$ac_delim
52396 _ACEOF
52397
52398 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52399 break
52400 elif $ac_last_try; then
52401 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52402 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52403 { (exit 1); exit 1; }; }
52404 else
52405 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52406 fi
52407 done
52408
52409 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52410 if test -n "$ac_eof"; then
52411 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52412 ac_eof=`expr $ac_eof + 1`
52413 fi
52414
52415 cat >>$CONFIG_STATUS <<_ACEOF
52416 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52417 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52418 _ACEOF
52419 sed '
52420 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52421 s/^/s,@/; s/!/@,|#_!!_#|/
52422 :n
52423 t n
52424 s/'"$ac_delim"'$/,g/; t
52425 s/$/\\/; p
52426 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52427 ' >>$CONFIG_STATUS <conf$$subs.sed
52428 rm -f conf$$subs.sed
52429 cat >>$CONFIG_STATUS <<_ACEOF
52430 CEOF$ac_eof
52431 _ACEOF
52432
52433
52434 ac_delim='%!_!# '
52435 for ac_last_try in false false false false false :; do
52436 cat >conf$$subs.sed <<_ACEOF
52437 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52438 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52439 GST_CFLAGS!$GST_CFLAGS$ac_delim
52440 GST_LIBS!$GST_LIBS$ac_delim
52441 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52442 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52443 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52444 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52445 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52446 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52447 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52448 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52449 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52450 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52451 VENDOR!$VENDOR$ac_delim
52452 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52453 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52454 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52455 WXUNIV!$WXUNIV$ac_delim
52456 MONOLITHIC!$MONOLITHIC$ac_delim
52457 USE_PLUGINS!$USE_PLUGINS$ac_delim
52458 CXXWARNINGS!$CXXWARNINGS$ac_delim
52459 EXTRALIBS!$EXTRALIBS$ac_delim
52460 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52461 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52462 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52463 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52464 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52465 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52466 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52467 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52468 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52469 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52470 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52471 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52472 UNICODE!$UNICODE$ac_delim
52473 DEBUG_INFO!$DEBUG_INFO$ac_delim
52474 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52475 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52476 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52477 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52478 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52479 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52480 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52481 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52482 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52483 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52484 RANLIB!$RANLIB$ac_delim
52485 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52486 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52487 INSTALL_DATA!$INSTALL_DATA$ac_delim
52488 LN_S!$LN_S$ac_delim
52489 SET_MAKE!$SET_MAKE$ac_delim
52490 MAKE_SET!$MAKE_SET$ac_delim
52491 AROPTIONS!$AROPTIONS$ac_delim
52492 STRIP!$STRIP$ac_delim
52493 NM!$NM$ac_delim
52494 INSTALL_DIR!$INSTALL_DIR$ac_delim
52495 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52496 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52497 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52498 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52499 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52500 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52501 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52502 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52503 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52504 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52505 SO_SUFFIX!$SO_SUFFIX$ac_delim
52506 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52507 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52508 LIBPREFIX!$LIBPREFIX$ac_delim
52509 LIBEXT!$LIBEXT$ac_delim
52510 DLLPREFIX!$DLLPREFIX$ac_delim
52511 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52512 dlldir!$dlldir$ac_delim
52513 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52514 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52515 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52516 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52517 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52518 PIC_FLAG!$PIC_FLAG$ac_delim
52519 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52520 USE_SOVERSION!$USE_SOVERSION$ac_delim
52521 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52522 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52523 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52524 USE_MACVERSION!$USE_MACVERSION$ac_delim
52525 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52526 SONAME_FLAG!$SONAME_FLAG$ac_delim
52527 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52528 BK_DEPS!$BK_DEPS$ac_delim
52529 WINDRES!$WINDRES$ac_delim
52530 REZ!$REZ$ac_delim
52531 SETFILE!$SETFILE$ac_delim
52532 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52533 GCC_PCH!$GCC_PCH$ac_delim
52534 _ACEOF
52535
52536 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52537 break
52538 elif $ac_last_try; then
52539 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52540 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52541 { (exit 1); exit 1; }; }
52542 else
52543 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52544 fi
52545 done
52546
52547 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52548 if test -n "$ac_eof"; then
52549 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52550 ac_eof=`expr $ac_eof + 1`
52551 fi
52552
52553 cat >>$CONFIG_STATUS <<_ACEOF
52554 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52555 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52556 _ACEOF
52557 sed '
52558 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52559 s/^/s,@/; s/!/@,|#_!!_#|/
52560 :n
52561 t n
52562 s/'"$ac_delim"'$/,g/; t
52563 s/$/\\/; p
52564 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52565 ' >>$CONFIG_STATUS <conf$$subs.sed
52566 rm -f conf$$subs.sed
52567 cat >>$CONFIG_STATUS <<_ACEOF
52568 CEOF$ac_eof
52569 _ACEOF
52570
52571
52572 ac_delim='%!_!# '
52573 for ac_last_try in false false false false false :; do
52574 cat >conf$$subs.sed <<_ACEOF
52575 ICC_PCH!$ICC_PCH$ac_delim
52576 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52577 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52578 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52579 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52580 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52581 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52582 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52583 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52584 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52585 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52586 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52587 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52588 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52589 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52590 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52591 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52592 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52593 COND_BUILD_release!$COND_BUILD_release$ac_delim
52594 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52595 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52596 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52597 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52598 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52599 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52600 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52601 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52602 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52603 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52604 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52605 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52606 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52607 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52608 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52609 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52610 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52611 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52612 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52613 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52614 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52615 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52616 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52617 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52618 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52619 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52620 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52621 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52622 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52623 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52624 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52625 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52626 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52627 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52628 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52629 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52630 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52631 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52632 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52633 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52634 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52635 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52636 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52637 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52638 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52639 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52640 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52641 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52642 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52643 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52644 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52645 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52646 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52647 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52648 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52649 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
52650 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52651 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
52652 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52653 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52654 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52655 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52656 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52657 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52658 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52659 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52660 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52661 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52662 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52663 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52664 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52665 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52666 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52667 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52668 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52669 COND_SHARED_0!$COND_SHARED_0$ac_delim
52670 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52671 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52672 _ACEOF
52673
52674 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52675 break
52676 elif $ac_last_try; then
52677 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52678 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52679 { (exit 1); exit 1; }; }
52680 else
52681 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52682 fi
52683 done
52684
52685 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52686 if test -n "$ac_eof"; then
52687 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52688 ac_eof=`expr $ac_eof + 1`
52689 fi
52690
52691 cat >>$CONFIG_STATUS <<_ACEOF
52692 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52694 _ACEOF
52695 sed '
52696 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52697 s/^/s,@/; s/!/@,|#_!!_#|/
52698 :n
52699 t n
52700 s/'"$ac_delim"'$/,g/; t
52701 s/$/\\/; p
52702 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52703 ' >>$CONFIG_STATUS <conf$$subs.sed
52704 rm -f conf$$subs.sed
52705 cat >>$CONFIG_STATUS <<_ACEOF
52706 CEOF$ac_eof
52707 _ACEOF
52708
52709
52710 ac_delim='%!_!# '
52711 for ac_last_try in false false false false false :; do
52712 cat >conf$$subs.sed <<_ACEOF
52713 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52714 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52715 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52716 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52717 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52718 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52719 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52720 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52721 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52722 COND_SHARED_1!$COND_SHARED_1$ac_delim
52723 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52724 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52725 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52726 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52727 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52728 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52729 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52730 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52731 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52732 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52735 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52736 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52737 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52738 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52739 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52740 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52741 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52742 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52743 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52744 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52745 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52746 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52747 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52748 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52749 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52750 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52751 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52752 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52753 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52754 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52755 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52756 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52757 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52758 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52759 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52760 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52761 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52762 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52763 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52764 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52765 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52766 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52767 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52768 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52769 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52770 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52771 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52772 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52773 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52774 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52775 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52776 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52777 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52778 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52779 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52780 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52781 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52782 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52783 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52784 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52785 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52786 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52787 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52788 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52789 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52790 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52791 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52792 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52793 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52794 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52795 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52796 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52797 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52798 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52799 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52800 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52801 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52802 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52803 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52804 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52805 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52806 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52807 DEREZ!$DEREZ$ac_delim
52808 SHARED!$SHARED$ac_delim
52809 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52810 _ACEOF
52811
52812 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52813 break
52814 elif $ac_last_try; then
52815 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52816 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52817 { (exit 1); exit 1; }; }
52818 else
52819 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52820 fi
52821 done
52822
52823 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52824 if test -n "$ac_eof"; then
52825 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52826 ac_eof=`expr $ac_eof + 1`
52827 fi
52828
52829 cat >>$CONFIG_STATUS <<_ACEOF
52830 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52831 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52832 _ACEOF
52833 sed '
52834 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52835 s/^/s,@/; s/!/@,|#_!!_#|/
52836 :n
52837 t n
52838 s/'"$ac_delim"'$/,g/; t
52839 s/$/\\/; p
52840 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52841 ' >>$CONFIG_STATUS <conf$$subs.sed
52842 rm -f conf$$subs.sed
52843 cat >>$CONFIG_STATUS <<_ACEOF
52844 CEOF$ac_eof
52845 _ACEOF
52846
52847
52848 ac_delim='%!_!# '
52849 for ac_last_try in false false false false false :; do
52850 cat >conf$$subs.sed <<_ACEOF
52851 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52852 USE_GUI!$USE_GUI$ac_delim
52853 AFMINSTALL!$AFMINSTALL$ac_delim
52854 WIN32INSTALL!$WIN32INSTALL$ac_delim
52855 TOOLKIT!$TOOLKIT$ac_delim
52856 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52857 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52858 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52859 cross_compiling!$cross_compiling$ac_delim
52860 WIDGET_SET!$WIDGET_SET$ac_delim
52861 WX_RELEASE!$WX_RELEASE$ac_delim
52862 WX_VERSION!$WX_VERSION$ac_delim
52863 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52864 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52865 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52866 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52867 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52868 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52869 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52870 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
52871 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52872 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52873 GUIDIST!$GUIDIST$ac_delim
52874 DISTDIR!$DISTDIR$ac_delim
52875 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52876 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52877 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52878 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52879 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52880 RESCOMP!$RESCOMP$ac_delim
52881 RESFLAGS!$RESFLAGS$ac_delim
52882 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52883 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52884 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52885 LIBWXMACRES!$LIBWXMACRES$ac_delim
52886 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52887 MACSETFILE!$MACSETFILE$ac_delim
52888 GCC!$GCC$ac_delim
52889 DLLTOOL!$DLLTOOL$ac_delim
52890 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52891 LIBOBJS!$LIBOBJS$ac_delim
52892 LTLIBOBJS!$LTLIBOBJS$ac_delim
52893 _ACEOF
52894
52895 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
52896 break
52897 elif $ac_last_try; then
52898 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52899 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52900 { (exit 1); exit 1; }; }
52901 else
52902 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52903 fi
52904 done
52905
52906 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52907 if test -n "$ac_eof"; then
52908 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52909 ac_eof=`expr $ac_eof + 1`
52910 fi
52911
52912 cat >>$CONFIG_STATUS <<_ACEOF
52913 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52914 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52915 _ACEOF
52916 sed '
52917 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52918 s/^/s,@/; s/!/@,|#_!!_#|/
52919 :n
52920 t n
52921 s/'"$ac_delim"'$/,g/; t
52922 s/$/\\/; p
52923 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52924 ' >>$CONFIG_STATUS <conf$$subs.sed
52925 rm -f conf$$subs.sed
52926 cat >>$CONFIG_STATUS <<_ACEOF
52927 :end
52928 s/|#_!!_#|//g
52929 CEOF$ac_eof
52930 _ACEOF
52931
52932
52933 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52934 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52935 # trailing colons and then remove the whole line if VPATH becomes empty
52936 # (actually we leave an empty line to preserve line numbers).
52937 if test "x$srcdir" = x.; then
52938 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52939 s/:*\$(srcdir):*/:/
52940 s/:*\${srcdir}:*/:/
52941 s/:*@srcdir@:*/:/
52942 s/^\([^=]*=[ ]*\):*/\1/
52943 s/:*$//
52944 s/^[^=]*=[ ]*$//
52945 }'
52946 fi
52947
52948 cat >>$CONFIG_STATUS <<\_ACEOF
52949 fi # test -n "$CONFIG_FILES"
52950
52951
52952 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52953 do
52954 case $ac_tag in
52955 :[FHLC]) ac_mode=$ac_tag; continue;;
52956 esac
52957 case $ac_mode$ac_tag in
52958 :[FHL]*:*);;
52959 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52960 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52961 { (exit 1); exit 1; }; };;
52962 :[FH]-) ac_tag=-:-;;
52963 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52964 esac
52965 ac_save_IFS=$IFS
52966 IFS=:
52967 set x $ac_tag
52968 IFS=$ac_save_IFS
52969 shift
52970 ac_file=$1
52971 shift
52972
52973 case $ac_mode in
52974 :L) ac_source=$1;;
52975 :[FH])
52976 ac_file_inputs=
52977 for ac_f
52978 do
52979 case $ac_f in
52980 -) ac_f="$tmp/stdin";;
52981 *) # Look for the file first in the build tree, then in the source tree
52982 # (if the path is not absolute). The absolute path cannot be DOS-style,
52983 # because $ac_f cannot contain `:'.
52984 test -f "$ac_f" ||
52985 case $ac_f in
52986 [\\/$]*) false;;
52987 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52988 esac ||
52989 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52990 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52991 { (exit 1); exit 1; }; };;
52992 esac
52993 ac_file_inputs="$ac_file_inputs $ac_f"
52994 done
52995
52996 # Let's still pretend it is `configure' which instantiates (i.e., don't
52997 # use $as_me), people would be surprised to read:
52998 # /* config.h. Generated by config.status. */
52999 configure_input="Generated from "`IFS=:
53000 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53001 if test x"$ac_file" != x-; then
53002 configure_input="$ac_file. $configure_input"
53003 { echo "$as_me:$LINENO: creating $ac_file" >&5
53004 echo "$as_me: creating $ac_file" >&6;}
53005 fi
53006
53007 case $ac_tag in
53008 *:-:* | *:-) cat >"$tmp/stdin";;
53009 esac
53010 ;;
53011 esac
53012
53013 ac_dir=`$as_dirname -- "$ac_file" ||
53014 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53015 X"$ac_file" : 'X\(//\)[^/]' \| \
53016 X"$ac_file" : 'X\(//\)$' \| \
53017 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53018 echo X"$ac_file" |
53019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53020 s//\1/
53021 q
53022 }
53023 /^X\(\/\/\)[^/].*/{
53024 s//\1/
53025 q
53026 }
53027 /^X\(\/\/\)$/{
53028 s//\1/
53029 q
53030 }
53031 /^X\(\/\).*/{
53032 s//\1/
53033 q
53034 }
53035 s/.*/./; q'`
53036 { as_dir="$ac_dir"
53037 case $as_dir in #(
53038 -*) as_dir=./$as_dir;;
53039 esac
53040 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53041 as_dirs=
53042 while :; do
53043 case $as_dir in #(
53044 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53045 *) as_qdir=$as_dir;;
53046 esac
53047 as_dirs="'$as_qdir' $as_dirs"
53048 as_dir=`$as_dirname -- "$as_dir" ||
53049 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53050 X"$as_dir" : 'X\(//\)[^/]' \| \
53051 X"$as_dir" : 'X\(//\)$' \| \
53052 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53053 echo X"$as_dir" |
53054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53055 s//\1/
53056 q
53057 }
53058 /^X\(\/\/\)[^/].*/{
53059 s//\1/
53060 q
53061 }
53062 /^X\(\/\/\)$/{
53063 s//\1/
53064 q
53065 }
53066 /^X\(\/\).*/{
53067 s//\1/
53068 q
53069 }
53070 s/.*/./; q'`
53071 test -d "$as_dir" && break
53072 done
53073 test -z "$as_dirs" || eval "mkdir $as_dirs"
53074 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53075 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53076 { (exit 1); exit 1; }; }; }
53077 ac_builddir=.
53078
53079 case "$ac_dir" in
53080 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53081 *)
53082 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53083 # A ".." for each directory in $ac_dir_suffix.
53084 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53085 case $ac_top_builddir_sub in
53086 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53087 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53088 esac ;;
53089 esac
53090 ac_abs_top_builddir=$ac_pwd
53091 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53092 # for backward compatibility:
53093 ac_top_builddir=$ac_top_build_prefix
53094
53095 case $srcdir in
53096 .) # We are building in place.
53097 ac_srcdir=.
53098 ac_top_srcdir=$ac_top_builddir_sub
53099 ac_abs_top_srcdir=$ac_pwd ;;
53100 [\\/]* | ?:[\\/]* ) # Absolute name.
53101 ac_srcdir=$srcdir$ac_dir_suffix;
53102 ac_top_srcdir=$srcdir
53103 ac_abs_top_srcdir=$srcdir ;;
53104 *) # Relative name.
53105 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53106 ac_top_srcdir=$ac_top_build_prefix$srcdir
53107 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53108 esac
53109 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53110
53111
53112 case $ac_mode in
53113 :F)
53114 #
53115 # CONFIG_FILE
53116 #
53117
53118 case $INSTALL in
53119 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53120 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53121 esac
53122 _ACEOF
53123
53124 cat >>$CONFIG_STATUS <<\_ACEOF
53125 # If the template does not know about datarootdir, expand it.
53126 # FIXME: This hack should be removed a few years after 2.60.
53127 ac_datarootdir_hack=; ac_datarootdir_seen=
53128
53129 case `sed -n '/datarootdir/ {
53130 p
53131 q
53132 }
53133 /@datadir@/p
53134 /@docdir@/p
53135 /@infodir@/p
53136 /@localedir@/p
53137 /@mandir@/p
53138 ' $ac_file_inputs` in
53139 *datarootdir*) ac_datarootdir_seen=yes;;
53140 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53141 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53142 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53143 _ACEOF
53144 cat >>$CONFIG_STATUS <<_ACEOF
53145 ac_datarootdir_hack='
53146 s&@datadir@&$datadir&g
53147 s&@docdir@&$docdir&g
53148 s&@infodir@&$infodir&g
53149 s&@localedir@&$localedir&g
53150 s&@mandir@&$mandir&g
53151 s&\\\${datarootdir}&$datarootdir&g' ;;
53152 esac
53153 _ACEOF
53154
53155 # Neutralize VPATH when `$srcdir' = `.'.
53156 # Shell code in configure.ac might set extrasub.
53157 # FIXME: do we really want to maintain this feature?
53158 cat >>$CONFIG_STATUS <<_ACEOF
53159 sed "$ac_vpsub
53160 $extrasub
53161 _ACEOF
53162 cat >>$CONFIG_STATUS <<\_ACEOF
53163 :t
53164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53165 s&@configure_input@&$configure_input&;t t
53166 s&@top_builddir@&$ac_top_builddir_sub&;t t
53167 s&@srcdir@&$ac_srcdir&;t t
53168 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53169 s&@top_srcdir@&$ac_top_srcdir&;t t
53170 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53171 s&@builddir@&$ac_builddir&;t t
53172 s&@abs_builddir@&$ac_abs_builddir&;t t
53173 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53174 s&@INSTALL@&$ac_INSTALL&;t t
53175 $ac_datarootdir_hack
53176 " $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
53177
53178 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53179 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53180 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53181 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53182 which seems to be undefined. Please make sure it is defined." >&5
53183 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53184 which seems to be undefined. Please make sure it is defined." >&2;}
53185
53186 rm -f "$tmp/stdin"
53187 case $ac_file in
53188 -) cat "$tmp/out"; rm -f "$tmp/out";;
53189 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53190 esac
53191 ;;
53192 :H)
53193 #
53194 # CONFIG_HEADER
53195 #
53196 _ACEOF
53197
53198 # Transform confdefs.h into a sed script `conftest.defines', that
53199 # substitutes the proper values into config.h.in to produce config.h.
53200 rm -f conftest.defines conftest.tail
53201 # First, append a space to every undef/define line, to ease matching.
53202 echo 's/$/ /' >conftest.defines
53203 # Then, protect against being on the right side of a sed subst, or in
53204 # an unquoted here document, in config.status. If some macros were
53205 # called several times there might be several #defines for the same
53206 # symbol, which is useless. But do not sort them, since the last
53207 # AC_DEFINE must be honored.
53208 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53209 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53210 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53211 # PARAMS is the parameter list in the macro definition--in most cases, it's
53212 # just an empty string.
53213 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53214 ac_dB='\\)[ (].*,\\1define\\2'
53215 ac_dC=' '
53216 ac_dD=' ,'
53217
53218 uniq confdefs.h |
53219 sed -n '
53220 t rset
53221 :rset
53222 s/^[ ]*#[ ]*define[ ][ ]*//
53223 t ok
53224 d
53225 :ok
53226 s/[\\&,]/\\&/g
53227 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53228 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53229 ' >>conftest.defines
53230
53231 # Remove the space that was appended to ease matching.
53232 # Then replace #undef with comments. This is necessary, for
53233 # example, in the case of _POSIX_SOURCE, which is predefined and required
53234 # on some systems where configure will not decide to define it.
53235 # (The regexp can be short, since the line contains either #define or #undef.)
53236 echo 's/ $//
53237 s,^[ #]*u.*,/* & */,' >>conftest.defines
53238
53239 # Break up conftest.defines:
53240 ac_max_sed_lines=50
53241
53242 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53243 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53244 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53245 # et cetera.
53246 ac_in='$ac_file_inputs'
53247 ac_out='"$tmp/out1"'
53248 ac_nxt='"$tmp/out2"'
53249
53250 while :
53251 do
53252 # Write a here document:
53253 cat >>$CONFIG_STATUS <<_ACEOF
53254 # First, check the format of the line:
53255 cat >"\$tmp/defines.sed" <<\\CEOF
53256 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53257 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53258 b
53259 :def
53260 _ACEOF
53261 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53262 echo 'CEOF
53263 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53264 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53265 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53266 grep . conftest.tail >/dev/null || break
53267 rm -f conftest.defines
53268 mv conftest.tail conftest.defines
53269 done
53270 rm -f conftest.defines conftest.tail
53271
53272 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53273 cat >>$CONFIG_STATUS <<\_ACEOF
53274 if test x"$ac_file" != x-; then
53275 echo "/* $configure_input */" >"$tmp/config.h"
53276 cat "$ac_result" >>"$tmp/config.h"
53277 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53278 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53279 echo "$as_me: $ac_file is unchanged" >&6;}
53280 else
53281 rm -f $ac_file
53282 mv "$tmp/config.h" $ac_file
53283 fi
53284 else
53285 echo "/* $configure_input */"
53286 cat "$ac_result"
53287 fi
53288 rm -f "$tmp/out12"
53289 ;;
53290
53291 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53292 echo "$as_me: executing $ac_file commands" >&6;}
53293 ;;
53294 esac
53295
53296
53297 case $ac_file$ac_mode in
53298 "rcdefs.h":C)
53299 mkdir -p $outdir &&
53300 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53301 ;;
53302 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53303 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53304 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53305 "wx-config":C) rm -f wx-config
53306 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53307 ;;
53308
53309 esac
53310 done # for ac_tag
53311
53312
53313 { (exit 0); exit 0; }
53314 _ACEOF
53315 chmod +x $CONFIG_STATUS
53316 ac_clean_files=$ac_clean_files_save
53317
53318
53319 # configure is writing to config.log, and then calls config.status.
53320 # config.status does its own redirection, appending to config.log.
53321 # Unfortunately, on DOS this fails, as config.log is still kept open
53322 # by configure, so config.status won't be able to write to it; its
53323 # output is simply discarded. So we exec the FD to /dev/null,
53324 # effectively closing config.log, so it can be properly (re)opened and
53325 # appended to by config.status. When coming back to configure, we
53326 # need to make the FD available again.
53327 if test "$no_create" != yes; then
53328 ac_cs_success=:
53329 ac_config_status_args=
53330 test "$silent" = yes &&
53331 ac_config_status_args="$ac_config_status_args --quiet"
53332 exec 5>/dev/null
53333 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53334 exec 5>>config.log
53335 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53336 # would make configure fail if this is the last instruction.
53337 $ac_cs_success || { (exit 1); exit 1; }
53338 fi
53339
53340 #
53341 # CONFIG_SUBDIRS section.
53342 #
53343 if test "$no_recursion" != yes; then
53344
53345 # Remove --cache-file and --srcdir arguments so they do not pile up.
53346 ac_sub_configure_args=
53347 ac_prev=
53348 eval "set x $ac_configure_args"
53349 shift
53350 for ac_arg
53351 do
53352 if test -n "$ac_prev"; then
53353 ac_prev=
53354 continue
53355 fi
53356 case $ac_arg in
53357 -cache-file | --cache-file | --cache-fil | --cache-fi \
53358 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53359 ac_prev=cache_file ;;
53360 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53361 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53362 | --c=*)
53363 ;;
53364 --config-cache | -C)
53365 ;;
53366 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53367 ac_prev=srcdir ;;
53368 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53369 ;;
53370 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53371 ac_prev=prefix ;;
53372 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53373 ;;
53374 *)
53375 case $ac_arg in
53376 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53377 esac
53378 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53379 esac
53380 done
53381
53382 # Always prepend --prefix to ensure using the same prefix
53383 # in subdir configurations.
53384 ac_arg="--prefix=$prefix"
53385 case $ac_arg in
53386 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53387 esac
53388 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53389
53390 # Pass --silent
53391 if test "$silent" = yes; then
53392 ac_sub_configure_args="--silent $ac_sub_configure_args"
53393 fi
53394
53395 ac_popdir=`pwd`
53396 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53397
53398 # Do not complain, so a configure script can configure whichever
53399 # parts of a large source tree are present.
53400 test -d "$srcdir/$ac_dir" || continue
53401
53402 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53403 echo "$as_me:$LINENO: $ac_msg" >&5
53404 echo "$ac_msg" >&6
53405 { as_dir="$ac_dir"
53406 case $as_dir in #(
53407 -*) as_dir=./$as_dir;;
53408 esac
53409 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53410 as_dirs=
53411 while :; do
53412 case $as_dir in #(
53413 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53414 *) as_qdir=$as_dir;;
53415 esac
53416 as_dirs="'$as_qdir' $as_dirs"
53417 as_dir=`$as_dirname -- "$as_dir" ||
53418 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53419 X"$as_dir" : 'X\(//\)[^/]' \| \
53420 X"$as_dir" : 'X\(//\)$' \| \
53421 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53422 echo X"$as_dir" |
53423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53424 s//\1/
53425 q
53426 }
53427 /^X\(\/\/\)[^/].*/{
53428 s//\1/
53429 q
53430 }
53431 /^X\(\/\/\)$/{
53432 s//\1/
53433 q
53434 }
53435 /^X\(\/\).*/{
53436 s//\1/
53437 q
53438 }
53439 s/.*/./; q'`
53440 test -d "$as_dir" && break
53441 done
53442 test -z "$as_dirs" || eval "mkdir $as_dirs"
53443 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53444 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53445 { (exit 1); exit 1; }; }; }
53446 ac_builddir=.
53447
53448 case "$ac_dir" in
53449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53450 *)
53451 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53452 # A ".." for each directory in $ac_dir_suffix.
53453 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53454 case $ac_top_builddir_sub in
53455 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53456 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53457 esac ;;
53458 esac
53459 ac_abs_top_builddir=$ac_pwd
53460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53461 # for backward compatibility:
53462 ac_top_builddir=$ac_top_build_prefix
53463
53464 case $srcdir in
53465 .) # We are building in place.
53466 ac_srcdir=.
53467 ac_top_srcdir=$ac_top_builddir_sub
53468 ac_abs_top_srcdir=$ac_pwd ;;
53469 [\\/]* | ?:[\\/]* ) # Absolute name.
53470 ac_srcdir=$srcdir$ac_dir_suffix;
53471 ac_top_srcdir=$srcdir
53472 ac_abs_top_srcdir=$srcdir ;;
53473 *) # Relative name.
53474 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53475 ac_top_srcdir=$ac_top_build_prefix$srcdir
53476 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53477 esac
53478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53479
53480
53481 cd "$ac_dir"
53482
53483 # Check for guested configure; otherwise get Cygnus style configure.
53484 if test -f "$ac_srcdir/configure.gnu"; then
53485 ac_sub_configure=$ac_srcdir/configure.gnu
53486 elif test -f "$ac_srcdir/configure"; then
53487 ac_sub_configure=$ac_srcdir/configure
53488 elif test -f "$ac_srcdir/configure.in"; then
53489 # This should be Cygnus configure.
53490 ac_sub_configure=$ac_aux_dir/configure
53491 else
53492 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53493 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53494 ac_sub_configure=
53495 fi
53496
53497 # The recursion is here.
53498 if test -n "$ac_sub_configure"; then
53499 # Make the cache file name correct relative to the subdirectory.
53500 case $cache_file in
53501 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53502 *) # Relative name.
53503 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53504 esac
53505
53506 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53507 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53508 # The eval makes quoting arguments work.
53509 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53510 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53511 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53512 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53513 { (exit 1); exit 1; }; }
53514 fi
53515
53516 cd "$ac_popdir"
53517 done
53518 fi
53519
53520
53521 echo
53522 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53523 echo ""
53524 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53525 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53526 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53527 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53528 if test "$wxUSE_UNICODE" = "yes"; then
53529 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53530 echo " (using UTF-8)"
53531 else
53532 echo " (using wchar_t)"
53533 fi
53534 else
53535 echo
53536 fi
53537
53538 echo " What level of wxWidgets compatibility should be enabled?"
53539 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53540 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53541
53542 echo " Which libraries should wxWidgets use?"
53543 echo " STL ${wxUSE_STL}"
53544 echo " jpeg ${wxUSE_LIBJPEG-none}"
53545 echo " png ${wxUSE_LIBPNG-none}"
53546 echo " regex ${wxUSE_REGEX}"
53547 echo " tiff ${wxUSE_LIBTIFF-none}"
53548 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53549 echo " xpm ${wxUSE_LIBXPM-none}"
53550 fi
53551 echo " zlib ${wxUSE_ZLIB}"
53552 echo " expat ${wxUSE_EXPAT}"
53553 echo " libmspack ${wxUSE_LIBMSPACK}"
53554 echo " sdl ${wxUSE_LIBSDL}"
53555
53556 echo ""
53557