]> git.saurik.com Git - wxWidgets.git/blob - configure
No real change, use more descriptive variable names in wxDataViewMainWindow::ItemDele...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.3.
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.3'
579 PACKAGE_STRING='wxWidgets 2.9.3'
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 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.3:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros, even if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1711 --enable-macosx_arch=ARCH build for just the specified architecture
1712 --enable-compat26 enable wxWidgets 2.6 compatibility
1713 --disable-compat28 disable wxWidgets 2.8 compatibility
1714 --disable-rpath disable use of rpath for uninstalled builds
1715 --enable-objc_uniquifying enable Objective-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x-locale support (requires wxLocale)
1720 --enable-config use wxConfig (and derived) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP (requires wxProtocol
1723 --enable-http use wxHTTP (requires wxProtocol
1724 --enable-fileproto use wxFileProto class (requires wxProtocol
1725 --enable-sockets use socket/network classes
1726 --enable-ipv6 enable IPv6 support in wxSocket
1727 --enable-ole use OLE classes (Win32 only)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication (wxSocket etc.)
1730 --enable-baseevtloop use event loop in console programs too
1731 --enable-epollloop use wxEpollDispatcher class (Linux only)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding/decoding functions
1737 --enable-backtrace use wxStackWalker class for getting backtraces
1738 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class for DLL loading
1744 --enable-dynamicloader use (new) wxDynamicLibrary class
1745 --enable-exceptions build exception-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support in wxProtocol
1776 --enable-protocol-ftp FTP support in wxProtocol
1777 --enable-protocol-file FILE support in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig (Win32 only)
1780 --enable-regkey use wxRegKey class (Win32 only)
1781 --enable-docview use document view architecture
1782 --enable-help use help subsystem
1783 --enable-mshtmlhelp use MS HTML Help (win32)
1784 --enable-html use wxHTML sub-library
1785 --enable-htmlhelp use wxHTML-based help
1786 --enable-xrc use XRC resources sub-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl (Mac)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context 2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag'n'Drop classes
1807 --enable-metafile use win32 metafiles
1808 --disable-controls disable compilation of all standard controls
1809 --enable-markup support wxControl::SetLabelMarkup
1810 --enable-accel use accelerators
1811 --enable-animatectrl use wxAnimationCtrl class
1812 --enable-bannerwindow use wxBannerWindow class
1813 --enable-artstd use standard XPM icons in wxArtProvider
1814 --enable-arttango use Tango icons in wxArtProvider
1815 --enable-bmpbutton use wxBitmapButton class
1816 --enable-bmpcombobox use wxBitmapComboBox class
1817 --enable-button use wxButton class
1818 --enable-calendar use wxCalendarCtrl class
1819 --enable-caret use wxCaret class
1820 --enable-checkbox use wxCheckBox class
1821 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1822 --enable-choice use wxChoice class
1823 --enable-choicebook use wxChoicebook class
1824 --enable-collpane use wxCollapsiblePane class
1825 --enable-colourpicker use wxColourPickerCtrl class
1826 --enable-combobox use wxComboBox class
1827 --enable-comboctrl use wxComboCtrl class
1828 --enable-commandlinkbutton use wxCommmandLinkButton class
1829 --enable-dataviewctrl use wxDataViewCtrl class
1830 --enable-datepick use wxDatePickerCtrl class
1831 --enable-detect_sm use code to detect X11 session manager
1832 --enable-dirpicker use wxDirPickerCtrl class
1833 --enable-display use wxDisplay class
1834 --enable-editablebox use wxEditableListBox class
1835 --enable-filectrl use wxFileCtrl class
1836 --enable-filepicker use wxFilePickerCtrl class
1837 --enable-fontpicker use wxFontPickerCtrl class
1838 --enable-gauge use wxGauge class
1839 --enable-grid use wxGrid class
1840 --enable-headerctrl use wxHeaderCtrl class
1841 --enable-hyperlink use wxHyperlinkCtrl class
1842 --enable-imaglist use wxImageList class
1843 --enable-infobar use wxInfoBar class
1844 --enable-listbook use wxListbook class
1845 --enable-listbox use wxListBox class
1846 --enable-listctrl use wxListCtrl class
1847 --enable-notebook use wxNotebook class
1848 --enable-notifmsg use wxNotificationMessage class
1849 --enable-odcombobox use wxOwnerDrawnComboBox class
1850 --enable-popupwin use wxPopUpWindow class
1851 --enable-radiobox use wxRadioBox class
1852 --enable-radiobtn use wxRadioButton class
1853 --enable-richmsgdlg use wxRichMessageDialog class
1854 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1855 --enable-sash use wxSashWindow class
1856 --enable-scrollbar use wxScrollBar class and scrollable windows
1857 --enable-searchctrl use wxSearchCtrl class
1858 --enable-slider use wxSlider class
1859 --enable-spinbtn use wxSpinButton class
1860 --enable-spinctrl use wxSpinCtrl class
1861 --enable-splitter use wxSplitterWindow class
1862 --enable-statbmp use wxStaticBitmap class
1863 --enable-statbox use wxStaticBox class
1864 --enable-statline use wxStaticLine class
1865 --enable-stattext use wxStaticText class
1866 --enable-statusbar use wxStatusBar class
1867 --enable-taskbaricon use wxTaskBarIcon class
1868 --enable-tbarnative use native wxToolBar class
1869 --enable-textctrl use wxTextCtrl class
1870 --enable-tipwindow use wxTipWindow class
1871 --enable-togglebtn use wxToggleButton class
1872 --enable-toolbar use wxToolBar class
1873 --enable-toolbook use wxToolbook class
1874 --enable-treebook use wxTreebook class
1875 --enable-treectrl use wxTreeCtrl class
1876 --enable-commondlg use all common dialogs
1877 --enable-aboutdlg use wxAboutBox
1878 --enable-choicedlg use wxChoiceDialog
1879 --enable-coldlg use wxColourDialog
1880 --enable-filedlg use wxFileDialog
1881 --enable-finddlg use wxFindReplaceDialog
1882 --enable-fontdlg use wxFontDialog
1883 --enable-dirdlg use wxDirDialog
1884 --enable-msgdlg use wxMessageDialog
1885 --enable-numberdlg use wxNumberEntryDialog
1886 --enable-splash use wxSplashScreen
1887 --enable-textdlg use wxTextDialog
1888 --enable-tipdlg use startup tips
1889 --enable-progressdlg use wxProgressDialog
1890 --enable-wizarddlg use wxWizard
1891 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1892 --enable-miniframe use wxMiniFrame class
1893 --enable-tooltips use wxToolTip class
1894 --enable-splines use spline drawing code
1895 --enable-mousewheel use mousewheel
1896 --enable-validators use wxValidator and derived classes
1897 --enable-busyinfo use wxBusyInfo
1898 --enable-joystick use wxJoystick
1899 --enable-metafiles use wxMetaFile (Win32 only)
1900 --enable-dragimage use wxDragImage
1901 --enable-accessibility enable accessibility support
1902 --enable-uiactionsim use wxUIActionSimulator (experimental)
1903 --enable-dctransform use wxDC::SetTransformMatrix and related
1904 --enable-palette use wxPalette class
1905 --enable-image use wxImage class
1906 --enable-gif use gif images (GIF file format)
1907 --enable-pcx use pcx images (PCX file format)
1908 --enable-tga use tga images (TGA file format)
1909 --enable-iff use iff images (IFF file format)
1910 --enable-pnm use pnm images (PNM file format)
1911 --enable-xpm use xpm images (XPM file format)
1912 --enable-ico_cur use Windows ICO and CUR formats
1913 --enable-dccache cache temporary wxDC objects (Win32 only)
1914 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1915 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1916 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1917 --enable-wxdib use wxDIB class (Win32 only)
1918 --enable-autoidman use automatic ids management
1919 --disable-largefile omit support for large files
1920 --disable-gtktest do not try to compile and run a test GTK+ program
1921 --disable-gtktest Do not try to compile and run a test GTK program
1922 --disable-sdltest Do not try to compile and run a test SDL program
1923 --enable-omf use OMF object format (OS/2)
1924 --disable-dependency-tracking
1925 don't use dependency tracking even if the compiler
1926 can
1927 --disable-precomp-headers
1928 don't use precompiled headers even if compiler can
1929
1930 Optional Packages:
1931 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1932 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1933 --without-subdirs don't generate makefiles for samples/demos/...
1934 --with-flavour=NAME specify a name to identify this build
1935 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1936 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1937 --with-motif use Motif/Lesstif
1938 --with-osx_carbon use Mac OS X (Carbon)
1939 --with-osx_cocoa use Mac OS X (Cocoa)
1940 --with-osx_iphone use iPhone OS X port
1941 --with-osx use Mac OS X (default port, currently Carbon)
1942 --with-carbon same as --with-osx_carbon
1943 --with-cocoa same as --with-osx_cocoa
1944 --with-iphone same as --with-osx_iphone
1945 --with-mac same as --with-osx
1946 --with-old_cocoa use old, deprecated, Cocoa port
1947 --with-wine use Wine
1948 --with-msw use MS-Windows
1949 --with-pm use OS/2 Presentation Manager
1950 --with-mgl use SciTech MGL
1951 --with-directfb use DirectFB
1952 --with-microwin use MicroWindows
1953 --with-x11 use X11
1954 --with-libpng use libpng (PNG image format)
1955 --with-libjpeg use libjpeg (JPEG file format)
1956 --with-libtiff use libtiff (TIFF file format)
1957 --with-libxpm use libxpm (XPM file format)
1958 --with-libiconv use libiconv (character conversion)
1959 --with-libmspack use libmspack (CHM help files loading)
1960 --without-gtkprint don't use GTK printing support
1961 --without-gnomeprint don't use GNOME printing libraries
1962 --with-gnomevfs use GNOME VFS for associating MIME types
1963 --with-hildon use Hildon framework for Nokia 770/800/810
1964 --with-opengl use OpenGL (or Mesa)
1965 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1966 --with-sdl use SDL for audio on Unix
1967 --with-regex enable support for wxRegEx class
1968 --with-zlib use zlib for LZW compression
1969 --with-expat enable XML support using expat parser
1970 --with-macosx-sdk=PATH use an OS X SDK at PATH
1971 --with-macosx-version-min=VER build binaries which require at least this OS X version
1972 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1973 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1974 --with-x use the X Window System
1975 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1976 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1977 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1978 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1979 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1980
1981 Some influential environment variables:
1982 CC C compiler command
1983 CFLAGS C compiler flags
1984 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1985 nonstandard directory <lib dir>
1986 LIBS libraries to pass to the linker, e.g. -l<library>
1987 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1988 you have headers in a nonstandard directory <include dir>
1989 CPP C preprocessor
1990 CXX C++ compiler command
1991 CXXFLAGS C++ compiler flags
1992 CXXCPP C++ preprocessor
1993 PKG_CONFIG path to pkg-config utility
1994 DIRECTFB_CFLAGS
1995 C compiler flags for DIRECTFB, overriding pkg-config
1996 DIRECTFB_LIBS
1997 linker flags for DIRECTFB, overriding pkg-config
1998 XMKMF Path to xmkmf, Makefile generator for X Window System
1999 PANGOX_CFLAGS
2000 C compiler flags for PANGOX, overriding pkg-config
2001 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2002 PANGOFT2_CFLAGS
2003 C compiler flags for PANGOFT2, overriding pkg-config
2004 PANGOFT2_LIBS
2005 linker flags for PANGOFT2, overriding pkg-config
2006 PANGOXFT_CFLAGS
2007 C compiler flags for PANGOXFT, overriding pkg-config
2008 PANGOXFT_LIBS
2009 linker flags for PANGOXFT, overriding pkg-config
2010 GTKPRINT_CFLAGS
2011 C compiler flags for GTKPRINT, overriding pkg-config
2012 GTKPRINT_LIBS
2013 linker flags for GTKPRINT, overriding pkg-config
2014 LIBGNOMEPRINTUI_CFLAGS
2015 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2016 LIBGNOMEPRINTUI_LIBS
2017 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2018 GNOMEVFS_CFLAGS
2019 C compiler flags for GNOMEVFS, overriding pkg-config
2020 GNOMEVFS_LIBS
2021 linker flags for GNOMEVFS, overriding pkg-config
2022 HILDON_CFLAGS
2023 C compiler flags for HILDON, overriding pkg-config
2024 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2025 HILDON2_CFLAGS
2026 C compiler flags for HILDON2, overriding pkg-config
2027 HILDON2_LIBS
2028 linker flags for HILDON2, overriding pkg-config
2029 CAIRO_CFLAGS
2030 C compiler flags for CAIRO, overriding pkg-config
2031 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2032 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2033 GST_LIBS linker flags for GST, overriding pkg-config
2034
2035 Use these variables to override the choices made by `configure' or to help
2036 it to find libraries and programs with nonstandard names/locations.
2037
2038 Report bugs to <wx-dev@lists.wxwidgets.org>.
2039 _ACEOF
2040 ac_status=$?
2041 fi
2042
2043 if test "$ac_init_help" = "recursive"; then
2044 # If there are subdirs, report their specific --help.
2045 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2046 test -d "$ac_dir" || continue
2047 ac_builddir=.
2048
2049 case "$ac_dir" in
2050 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2051 *)
2052 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2053 # A ".." for each directory in $ac_dir_suffix.
2054 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2055 case $ac_top_builddir_sub in
2056 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2057 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2058 esac ;;
2059 esac
2060 ac_abs_top_builddir=$ac_pwd
2061 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2062 # for backward compatibility:
2063 ac_top_builddir=$ac_top_build_prefix
2064
2065 case $srcdir in
2066 .) # We are building in place.
2067 ac_srcdir=.
2068 ac_top_srcdir=$ac_top_builddir_sub
2069 ac_abs_top_srcdir=$ac_pwd ;;
2070 [\\/]* | ?:[\\/]* ) # Absolute name.
2071 ac_srcdir=$srcdir$ac_dir_suffix;
2072 ac_top_srcdir=$srcdir
2073 ac_abs_top_srcdir=$srcdir ;;
2074 *) # Relative name.
2075 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2076 ac_top_srcdir=$ac_top_build_prefix$srcdir
2077 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2078 esac
2079 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2080
2081 cd "$ac_dir" || { ac_status=$?; continue; }
2082 # Check for guested configure.
2083 if test -f "$ac_srcdir/configure.gnu"; then
2084 echo &&
2085 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2086 elif test -f "$ac_srcdir/configure"; then
2087 echo &&
2088 $SHELL "$ac_srcdir/configure" --help=recursive
2089 else
2090 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2091 fi || ac_status=$?
2092 cd "$ac_pwd" || { ac_status=$?; break; }
2093 done
2094 fi
2095
2096 test -n "$ac_init_help" && exit $ac_status
2097 if $ac_init_version; then
2098 cat <<\_ACEOF
2099 wxWidgets configure 2.9.3
2100 generated by GNU Autoconf 2.61
2101
2102 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2103 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2104 This configure script is free software; the Free Software Foundation
2105 gives unlimited permission to copy, distribute and modify it.
2106 _ACEOF
2107 exit
2108 fi
2109 cat >config.log <<_ACEOF
2110 This file contains any messages produced by compilers while
2111 running configure, to aid debugging if configure makes a mistake.
2112
2113 It was created by wxWidgets $as_me 2.9.3, which was
2114 generated by GNU Autoconf 2.61. Invocation command line was
2115
2116 $ $0 $@
2117
2118 _ACEOF
2119 exec 5>>config.log
2120 {
2121 cat <<_ASUNAME
2122 ## --------- ##
2123 ## Platform. ##
2124 ## --------- ##
2125
2126 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2127 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2128 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2129 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2130 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2131
2132 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2133 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2134
2135 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2136 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2137 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2138 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2139 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2140 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2141 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2142
2143 _ASUNAME
2144
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2147 do
2148 IFS=$as_save_IFS
2149 test -z "$as_dir" && as_dir=.
2150 echo "PATH: $as_dir"
2151 done
2152 IFS=$as_save_IFS
2153
2154 } >&5
2155
2156 cat >&5 <<_ACEOF
2157
2158
2159 ## ----------- ##
2160 ## Core tests. ##
2161 ## ----------- ##
2162
2163 _ACEOF
2164
2165
2166 # Keep a trace of the command line.
2167 # Strip out --no-create and --no-recursion so they do not pile up.
2168 # Strip out --silent because we don't want to record it for future runs.
2169 # Also quote any args containing shell meta-characters.
2170 # Make two passes to allow for proper duplicate-argument suppression.
2171 ac_configure_args=
2172 ac_configure_args0=
2173 ac_configure_args1=
2174 ac_must_keep_next=false
2175 for ac_pass in 1 2
2176 do
2177 for ac_arg
2178 do
2179 case $ac_arg in
2180 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2182 | -silent | --silent | --silen | --sile | --sil)
2183 continue ;;
2184 *\'*)
2185 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2186 esac
2187 case $ac_pass in
2188 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2189 2)
2190 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2191 if test $ac_must_keep_next = true; then
2192 ac_must_keep_next=false # Got value, back to normal.
2193 else
2194 case $ac_arg in
2195 *=* | --config-cache | -C | -disable-* | --disable-* \
2196 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2197 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2198 | -with-* | --with-* | -without-* | --without-* | --x)
2199 case "$ac_configure_args0 " in
2200 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2201 esac
2202 ;;
2203 -* ) ac_must_keep_next=true ;;
2204 esac
2205 fi
2206 ac_configure_args="$ac_configure_args '$ac_arg'"
2207 ;;
2208 esac
2209 done
2210 done
2211 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2212 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2213
2214 # When interrupted or exit'd, cleanup temporary files, and complete
2215 # config.log. We remove comments because anyway the quotes in there
2216 # would cause problems or look ugly.
2217 # WARNING: Use '\'' to represent an apostrophe within the trap.
2218 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2219 trap 'exit_status=$?
2220 # Save into config.log some information that might help in debugging.
2221 {
2222 echo
2223
2224 cat <<\_ASBOX
2225 ## ---------------- ##
2226 ## Cache variables. ##
2227 ## ---------------- ##
2228 _ASBOX
2229 echo
2230 # The following way of writing the cache mishandles newlines in values,
2231 (
2232 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2233 eval ac_val=\$$ac_var
2234 case $ac_val in #(
2235 *${as_nl}*)
2236 case $ac_var in #(
2237 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2238 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2239 esac
2240 case $ac_var in #(
2241 _ | IFS | as_nl) ;; #(
2242 *) $as_unset $ac_var ;;
2243 esac ;;
2244 esac
2245 done
2246 (set) 2>&1 |
2247 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2248 *${as_nl}ac_space=\ *)
2249 sed -n \
2250 "s/'\''/'\''\\\\'\'''\''/g;
2251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2252 ;; #(
2253 *)
2254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2255 ;;
2256 esac |
2257 sort
2258 )
2259 echo
2260
2261 cat <<\_ASBOX
2262 ## ----------------- ##
2263 ## Output variables. ##
2264 ## ----------------- ##
2265 _ASBOX
2266 echo
2267 for ac_var in $ac_subst_vars
2268 do
2269 eval ac_val=\$$ac_var
2270 case $ac_val in
2271 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 esac
2273 echo "$ac_var='\''$ac_val'\''"
2274 done | sort
2275 echo
2276
2277 if test -n "$ac_subst_files"; then
2278 cat <<\_ASBOX
2279 ## ------------------- ##
2280 ## File substitutions. ##
2281 ## ------------------- ##
2282 _ASBOX
2283 echo
2284 for ac_var in $ac_subst_files
2285 do
2286 eval ac_val=\$$ac_var
2287 case $ac_val in
2288 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2289 esac
2290 echo "$ac_var='\''$ac_val'\''"
2291 done | sort
2292 echo
2293 fi
2294
2295 if test -s confdefs.h; then
2296 cat <<\_ASBOX
2297 ## ----------- ##
2298 ## confdefs.h. ##
2299 ## ----------- ##
2300 _ASBOX
2301 echo
2302 cat confdefs.h
2303 echo
2304 fi
2305 test "$ac_signal" != 0 &&
2306 echo "$as_me: caught signal $ac_signal"
2307 echo "$as_me: exit $exit_status"
2308 } >&5
2309 rm -f core *.core core.conftest.* &&
2310 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2311 exit $exit_status
2312 ' 0
2313 for ac_signal in 1 2 13 15; do
2314 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2315 done
2316 ac_signal=0
2317
2318 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2319 rm -f -r conftest* confdefs.h
2320
2321 # Predefined preprocessor variables.
2322
2323 cat >>confdefs.h <<_ACEOF
2324 #define PACKAGE_NAME "$PACKAGE_NAME"
2325 _ACEOF
2326
2327
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2330 _ACEOF
2331
2332
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2335 _ACEOF
2336
2337
2338 cat >>confdefs.h <<_ACEOF
2339 #define PACKAGE_STRING "$PACKAGE_STRING"
2340 _ACEOF
2341
2342
2343 cat >>confdefs.h <<_ACEOF
2344 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2345 _ACEOF
2346
2347
2348 # Let the site file select an alternate cache file if it wants to.
2349 # Prefer explicitly selected file to automatically selected ones.
2350 if test -n "$CONFIG_SITE"; then
2351 set x "$CONFIG_SITE"
2352 elif test "x$prefix" != xNONE; then
2353 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2354 else
2355 set x "$ac_default_prefix/share/config.site" \
2356 "$ac_default_prefix/etc/config.site"
2357 fi
2358 shift
2359 for ac_site_file
2360 do
2361 if test -r "$ac_site_file"; then
2362 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2363 echo "$as_me: loading site script $ac_site_file" >&6;}
2364 sed 's/^/| /' "$ac_site_file" >&5
2365 . "$ac_site_file"
2366 fi
2367 done
2368
2369 if test -r "$cache_file"; then
2370 # Some versions of bash will fail to source /dev/null (special
2371 # files actually), so we avoid doing that.
2372 if test -f "$cache_file"; then
2373 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2374 echo "$as_me: loading cache $cache_file" >&6;}
2375 case $cache_file in
2376 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2377 *) . "./$cache_file";;
2378 esac
2379 fi
2380 else
2381 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2382 echo "$as_me: creating cache $cache_file" >&6;}
2383 >$cache_file
2384 fi
2385
2386 # Check that the precious variables saved in the cache have kept the same
2387 # value.
2388 ac_cache_corrupted=false
2389 for ac_var in $ac_precious_vars; do
2390 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2391 eval ac_new_set=\$ac_env_${ac_var}_set
2392 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2393 eval ac_new_val=\$ac_env_${ac_var}_value
2394 case $ac_old_set,$ac_new_set in
2395 set,)
2396 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2397 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2398 ac_cache_corrupted=: ;;
2399 ,set)
2400 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2401 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2402 ac_cache_corrupted=: ;;
2403 ,);;
2404 *)
2405 if test "x$ac_old_val" != "x$ac_new_val"; then
2406 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2407 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2408 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2409 echo "$as_me: former value: $ac_old_val" >&2;}
2410 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2411 echo "$as_me: current value: $ac_new_val" >&2;}
2412 ac_cache_corrupted=:
2413 fi;;
2414 esac
2415 # Pass precious variables to config.status.
2416 if test "$ac_new_set" = set; then
2417 case $ac_new_val in
2418 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2419 *) ac_arg=$ac_var=$ac_new_val ;;
2420 esac
2421 case " $ac_configure_args " in
2422 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2423 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2424 esac
2425 fi
2426 done
2427 if $ac_cache_corrupted; then
2428 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2429 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2430 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2431 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2432 { (exit 1); exit 1; }; }
2433 fi
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459 ac_ext=c
2460 ac_cpp='$CPP $CPPFLAGS'
2461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2464
2465
2466
2467
2468
2469 ac_aux_dir=
2470 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2471 if test -f "$ac_dir/install-sh"; then
2472 ac_aux_dir=$ac_dir
2473 ac_install_sh="$ac_aux_dir/install-sh -c"
2474 break
2475 elif test -f "$ac_dir/install.sh"; then
2476 ac_aux_dir=$ac_dir
2477 ac_install_sh="$ac_aux_dir/install.sh -c"
2478 break
2479 elif test -f "$ac_dir/shtool"; then
2480 ac_aux_dir=$ac_dir
2481 ac_install_sh="$ac_aux_dir/shtool install -c"
2482 break
2483 fi
2484 done
2485 if test -z "$ac_aux_dir"; then
2486 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2487 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2488 { (exit 1); exit 1; }; }
2489 fi
2490
2491 # These three variables are undocumented and unsupported,
2492 # and are intended to be withdrawn in a future Autoconf release.
2493 # They can cause serious problems if a builder's source tree is in a directory
2494 # whose full name contains unusual characters.
2495 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2496 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2497 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2498
2499
2500 # Make sure we can run config.sub.
2501 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2502 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2503 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2504 { (exit 1); exit 1; }; }
2505
2506 { echo "$as_me:$LINENO: checking build system type" >&5
2507 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2508 if test "${ac_cv_build+set}" = set; then
2509 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 else
2511 ac_build_alias=$build_alias
2512 test "x$ac_build_alias" = x &&
2513 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2514 test "x$ac_build_alias" = x &&
2515 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2516 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2517 { (exit 1); exit 1; }; }
2518 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2519 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2520 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2521 { (exit 1); exit 1; }; }
2522
2523 fi
2524 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2525 echo "${ECHO_T}$ac_cv_build" >&6; }
2526 case $ac_cv_build in
2527 *-*-*) ;;
2528 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2529 echo "$as_me: error: invalid value of canonical build" >&2;}
2530 { (exit 1); exit 1; }; };;
2531 esac
2532 build=$ac_cv_build
2533 ac_save_IFS=$IFS; IFS='-'
2534 set x $ac_cv_build
2535 shift
2536 build_cpu=$1
2537 build_vendor=$2
2538 shift; shift
2539 # Remember, the first character of IFS is used to create $*,
2540 # except with old shells:
2541 build_os=$*
2542 IFS=$ac_save_IFS
2543 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2544
2545
2546 { echo "$as_me:$LINENO: checking host system type" >&5
2547 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2548 if test "${ac_cv_host+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 else
2551 if test "x$host_alias" = x; then
2552 ac_cv_host=$ac_cv_build
2553 else
2554 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2555 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2556 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2557 { (exit 1); exit 1; }; }
2558 fi
2559
2560 fi
2561 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2562 echo "${ECHO_T}$ac_cv_host" >&6; }
2563 case $ac_cv_host in
2564 *-*-*) ;;
2565 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2566 echo "$as_me: error: invalid value of canonical host" >&2;}
2567 { (exit 1); exit 1; }; };;
2568 esac
2569 host=$ac_cv_host
2570 ac_save_IFS=$IFS; IFS='-'
2571 set x $ac_cv_host
2572 shift
2573 host_cpu=$1
2574 host_vendor=$2
2575 shift; shift
2576 # Remember, the first character of IFS is used to create $*,
2577 # except with old shells:
2578 host_os=$*
2579 IFS=$ac_save_IFS
2580 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2581
2582
2583
2584 if test "$cross_compiling" != "no"; then
2585 HOST_PREFIX="${host_alias}-"
2586 HOST_SUFFIX="-$host_alias"
2587 else
2588 HOST_PREFIX=
2589 HOST_SUFFIX=
2590 fi
2591
2592
2593 wx_major_version_number=2
2594 wx_minor_version_number=9
2595 wx_release_number=3
2596 wx_subrelease_number=0
2597
2598 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2599 WX_VERSION=$WX_RELEASE.$wx_release_number
2600 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2601
2602 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2603
2604
2605 wx_top_builddir="`pwd`"
2606
2607
2608
2609
2610 USE_UNIX=1
2611 USE_OS2=0
2612 USE_WIN32=0
2613 USE_DOS=0
2614 USE_BEOS=0
2615 USE_MAC=0
2616
2617 USE_AIX=
2618 USE_BSD= USE_DARWIN= USE_FREEBSD=
2619 USE_GNU= USE_HPUX=
2620 USE_LINUX=
2621 USE_NETBSD=
2622 USE_OPENBSD=
2623 USE_OSF= USE_SGI=
2624 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2625 USE_ULTRIX=
2626 USE_UNIXWARE=
2627
2628 USE_ALPHA=
2629
2630 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2631
2632 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2633
2634 DEFAULT_wxUSE_OLD_COCOA=0
2635 DEFAULT_wxUSE_GTK=0
2636 DEFAULT_wxUSE_OSX_CARBON=0
2637 DEFAULT_wxUSE_OSX_COCOA=0
2638 DEFAULT_wxUSE_OSX_IPHONE=0
2639 DEFAULT_wxUSE_MGL=0
2640 DEFAULT_wxUSE_MICROWIN=0
2641 DEFAULT_wxUSE_MOTIF=0
2642 DEFAULT_wxUSE_MSW=0
2643 DEFAULT_wxUSE_PM=0
2644 DEFAULT_wxUSE_X11=0
2645 DEFAULT_wxUSE_DFB=0
2646
2647 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2648 DEFAULT_DEFAULT_wxUSE_GTK=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2651 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2652 DEFAULT_DEFAULT_wxUSE_MGL=0
2653 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2654 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2655 DEFAULT_DEFAULT_wxUSE_MSW=0
2656 DEFAULT_DEFAULT_wxUSE_PM=0
2657 DEFAULT_DEFAULT_wxUSE_X11=0
2658 DEFAULT_DEFAULT_wxUSE_DFB=0
2659
2660 PROGRAM_EXT=
2661 SAMPLES_RPATH_FLAG=
2662 DYLIB_RPATH_INSTALL=
2663 DYLIB_RPATH_POSTLINK=
2664
2665 DEFAULT_STD_FLAG=yes
2666
2667 case "${host}" in
2668 *-hp-hpux* )
2669 USE_HPUX=1
2670 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2671 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __HPUX__ 1
2674 _ACEOF
2675
2676
2677 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2678 ;;
2679 *-*-linux* )
2680 USE_LINUX=1
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __LINUX__ 1
2683 _ACEOF
2684
2685 TMP=`uname -m`
2686 if test "x$TMP" = "xalpha"; then
2687 USE_ALPHA=1
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __ALPHA__ 1
2690 _ACEOF
2691
2692 fi
2693 DEFAULT_DEFAULT_wxUSE_GTK=1
2694 ;;
2695 *-*-gnu* | *-*-k*bsd*-gnu )
2696 USE_GNU=1
2697 TMP=`uname -m`
2698 if test "x$TMP" = "xalpha"; then
2699 USE_ALPHA=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __ALPHA__ 1
2702 _ACEOF
2703
2704 fi
2705 DEFAULT_DEFAULT_wxUSE_GTK=1
2706 ;;
2707 *-*-irix5* | *-*-irix6* )
2708 USE_SGI=1
2709 USE_SVR4=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __SGI__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __SVR4__ 1
2716 _ACEOF
2717
2718 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2719 ;;
2720 *-*-qnx*)
2721 USE_QNX=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __QNX__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_X11=1
2727 ;;
2728 *-*-solaris2* )
2729 USE_SUN=1
2730 USE_SOLARIS=1
2731 USE_SVR4=1
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SUN__ 1
2734 _ACEOF
2735
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __SOLARIS__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __SVR4__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2746 ;;
2747 *-*-sunos4* )
2748 USE_SUN=1
2749 USE_SUNOS=1
2750 USE_BSD=1
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __SUN__ 1
2753 _ACEOF
2754
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __SUNOS__ 1
2757 _ACEOF
2758
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __BSD__ 1
2761 _ACEOF
2762
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 ;;
2765 *-*-freebsd*)
2766 USE_BSD=1
2767 USE_FREEBSD=1
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __FREEBSD__ 1
2770 _ACEOF
2771
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __BSD__ 1
2774 _ACEOF
2775
2776 DEFAULT_DEFAULT_wxUSE_GTK=1
2777 ;;
2778 *-*-openbsd*|*-*-mirbsd*)
2779 USE_BSD=1
2780 USE_OPENBSD=1
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __OPENBSD__ 1
2783 _ACEOF
2784
2785 cat >>confdefs.h <<\_ACEOF
2786 #define __BSD__ 1
2787 _ACEOF
2788
2789 DEFAULT_DEFAULT_wxUSE_GTK=1
2790 ;;
2791 *-*-netbsd*)
2792 USE_BSD=1
2793 USE_NETBSD=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __NETBSD__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __BSD__ 1
2800 _ACEOF
2801
2802 DEFAULT_DEFAULT_wxUSE_GTK=1
2803 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2804
2805 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2806 ;;
2807 *-*-osf* )
2808 USE_ALPHA=1
2809 USE_OSF=1
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __ALPHA__ 1
2812 _ACEOF
2813
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __OSF__ 1
2816 _ACEOF
2817
2818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2819 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2820 ;;
2821 *-*-dgux5* )
2822 USE_ALPHA=1
2823 USE_SVR4=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __ALPHA__ 1
2826 _ACEOF
2827
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __SVR4__ 1
2830 _ACEOF
2831
2832 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2833 ;;
2834 *-*-sysv5* )
2835 USE_SYSV=1
2836 USE_SVR4=1
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __SYSV__ 1
2839 _ACEOF
2840
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __SVR4__ 1
2843 _ACEOF
2844
2845 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2846 ;;
2847 *-*-aix* )
2848 USE_AIX=1
2849 USE_SYSV=1
2850 USE_SVR4=1
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __AIX__ 1
2853 _ACEOF
2854
2855 cat >>confdefs.h <<\_ACEOF
2856 #define __SYSV__ 1
2857 _ACEOF
2858
2859 cat >>confdefs.h <<\_ACEOF
2860 #define __SVR4__ 1
2861 _ACEOF
2862
2863 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2864 ;;
2865
2866 *-*-*UnixWare*)
2867 USE_SYSV=1
2868 USE_SVR4=1
2869 USE_UNIXWARE=1
2870 cat >>confdefs.h <<\_ACEOF
2871 #define __UNIXWARE__ 1
2872 _ACEOF
2873
2874 ;;
2875
2876 *-*-cygwin* | *-*-mingw32* )
2877 PROGRAM_EXT=".exe"
2878 DEFAULT_DEFAULT_wxUSE_MSW=1
2879 ;;
2880
2881 *-pc-msdosdjgpp )
2882 USE_UNIX=0
2883 USE_DOS=1
2884 cat >>confdefs.h <<\_ACEOF
2885 #define __DOS__ 1
2886 _ACEOF
2887
2888 PROGRAM_EXT=".exe"
2889 DEFAULT_DEFAULT_wxUSE_MGL=1
2890 ;;
2891
2892 *-pc-os2_emx | *-pc-os2-emx )
2893 cat >>confdefs.h <<\_ACEOF
2894 #define __EMX__ 1
2895 _ACEOF
2896
2897 USE_OS2=1
2898 cat >>confdefs.h <<\_ACEOF
2899 #define __OS2__ 1
2900 _ACEOF
2901
2902 PROGRAM_EXT=".exe"
2903 DEFAULT_DEFAULT_wxUSE_PM=1
2904 CXX=gcc
2905 LDFLAGS="$LDFLAGS -Zcrtdll"
2906 ac_executable_extensions=".exe"
2907 export ac_executable_extensions
2908 ac_save_IFS="$IFS"
2909 IFS='\\'
2910 ac_TEMP_PATH=
2911 for ac_dir in $PATH; do
2912 IFS=$ac_save_IFS
2913 if test -z "$ac_TEMP_PATH"; then
2914 ac_TEMP_PATH="$ac_dir"
2915 else
2916 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2917 fi
2918 done
2919 export PATH="$ac_TEMP_PATH"
2920 unset ac_TEMP_PATH
2921 DEFAULT_STD_FLAG=no
2922 ;;
2923
2924 arm-apple-darwin*)
2925 USE_BSD=1
2926 USE_DARWIN=1
2927 cat >>confdefs.h <<\_ACEOF
2928 #define __BSD__ 1
2929 _ACEOF
2930
2931 cat >>confdefs.h <<\_ACEOF
2932 #define __DARWIN__ 1
2933 _ACEOF
2934
2935 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2936 ;;
2937
2938 *-*-darwin* )
2939 USE_BSD=1
2940 USE_DARWIN=1
2941 cat >>confdefs.h <<\_ACEOF
2942 #define __BSD__ 1
2943 _ACEOF
2944
2945 cat >>confdefs.h <<\_ACEOF
2946 #define __DARWIN__ 1
2947 _ACEOF
2948
2949 cat >>confdefs.h <<\_ACEOF
2950 #define TARGET_CARBON 1
2951 _ACEOF
2952
2953 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2954 ;;
2955
2956 *-*-beos* )
2957 USE_BEOS=1
2958 cat >>confdefs.h <<\_ACEOF
2959 #define __BEOS__ 1
2960 _ACEOF
2961
2962 ;;
2963
2964 *)
2965 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2966 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2967 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2968 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2969
2970 DEFAULT_DEFAULT_wxUSE_X11=1
2971 DEFAULT_wxUSE_SHARED=no
2972 esac
2973
2974
2975
2976 DEFAULT_wxUSE_ALL_FEATURES=yes
2977
2978 DEFAULT_wxUSE_STD_CONTAINERS=no
2979 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2980 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2981
2982 DEFAULT_wxUSE_DMALLOC=no
2983 DEFAULT_wxUSE_LIBGNOMEVFS=no
2984 DEFAULT_wxUSE_LIBHILDON=no
2985 DEFAULT_wxUSE_LIBHILDON2=no
2986 DEFAULT_wxUSE_LIBMSPACK=no
2987 DEFAULT_wxUSE_LIBSDL=no
2988
2989 DEFAULT_wxUSE_ACCESSIBILITY=no
2990 DEFAULT_wxUSE_IPV6=no
2991 DEFAULT_wxUSE_GSTREAMER8=no
2992
2993 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2994 DEFAULT_wxUSE_UNICODE_UTF8=auto
2995 DEFAULT_wxUSE_OPENGL=auto
2996 DEFAULT_wxUSE_MEDIACTRL=auto
2997 DEFAULT_wxUSE_COMPILER_TLS=auto
2998
2999 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3000
3001 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3002 DEFAULT_wxUSE_MAC_ARCH=no
3003
3004 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3005
3006 DEFAULT_wxUSE_GTK2=yes
3007
3008 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3009
3010
3011
3012
3013
3014 enablestring=disable
3015 defaultval=
3016 if test -z "$defaultval"; then
3017 if test x"$enablestring" = xdisable; then
3018 defaultval=yes
3019 else
3020 defaultval=no
3021 fi
3022 fi
3023
3024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3025 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3026 # Check whether --enable-gui was given.
3027 if test "${enable_gui+set}" = set; then
3028 enableval=$enable_gui;
3029 if test "$enableval" = yes; then
3030 wx_cv_use_gui='wxUSE_GUI=yes'
3031 else
3032 wx_cv_use_gui='wxUSE_GUI=no'
3033 fi
3034
3035 else
3036
3037 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3038
3039 fi
3040
3041
3042 eval "$wx_cv_use_gui"
3043
3044 if test x"$enablestring" = xdisable; then
3045 if test $wxUSE_GUI = no; then
3046 result=yes
3047 else
3048 result=no
3049 fi
3050 else
3051 result=$wxUSE_GUI
3052 fi
3053
3054 { echo "$as_me:$LINENO: result: $result" >&5
3055 echo "${ECHO_T}$result" >&6; }
3056
3057
3058 enablestring=
3059 defaultval=
3060 if test -z "$defaultval"; then
3061 if test x"$enablestring" = xdisable; then
3062 defaultval=yes
3063 else
3064 defaultval=no
3065 fi
3066 fi
3067
3068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3069 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3070 # Check whether --enable-monolithic was given.
3071 if test "${enable_monolithic+set}" = set; then
3072 enableval=$enable_monolithic;
3073 if test "$enableval" = yes; then
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3075 else
3076 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3077 fi
3078
3079 else
3080
3081 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3082
3083 fi
3084
3085
3086 eval "$wx_cv_use_monolithic"
3087
3088 if test x"$enablestring" = xdisable; then
3089 if test $wxUSE_MONOLITHIC = no; then
3090 result=yes
3091 else
3092 result=no
3093 fi
3094 else
3095 result=$wxUSE_MONOLITHIC
3096 fi
3097
3098 { echo "$as_me:$LINENO: result: $result" >&5
3099 echo "${ECHO_T}$result" >&6; }
3100
3101
3102 enablestring=
3103 defaultval=
3104 if test -z "$defaultval"; then
3105 if test x"$enablestring" = xdisable; then
3106 defaultval=yes
3107 else
3108 defaultval=no
3109 fi
3110 fi
3111
3112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3113 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3114 # Check whether --enable-plugins was given.
3115 if test "${enable_plugins+set}" = set; then
3116 enableval=$enable_plugins;
3117 if test "$enableval" = yes; then
3118 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3119 else
3120 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3121 fi
3122
3123 else
3124
3125 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3126
3127 fi
3128
3129
3130 eval "$wx_cv_use_plugins"
3131
3132 if test x"$enablestring" = xdisable; then
3133 if test $wxUSE_PLUGINS = no; then
3134 result=yes
3135 else
3136 result=no
3137 fi
3138 else
3139 result=$wxUSE_PLUGINS
3140 fi
3141
3142 { echo "$as_me:$LINENO: result: $result" >&5
3143 echo "${ECHO_T}$result" >&6; }
3144
3145
3146 withstring=without
3147 defaultval=$wxUSE_ALL_FEATURES
3148 if test -z "$defaultval"; then
3149 if test x"$withstring" = xwithout; then
3150 defaultval=yes
3151 else
3152 defaultval=no
3153 fi
3154 fi
3155 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3156 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3157
3158 # Check whether --with-subdirs was given.
3159 if test "${with_subdirs+set}" = set; then
3160 withval=$with_subdirs;
3161 if test "$withval" = yes; then
3162 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3163 else
3164 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3165 fi
3166
3167 else
3168
3169 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3170
3171 fi
3172
3173
3174 eval "$wx_cv_use_subdirs"
3175
3176 if test x"$withstring" = xwithout; then
3177 if test $wxWITH_SUBDIRS = yes; then
3178 result=no
3179 else
3180 result=yes
3181 fi
3182 else
3183 result=$wxWITH_SUBDIRS
3184 fi
3185
3186 { echo "$as_me:$LINENO: result: $result" >&5
3187 echo "${ECHO_T}$result" >&6; }
3188
3189
3190 # Check whether --with-flavour was given.
3191 if test "${with_flavour+set}" = set; then
3192 withval=$with_flavour; WX_FLAVOUR="$withval"
3193 fi
3194
3195
3196 enablestring=
3197 defaultval=
3198 if test -z "$defaultval"; then
3199 if test x"$enablestring" = xdisable; then
3200 defaultval=yes
3201 else
3202 defaultval=no
3203 fi
3204 fi
3205
3206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3207 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3208 # Check whether --enable-official_build was given.
3209 if test "${enable_official_build+set}" = set; then
3210 enableval=$enable_official_build;
3211 if test "$enableval" = yes; then
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3213 else
3214 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3215 fi
3216
3217 else
3218
3219 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3220
3221 fi
3222
3223
3224 eval "$wx_cv_use_official_build"
3225
3226 if test x"$enablestring" = xdisable; then
3227 if test $wxUSE_OFFICIAL_BUILD = no; then
3228 result=yes
3229 else
3230 result=no
3231 fi
3232 else
3233 result=$wxUSE_OFFICIAL_BUILD
3234 fi
3235
3236 { echo "$as_me:$LINENO: result: $result" >&5
3237 echo "${ECHO_T}$result" >&6; }
3238
3239 # Check whether --enable-vendor was given.
3240 if test "${enable_vendor+set}" = set; then
3241 enableval=$enable_vendor; VENDOR="$enableval"
3242 fi
3243
3244 if test "x$VENDOR" = "x"; then
3245 VENDOR="custom"
3246 fi
3247
3248
3249 enablestring=disable
3250 defaultval=
3251 if test -z "$defaultval"; then
3252 if test x"$enablestring" = xdisable; then
3253 defaultval=yes
3254 else
3255 defaultval=no
3256 fi
3257 fi
3258
3259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3261 # Check whether --enable-all-features was given.
3262 if test "${enable_all_features+set}" = set; then
3263 enableval=$enable_all_features;
3264 if test "$enableval" = yes; then
3265 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3266 else
3267 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3268 fi
3269
3270 else
3271
3272 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3273
3274 fi
3275
3276
3277 eval "$wx_cv_use_all_features"
3278
3279 if test x"$enablestring" = xdisable; then
3280 if test $wxUSE_ALL_FEATURES = no; then
3281 result=yes
3282 else
3283 result=no
3284 fi
3285 else
3286 result=$wxUSE_ALL_FEATURES
3287 fi
3288
3289 { echo "$as_me:$LINENO: result: $result" >&5
3290 echo "${ECHO_T}$result" >&6; }
3291
3292
3293 if test "$wxUSE_ALL_FEATURES" = "no"; then
3294 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3295 DEFAULT_wxUSE_MEDIACTRL=no
3296 fi
3297
3298
3299 if test "$wxUSE_GUI" = "yes"; then
3300
3301
3302 enablestring=
3303 defaultval=
3304 if test -z "$defaultval"; then
3305 if test x"$enablestring" = xdisable; then
3306 defaultval=yes
3307 else
3308 defaultval=no
3309 fi
3310 fi
3311
3312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3313 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3314 # Check whether --enable-universal was given.
3315 if test "${enable_universal+set}" = set; then
3316 enableval=$enable_universal;
3317 if test "$enableval" = yes; then
3318 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3319 else
3320 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3321 fi
3322
3323 else
3324
3325 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3326
3327 fi
3328
3329
3330 eval "$wx_cv_use_universal"
3331
3332 if test x"$enablestring" = xdisable; then
3333 if test $wxUSE_UNIVERSAL = no; then
3334 result=yes
3335 else
3336 result=no
3337 fi
3338 else
3339 result=$wxUSE_UNIVERSAL
3340 fi
3341
3342 { echo "$as_me:$LINENO: result: $result" >&5
3343 echo "${ECHO_T}$result" >&6; }
3344
3345 if test "$wxUSE_UNIVERSAL" = "yes"; then
3346
3347 # Check whether --with-themes was given.
3348 if test "${with_themes+set}" = set; then
3349 withval=$with_themes; wxUNIV_THEMES="$withval"
3350 fi
3351
3352 fi
3353
3354
3355 # Check whether --with-gtk was given.
3356 if test "${with_gtk+set}" = set; then
3357 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3358 fi
3359
3360
3361 # Check whether --with-motif was given.
3362 if test "${with_motif+set}" = set; then
3363 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3364 fi
3365
3366
3367 # Check whether --with-osx_carbon was given.
3368 if test "${with_osx_carbon+set}" = set; then
3369 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3370 fi
3371
3372
3373 # Check whether --with-osx_cocoa was given.
3374 if test "${with_osx_cocoa+set}" = set; then
3375 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3376 fi
3377
3378
3379 # Check whether --with-osx_iphone was given.
3380 if test "${with_osx_iphone+set}" = set; then
3381 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3382 fi
3383
3384
3385 # Check whether --with-osx was given.
3386 if test "${with_osx+set}" = set; then
3387 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3388 fi
3389
3390
3391 # Check whether --with-carbon was given.
3392 if test "${with_carbon+set}" = set; then
3393 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3394 fi
3395
3396
3397 # Check whether --with-cocoa was given.
3398 if test "${with_cocoa+set}" = set; then
3399 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3400 fi
3401
3402
3403 # Check whether --with-iphone was given.
3404 if test "${with_iphone+set}" = set; then
3405 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3406 fi
3407
3408
3409 # Check whether --with-mac was given.
3410 if test "${with_mac+set}" = set; then
3411 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3412 fi
3413
3414
3415 # Check whether --with-old_cocoa was given.
3416 if test "${with_old_cocoa+set}" = set; then
3417 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3418 fi
3419
3420
3421 # Check whether --with-wine was given.
3422 if test "${with_wine+set}" = set; then
3423 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3424 fi
3425
3426
3427 # Check whether --with-msw was given.
3428 if test "${with_msw+set}" = set; then
3429 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3430 fi
3431
3432
3433 # Check whether --with-pm was given.
3434 if test "${with_pm+set}" = set; then
3435 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3436 fi
3437
3438
3439 # Check whether --with-mgl was given.
3440 if test "${with_mgl+set}" = set; then
3441 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3442 fi
3443
3444
3445 # Check whether --with-directfb was given.
3446 if test "${with_directfb+set}" = set; then
3447 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3448 fi
3449
3450
3451 # Check whether --with-microwin was given.
3452 if test "${with_microwin+set}" = set; then
3453 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3454 fi
3455
3456
3457 # Check whether --with-x11 was given.
3458 if test "${with_x11+set}" = set; then
3459 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3460 fi
3461
3462
3463 enablestring=
3464 defaultval=
3465 if test -z "$defaultval"; then
3466 if test x"$enablestring" = xdisable; then
3467 defaultval=yes
3468 else
3469 defaultval=no
3470 fi
3471 fi
3472
3473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3474 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3475 # Check whether --enable-nanox was given.
3476 if test "${enable_nanox+set}" = set; then
3477 enableval=$enable_nanox;
3478 if test "$enableval" = yes; then
3479 wx_cv_use_nanox='wxUSE_NANOX=yes'
3480 else
3481 wx_cv_use_nanox='wxUSE_NANOX=no'
3482 fi
3483
3484 else
3485
3486 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3487
3488 fi
3489
3490
3491 eval "$wx_cv_use_nanox"
3492
3493 if test x"$enablestring" = xdisable; then
3494 if test $wxUSE_NANOX = no; then
3495 result=yes
3496 else
3497 result=no
3498 fi
3499 else
3500 result=$wxUSE_NANOX
3501 fi
3502
3503 { echo "$as_me:$LINENO: result: $result" >&5
3504 echo "${ECHO_T}$result" >&6; }
3505
3506
3507 # Check whether --enable-gtk2 was given.
3508 if test "${enable_gtk2+set}" = set; then
3509 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3510 fi
3511
3512
3513 enablestring=
3514 defaultval=
3515 if test -z "$defaultval"; then
3516 if test x"$enablestring" = xdisable; then
3517 defaultval=yes
3518 else
3519 defaultval=no
3520 fi
3521 fi
3522
3523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3524 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3525 # Check whether --enable-gpe was given.
3526 if test "${enable_gpe+set}" = set; then
3527 enableval=$enable_gpe;
3528 if test "$enableval" = yes; then
3529 wx_cv_use_gpe='wxUSE_GPE=yes'
3530 else
3531 wx_cv_use_gpe='wxUSE_GPE=no'
3532 fi
3533
3534 else
3535
3536 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3537
3538 fi
3539
3540
3541 eval "$wx_cv_use_gpe"
3542
3543 if test x"$enablestring" = xdisable; then
3544 if test $wxUSE_GPE = no; then
3545 result=yes
3546 else
3547 result=no
3548 fi
3549 else
3550 result=$wxUSE_GPE
3551 fi
3552
3553 { echo "$as_me:$LINENO: result: $result" >&5
3554 echo "${ECHO_T}$result" >&6; }
3555
3556
3557
3558 { echo "$as_me:$LINENO: checking for toolkit" >&5
3559 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3560
3561
3562
3563 # In Wine, we need to default to MSW, not GTK or MOTIF
3564 if test "$wxUSE_WINE" = "yes"; then
3565 DEFAULT_DEFAULT_wxUSE_GTK=0
3566 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3567 DEFAULT_DEFAULT_wxUSE_MSW=1
3568 wxUSE_SHARED=no
3569 CC=${CC:-winegcc}
3570 CXX=${CXX:-wineg++}
3571 fi
3572
3573
3574 if test "$wxUSE_GUI" = "yes"; then
3575
3576 if test "$USE_BEOS" = 1; then
3577 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3578 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3579 { (exit 1); exit 1; }; }
3580 fi
3581
3582 if test "$TOOLKIT_GIVEN" = 1; then
3583 for toolkit in $ALL_TOOLKITS; do
3584 var=wxUSE_$toolkit
3585 eval "value=\$${var}"
3586 if test "x$value" = "xno"; then
3587 eval "$var=0"
3588 elif test "x$value" != "x"; then
3589 eval "$var=1"
3590 fi
3591
3592 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3593 eval "wx${toolkit}_VERSION=$value"
3594 fi
3595 done
3596 else
3597 for toolkit in $ALL_TOOLKITS; do
3598 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3599 eval "wxUSE_$toolkit=\$${var}"
3600 done
3601 fi
3602
3603 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3604 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3605 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3606
3607 case "${host}" in
3608 *-pc-os2_emx | *-pc-os2-emx )
3609 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3610 esac
3611
3612 case "$NUM_TOOLKITS" in
3613 1)
3614 ;;
3615 0)
3616 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3617 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3618 { (exit 1); exit 1; }; }
3619 ;;
3620 *)
3621 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3622 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3623 { (exit 1); exit 1; }; }
3624 esac
3625
3626 # to be removed when --disable-gtk2 isn't needed
3627 if test "x$wxUSE_GTK2" = "xyes"; then
3628 wxGTK_VERSION=2
3629 wxUSE_GTK1=0
3630 elif test "x$wxUSE_GTK2" = "xno"; then
3631 wxGTK_VERSION=1
3632 wxUSE_GTK1=1
3633 fi
3634
3635 for toolkit in $ALL_TOOLKITS; do
3636 var=wxUSE_$toolkit
3637 eval "value=\$${var}"
3638 if test "$value" = 1; then
3639 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3640 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3641 echo "${ECHO_T}$toolkit_echo" >&6; }
3642 fi
3643 done
3644 else
3645 if test "x$host_alias" != "x"; then
3646 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3647 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3648 else
3649 { echo "$as_me:$LINENO: result: base only" >&5
3650 echo "${ECHO_T}base only" >&6; }
3651 fi
3652 fi
3653
3654 wxUSE_MAC=0
3655 if test "$wxUSE_OSX_CARBON" = 1 \
3656 -o "$wxUSE_OSX_COCOA" = 1 \
3657 -o "$wxUSE_OSX_IPHONE" = 1; then
3658 wxUSE_MAC=1
3659 fi
3660
3661
3662
3663 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3664 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3665
3666 # Check whether --with-libpng was given.
3667 if test "${with_libpng+set}" = set; then
3668 withval=$with_libpng;
3669 if test "$withval" = yes; then
3670 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3671 elif test "$withval" = no; then
3672 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3673 elif test "$withval" = sys; then
3674 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3675 elif test "$withval" = builtin; then
3676 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3677 else
3678 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3679 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3680 { (exit 1); exit 1; }; }
3681 fi
3682
3683 else
3684
3685 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3686
3687 fi
3688
3689
3690 eval "$wx_cv_use_libpng"
3691
3692 if test "$wxUSE_LIBPNG" = yes; then
3693 { echo "$as_me:$LINENO: result: yes" >&5
3694 echo "${ECHO_T}yes" >&6; }
3695 elif test "$wxUSE_LIBPNG" = no; then
3696 { echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6; }
3698 elif test "$wxUSE_LIBPNG" = sys; then
3699 { echo "$as_me:$LINENO: result: system version" >&5
3700 echo "${ECHO_T}system version" >&6; }
3701 elif test "$wxUSE_LIBPNG" = builtin; then
3702 { echo "$as_me:$LINENO: result: builtin version" >&5
3703 echo "${ECHO_T}builtin version" >&6; }
3704 else
3705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3706 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3707 { (exit 1); exit 1; }; }
3708 fi
3709
3710
3711 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3712 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3713
3714 # Check whether --with-libjpeg was given.
3715 if test "${with_libjpeg+set}" = set; then
3716 withval=$with_libjpeg;
3717 if test "$withval" = yes; then
3718 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3719 elif test "$withval" = no; then
3720 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3721 elif test "$withval" = sys; then
3722 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3723 elif test "$withval" = builtin; then
3724 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3725 else
3726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3727 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3728 { (exit 1); exit 1; }; }
3729 fi
3730
3731 else
3732
3733 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3734
3735 fi
3736
3737
3738 eval "$wx_cv_use_libjpeg"
3739
3740 if test "$wxUSE_LIBJPEG" = yes; then
3741 { echo "$as_me:$LINENO: result: yes" >&5
3742 echo "${ECHO_T}yes" >&6; }
3743 elif test "$wxUSE_LIBJPEG" = no; then
3744 { echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6; }
3746 elif test "$wxUSE_LIBJPEG" = sys; then
3747 { echo "$as_me:$LINENO: result: system version" >&5
3748 echo "${ECHO_T}system version" >&6; }
3749 elif test "$wxUSE_LIBJPEG" = builtin; then
3750 { echo "$as_me:$LINENO: result: builtin version" >&5
3751 echo "${ECHO_T}builtin version" >&6; }
3752 else
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3756 fi
3757
3758
3759 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3760 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3761
3762 # Check whether --with-libtiff was given.
3763 if test "${with_libtiff+set}" = set; then
3764 withval=$with_libtiff;
3765 if test "$withval" = yes; then
3766 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3767 elif test "$withval" = no; then
3768 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3769 elif test "$withval" = sys; then
3770 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3771 elif test "$withval" = builtin; then
3772 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3773 else
3774 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3775 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3776 { (exit 1); exit 1; }; }
3777 fi
3778
3779 else
3780
3781 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3782
3783 fi
3784
3785
3786 eval "$wx_cv_use_libtiff"
3787
3788 if test "$wxUSE_LIBTIFF" = yes; then
3789 { echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6; }
3791 elif test "$wxUSE_LIBTIFF" = no; then
3792 { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794 elif test "$wxUSE_LIBTIFF" = sys; then
3795 { echo "$as_me:$LINENO: result: system version" >&5
3796 echo "${ECHO_T}system version" >&6; }
3797 elif test "$wxUSE_LIBTIFF" = builtin; then
3798 { echo "$as_me:$LINENO: result: builtin version" >&5
3799 echo "${ECHO_T}builtin version" >&6; }
3800 else
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3804 fi
3805
3806
3807 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3808 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3809
3810 # Check whether --with-libxpm was given.
3811 if test "${with_libxpm+set}" = set; then
3812 withval=$with_libxpm;
3813 if test "$withval" = yes; then
3814 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3815 elif test "$withval" = no; then
3816 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3817 elif test "$withval" = sys; then
3818 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3819 elif test "$withval" = builtin; then
3820 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3821 else
3822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3823 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3824 { (exit 1); exit 1; }; }
3825 fi
3826
3827 else
3828
3829 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3830
3831 fi
3832
3833
3834 eval "$wx_cv_use_libxpm"
3835
3836 if test "$wxUSE_LIBXPM" = yes; then
3837 { echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6; }
3839 elif test "$wxUSE_LIBXPM" = no; then
3840 { echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6; }
3842 elif test "$wxUSE_LIBXPM" = sys; then
3843 { echo "$as_me:$LINENO: result: system version" >&5
3844 echo "${ECHO_T}system version" >&6; }
3845 elif test "$wxUSE_LIBXPM" = builtin; then
3846 { echo "$as_me:$LINENO: result: builtin version" >&5
3847 echo "${ECHO_T}builtin version" >&6; }
3848 else
3849 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3850 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3851 { (exit 1); exit 1; }; }
3852 fi
3853
3854
3855 withstring=
3856 defaultval=$wxUSE_ALL_FEATURES
3857 if test -z "$defaultval"; then
3858 if test x"$withstring" = xwithout; then
3859 defaultval=yes
3860 else
3861 defaultval=no
3862 fi
3863 fi
3864 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3865 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3866
3867 # Check whether --with-libiconv was given.
3868 if test "${with_libiconv+set}" = set; then
3869 withval=$with_libiconv;
3870 if test "$withval" = yes; then
3871 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3872 else
3873 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3874 fi
3875
3876 else
3877
3878 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3879
3880 fi
3881
3882
3883 eval "$wx_cv_use_libiconv"
3884
3885 if test x"$withstring" = xwithout; then
3886 if test $wxUSE_LIBICONV = yes; then
3887 result=no
3888 else
3889 result=yes
3890 fi
3891 else
3892 result=$wxUSE_LIBICONV
3893 fi
3894
3895 { echo "$as_me:$LINENO: result: $result" >&5
3896 echo "${ECHO_T}$result" >&6; }
3897
3898
3899 withstring=
3900 defaultval=$wxUSE_ALL_FEATURES
3901 if test -z "$defaultval"; then
3902 if test x"$withstring" = xwithout; then
3903 defaultval=yes
3904 else
3905 defaultval=no
3906 fi
3907 fi
3908 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3909 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3910
3911 # Check whether --with-libmspack was given.
3912 if test "${with_libmspack+set}" = set; then
3913 withval=$with_libmspack;
3914 if test "$withval" = yes; then
3915 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3916 else
3917 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3918 fi
3919
3920 else
3921
3922 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3923
3924 fi
3925
3926
3927 eval "$wx_cv_use_libmspack"
3928
3929 if test x"$withstring" = xwithout; then
3930 if test $wxUSE_LIBMSPACK = yes; then
3931 result=no
3932 else
3933 result=yes
3934 fi
3935 else
3936 result=$wxUSE_LIBMSPACK
3937 fi
3938
3939 { echo "$as_me:$LINENO: result: $result" >&5
3940 echo "${ECHO_T}$result" >&6; }
3941
3942
3943 withstring=without
3944 defaultval=$wxUSE_ALL_FEATURES
3945 if test -z "$defaultval"; then
3946 if test x"$withstring" = xwithout; then
3947 defaultval=yes
3948 else
3949 defaultval=no
3950 fi
3951 fi
3952 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3953 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3954
3955 # Check whether --with-gtkprint was given.
3956 if test "${with_gtkprint+set}" = set; then
3957 withval=$with_gtkprint;
3958 if test "$withval" = yes; then
3959 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3960 else
3961 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3962 fi
3963
3964 else
3965
3966 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3967
3968 fi
3969
3970
3971 eval "$wx_cv_use_gtkprint"
3972
3973 if test x"$withstring" = xwithout; then
3974 if test $wxUSE_GTKPRINT = yes; then
3975 result=no
3976 else
3977 result=yes
3978 fi
3979 else
3980 result=$wxUSE_GTKPRINT
3981 fi
3982
3983 { echo "$as_me:$LINENO: result: $result" >&5
3984 echo "${ECHO_T}$result" >&6; }
3985
3986
3987 withstring=without
3988 defaultval=$wxUSE_ALL_FEATURES
3989 if test -z "$defaultval"; then
3990 if test x"$withstring" = xwithout; then
3991 defaultval=yes
3992 else
3993 defaultval=no
3994 fi
3995 fi
3996 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3997 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3998
3999 # Check whether --with-gnomeprint was given.
4000 if test "${with_gnomeprint+set}" = set; then
4001 withval=$with_gnomeprint;
4002 if test "$withval" = yes; then
4003 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4004 else
4005 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4006 fi
4007
4008 else
4009
4010 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4011
4012 fi
4013
4014
4015 eval "$wx_cv_use_gnomeprint"
4016
4017 if test x"$withstring" = xwithout; then
4018 if test $wxUSE_LIBGNOMEPRINT = yes; then
4019 result=no
4020 else
4021 result=yes
4022 fi
4023 else
4024 result=$wxUSE_LIBGNOMEPRINT
4025 fi
4026
4027 { echo "$as_me:$LINENO: result: $result" >&5
4028 echo "${ECHO_T}$result" >&6; }
4029
4030
4031 withstring=
4032 defaultval=$wxUSE_ALL_FEATURES
4033 if test -z "$defaultval"; then
4034 if test x"$withstring" = xwithout; then
4035 defaultval=yes
4036 else
4037 defaultval=no
4038 fi
4039 fi
4040 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4041 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4042
4043 # Check whether --with-gnomevfs was given.
4044 if test "${with_gnomevfs+set}" = set; then
4045 withval=$with_gnomevfs;
4046 if test "$withval" = yes; then
4047 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4048 else
4049 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4050 fi
4051
4052 else
4053
4054 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4055
4056 fi
4057
4058
4059 eval "$wx_cv_use_gnomevfs"
4060
4061 if test x"$withstring" = xwithout; then
4062 if test $wxUSE_LIBGNOMEVFS = yes; then
4063 result=no
4064 else
4065 result=yes
4066 fi
4067 else
4068 result=$wxUSE_LIBGNOMEVFS
4069 fi
4070
4071 { echo "$as_me:$LINENO: result: $result" >&5
4072 echo "${ECHO_T}$result" >&6; }
4073
4074
4075 withstring=
4076 defaultval=$wxUSE_ALL_FEATURES
4077 if test -z "$defaultval"; then
4078 if test x"$withstring" = xwithout; then
4079 defaultval=yes
4080 else
4081 defaultval=no
4082 fi
4083 fi
4084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4085 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4086
4087 # Check whether --with-hildon was given.
4088 if test "${with_hildon+set}" = set; then
4089 withval=$with_hildon;
4090 if test "$withval" = yes; then
4091 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4092 else
4093 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4094 fi
4095
4096 else
4097
4098 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4099
4100 fi
4101
4102
4103 eval "$wx_cv_use_hildon"
4104
4105 if test x"$withstring" = xwithout; then
4106 if test $wxUSE_LIBHILDON = yes; then
4107 result=no
4108 else
4109 result=yes
4110 fi
4111 else
4112 result=$wxUSE_LIBHILDON
4113 fi
4114
4115 { echo "$as_me:$LINENO: result: $result" >&5
4116 echo "${ECHO_T}$result" >&6; }
4117
4118
4119 withstring=
4120 defaultval=$wxUSE_ALL_FEATURES
4121 if test -z "$defaultval"; then
4122 if test x"$withstring" = xwithout; then
4123 defaultval=yes
4124 else
4125 defaultval=no
4126 fi
4127 fi
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4130
4131 # Check whether --with-opengl was given.
4132 if test "${with_opengl+set}" = set; then
4133 withval=$with_opengl;
4134 if test "$withval" = yes; then
4135 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4136 else
4137 wx_cv_use_opengl='wxUSE_OPENGL=no'
4138 fi
4139
4140 else
4141
4142 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4143
4144 fi
4145
4146
4147 eval "$wx_cv_use_opengl"
4148
4149 if test x"$withstring" = xwithout; then
4150 if test $wxUSE_OPENGL = yes; then
4151 result=no
4152 else
4153 result=yes
4154 fi
4155 else
4156 result=$wxUSE_OPENGL
4157 fi
4158
4159 { echo "$as_me:$LINENO: result: $result" >&5
4160 echo "${ECHO_T}$result" >&6; }
4161
4162
4163 fi
4164
4165
4166 withstring=
4167 defaultval=$wxUSE_ALL_FEATURES
4168 if test -z "$defaultval"; then
4169 if test x"$withstring" = xwithout; then
4170 defaultval=yes
4171 else
4172 defaultval=no
4173 fi
4174 fi
4175 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4176 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4177
4178 # Check whether --with-dmalloc was given.
4179 if test "${with_dmalloc+set}" = set; then
4180 withval=$with_dmalloc;
4181 if test "$withval" = yes; then
4182 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4183 else
4184 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4185 fi
4186
4187 else
4188
4189 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4190
4191 fi
4192
4193
4194 eval "$wx_cv_use_dmalloc"
4195
4196 if test x"$withstring" = xwithout; then
4197 if test $wxUSE_DMALLOC = yes; then
4198 result=no
4199 else
4200 result=yes
4201 fi
4202 else
4203 result=$wxUSE_DMALLOC
4204 fi
4205
4206 { echo "$as_me:$LINENO: result: $result" >&5
4207 echo "${ECHO_T}$result" >&6; }
4208
4209
4210 withstring=
4211 defaultval=$wxUSE_ALL_FEATURES
4212 if test -z "$defaultval"; then
4213 if test x"$withstring" = xwithout; then
4214 defaultval=yes
4215 else
4216 defaultval=no
4217 fi
4218 fi
4219 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4220 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4221
4222 # Check whether --with-sdl was given.
4223 if test "${with_sdl+set}" = set; then
4224 withval=$with_sdl;
4225 if test "$withval" = yes; then
4226 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4227 else
4228 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4229 fi
4230
4231 else
4232
4233 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4234
4235 fi
4236
4237
4238 eval "$wx_cv_use_sdl"
4239
4240 if test x"$withstring" = xwithout; then
4241 if test $wxUSE_LIBSDL = yes; then
4242 result=no
4243 else
4244 result=yes
4245 fi
4246 else
4247 result=$wxUSE_LIBSDL
4248 fi
4249
4250 { echo "$as_me:$LINENO: result: $result" >&5
4251 echo "${ECHO_T}$result" >&6; }
4252
4253
4254 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4255 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4256
4257 # Check whether --with-regex was given.
4258 if test "${with_regex+set}" = set; then
4259 withval=$with_regex;
4260 if test "$withval" = yes; then
4261 wx_cv_use_regex='wxUSE_REGEX=yes'
4262 elif test "$withval" = no; then
4263 wx_cv_use_regex='wxUSE_REGEX=no'
4264 elif test "$withval" = sys; then
4265 wx_cv_use_regex='wxUSE_REGEX=sys'
4266 elif test "$withval" = builtin; then
4267 wx_cv_use_regex='wxUSE_REGEX=builtin'
4268 else
4269 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4270 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4271 { (exit 1); exit 1; }; }
4272 fi
4273
4274 else
4275
4276 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4277
4278 fi
4279
4280
4281 eval "$wx_cv_use_regex"
4282
4283 if test "$wxUSE_REGEX" = yes; then
4284 { echo "$as_me:$LINENO: result: yes" >&5
4285 echo "${ECHO_T}yes" >&6; }
4286 elif test "$wxUSE_REGEX" = no; then
4287 { echo "$as_me:$LINENO: result: no" >&5
4288 echo "${ECHO_T}no" >&6; }
4289 elif test "$wxUSE_REGEX" = sys; then
4290 { echo "$as_me:$LINENO: result: system version" >&5
4291 echo "${ECHO_T}system version" >&6; }
4292 elif test "$wxUSE_REGEX" = builtin; then
4293 { echo "$as_me:$LINENO: result: builtin version" >&5
4294 echo "${ECHO_T}builtin version" >&6; }
4295 else
4296 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4297 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4298 { (exit 1); exit 1; }; }
4299 fi
4300
4301
4302 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4303 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4304
4305 # Check whether --with-zlib was given.
4306 if test "${with_zlib+set}" = set; then
4307 withval=$with_zlib;
4308 if test "$withval" = yes; then
4309 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4310 elif test "$withval" = no; then
4311 wx_cv_use_zlib='wxUSE_ZLIB=no'
4312 elif test "$withval" = sys; then
4313 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4314 elif test "$withval" = builtin; then
4315 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4316 else
4317 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4318 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4319 { (exit 1); exit 1; }; }
4320 fi
4321
4322 else
4323
4324 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4325
4326 fi
4327
4328
4329 eval "$wx_cv_use_zlib"
4330
4331 if test "$wxUSE_ZLIB" = yes; then
4332 { echo "$as_me:$LINENO: result: yes" >&5
4333 echo "${ECHO_T}yes" >&6; }
4334 elif test "$wxUSE_ZLIB" = no; then
4335 { echo "$as_me:$LINENO: result: no" >&5
4336 echo "${ECHO_T}no" >&6; }
4337 elif test "$wxUSE_ZLIB" = sys; then
4338 { echo "$as_me:$LINENO: result: system version" >&5
4339 echo "${ECHO_T}system version" >&6; }
4340 elif test "$wxUSE_ZLIB" = builtin; then
4341 { echo "$as_me:$LINENO: result: builtin version" >&5
4342 echo "${ECHO_T}builtin version" >&6; }
4343 else
4344 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4345 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4346 { (exit 1); exit 1; }; }
4347 fi
4348
4349
4350 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4351 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4352
4353 # Check whether --with-expat was given.
4354 if test "${with_expat+set}" = set; then
4355 withval=$with_expat;
4356 if test "$withval" = yes; then
4357 wx_cv_use_expat='wxUSE_EXPAT=yes'
4358 elif test "$withval" = no; then
4359 wx_cv_use_expat='wxUSE_EXPAT=no'
4360 elif test "$withval" = sys; then
4361 wx_cv_use_expat='wxUSE_EXPAT=sys'
4362 elif test "$withval" = builtin; then
4363 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4364 else
4365 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4366 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4367 { (exit 1); exit 1; }; }
4368 fi
4369
4370 else
4371
4372 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4373
4374 fi
4375
4376
4377 eval "$wx_cv_use_expat"
4378
4379 if test "$wxUSE_EXPAT" = yes; then
4380 { echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6; }
4382 elif test "$wxUSE_EXPAT" = no; then
4383 { echo "$as_me:$LINENO: result: no" >&5
4384 echo "${ECHO_T}no" >&6; }
4385 elif test "$wxUSE_EXPAT" = sys; then
4386 { echo "$as_me:$LINENO: result: system version" >&5
4387 echo "${ECHO_T}system version" >&6; }
4388 elif test "$wxUSE_EXPAT" = builtin; then
4389 { echo "$as_me:$LINENO: result: builtin version" >&5
4390 echo "${ECHO_T}builtin version" >&6; }
4391 else
4392 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4393 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4394 { (exit 1); exit 1; }; }
4395 fi
4396
4397
4398 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4399 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4400
4401 # Check whether --with-macosx-sdk was given.
4402 if test "${with_macosx_sdk+set}" = set; then
4403 withval=$with_macosx_sdk;
4404 wxUSE_MACOSX_SDK=$withval
4405 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4406
4407 fi
4408
4409 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4410 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4411
4412 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4413 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4414
4415 # Check whether --with-macosx-version-min was given.
4416 if test "${with_macosx_version_min+set}" = set; then
4417 withval=$with_macosx_version_min;
4418 wxUSE_MACOSX_VERSION_MIN=$withval
4419 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4420
4421 fi
4422
4423 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4424 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4425
4426
4427 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4428 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4429 # Check whether --enable-debug was given.
4430 if test "${enable_debug+set}" = set; then
4431 enableval=$enable_debug;
4432 if test "$enableval" = yes; then
4433 wxUSE_DEBUG=yes
4434 elif test "$enableval" = no; then
4435 wxUSE_DEBUG=no
4436 elif test "$enableval" = max; then
4437 wxUSE_DEBUG=yes
4438 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4439 else
4440 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4441 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4442 { (exit 1); exit 1; }; }
4443 fi
4444
4445 else
4446 wxUSE_DEBUG=default
4447
4448 fi
4449
4450
4451 case "$wxUSE_DEBUG" in
4452 yes)
4453 DEFAULT_wxUSE_DEBUG_FLAG=yes
4454 DEFAULT_wxUSE_DEBUG_INFO=yes
4455
4456 DEFAULT_wxUSE_OPTIMISE=no
4457 ;;
4458
4459 no)
4460 DEFAULT_wxUSE_DEBUG_FLAG=no
4461 DEFAULT_wxUSE_DEBUG_INFO=no
4462 ;;
4463
4464 default)
4465 DEFAULT_wxUSE_DEBUG_FLAG=yes
4466 DEFAULT_wxUSE_DEBUG_INFO=no
4467 ;;
4468 esac
4469
4470
4471 enablestring=disable
4472 defaultval=
4473 if test -z "$defaultval"; then
4474 if test x"$enablestring" = xdisable; then
4475 defaultval=yes
4476 else
4477 defaultval=no
4478 fi
4479 fi
4480
4481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4482 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4483 # Check whether --enable-debug_flag was given.
4484 if test "${enable_debug_flag+set}" = set; then
4485 enableval=$enable_debug_flag;
4486 if test "$enableval" = yes; then
4487 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4488 else
4489 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4490 fi
4491
4492 else
4493
4494 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4495
4496 fi
4497
4498
4499 eval "$wx_cv_use_debug_flag"
4500
4501 if test x"$enablestring" = xdisable; then
4502 if test $wxUSE_DEBUG_FLAG = no; then
4503 result=yes
4504 else
4505 result=no
4506 fi
4507 else
4508 result=$wxUSE_DEBUG_FLAG
4509 fi
4510
4511 { echo "$as_me:$LINENO: result: $result" >&5
4512 echo "${ECHO_T}$result" >&6; }
4513
4514
4515 enablestring=
4516 defaultval=
4517 if test -z "$defaultval"; then
4518 if test x"$enablestring" = xdisable; then
4519 defaultval=yes
4520 else
4521 defaultval=no
4522 fi
4523 fi
4524
4525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4527 # Check whether --enable-debug_info was given.
4528 if test "${enable_debug_info+set}" = set; then
4529 enableval=$enable_debug_info;
4530 if test "$enableval" = yes; then
4531 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4532 else
4533 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4534 fi
4535
4536 else
4537
4538 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4539
4540 fi
4541
4542
4543 eval "$wx_cv_use_debug_info"
4544
4545 if test x"$enablestring" = xdisable; then
4546 if test $wxUSE_DEBUG_INFO = no; then
4547 result=yes
4548 else
4549 result=no
4550 fi
4551 else
4552 result=$wxUSE_DEBUG_INFO
4553 fi
4554
4555 { echo "$as_me:$LINENO: result: $result" >&5
4556 echo "${ECHO_T}$result" >&6; }
4557
4558
4559
4560
4561 enablestring=
4562 defaultval=
4563 if test -z "$defaultval"; then
4564 if test x"$enablestring" = xdisable; then
4565 defaultval=yes
4566 else
4567 defaultval=no
4568 fi
4569 fi
4570
4571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4573 # Check whether --enable-debug_gdb was given.
4574 if test "${enable_debug_gdb+set}" = set; then
4575 enableval=$enable_debug_gdb;
4576 if test "$enableval" = yes; then
4577 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4578 else
4579 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4580 fi
4581
4582 else
4583
4584 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4585
4586 fi
4587
4588
4589 eval "$wx_cv_use_debug_gdb"
4590
4591 if test x"$enablestring" = xdisable; then
4592 if test $wxUSE_DEBUG_GDB = no; then
4593 result=yes
4594 else
4595 result=no
4596 fi
4597 else
4598 result=$wxUSE_DEBUG_GDB
4599 fi
4600
4601 { echo "$as_me:$LINENO: result: $result" >&5
4602 echo "${ECHO_T}$result" >&6; }
4603
4604
4605 enablestring=
4606 defaultval=
4607 if test -z "$defaultval"; then
4608 if test x"$enablestring" = xdisable; then
4609 defaultval=yes
4610 else
4611 defaultval=no
4612 fi
4613 fi
4614
4615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4617 # Check whether --enable-debug_cntxt was given.
4618 if test "${enable_debug_cntxt+set}" = set; then
4619 enableval=$enable_debug_cntxt;
4620 if test "$enableval" = yes; then
4621 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4622 else
4623 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4624 fi
4625
4626 else
4627
4628 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4629
4630 fi
4631
4632
4633 eval "$wx_cv_use_debug_cntxt"
4634
4635 if test x"$enablestring" = xdisable; then
4636 if test $wxUSE_DEBUG_CONTEXT = no; then
4637 result=yes
4638 else
4639 result=no
4640 fi
4641 else
4642 result=$wxUSE_DEBUG_CONTEXT
4643 fi
4644
4645 { echo "$as_me:$LINENO: result: $result" >&5
4646 echo "${ECHO_T}$result" >&6; }
4647
4648
4649 enablestring=
4650 defaultval=
4651 if test -z "$defaultval"; then
4652 if test x"$enablestring" = xdisable; then
4653 defaultval=yes
4654 else
4655 defaultval=no
4656 fi
4657 fi
4658
4659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4660 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4661 # Check whether --enable-mem_tracing was given.
4662 if test "${enable_mem_tracing+set}" = set; then
4663 enableval=$enable_mem_tracing;
4664 if test "$enableval" = yes; then
4665 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4666 else
4667 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4668 fi
4669
4670 else
4671
4672 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4673
4674 fi
4675
4676
4677 eval "$wx_cv_use_mem_tracing"
4678
4679 if test x"$enablestring" = xdisable; then
4680 if test $wxUSE_MEM_TRACING = no; then
4681 result=yes
4682 else
4683 result=no
4684 fi
4685 else
4686 result=$wxUSE_MEM_TRACING
4687 fi
4688
4689 { echo "$as_me:$LINENO: result: $result" >&5
4690 echo "${ECHO_T}$result" >&6; }
4691
4692
4693
4694
4695 enablestring=disable
4696 defaultval=
4697 if test -z "$defaultval"; then
4698 if test x"$enablestring" = xdisable; then
4699 defaultval=yes
4700 else
4701 defaultval=no
4702 fi
4703 fi
4704
4705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4707 # Check whether --enable-shared was given.
4708 if test "${enable_shared+set}" = set; then
4709 enableval=$enable_shared;
4710 if test "$enableval" = yes; then
4711 wx_cv_use_shared='wxUSE_SHARED=yes'
4712 else
4713 wx_cv_use_shared='wxUSE_SHARED=no'
4714 fi
4715
4716 else
4717
4718 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4719
4720 fi
4721
4722
4723 eval "$wx_cv_use_shared"
4724
4725 if test x"$enablestring" = xdisable; then
4726 if test $wxUSE_SHARED = no; then
4727 result=yes
4728 else
4729 result=no
4730 fi
4731 else
4732 result=$wxUSE_SHARED
4733 fi
4734
4735 { echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6; }
4737
4738
4739 enablestring=
4740 defaultval=
4741 if test -z "$defaultval"; then
4742 if test x"$enablestring" = xdisable; then
4743 defaultval=yes
4744 else
4745 defaultval=no
4746 fi
4747 fi
4748
4749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4751 # Check whether --enable-stl was given.
4752 if test "${enable_stl+set}" = set; then
4753 enableval=$enable_stl;
4754 if test "$enableval" = yes; then
4755 wx_cv_use_stl='wxUSE_STL=yes'
4756 else
4757 wx_cv_use_stl='wxUSE_STL=no'
4758 fi
4759
4760 else
4761
4762 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4763
4764 fi
4765
4766
4767 eval "$wx_cv_use_stl"
4768
4769 if test x"$enablestring" = xdisable; then
4770 if test $wxUSE_STL = no; then
4771 result=yes
4772 else
4773 result=no
4774 fi
4775 else
4776 result=$wxUSE_STL
4777 fi
4778
4779 { echo "$as_me:$LINENO: result: $result" >&5
4780 echo "${ECHO_T}$result" >&6; }
4781
4782 if test "$wxUSE_STL" = "yes"; then
4783 DEFAULT_wxUSE_STD_CONTAINERS=yes
4784 DEFAULT_wxUSE_STD_IOSTREAM=yes
4785 DEFAULT_wxUSE_STD_STRING=yes
4786 fi
4787
4788 enablestring=
4789 defaultval=
4790 if test -z "$defaultval"; then
4791 if test x"$enablestring" = xdisable; then
4792 defaultval=yes
4793 else
4794 defaultval=no
4795 fi
4796 fi
4797
4798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4799 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4800 # Check whether --enable-std_containers was given.
4801 if test "${enable_std_containers+set}" = set; then
4802 enableval=$enable_std_containers;
4803 if test "$enableval" = yes; then
4804 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4805 else
4806 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4807 fi
4808
4809 else
4810
4811 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4812
4813 fi
4814
4815
4816 eval "$wx_cv_use_std_containers"
4817
4818 if test x"$enablestring" = xdisable; then
4819 if test $wxUSE_STD_CONTAINERS = no; then
4820 result=yes
4821 else
4822 result=no
4823 fi
4824 else
4825 result=$wxUSE_STD_CONTAINERS
4826 fi
4827
4828 { echo "$as_me:$LINENO: result: $result" >&5
4829 echo "${ECHO_T}$result" >&6; }
4830
4831
4832 enablestring=
4833 defaultval=
4834 if test -z "$defaultval"; then
4835 if test x"$enablestring" = xdisable; then
4836 defaultval=yes
4837 else
4838 defaultval=no
4839 fi
4840 fi
4841
4842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4844 # Check whether --enable-std_iostreams was given.
4845 if test "${enable_std_iostreams+set}" = set; then
4846 enableval=$enable_std_iostreams;
4847 if test "$enableval" = yes; then
4848 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4849 else
4850 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4851 fi
4852
4853 else
4854
4855 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4856
4857 fi
4858
4859
4860 eval "$wx_cv_use_std_iostreams"
4861
4862 if test x"$enablestring" = xdisable; then
4863 if test $wxUSE_STD_IOSTREAM = no; then
4864 result=yes
4865 else
4866 result=no
4867 fi
4868 else
4869 result=$wxUSE_STD_IOSTREAM
4870 fi
4871
4872 { echo "$as_me:$LINENO: result: $result" >&5
4873 echo "${ECHO_T}$result" >&6; }
4874
4875
4876 enablestring=
4877 defaultval=
4878 if test -z "$defaultval"; then
4879 if test x"$enablestring" = xdisable; then
4880 defaultval=yes
4881 else
4882 defaultval=no
4883 fi
4884 fi
4885
4886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4888 # Check whether --enable-std_string was given.
4889 if test "${enable_std_string+set}" = set; then
4890 enableval=$enable_std_string;
4891 if test "$enableval" = yes; then
4892 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4893 else
4894 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4895 fi
4896
4897 else
4898
4899 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4900
4901 fi
4902
4903
4904 eval "$wx_cv_use_std_string"
4905
4906 if test x"$enablestring" = xdisable; then
4907 if test $wxUSE_STD_STRING = no; then
4908 result=yes
4909 else
4910 result=no
4911 fi
4912 else
4913 result=$wxUSE_STD_STRING
4914 fi
4915
4916 { echo "$as_me:$LINENO: result: $result" >&5
4917 echo "${ECHO_T}$result" >&6; }
4918
4919
4920 enablestring=
4921 defaultval=
4922 if test -z "$defaultval"; then
4923 if test x"$enablestring" = xdisable; then
4924 defaultval=yes
4925 else
4926 defaultval=no
4927 fi
4928 fi
4929
4930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4931 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4932 # Check whether --enable-std_string_conv_in_wxstring was given.
4933 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4934 enableval=$enable_std_string_conv_in_wxstring;
4935 if test "$enableval" = yes; then
4936 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4937 else
4938 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4939 fi
4940
4941 else
4942
4943 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4944
4945 fi
4946
4947
4948 eval "$wx_cv_use_std_string_conv_in_wxstring"
4949
4950 if test x"$enablestring" = xdisable; then
4951 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4952 result=yes
4953 else
4954 result=no
4955 fi
4956 else
4957 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4958 fi
4959
4960 { echo "$as_me:$LINENO: result: $result" >&5
4961 echo "${ECHO_T}$result" >&6; }
4962
4963
4964 enablestring=disable
4965 defaultval=
4966 if test -z "$defaultval"; then
4967 if test x"$enablestring" = xdisable; then
4968 defaultval=yes
4969 else
4970 defaultval=no
4971 fi
4972 fi
4973
4974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4975 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4976 # Check whether --enable-unicode was given.
4977 if test "${enable_unicode+set}" = set; then
4978 enableval=$enable_unicode;
4979 if test "$enableval" = yes; then
4980 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4981 else
4982 wx_cv_use_unicode='wxUSE_UNICODE=no'
4983 fi
4984
4985 else
4986
4987 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4988
4989 fi
4990
4991
4992 eval "$wx_cv_use_unicode"
4993
4994 if test x"$enablestring" = xdisable; then
4995 if test $wxUSE_UNICODE = no; then
4996 result=yes
4997 else
4998 result=no
4999 fi
5000 else
5001 result=$wxUSE_UNICODE
5002 fi
5003
5004 { echo "$as_me:$LINENO: result: $result" >&5
5005 echo "${ECHO_T}$result" >&6; }
5006
5007
5008 enablestring=
5009 defaultval=
5010 if test -z "$defaultval"; then
5011 if test x"$enablestring" = xdisable; then
5012 defaultval=yes
5013 else
5014 defaultval=no
5015 fi
5016 fi
5017
5018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5020 # Check whether --enable-mslu was given.
5021 if test "${enable_mslu+set}" = set; then
5022 enableval=$enable_mslu;
5023 if test "$enableval" = yes; then
5024 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5025 else
5026 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5027 fi
5028
5029 else
5030
5031 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5032
5033 fi
5034
5035
5036 eval "$wx_cv_use_mslu"
5037
5038 if test x"$enablestring" = xdisable; then
5039 if test $wxUSE_UNICODE_MSLU = no; then
5040 result=yes
5041 else
5042 result=no
5043 fi
5044 else
5045 result=$wxUSE_UNICODE_MSLU
5046 fi
5047
5048 { echo "$as_me:$LINENO: result: $result" >&5
5049 echo "${ECHO_T}$result" >&6; }
5050
5051
5052 enablestring=
5053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5054 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5055 # Check whether --enable-utf8 was given.
5056 if test "${enable_utf8+set}" = set; then
5057 enableval=$enable_utf8;
5058 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5059
5060 else
5061
5062 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5063
5064 fi
5065
5066
5067 eval "$wx_cv_use_utf8"
5068
5069 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5070 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5071
5072
5073 enablestring=
5074 defaultval=
5075 if test -z "$defaultval"; then
5076 if test x"$enablestring" = xdisable; then
5077 defaultval=yes
5078 else
5079 defaultval=no
5080 fi
5081 fi
5082
5083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5085 # Check whether --enable-utf8only was given.
5086 if test "${enable_utf8only+set}" = set; then
5087 enableval=$enable_utf8only;
5088 if test "$enableval" = yes; then
5089 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5090 else
5091 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5092 fi
5093
5094 else
5095
5096 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5097
5098 fi
5099
5100
5101 eval "$wx_cv_use_utf8only"
5102
5103 if test x"$enablestring" = xdisable; then
5104 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5105 result=yes
5106 else
5107 result=no
5108 fi
5109 else
5110 result=$wxUSE_UNICODE_UTF8_LOCALE
5111 fi
5112
5113 { echo "$as_me:$LINENO: result: $result" >&5
5114 echo "${ECHO_T}$result" >&6; }
5115
5116
5117 enablestring=
5118 defaultval=
5119 if test -z "$defaultval"; then
5120 if test x"$enablestring" = xdisable; then
5121 defaultval=yes
5122 else
5123 defaultval=no
5124 fi
5125 fi
5126
5127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5129 # Check whether --enable-extended_rtti was given.
5130 if test "${enable_extended_rtti+set}" = set; then
5131 enableval=$enable_extended_rtti;
5132 if test "$enableval" = yes; then
5133 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5134 else
5135 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5136 fi
5137
5138 else
5139
5140 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5141
5142 fi
5143
5144
5145 eval "$wx_cv_use_extended_rtti"
5146
5147 if test x"$enablestring" = xdisable; then
5148 if test $wxUSE_EXTENDED_RTTI = no; then
5149 result=yes
5150 else
5151 result=no
5152 fi
5153 else
5154 result=$wxUSE_EXTENDED_RTTI
5155 fi
5156
5157 { echo "$as_me:$LINENO: result: $result" >&5
5158 echo "${ECHO_T}$result" >&6; }
5159
5160 if test "$USE_OS2" = 1; then
5161 DEFAULT_wxUSE_OMF=no
5162
5163 enablestring=
5164 defaultval=
5165 if test -z "$defaultval"; then
5166 if test x"$enablestring" = xdisable; then
5167 defaultval=yes
5168 else
5169 defaultval=no
5170 fi
5171 fi
5172
5173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5175 # Check whether --enable-omf was given.
5176 if test "${enable_omf+set}" = set; then
5177 enableval=$enable_omf;
5178 if test "$enableval" = yes; then
5179 wx_cv_use_omf='wxUSE_OMF=yes'
5180 else
5181 wx_cv_use_omf='wxUSE_OMF=no'
5182 fi
5183
5184 else
5185
5186 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5187
5188 fi
5189
5190
5191 eval "$wx_cv_use_omf"
5192
5193 if test x"$enablestring" = xdisable; then
5194 if test $wxUSE_OMF = no; then
5195 result=yes
5196 else
5197 result=no
5198 fi
5199 else
5200 result=$wxUSE_OMF
5201 fi
5202
5203 { echo "$as_me:$LINENO: result: $result" >&5
5204 echo "${ECHO_T}$result" >&6; }
5205
5206 fi
5207
5208
5209 enablestring=disable
5210 defaultval=
5211 if test -z "$defaultval"; then
5212 if test x"$enablestring" = xdisable; then
5213 defaultval=yes
5214 else
5215 defaultval=no
5216 fi
5217 fi
5218
5219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5221 # Check whether --enable-optimise was given.
5222 if test "${enable_optimise+set}" = set; then
5223 enableval=$enable_optimise;
5224 if test "$enableval" = yes; then
5225 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5226 else
5227 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5228 fi
5229
5230 else
5231
5232 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5233
5234 fi
5235
5236
5237 eval "$wx_cv_use_optimise"
5238
5239 if test x"$enablestring" = xdisable; then
5240 if test $wxUSE_OPTIMISE = no; then
5241 result=yes
5242 else
5243 result=no
5244 fi
5245 else
5246 result=$wxUSE_OPTIMISE
5247 fi
5248
5249 { echo "$as_me:$LINENO: result: $result" >&5
5250 echo "${ECHO_T}$result" >&6; }
5251
5252
5253
5254 enablestring=
5255 defaultval=
5256 if test -z "$defaultval"; then
5257 if test x"$enablestring" = xdisable; then
5258 defaultval=yes
5259 else
5260 defaultval=no
5261 fi
5262 fi
5263
5264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5265 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5266 # Check whether --enable-profile was given.
5267 if test "${enable_profile+set}" = set; then
5268 enableval=$enable_profile;
5269 if test "$enableval" = yes; then
5270 wx_cv_use_profile='wxUSE_PROFILE=yes'
5271 else
5272 wx_cv_use_profile='wxUSE_PROFILE=no'
5273 fi
5274
5275 else
5276
5277 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5278
5279 fi
5280
5281
5282 eval "$wx_cv_use_profile"
5283
5284 if test x"$enablestring" = xdisable; then
5285 if test $wxUSE_PROFILE = no; then
5286 result=yes
5287 else
5288 result=no
5289 fi
5290 else
5291 result=$wxUSE_PROFILE
5292 fi
5293
5294 { echo "$as_me:$LINENO: result: $result" >&5
5295 echo "${ECHO_T}$result" >&6; }
5296
5297
5298 enablestring=
5299 defaultval=
5300 if test -z "$defaultval"; then
5301 if test x"$enablestring" = xdisable; then
5302 defaultval=yes
5303 else
5304 defaultval=no
5305 fi
5306 fi
5307
5308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5309 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5310 # Check whether --enable-no_rtti was given.
5311 if test "${enable_no_rtti+set}" = set; then
5312 enableval=$enable_no_rtti;
5313 if test "$enableval" = yes; then
5314 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5315 else
5316 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5317 fi
5318
5319 else
5320
5321 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5322
5323 fi
5324
5325
5326 eval "$wx_cv_use_no_rtti"
5327
5328 if test x"$enablestring" = xdisable; then
5329 if test $wxUSE_NO_RTTI = no; then
5330 result=yes
5331 else
5332 result=no
5333 fi
5334 else
5335 result=$wxUSE_NO_RTTI
5336 fi
5337
5338 { echo "$as_me:$LINENO: result: $result" >&5
5339 echo "${ECHO_T}$result" >&6; }
5340
5341
5342 enablestring=
5343 defaultval=
5344 if test -z "$defaultval"; then
5345 if test x"$enablestring" = xdisable; then
5346 defaultval=yes
5347 else
5348 defaultval=no
5349 fi
5350 fi
5351
5352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5354 # Check whether --enable-no_exceptions was given.
5355 if test "${enable_no_exceptions+set}" = set; then
5356 enableval=$enable_no_exceptions;
5357 if test "$enableval" = yes; then
5358 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5359 else
5360 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5361 fi
5362
5363 else
5364
5365 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5366
5367 fi
5368
5369
5370 eval "$wx_cv_use_no_exceptions"
5371
5372 if test x"$enablestring" = xdisable; then
5373 if test $wxUSE_NO_EXCEPTIONS = no; then
5374 result=yes
5375 else
5376 result=no
5377 fi
5378 else
5379 result=$wxUSE_NO_EXCEPTIONS
5380 fi
5381
5382 { echo "$as_me:$LINENO: result: $result" >&5
5383 echo "${ECHO_T}$result" >&6; }
5384
5385
5386 enablestring=
5387 defaultval=
5388 if test -z "$defaultval"; then
5389 if test x"$enablestring" = xdisable; then
5390 defaultval=yes
5391 else
5392 defaultval=no
5393 fi
5394 fi
5395
5396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5398 # Check whether --enable-permissive was given.
5399 if test "${enable_permissive+set}" = set; then
5400 enableval=$enable_permissive;
5401 if test "$enableval" = yes; then
5402 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5403 else
5404 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5405 fi
5406
5407 else
5408
5409 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5410
5411 fi
5412
5413
5414 eval "$wx_cv_use_permissive"
5415
5416 if test x"$enablestring" = xdisable; then
5417 if test $wxUSE_PERMISSIVE = no; then
5418 result=yes
5419 else
5420 result=no
5421 fi
5422 else
5423 result=$wxUSE_PERMISSIVE
5424 fi
5425
5426 { echo "$as_me:$LINENO: result: $result" >&5
5427 echo "${ECHO_T}$result" >&6; }
5428
5429
5430 enablestring=
5431 defaultval=
5432 if test -z "$defaultval"; then
5433 if test x"$enablestring" = xdisable; then
5434 defaultval=yes
5435 else
5436 defaultval=no
5437 fi
5438 fi
5439
5440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5442 # Check whether --enable-no_deps was given.
5443 if test "${enable_no_deps+set}" = set; then
5444 enableval=$enable_no_deps;
5445 if test "$enableval" = yes; then
5446 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5447 else
5448 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5449 fi
5450
5451 else
5452
5453 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5454
5455 fi
5456
5457
5458 eval "$wx_cv_use_no_deps"
5459
5460 if test x"$enablestring" = xdisable; then
5461 if test $wxUSE_NO_DEPS = no; then
5462 result=yes
5463 else
5464 result=no
5465 fi
5466 else
5467 result=$wxUSE_NO_DEPS
5468 fi
5469
5470 { echo "$as_me:$LINENO: result: $result" >&5
5471 echo "${ECHO_T}$result" >&6; }
5472
5473
5474 enablestring=disable
5475 defaultval=
5476 if test -z "$defaultval"; then
5477 if test x"$enablestring" = xdisable; then
5478 defaultval=yes
5479 else
5480 defaultval=no
5481 fi
5482 fi
5483
5484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5486 # Check whether --enable-vararg_macros was given.
5487 if test "${enable_vararg_macros+set}" = set; then
5488 enableval=$enable_vararg_macros;
5489 if test "$enableval" = yes; then
5490 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5491 else
5492 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5493 fi
5494
5495 else
5496
5497 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5498
5499 fi
5500
5501
5502 eval "$wx_cv_use_vararg_macros"
5503
5504 if test x"$enablestring" = xdisable; then
5505 if test $wxUSE_VARARG_MACROS = no; then
5506 result=yes
5507 else
5508 result=no
5509 fi
5510 else
5511 result=$wxUSE_VARARG_MACROS
5512 fi
5513
5514 { echo "$as_me:$LINENO: result: $result" >&5
5515 echo "${ECHO_T}$result" >&6; }
5516
5517
5518
5519 enablestring=
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5522 # Check whether --enable-universal_binary was given.
5523 if test "${enable_universal_binary+set}" = set; then
5524 enableval=$enable_universal_binary;
5525 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5526
5527 else
5528
5529 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5530
5531 fi
5532
5533
5534 eval "$wx_cv_use_universal_binary"
5535
5536 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5537 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5538
5539
5540 enablestring=
5541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5542 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5543 # Check whether --enable-macosx_arch was given.
5544 if test "${enable_macosx_arch+set}" = set; then
5545 enableval=$enable_macosx_arch;
5546 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5547
5548 else
5549
5550 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5551
5552 fi
5553
5554
5555 eval "$wx_cv_use_macosx_arch"
5556
5557 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5558 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5559
5560
5561
5562 enablestring=
5563 defaultval=
5564 if test -z "$defaultval"; then
5565 if test x"$enablestring" = xdisable; then
5566 defaultval=yes
5567 else
5568 defaultval=no
5569 fi
5570 fi
5571
5572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5574 # Check whether --enable-compat26 was given.
5575 if test "${enable_compat26+set}" = set; then
5576 enableval=$enable_compat26;
5577 if test "$enableval" = yes; then
5578 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5579 else
5580 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5581 fi
5582
5583 else
5584
5585 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5586
5587 fi
5588
5589
5590 eval "$wx_cv_use_compat26"
5591
5592 if test x"$enablestring" = xdisable; then
5593 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5594 result=yes
5595 else
5596 result=no
5597 fi
5598 else
5599 result=$WXWIN_COMPATIBILITY_2_6
5600 fi
5601
5602 { echo "$as_me:$LINENO: result: $result" >&5
5603 echo "${ECHO_T}$result" >&6; }
5604
5605
5606 enablestring=disable
5607 defaultval=
5608 if test -z "$defaultval"; then
5609 if test x"$enablestring" = xdisable; then
5610 defaultval=yes
5611 else
5612 defaultval=no
5613 fi
5614 fi
5615
5616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5618 # Check whether --enable-compat28 was given.
5619 if test "${enable_compat28+set}" = set; then
5620 enableval=$enable_compat28;
5621 if test "$enableval" = yes; then
5622 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5623 else
5624 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5625 fi
5626
5627 else
5628
5629 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5630
5631 fi
5632
5633
5634 eval "$wx_cv_use_compat28"
5635
5636 if test x"$enablestring" = xdisable; then
5637 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5638 result=yes
5639 else
5640 result=no
5641 fi
5642 else
5643 result=$WXWIN_COMPATIBILITY_2_8
5644 fi
5645
5646 { echo "$as_me:$LINENO: result: $result" >&5
5647 echo "${ECHO_T}$result" >&6; }
5648
5649
5650
5651 enablestring=disable
5652 defaultval=
5653 if test -z "$defaultval"; then
5654 if test x"$enablestring" = xdisable; then
5655 defaultval=yes
5656 else
5657 defaultval=no
5658 fi
5659 fi
5660
5661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5662 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5663 # Check whether --enable-rpath was given.
5664 if test "${enable_rpath+set}" = set; then
5665 enableval=$enable_rpath;
5666 if test "$enableval" = yes; then
5667 wx_cv_use_rpath='wxUSE_RPATH=yes'
5668 else
5669 wx_cv_use_rpath='wxUSE_RPATH=no'
5670 fi
5671
5672 else
5673
5674 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5675
5676 fi
5677
5678
5679 eval "$wx_cv_use_rpath"
5680
5681 if test x"$enablestring" = xdisable; then
5682 if test $wxUSE_RPATH = no; then
5683 result=yes
5684 else
5685 result=no
5686 fi
5687 else
5688 result=$wxUSE_RPATH
5689 fi
5690
5691 { echo "$as_me:$LINENO: result: $result" >&5
5692 echo "${ECHO_T}$result" >&6; }
5693
5694
5695
5696 enablestring=
5697 defaultval=
5698 if test -z "$defaultval"; then
5699 if test x"$enablestring" = xdisable; then
5700 defaultval=yes
5701 else
5702 defaultval=no
5703 fi
5704 fi
5705
5706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5707 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5708 # Check whether --enable-objc_uniquifying was given.
5709 if test "${enable_objc_uniquifying+set}" = set; then
5710 enableval=$enable_objc_uniquifying;
5711 if test "$enableval" = yes; then
5712 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5713 else
5714 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5715 fi
5716
5717 else
5718
5719 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5720
5721 fi
5722
5723
5724 eval "$wx_cv_use_objc_uniquifying"
5725
5726 if test x"$enablestring" = xdisable; then
5727 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5728 result=yes
5729 else
5730 result=no
5731 fi
5732 else
5733 result=$wxUSE_OBJC_UNIQUIFYING
5734 fi
5735
5736 { echo "$as_me:$LINENO: result: $result" >&5
5737 echo "${ECHO_T}$result" >&6; }
5738
5739
5740
5741 enablestring=disable
5742 defaultval=
5743 if test -z "$defaultval"; then
5744 if test x"$enablestring" = xdisable; then
5745 defaultval=yes
5746 else
5747 defaultval=no
5748 fi
5749 fi
5750
5751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5752 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5753 # Check whether --enable-visibility was given.
5754 if test "${enable_visibility+set}" = set; then
5755 enableval=$enable_visibility;
5756 if test "$enableval" = yes; then
5757 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5758 else
5759 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5760 fi
5761
5762 else
5763
5764 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5765
5766 fi
5767
5768
5769 eval "$wx_cv_use_visibility"
5770
5771 if test x"$enablestring" = xdisable; then
5772 if test $wxUSE_VISIBILITY = no; then
5773 result=yes
5774 else
5775 result=no
5776 fi
5777 else
5778 result=$wxUSE_VISIBILITY
5779 fi
5780
5781 { echo "$as_me:$LINENO: result: $result" >&5
5782 echo "${ECHO_T}$result" >&6; }
5783
5784
5785 enablestring=disable
5786 defaultval=
5787 if test -z "$defaultval"; then
5788 if test x"$enablestring" = xdisable; then
5789 defaultval=yes
5790 else
5791 defaultval=no
5792 fi
5793 fi
5794
5795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5796 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5797 # Check whether --enable-tls was given.
5798 if test "${enable_tls+set}" = set; then
5799 enableval=$enable_tls;
5800 if test "$enableval" = yes; then
5801 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5802 else
5803 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5804 fi
5805
5806 else
5807
5808 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5809
5810 fi
5811
5812
5813 eval "$wx_cv_use_tls"
5814
5815 if test x"$enablestring" = xdisable; then
5816 if test $wxUSE_COMPILER_TLS = no; then
5817 result=yes
5818 else
5819 result=no
5820 fi
5821 else
5822 result=$wxUSE_COMPILER_TLS
5823 fi
5824
5825 { echo "$as_me:$LINENO: result: $result" >&5
5826 echo "${ECHO_T}$result" >&6; }
5827
5828
5829
5830
5831 enablestring=
5832 defaultval=$wxUSE_ALL_FEATURES
5833 if test -z "$defaultval"; then
5834 if test x"$enablestring" = xdisable; then
5835 defaultval=yes
5836 else
5837 defaultval=no
5838 fi
5839 fi
5840
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5843 # Check whether --enable-intl was given.
5844 if test "${enable_intl+set}" = set; then
5845 enableval=$enable_intl;
5846 if test "$enableval" = yes; then
5847 wx_cv_use_intl='wxUSE_INTL=yes'
5848 else
5849 wx_cv_use_intl='wxUSE_INTL=no'
5850 fi
5851
5852 else
5853
5854 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5855
5856 fi
5857
5858
5859 eval "$wx_cv_use_intl"
5860
5861 if test x"$enablestring" = xdisable; then
5862 if test $wxUSE_INTL = no; then
5863 result=yes
5864 else
5865 result=no
5866 fi
5867 else
5868 result=$wxUSE_INTL
5869 fi
5870
5871 { echo "$as_me:$LINENO: result: $result" >&5
5872 echo "${ECHO_T}$result" >&6; }
5873
5874
5875 enablestring=
5876 defaultval=$wxUSE_ALL_FEATURES
5877 if test -z "$defaultval"; then
5878 if test x"$enablestring" = xdisable; then
5879 defaultval=yes
5880 else
5881 defaultval=no
5882 fi
5883 fi
5884
5885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5887 # Check whether --enable-xlocale was given.
5888 if test "${enable_xlocale+set}" = set; then
5889 enableval=$enable_xlocale;
5890 if test "$enableval" = yes; then
5891 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5892 else
5893 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5894 fi
5895
5896 else
5897
5898 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5899
5900 fi
5901
5902
5903 eval "$wx_cv_use_xlocale"
5904
5905 if test x"$enablestring" = xdisable; then
5906 if test $wxUSE_XLOCALE = no; then
5907 result=yes
5908 else
5909 result=no
5910 fi
5911 else
5912 result=$wxUSE_XLOCALE
5913 fi
5914
5915 { echo "$as_me:$LINENO: result: $result" >&5
5916 echo "${ECHO_T}$result" >&6; }
5917
5918
5919 enablestring=
5920 defaultval=$wxUSE_ALL_FEATURES
5921 if test -z "$defaultval"; then
5922 if test x"$enablestring" = xdisable; then
5923 defaultval=yes
5924 else
5925 defaultval=no
5926 fi
5927 fi
5928
5929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5931 # Check whether --enable-config was given.
5932 if test "${enable_config+set}" = set; then
5933 enableval=$enable_config;
5934 if test "$enableval" = yes; then
5935 wx_cv_use_config='wxUSE_CONFIG=yes'
5936 else
5937 wx_cv_use_config='wxUSE_CONFIG=no'
5938 fi
5939
5940 else
5941
5942 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5943
5944 fi
5945
5946
5947 eval "$wx_cv_use_config"
5948
5949 if test x"$enablestring" = xdisable; then
5950 if test $wxUSE_CONFIG = no; then
5951 result=yes
5952 else
5953 result=no
5954 fi
5955 else
5956 result=$wxUSE_CONFIG
5957 fi
5958
5959 { echo "$as_me:$LINENO: result: $result" >&5
5960 echo "${ECHO_T}$result" >&6; }
5961
5962
5963
5964 enablestring=
5965 defaultval=$wxUSE_ALL_FEATURES
5966 if test -z "$defaultval"; then
5967 if test x"$enablestring" = xdisable; then
5968 defaultval=yes
5969 else
5970 defaultval=no
5971 fi
5972 fi
5973
5974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5976 # Check whether --enable-protocols was given.
5977 if test "${enable_protocols+set}" = set; then
5978 enableval=$enable_protocols;
5979 if test "$enableval" = yes; then
5980 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5981 else
5982 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5983 fi
5984
5985 else
5986
5987 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5988
5989 fi
5990
5991
5992 eval "$wx_cv_use_protocols"
5993
5994 if test x"$enablestring" = xdisable; then
5995 if test $wxUSE_PROTOCOL = no; then
5996 result=yes
5997 else
5998 result=no
5999 fi
6000 else
6001 result=$wxUSE_PROTOCOL
6002 fi
6003
6004 { echo "$as_me:$LINENO: result: $result" >&5
6005 echo "${ECHO_T}$result" >&6; }
6006
6007
6008 enablestring=
6009 defaultval=$wxUSE_ALL_FEATURES
6010 if test -z "$defaultval"; then
6011 if test x"$enablestring" = xdisable; then
6012 defaultval=yes
6013 else
6014 defaultval=no
6015 fi
6016 fi
6017
6018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6019 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6020 # Check whether --enable-ftp was given.
6021 if test "${enable_ftp+set}" = set; then
6022 enableval=$enable_ftp;
6023 if test "$enableval" = yes; then
6024 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6025 else
6026 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6027 fi
6028
6029 else
6030
6031 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6032
6033 fi
6034
6035
6036 eval "$wx_cv_use_ftp"
6037
6038 if test x"$enablestring" = xdisable; then
6039 if test $wxUSE_PROTOCOL_FTP = no; then
6040 result=yes
6041 else
6042 result=no
6043 fi
6044 else
6045 result=$wxUSE_PROTOCOL_FTP
6046 fi
6047
6048 { echo "$as_me:$LINENO: result: $result" >&5
6049 echo "${ECHO_T}$result" >&6; }
6050
6051
6052 enablestring=
6053 defaultval=$wxUSE_ALL_FEATURES
6054 if test -z "$defaultval"; then
6055 if test x"$enablestring" = xdisable; then
6056 defaultval=yes
6057 else
6058 defaultval=no
6059 fi
6060 fi
6061
6062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6064 # Check whether --enable-http was given.
6065 if test "${enable_http+set}" = set; then
6066 enableval=$enable_http;
6067 if test "$enableval" = yes; then
6068 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6069 else
6070 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6071 fi
6072
6073 else
6074
6075 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6076
6077 fi
6078
6079
6080 eval "$wx_cv_use_http"
6081
6082 if test x"$enablestring" = xdisable; then
6083 if test $wxUSE_PROTOCOL_HTTP = no; then
6084 result=yes
6085 else
6086 result=no
6087 fi
6088 else
6089 result=$wxUSE_PROTOCOL_HTTP
6090 fi
6091
6092 { echo "$as_me:$LINENO: result: $result" >&5
6093 echo "${ECHO_T}$result" >&6; }
6094
6095
6096 enablestring=
6097 defaultval=$wxUSE_ALL_FEATURES
6098 if test -z "$defaultval"; then
6099 if test x"$enablestring" = xdisable; then
6100 defaultval=yes
6101 else
6102 defaultval=no
6103 fi
6104 fi
6105
6106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6107 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6108 # Check whether --enable-fileproto was given.
6109 if test "${enable_fileproto+set}" = set; then
6110 enableval=$enable_fileproto;
6111 if test "$enableval" = yes; then
6112 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6113 else
6114 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6115 fi
6116
6117 else
6118
6119 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6120
6121 fi
6122
6123
6124 eval "$wx_cv_use_fileproto"
6125
6126 if test x"$enablestring" = xdisable; then
6127 if test $wxUSE_PROTOCOL_FILE = no; then
6128 result=yes
6129 else
6130 result=no
6131 fi
6132 else
6133 result=$wxUSE_PROTOCOL_FILE
6134 fi
6135
6136 { echo "$as_me:$LINENO: result: $result" >&5
6137 echo "${ECHO_T}$result" >&6; }
6138
6139
6140 enablestring=
6141 defaultval=$wxUSE_ALL_FEATURES
6142 if test -z "$defaultval"; then
6143 if test x"$enablestring" = xdisable; then
6144 defaultval=yes
6145 else
6146 defaultval=no
6147 fi
6148 fi
6149
6150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6151 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6152 # Check whether --enable-sockets was given.
6153 if test "${enable_sockets+set}" = set; then
6154 enableval=$enable_sockets;
6155 if test "$enableval" = yes; then
6156 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6157 else
6158 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6159 fi
6160
6161 else
6162
6163 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6164
6165 fi
6166
6167
6168 eval "$wx_cv_use_sockets"
6169
6170 if test x"$enablestring" = xdisable; then
6171 if test $wxUSE_SOCKETS = no; then
6172 result=yes
6173 else
6174 result=no
6175 fi
6176 else
6177 result=$wxUSE_SOCKETS
6178 fi
6179
6180 { echo "$as_me:$LINENO: result: $result" >&5
6181 echo "${ECHO_T}$result" >&6; }
6182
6183
6184 enablestring=
6185 defaultval=$wxUSE_ALL_FEATURES
6186 if test -z "$defaultval"; then
6187 if test x"$enablestring" = xdisable; then
6188 defaultval=yes
6189 else
6190 defaultval=no
6191 fi
6192 fi
6193
6194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6195 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6196 # Check whether --enable-ipv6 was given.
6197 if test "${enable_ipv6+set}" = set; then
6198 enableval=$enable_ipv6;
6199 if test "$enableval" = yes; then
6200 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6201 else
6202 wx_cv_use_ipv6='wxUSE_IPV6=no'
6203 fi
6204
6205 else
6206
6207 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6208
6209 fi
6210
6211
6212 eval "$wx_cv_use_ipv6"
6213
6214 if test x"$enablestring" = xdisable; then
6215 if test $wxUSE_IPV6 = no; then
6216 result=yes
6217 else
6218 result=no
6219 fi
6220 else
6221 result=$wxUSE_IPV6
6222 fi
6223
6224 { echo "$as_me:$LINENO: result: $result" >&5
6225 echo "${ECHO_T}$result" >&6; }
6226
6227
6228 enablestring=
6229 defaultval=$wxUSE_ALL_FEATURES
6230 if test -z "$defaultval"; then
6231 if test x"$enablestring" = xdisable; then
6232 defaultval=yes
6233 else
6234 defaultval=no
6235 fi
6236 fi
6237
6238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6239 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6240 # Check whether --enable-ole was given.
6241 if test "${enable_ole+set}" = set; then
6242 enableval=$enable_ole;
6243 if test "$enableval" = yes; then
6244 wx_cv_use_ole='wxUSE_OLE=yes'
6245 else
6246 wx_cv_use_ole='wxUSE_OLE=no'
6247 fi
6248
6249 else
6250
6251 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6252
6253 fi
6254
6255
6256 eval "$wx_cv_use_ole"
6257
6258 if test x"$enablestring" = xdisable; then
6259 if test $wxUSE_OLE = no; then
6260 result=yes
6261 else
6262 result=no
6263 fi
6264 else
6265 result=$wxUSE_OLE
6266 fi
6267
6268 { echo "$as_me:$LINENO: result: $result" >&5
6269 echo "${ECHO_T}$result" >&6; }
6270
6271
6272 enablestring=
6273 defaultval=$wxUSE_ALL_FEATURES
6274 if test -z "$defaultval"; then
6275 if test x"$enablestring" = xdisable; then
6276 defaultval=yes
6277 else
6278 defaultval=no
6279 fi
6280 fi
6281
6282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6284 # Check whether --enable-dataobj was given.
6285 if test "${enable_dataobj+set}" = set; then
6286 enableval=$enable_dataobj;
6287 if test "$enableval" = yes; then
6288 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6289 else
6290 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6291 fi
6292
6293 else
6294
6295 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6296
6297 fi
6298
6299
6300 eval "$wx_cv_use_dataobj"
6301
6302 if test x"$enablestring" = xdisable; then
6303 if test $wxUSE_DATAOBJ = no; then
6304 result=yes
6305 else
6306 result=no
6307 fi
6308 else
6309 result=$wxUSE_DATAOBJ
6310 fi
6311
6312 { echo "$as_me:$LINENO: result: $result" >&5
6313 echo "${ECHO_T}$result" >&6; }
6314
6315
6316
6317 enablestring=
6318 defaultval=$wxUSE_ALL_FEATURES
6319 if test -z "$defaultval"; then
6320 if test x"$enablestring" = xdisable; then
6321 defaultval=yes
6322 else
6323 defaultval=no
6324 fi
6325 fi
6326
6327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6328 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6329 # Check whether --enable-ipc was given.
6330 if test "${enable_ipc+set}" = set; then
6331 enableval=$enable_ipc;
6332 if test "$enableval" = yes; then
6333 wx_cv_use_ipc='wxUSE_IPC=yes'
6334 else
6335 wx_cv_use_ipc='wxUSE_IPC=no'
6336 fi
6337
6338 else
6339
6340 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6341
6342 fi
6343
6344
6345 eval "$wx_cv_use_ipc"
6346
6347 if test x"$enablestring" = xdisable; then
6348 if test $wxUSE_IPC = no; then
6349 result=yes
6350 else
6351 result=no
6352 fi
6353 else
6354 result=$wxUSE_IPC
6355 fi
6356
6357 { echo "$as_me:$LINENO: result: $result" >&5
6358 echo "${ECHO_T}$result" >&6; }
6359
6360
6361
6362 enablestring=
6363 defaultval=$wxUSE_ALL_FEATURES
6364 if test -z "$defaultval"; then
6365 if test x"$enablestring" = xdisable; then
6366 defaultval=yes
6367 else
6368 defaultval=no
6369 fi
6370 fi
6371
6372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6374 # Check whether --enable-baseevtloop was given.
6375 if test "${enable_baseevtloop+set}" = set; then
6376 enableval=$enable_baseevtloop;
6377 if test "$enableval" = yes; then
6378 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6379 else
6380 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6381 fi
6382
6383 else
6384
6385 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6386
6387 fi
6388
6389
6390 eval "$wx_cv_use_baseevtloop"
6391
6392 if test x"$enablestring" = xdisable; then
6393 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6394 result=yes
6395 else
6396 result=no
6397 fi
6398 else
6399 result=$wxUSE_CONSOLE_EVENTLOOP
6400 fi
6401
6402 { echo "$as_me:$LINENO: result: $result" >&5
6403 echo "${ECHO_T}$result" >&6; }
6404
6405
6406 enablestring=
6407 defaultval=$wxUSE_ALL_FEATURES
6408 if test -z "$defaultval"; then
6409 if test x"$enablestring" = xdisable; then
6410 defaultval=yes
6411 else
6412 defaultval=no
6413 fi
6414 fi
6415
6416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6418 # Check whether --enable-epollloop was given.
6419 if test "${enable_epollloop+set}" = set; then
6420 enableval=$enable_epollloop;
6421 if test "$enableval" = yes; then
6422 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6423 else
6424 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6425 fi
6426
6427 else
6428
6429 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6430
6431 fi
6432
6433
6434 eval "$wx_cv_use_epollloop"
6435
6436 if test x"$enablestring" = xdisable; then
6437 if test $wxUSE_EPOLL_DISPATCHER = no; then
6438 result=yes
6439 else
6440 result=no
6441 fi
6442 else
6443 result=$wxUSE_EPOLL_DISPATCHER
6444 fi
6445
6446 { echo "$as_me:$LINENO: result: $result" >&5
6447 echo "${ECHO_T}$result" >&6; }
6448
6449
6450 enablestring=
6451 defaultval=$wxUSE_ALL_FEATURES
6452 if test -z "$defaultval"; then
6453 if test x"$enablestring" = xdisable; then
6454 defaultval=yes
6455 else
6456 defaultval=no
6457 fi
6458 fi
6459
6460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6462 # Check whether --enable-selectloop was given.
6463 if test "${enable_selectloop+set}" = set; then
6464 enableval=$enable_selectloop;
6465 if test "$enableval" = yes; then
6466 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6467 else
6468 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6469 fi
6470
6471 else
6472
6473 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6474
6475 fi
6476
6477
6478 eval "$wx_cv_use_selectloop"
6479
6480 if test x"$enablestring" = xdisable; then
6481 if test $wxUSE_SELECT_DISPATCHER = no; then
6482 result=yes
6483 else
6484 result=no
6485 fi
6486 else
6487 result=$wxUSE_SELECT_DISPATCHER
6488 fi
6489
6490 { echo "$as_me:$LINENO: result: $result" >&5
6491 echo "${ECHO_T}$result" >&6; }
6492
6493
6494
6495 enablestring=
6496 defaultval=$wxUSE_ALL_FEATURES
6497 if test -z "$defaultval"; then
6498 if test x"$enablestring" = xdisable; then
6499 defaultval=yes
6500 else
6501 defaultval=no
6502 fi
6503 fi
6504
6505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6506 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6507 # Check whether --enable-any was given.
6508 if test "${enable_any+set}" = set; then
6509 enableval=$enable_any;
6510 if test "$enableval" = yes; then
6511 wx_cv_use_any='wxUSE_ANY=yes'
6512 else
6513 wx_cv_use_any='wxUSE_ANY=no'
6514 fi
6515
6516 else
6517
6518 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6519
6520 fi
6521
6522
6523 eval "$wx_cv_use_any"
6524
6525 if test x"$enablestring" = xdisable; then
6526 if test $wxUSE_ANY = no; then
6527 result=yes
6528 else
6529 result=no
6530 fi
6531 else
6532 result=$wxUSE_ANY
6533 fi
6534
6535 { echo "$as_me:$LINENO: result: $result" >&5
6536 echo "${ECHO_T}$result" >&6; }
6537
6538
6539 enablestring=
6540 defaultval=$wxUSE_ALL_FEATURES
6541 if test -z "$defaultval"; then
6542 if test x"$enablestring" = xdisable; then
6543 defaultval=yes
6544 else
6545 defaultval=no
6546 fi
6547 fi
6548
6549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6551 # Check whether --enable-apple_ieee was given.
6552 if test "${enable_apple_ieee+set}" = set; then
6553 enableval=$enable_apple_ieee;
6554 if test "$enableval" = yes; then
6555 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6556 else
6557 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6558 fi
6559
6560 else
6561
6562 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6563
6564 fi
6565
6566
6567 eval "$wx_cv_use_apple_ieee"
6568
6569 if test x"$enablestring" = xdisable; then
6570 if test $wxUSE_APPLE_IEEE = no; then
6571 result=yes
6572 else
6573 result=no
6574 fi
6575 else
6576 result=$wxUSE_APPLE_IEEE
6577 fi
6578
6579 { echo "$as_me:$LINENO: result: $result" >&5
6580 echo "${ECHO_T}$result" >&6; }
6581
6582
6583 enablestring=
6584 defaultval=$wxUSE_ALL_FEATURES
6585 if test -z "$defaultval"; then
6586 if test x"$enablestring" = xdisable; then
6587 defaultval=yes
6588 else
6589 defaultval=no
6590 fi
6591 fi
6592
6593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6595 # Check whether --enable-arcstream was given.
6596 if test "${enable_arcstream+set}" = set; then
6597 enableval=$enable_arcstream;
6598 if test "$enableval" = yes; then
6599 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6600 else
6601 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6602 fi
6603
6604 else
6605
6606 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6607
6608 fi
6609
6610
6611 eval "$wx_cv_use_arcstream"
6612
6613 if test x"$enablestring" = xdisable; then
6614 if test $wxUSE_ARCHIVE_STREAMS = no; then
6615 result=yes
6616 else
6617 result=no
6618 fi
6619 else
6620 result=$wxUSE_ARCHIVE_STREAMS
6621 fi
6622
6623 { echo "$as_me:$LINENO: result: $result" >&5
6624 echo "${ECHO_T}$result" >&6; }
6625
6626
6627 enablestring=
6628 defaultval=$wxUSE_ALL_FEATURES
6629 if test -z "$defaultval"; then
6630 if test x"$enablestring" = xdisable; then
6631 defaultval=yes
6632 else
6633 defaultval=no
6634 fi
6635 fi
6636
6637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6639 # Check whether --enable-base64 was given.
6640 if test "${enable_base64+set}" = set; then
6641 enableval=$enable_base64;
6642 if test "$enableval" = yes; then
6643 wx_cv_use_base64='wxUSE_BASE64=yes'
6644 else
6645 wx_cv_use_base64='wxUSE_BASE64=no'
6646 fi
6647
6648 else
6649
6650 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6651
6652 fi
6653
6654
6655 eval "$wx_cv_use_base64"
6656
6657 if test x"$enablestring" = xdisable; then
6658 if test $wxUSE_BASE64 = no; then
6659 result=yes
6660 else
6661 result=no
6662 fi
6663 else
6664 result=$wxUSE_BASE64
6665 fi
6666
6667 { echo "$as_me:$LINENO: result: $result" >&5
6668 echo "${ECHO_T}$result" >&6; }
6669
6670
6671 enablestring=
6672 defaultval=$wxUSE_ALL_FEATURES
6673 if test -z "$defaultval"; then
6674 if test x"$enablestring" = xdisable; then
6675 defaultval=yes
6676 else
6677 defaultval=no
6678 fi
6679 fi
6680
6681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6683 # Check whether --enable-backtrace was given.
6684 if test "${enable_backtrace+set}" = set; then
6685 enableval=$enable_backtrace;
6686 if test "$enableval" = yes; then
6687 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6688 else
6689 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6690 fi
6691
6692 else
6693
6694 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6695
6696 fi
6697
6698
6699 eval "$wx_cv_use_backtrace"
6700
6701 if test x"$enablestring" = xdisable; then
6702 if test $wxUSE_STACKWALKER = no; then
6703 result=yes
6704 else
6705 result=no
6706 fi
6707 else
6708 result=$wxUSE_STACKWALKER
6709 fi
6710
6711 { echo "$as_me:$LINENO: result: $result" >&5
6712 echo "${ECHO_T}$result" >&6; }
6713
6714
6715 enablestring=
6716 defaultval=$wxUSE_ALL_FEATURES
6717 if test -z "$defaultval"; then
6718 if test x"$enablestring" = xdisable; then
6719 defaultval=yes
6720 else
6721 defaultval=no
6722 fi
6723 fi
6724
6725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6727 # Check whether --enable-catch_segvs was given.
6728 if test "${enable_catch_segvs+set}" = set; then
6729 enableval=$enable_catch_segvs;
6730 if test "$enableval" = yes; then
6731 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6732 else
6733 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6734 fi
6735
6736 else
6737
6738 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6739
6740 fi
6741
6742
6743 eval "$wx_cv_use_catch_segvs"
6744
6745 if test x"$enablestring" = xdisable; then
6746 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6747 result=yes
6748 else
6749 result=no
6750 fi
6751 else
6752 result=$wxUSE_ON_FATAL_EXCEPTION
6753 fi
6754
6755 { echo "$as_me:$LINENO: result: $result" >&5
6756 echo "${ECHO_T}$result" >&6; }
6757
6758
6759 enablestring=
6760 defaultval=$wxUSE_ALL_FEATURES
6761 if test -z "$defaultval"; then
6762 if test x"$enablestring" = xdisable; then
6763 defaultval=yes
6764 else
6765 defaultval=no
6766 fi
6767 fi
6768
6769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6771 # Check whether --enable-cmdline was given.
6772 if test "${enable_cmdline+set}" = set; then
6773 enableval=$enable_cmdline;
6774 if test "$enableval" = yes; then
6775 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6776 else
6777 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6778 fi
6779
6780 else
6781
6782 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6783
6784 fi
6785
6786
6787 eval "$wx_cv_use_cmdline"
6788
6789 if test x"$enablestring" = xdisable; then
6790 if test $wxUSE_CMDLINE_PARSER = no; then
6791 result=yes
6792 else
6793 result=no
6794 fi
6795 else
6796 result=$wxUSE_CMDLINE_PARSER
6797 fi
6798
6799 { echo "$as_me:$LINENO: result: $result" >&5
6800 echo "${ECHO_T}$result" >&6; }
6801
6802
6803 enablestring=
6804 defaultval=$wxUSE_ALL_FEATURES
6805 if test -z "$defaultval"; then
6806 if test x"$enablestring" = xdisable; then
6807 defaultval=yes
6808 else
6809 defaultval=no
6810 fi
6811 fi
6812
6813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6814 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6815 # Check whether --enable-datetime was given.
6816 if test "${enable_datetime+set}" = set; then
6817 enableval=$enable_datetime;
6818 if test "$enableval" = yes; then
6819 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6820 else
6821 wx_cv_use_datetime='wxUSE_DATETIME=no'
6822 fi
6823
6824 else
6825
6826 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6827
6828 fi
6829
6830
6831 eval "$wx_cv_use_datetime"
6832
6833 if test x"$enablestring" = xdisable; then
6834 if test $wxUSE_DATETIME = no; then
6835 result=yes
6836 else
6837 result=no
6838 fi
6839 else
6840 result=$wxUSE_DATETIME
6841 fi
6842
6843 { echo "$as_me:$LINENO: result: $result" >&5
6844 echo "${ECHO_T}$result" >&6; }
6845
6846
6847 enablestring=
6848 defaultval=$wxUSE_ALL_FEATURES
6849 if test -z "$defaultval"; then
6850 if test x"$enablestring" = xdisable; then
6851 defaultval=yes
6852 else
6853 defaultval=no
6854 fi
6855 fi
6856
6857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6859 # Check whether --enable-debugreport was given.
6860 if test "${enable_debugreport+set}" = set; then
6861 enableval=$enable_debugreport;
6862 if test "$enableval" = yes; then
6863 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6864 else
6865 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6866 fi
6867
6868 else
6869
6870 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6871
6872 fi
6873
6874
6875 eval "$wx_cv_use_debugreport"
6876
6877 if test x"$enablestring" = xdisable; then
6878 if test $wxUSE_DEBUGREPORT = no; then
6879 result=yes
6880 else
6881 result=no
6882 fi
6883 else
6884 result=$wxUSE_DEBUGREPORT
6885 fi
6886
6887 { echo "$as_me:$LINENO: result: $result" >&5
6888 echo "${ECHO_T}$result" >&6; }
6889
6890
6891 enablestring=
6892 defaultval=$wxUSE_ALL_FEATURES
6893 if test -z "$defaultval"; then
6894 if test x"$enablestring" = xdisable; then
6895 defaultval=yes
6896 else
6897 defaultval=no
6898 fi
6899 fi
6900
6901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6902 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6903 # Check whether --enable-dialupman was given.
6904 if test "${enable_dialupman+set}" = set; then
6905 enableval=$enable_dialupman;
6906 if test "$enableval" = yes; then
6907 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6908 else
6909 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6910 fi
6911
6912 else
6913
6914 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6915
6916 fi
6917
6918
6919 eval "$wx_cv_use_dialupman"
6920
6921 if test x"$enablestring" = xdisable; then
6922 if test $wxUSE_DIALUP_MANAGER = no; then
6923 result=yes
6924 else
6925 result=no
6926 fi
6927 else
6928 result=$wxUSE_DIALUP_MANAGER
6929 fi
6930
6931 { echo "$as_me:$LINENO: result: $result" >&5
6932 echo "${ECHO_T}$result" >&6; }
6933
6934
6935 enablestring=
6936 defaultval=$wxUSE_ALL_FEATURES
6937 if test -z "$defaultval"; then
6938 if test x"$enablestring" = xdisable; then
6939 defaultval=yes
6940 else
6941 defaultval=no
6942 fi
6943 fi
6944
6945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6946 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6947 # Check whether --enable-dynlib was given.
6948 if test "${enable_dynlib+set}" = set; then
6949 enableval=$enable_dynlib;
6950 if test "$enableval" = yes; then
6951 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6952 else
6953 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6954 fi
6955
6956 else
6957
6958 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6959
6960 fi
6961
6962
6963 eval "$wx_cv_use_dynlib"
6964
6965 if test x"$enablestring" = xdisable; then
6966 if test $wxUSE_DYNLIB_CLASS = no; then
6967 result=yes
6968 else
6969 result=no
6970 fi
6971 else
6972 result=$wxUSE_DYNLIB_CLASS
6973 fi
6974
6975 { echo "$as_me:$LINENO: result: $result" >&5
6976 echo "${ECHO_T}$result" >&6; }
6977
6978
6979 enablestring=
6980 defaultval=$wxUSE_ALL_FEATURES
6981 if test -z "$defaultval"; then
6982 if test x"$enablestring" = xdisable; then
6983 defaultval=yes
6984 else
6985 defaultval=no
6986 fi
6987 fi
6988
6989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6990 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6991 # Check whether --enable-dynamicloader was given.
6992 if test "${enable_dynamicloader+set}" = set; then
6993 enableval=$enable_dynamicloader;
6994 if test "$enableval" = yes; then
6995 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6996 else
6997 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6998 fi
6999
7000 else
7001
7002 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7003
7004 fi
7005
7006
7007 eval "$wx_cv_use_dynamicloader"
7008
7009 if test x"$enablestring" = xdisable; then
7010 if test $wxUSE_DYNAMIC_LOADER = no; then
7011 result=yes
7012 else
7013 result=no
7014 fi
7015 else
7016 result=$wxUSE_DYNAMIC_LOADER
7017 fi
7018
7019 { echo "$as_me:$LINENO: result: $result" >&5
7020 echo "${ECHO_T}$result" >&6; }
7021
7022
7023 enablestring=
7024 defaultval=$wxUSE_ALL_FEATURES
7025 if test -z "$defaultval"; then
7026 if test x"$enablestring" = xdisable; then
7027 defaultval=yes
7028 else
7029 defaultval=no
7030 fi
7031 fi
7032
7033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7034 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7035 # Check whether --enable-exceptions was given.
7036 if test "${enable_exceptions+set}" = set; then
7037 enableval=$enable_exceptions;
7038 if test "$enableval" = yes; then
7039 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7040 else
7041 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7042 fi
7043
7044 else
7045
7046 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7047
7048 fi
7049
7050
7051 eval "$wx_cv_use_exceptions"
7052
7053 if test x"$enablestring" = xdisable; then
7054 if test $wxUSE_EXCEPTIONS = no; then
7055 result=yes
7056 else
7057 result=no
7058 fi
7059 else
7060 result=$wxUSE_EXCEPTIONS
7061 fi
7062
7063 { echo "$as_me:$LINENO: result: $result" >&5
7064 echo "${ECHO_T}$result" >&6; }
7065
7066
7067 enablestring=
7068 defaultval=$wxUSE_ALL_FEATURES
7069 if test -z "$defaultval"; then
7070 if test x"$enablestring" = xdisable; then
7071 defaultval=yes
7072 else
7073 defaultval=no
7074 fi
7075 fi
7076
7077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7078 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7079 # Check whether --enable-ffile was given.
7080 if test "${enable_ffile+set}" = set; then
7081 enableval=$enable_ffile;
7082 if test "$enableval" = yes; then
7083 wx_cv_use_ffile='wxUSE_FFILE=yes'
7084 else
7085 wx_cv_use_ffile='wxUSE_FFILE=no'
7086 fi
7087
7088 else
7089
7090 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7091
7092 fi
7093
7094
7095 eval "$wx_cv_use_ffile"
7096
7097 if test x"$enablestring" = xdisable; then
7098 if test $wxUSE_FFILE = no; then
7099 result=yes
7100 else
7101 result=no
7102 fi
7103 else
7104 result=$wxUSE_FFILE
7105 fi
7106
7107 { echo "$as_me:$LINENO: result: $result" >&5
7108 echo "${ECHO_T}$result" >&6; }
7109
7110
7111 enablestring=
7112 defaultval=$wxUSE_ALL_FEATURES
7113 if test -z "$defaultval"; then
7114 if test x"$enablestring" = xdisable; then
7115 defaultval=yes
7116 else
7117 defaultval=no
7118 fi
7119 fi
7120
7121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7123 # Check whether --enable-file was given.
7124 if test "${enable_file+set}" = set; then
7125 enableval=$enable_file;
7126 if test "$enableval" = yes; then
7127 wx_cv_use_file='wxUSE_FILE=yes'
7128 else
7129 wx_cv_use_file='wxUSE_FILE=no'
7130 fi
7131
7132 else
7133
7134 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7135
7136 fi
7137
7138
7139 eval "$wx_cv_use_file"
7140
7141 if test x"$enablestring" = xdisable; then
7142 if test $wxUSE_FILE = no; then
7143 result=yes
7144 else
7145 result=no
7146 fi
7147 else
7148 result=$wxUSE_FILE
7149 fi
7150
7151 { echo "$as_me:$LINENO: result: $result" >&5
7152 echo "${ECHO_T}$result" >&6; }
7153
7154
7155 enablestring=
7156 defaultval=$wxUSE_ALL_FEATURES
7157 if test -z "$defaultval"; then
7158 if test x"$enablestring" = xdisable; then
7159 defaultval=yes
7160 else
7161 defaultval=no
7162 fi
7163 fi
7164
7165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7166 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7167 # Check whether --enable-filehistory was given.
7168 if test "${enable_filehistory+set}" = set; then
7169 enableval=$enable_filehistory;
7170 if test "$enableval" = yes; then
7171 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7172 else
7173 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7174 fi
7175
7176 else
7177
7178 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7179
7180 fi
7181
7182
7183 eval "$wx_cv_use_filehistory"
7184
7185 if test x"$enablestring" = xdisable; then
7186 if test $wxUSE_FILE_HISTORY = no; then
7187 result=yes
7188 else
7189 result=no
7190 fi
7191 else
7192 result=$wxUSE_FILE_HISTORY
7193 fi
7194
7195 { echo "$as_me:$LINENO: result: $result" >&5
7196 echo "${ECHO_T}$result" >&6; }
7197
7198
7199 enablestring=
7200 defaultval=$wxUSE_ALL_FEATURES
7201 if test -z "$defaultval"; then
7202 if test x"$enablestring" = xdisable; then
7203 defaultval=yes
7204 else
7205 defaultval=no
7206 fi
7207 fi
7208
7209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7211 # Check whether --enable-filesystem was given.
7212 if test "${enable_filesystem+set}" = set; then
7213 enableval=$enable_filesystem;
7214 if test "$enableval" = yes; then
7215 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7216 else
7217 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7218 fi
7219
7220 else
7221
7222 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7223
7224 fi
7225
7226
7227 eval "$wx_cv_use_filesystem"
7228
7229 if test x"$enablestring" = xdisable; then
7230 if test $wxUSE_FILESYSTEM = no; then
7231 result=yes
7232 else
7233 result=no
7234 fi
7235 else
7236 result=$wxUSE_FILESYSTEM
7237 fi
7238
7239 { echo "$as_me:$LINENO: result: $result" >&5
7240 echo "${ECHO_T}$result" >&6; }
7241
7242
7243 enablestring=
7244 defaultval=$wxUSE_ALL_FEATURES
7245 if test -z "$defaultval"; then
7246 if test x"$enablestring" = xdisable; then
7247 defaultval=yes
7248 else
7249 defaultval=no
7250 fi
7251 fi
7252
7253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7255 # Check whether --enable-fontenum was given.
7256 if test "${enable_fontenum+set}" = set; then
7257 enableval=$enable_fontenum;
7258 if test "$enableval" = yes; then
7259 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7260 else
7261 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7262 fi
7263
7264 else
7265
7266 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7267
7268 fi
7269
7270
7271 eval "$wx_cv_use_fontenum"
7272
7273 if test x"$enablestring" = xdisable; then
7274 if test $wxUSE_FONTENUM = no; then
7275 result=yes
7276 else
7277 result=no
7278 fi
7279 else
7280 result=$wxUSE_FONTENUM
7281 fi
7282
7283 { echo "$as_me:$LINENO: result: $result" >&5
7284 echo "${ECHO_T}$result" >&6; }
7285
7286
7287 enablestring=
7288 defaultval=$wxUSE_ALL_FEATURES
7289 if test -z "$defaultval"; then
7290 if test x"$enablestring" = xdisable; then
7291 defaultval=yes
7292 else
7293 defaultval=no
7294 fi
7295 fi
7296
7297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7299 # Check whether --enable-fontmap was given.
7300 if test "${enable_fontmap+set}" = set; then
7301 enableval=$enable_fontmap;
7302 if test "$enableval" = yes; then
7303 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7304 else
7305 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7306 fi
7307
7308 else
7309
7310 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7311
7312 fi
7313
7314
7315 eval "$wx_cv_use_fontmap"
7316
7317 if test x"$enablestring" = xdisable; then
7318 if test $wxUSE_FONTMAP = no; then
7319 result=yes
7320 else
7321 result=no
7322 fi
7323 else
7324 result=$wxUSE_FONTMAP
7325 fi
7326
7327 { echo "$as_me:$LINENO: result: $result" >&5
7328 echo "${ECHO_T}$result" >&6; }
7329
7330
7331 enablestring=
7332 defaultval=$wxUSE_ALL_FEATURES
7333 if test -z "$defaultval"; then
7334 if test x"$enablestring" = xdisable; then
7335 defaultval=yes
7336 else
7337 defaultval=no
7338 fi
7339 fi
7340
7341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7343 # Check whether --enable-fs_archive was given.
7344 if test "${enable_fs_archive+set}" = set; then
7345 enableval=$enable_fs_archive;
7346 if test "$enableval" = yes; then
7347 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7348 else
7349 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7350 fi
7351
7352 else
7353
7354 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7355
7356 fi
7357
7358
7359 eval "$wx_cv_use_fs_archive"
7360
7361 if test x"$enablestring" = xdisable; then
7362 if test $wxUSE_FS_ARCHIVE = no; then
7363 result=yes
7364 else
7365 result=no
7366 fi
7367 else
7368 result=$wxUSE_FS_ARCHIVE
7369 fi
7370
7371 { echo "$as_me:$LINENO: result: $result" >&5
7372 echo "${ECHO_T}$result" >&6; }
7373
7374
7375 enablestring=
7376 defaultval=$wxUSE_ALL_FEATURES
7377 if test -z "$defaultval"; then
7378 if test x"$enablestring" = xdisable; then
7379 defaultval=yes
7380 else
7381 defaultval=no
7382 fi
7383 fi
7384
7385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7386 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7387 # Check whether --enable-fs_inet was given.
7388 if test "${enable_fs_inet+set}" = set; then
7389 enableval=$enable_fs_inet;
7390 if test "$enableval" = yes; then
7391 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7392 else
7393 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7394 fi
7395
7396 else
7397
7398 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7399
7400 fi
7401
7402
7403 eval "$wx_cv_use_fs_inet"
7404
7405 if test x"$enablestring" = xdisable; then
7406 if test $wxUSE_FS_INET = no; then
7407 result=yes
7408 else
7409 result=no
7410 fi
7411 else
7412 result=$wxUSE_FS_INET
7413 fi
7414
7415 { echo "$as_me:$LINENO: result: $result" >&5
7416 echo "${ECHO_T}$result" >&6; }
7417
7418
7419 enablestring=
7420 defaultval=$wxUSE_ALL_FEATURES
7421 if test -z "$defaultval"; then
7422 if test x"$enablestring" = xdisable; then
7423 defaultval=yes
7424 else
7425 defaultval=no
7426 fi
7427 fi
7428
7429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7430 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7431 # Check whether --enable-fs_zip was given.
7432 if test "${enable_fs_zip+set}" = set; then
7433 enableval=$enable_fs_zip;
7434 if test "$enableval" = yes; then
7435 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7436 else
7437 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7438 fi
7439
7440 else
7441
7442 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7443
7444 fi
7445
7446
7447 eval "$wx_cv_use_fs_zip"
7448
7449 if test x"$enablestring" = xdisable; then
7450 if test $wxUSE_FS_ZIP = no; then
7451 result=yes
7452 else
7453 result=no
7454 fi
7455 else
7456 result=$wxUSE_FS_ZIP
7457 fi
7458
7459 { echo "$as_me:$LINENO: result: $result" >&5
7460 echo "${ECHO_T}$result" >&6; }
7461
7462
7463 enablestring=
7464 defaultval=$wxUSE_ALL_FEATURES
7465 if test -z "$defaultval"; then
7466 if test x"$enablestring" = xdisable; then
7467 defaultval=yes
7468 else
7469 defaultval=no
7470 fi
7471 fi
7472
7473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7474 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7475 # Check whether --enable-fswatcher was given.
7476 if test "${enable_fswatcher+set}" = set; then
7477 enableval=$enable_fswatcher;
7478 if test "$enableval" = yes; then
7479 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7480 else
7481 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7482 fi
7483
7484 else
7485
7486 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7487
7488 fi
7489
7490
7491 eval "$wx_cv_use_fswatcher"
7492
7493 if test x"$enablestring" = xdisable; then
7494 if test $wxUSE_FSWATCHER = no; then
7495 result=yes
7496 else
7497 result=no
7498 fi
7499 else
7500 result=$wxUSE_FSWATCHER
7501 fi
7502
7503 { echo "$as_me:$LINENO: result: $result" >&5
7504 echo "${ECHO_T}$result" >&6; }
7505
7506
7507 enablestring=
7508 defaultval=$wxUSE_ALL_FEATURES
7509 if test -z "$defaultval"; then
7510 if test x"$enablestring" = xdisable; then
7511 defaultval=yes
7512 else
7513 defaultval=no
7514 fi
7515 fi
7516
7517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7518 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7519 # Check whether --enable-geometry was given.
7520 if test "${enable_geometry+set}" = set; then
7521 enableval=$enable_geometry;
7522 if test "$enableval" = yes; then
7523 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7524 else
7525 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7526 fi
7527
7528 else
7529
7530 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7531
7532 fi
7533
7534
7535 eval "$wx_cv_use_geometry"
7536
7537 if test x"$enablestring" = xdisable; then
7538 if test $wxUSE_GEOMETRY = no; then
7539 result=yes
7540 else
7541 result=no
7542 fi
7543 else
7544 result=$wxUSE_GEOMETRY
7545 fi
7546
7547 { echo "$as_me:$LINENO: result: $result" >&5
7548 echo "${ECHO_T}$result" >&6; }
7549
7550
7551 enablestring=
7552 defaultval=$wxUSE_ALL_FEATURES
7553 if test -z "$defaultval"; then
7554 if test x"$enablestring" = xdisable; then
7555 defaultval=yes
7556 else
7557 defaultval=no
7558 fi
7559 fi
7560
7561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7562 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7563 # Check whether --enable-log was given.
7564 if test "${enable_log+set}" = set; then
7565 enableval=$enable_log;
7566 if test "$enableval" = yes; then
7567 wx_cv_use_log='wxUSE_LOG=yes'
7568 else
7569 wx_cv_use_log='wxUSE_LOG=no'
7570 fi
7571
7572 else
7573
7574 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7575
7576 fi
7577
7578
7579 eval "$wx_cv_use_log"
7580
7581 if test x"$enablestring" = xdisable; then
7582 if test $wxUSE_LOG = no; then
7583 result=yes
7584 else
7585 result=no
7586 fi
7587 else
7588 result=$wxUSE_LOG
7589 fi
7590
7591 { echo "$as_me:$LINENO: result: $result" >&5
7592 echo "${ECHO_T}$result" >&6; }
7593
7594
7595 enablestring=
7596 defaultval=$wxUSE_ALL_FEATURES
7597 if test -z "$defaultval"; then
7598 if test x"$enablestring" = xdisable; then
7599 defaultval=yes
7600 else
7601 defaultval=no
7602 fi
7603 fi
7604
7605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7606 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7607 # Check whether --enable-longlong was given.
7608 if test "${enable_longlong+set}" = set; then
7609 enableval=$enable_longlong;
7610 if test "$enableval" = yes; then
7611 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7612 else
7613 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7614 fi
7615
7616 else
7617
7618 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7619
7620 fi
7621
7622
7623 eval "$wx_cv_use_longlong"
7624
7625 if test x"$enablestring" = xdisable; then
7626 if test $wxUSE_LONGLONG = no; then
7627 result=yes
7628 else
7629 result=no
7630 fi
7631 else
7632 result=$wxUSE_LONGLONG
7633 fi
7634
7635 { echo "$as_me:$LINENO: result: $result" >&5
7636 echo "${ECHO_T}$result" >&6; }
7637
7638
7639 enablestring=
7640 defaultval=$wxUSE_ALL_FEATURES
7641 if test -z "$defaultval"; then
7642 if test x"$enablestring" = xdisable; then
7643 defaultval=yes
7644 else
7645 defaultval=no
7646 fi
7647 fi
7648
7649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7651 # Check whether --enable-mimetype was given.
7652 if test "${enable_mimetype+set}" = set; then
7653 enableval=$enable_mimetype;
7654 if test "$enableval" = yes; then
7655 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7656 else
7657 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7658 fi
7659
7660 else
7661
7662 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7663
7664 fi
7665
7666
7667 eval "$wx_cv_use_mimetype"
7668
7669 if test x"$enablestring" = xdisable; then
7670 if test $wxUSE_MIMETYPE = no; then
7671 result=yes
7672 else
7673 result=no
7674 fi
7675 else
7676 result=$wxUSE_MIMETYPE
7677 fi
7678
7679 { echo "$as_me:$LINENO: result: $result" >&5
7680 echo "${ECHO_T}$result" >&6; }
7681
7682
7683 enablestring=
7684 defaultval=$wxUSE_ALL_FEATURES
7685 if test -z "$defaultval"; then
7686 if test x"$enablestring" = xdisable; then
7687 defaultval=yes
7688 else
7689 defaultval=no
7690 fi
7691 fi
7692
7693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7694 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7695 # Check whether --enable-printfposparam was given.
7696 if test "${enable_printfposparam+set}" = set; then
7697 enableval=$enable_printfposparam;
7698 if test "$enableval" = yes; then
7699 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7700 else
7701 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7702 fi
7703
7704 else
7705
7706 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7707
7708 fi
7709
7710
7711 eval "$wx_cv_use_printfposparam"
7712
7713 if test x"$enablestring" = xdisable; then
7714 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7715 result=yes
7716 else
7717 result=no
7718 fi
7719 else
7720 result=$wxUSE_PRINTF_POS_PARAMS
7721 fi
7722
7723 { echo "$as_me:$LINENO: result: $result" >&5
7724 echo "${ECHO_T}$result" >&6; }
7725
7726
7727 enablestring=
7728 defaultval=$wxUSE_ALL_FEATURES
7729 if test -z "$defaultval"; then
7730 if test x"$enablestring" = xdisable; then
7731 defaultval=yes
7732 else
7733 defaultval=no
7734 fi
7735 fi
7736
7737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7738 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7739 # Check whether --enable-snglinst was given.
7740 if test "${enable_snglinst+set}" = set; then
7741 enableval=$enable_snglinst;
7742 if test "$enableval" = yes; then
7743 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7744 else
7745 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7746 fi
7747
7748 else
7749
7750 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7751
7752 fi
7753
7754
7755 eval "$wx_cv_use_snglinst"
7756
7757 if test x"$enablestring" = xdisable; then
7758 if test $wxUSE_SNGLINST_CHECKER = no; then
7759 result=yes
7760 else
7761 result=no
7762 fi
7763 else
7764 result=$wxUSE_SNGLINST_CHECKER
7765 fi
7766
7767 { echo "$as_me:$LINENO: result: $result" >&5
7768 echo "${ECHO_T}$result" >&6; }
7769
7770
7771 enablestring=
7772 defaultval=$wxUSE_ALL_FEATURES
7773 if test -z "$defaultval"; then
7774 if test x"$enablestring" = xdisable; then
7775 defaultval=yes
7776 else
7777 defaultval=no
7778 fi
7779 fi
7780
7781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7782 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7783 # Check whether --enable-sound was given.
7784 if test "${enable_sound+set}" = set; then
7785 enableval=$enable_sound;
7786 if test "$enableval" = yes; then
7787 wx_cv_use_sound='wxUSE_SOUND=yes'
7788 else
7789 wx_cv_use_sound='wxUSE_SOUND=no'
7790 fi
7791
7792 else
7793
7794 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7795
7796 fi
7797
7798
7799 eval "$wx_cv_use_sound"
7800
7801 if test x"$enablestring" = xdisable; then
7802 if test $wxUSE_SOUND = no; then
7803 result=yes
7804 else
7805 result=no
7806 fi
7807 else
7808 result=$wxUSE_SOUND
7809 fi
7810
7811 { echo "$as_me:$LINENO: result: $result" >&5
7812 echo "${ECHO_T}$result" >&6; }
7813
7814
7815 enablestring=
7816 defaultval=$wxUSE_ALL_FEATURES
7817 if test -z "$defaultval"; then
7818 if test x"$enablestring" = xdisable; then
7819 defaultval=yes
7820 else
7821 defaultval=no
7822 fi
7823 fi
7824
7825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7826 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7827 # Check whether --enable-stdpaths was given.
7828 if test "${enable_stdpaths+set}" = set; then
7829 enableval=$enable_stdpaths;
7830 if test "$enableval" = yes; then
7831 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7832 else
7833 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7834 fi
7835
7836 else
7837
7838 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7839
7840 fi
7841
7842
7843 eval "$wx_cv_use_stdpaths"
7844
7845 if test x"$enablestring" = xdisable; then
7846 if test $wxUSE_STDPATHS = no; then
7847 result=yes
7848 else
7849 result=no
7850 fi
7851 else
7852 result=$wxUSE_STDPATHS
7853 fi
7854
7855 { echo "$as_me:$LINENO: result: $result" >&5
7856 echo "${ECHO_T}$result" >&6; }
7857
7858
7859 enablestring=
7860 defaultval=$wxUSE_ALL_FEATURES
7861 if test -z "$defaultval"; then
7862 if test x"$enablestring" = xdisable; then
7863 defaultval=yes
7864 else
7865 defaultval=no
7866 fi
7867 fi
7868
7869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7871 # Check whether --enable-stopwatch was given.
7872 if test "${enable_stopwatch+set}" = set; then
7873 enableval=$enable_stopwatch;
7874 if test "$enableval" = yes; then
7875 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7876 else
7877 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7878 fi
7879
7880 else
7881
7882 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7883
7884 fi
7885
7886
7887 eval "$wx_cv_use_stopwatch"
7888
7889 if test x"$enablestring" = xdisable; then
7890 if test $wxUSE_STOPWATCH = no; then
7891 result=yes
7892 else
7893 result=no
7894 fi
7895 else
7896 result=$wxUSE_STOPWATCH
7897 fi
7898
7899 { echo "$as_me:$LINENO: result: $result" >&5
7900 echo "${ECHO_T}$result" >&6; }
7901
7902
7903 enablestring=
7904 defaultval=$wxUSE_ALL_FEATURES
7905 if test -z "$defaultval"; then
7906 if test x"$enablestring" = xdisable; then
7907 defaultval=yes
7908 else
7909 defaultval=no
7910 fi
7911 fi
7912
7913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7915 # Check whether --enable-streams was given.
7916 if test "${enable_streams+set}" = set; then
7917 enableval=$enable_streams;
7918 if test "$enableval" = yes; then
7919 wx_cv_use_streams='wxUSE_STREAMS=yes'
7920 else
7921 wx_cv_use_streams='wxUSE_STREAMS=no'
7922 fi
7923
7924 else
7925
7926 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7927
7928 fi
7929
7930
7931 eval "$wx_cv_use_streams"
7932
7933 if test x"$enablestring" = xdisable; then
7934 if test $wxUSE_STREAMS = no; then
7935 result=yes
7936 else
7937 result=no
7938 fi
7939 else
7940 result=$wxUSE_STREAMS
7941 fi
7942
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7945
7946
7947 enablestring=
7948 defaultval=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x"$enablestring" = xdisable; then
7951 defaultval=yes
7952 else
7953 defaultval=no
7954 fi
7955 fi
7956
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7959 # Check whether --enable-sysoptions was given.
7960 if test "${enable_sysoptions+set}" = set; then
7961 enableval=$enable_sysoptions;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7964 else
7965 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7966 fi
7967
7968 else
7969
7970 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7971
7972 fi
7973
7974
7975 eval "$wx_cv_use_sysoptions"
7976
7977 if test x"$enablestring" = xdisable; then
7978 if test $wxUSE_SYSTEM_OPTIONS = no; then
7979 result=yes
7980 else
7981 result=no
7982 fi
7983 else
7984 result=$wxUSE_SYSTEM_OPTIONS
7985 fi
7986
7987 { echo "$as_me:$LINENO: result: $result" >&5
7988 echo "${ECHO_T}$result" >&6; }
7989
7990
7991 enablestring=
7992 defaultval=$wxUSE_ALL_FEATURES
7993 if test -z "$defaultval"; then
7994 if test x"$enablestring" = xdisable; then
7995 defaultval=yes
7996 else
7997 defaultval=no
7998 fi
7999 fi
8000
8001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8003 # Check whether --enable-tarstream was given.
8004 if test "${enable_tarstream+set}" = set; then
8005 enableval=$enable_tarstream;
8006 if test "$enableval" = yes; then
8007 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8008 else
8009 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8010 fi
8011
8012 else
8013
8014 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8015
8016 fi
8017
8018
8019 eval "$wx_cv_use_tarstream"
8020
8021 if test x"$enablestring" = xdisable; then
8022 if test $wxUSE_TARSTREAM = no; then
8023 result=yes
8024 else
8025 result=no
8026 fi
8027 else
8028 result=$wxUSE_TARSTREAM
8029 fi
8030
8031 { echo "$as_me:$LINENO: result: $result" >&5
8032 echo "${ECHO_T}$result" >&6; }
8033
8034
8035 enablestring=
8036 defaultval=$wxUSE_ALL_FEATURES
8037 if test -z "$defaultval"; then
8038 if test x"$enablestring" = xdisable; then
8039 defaultval=yes
8040 else
8041 defaultval=no
8042 fi
8043 fi
8044
8045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8047 # Check whether --enable-textbuf was given.
8048 if test "${enable_textbuf+set}" = set; then
8049 enableval=$enable_textbuf;
8050 if test "$enableval" = yes; then
8051 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8052 else
8053 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8054 fi
8055
8056 else
8057
8058 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8059
8060 fi
8061
8062
8063 eval "$wx_cv_use_textbuf"
8064
8065 if test x"$enablestring" = xdisable; then
8066 if test $wxUSE_TEXTBUFFER = no; then
8067 result=yes
8068 else
8069 result=no
8070 fi
8071 else
8072 result=$wxUSE_TEXTBUFFER
8073 fi
8074
8075 { echo "$as_me:$LINENO: result: $result" >&5
8076 echo "${ECHO_T}$result" >&6; }
8077
8078
8079 enablestring=
8080 defaultval=$wxUSE_ALL_FEATURES
8081 if test -z "$defaultval"; then
8082 if test x"$enablestring" = xdisable; then
8083 defaultval=yes
8084 else
8085 defaultval=no
8086 fi
8087 fi
8088
8089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8091 # Check whether --enable-textfile was given.
8092 if test "${enable_textfile+set}" = set; then
8093 enableval=$enable_textfile;
8094 if test "$enableval" = yes; then
8095 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8096 else
8097 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8098 fi
8099
8100 else
8101
8102 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8103
8104 fi
8105
8106
8107 eval "$wx_cv_use_textfile"
8108
8109 if test x"$enablestring" = xdisable; then
8110 if test $wxUSE_TEXTFILE = no; then
8111 result=yes
8112 else
8113 result=no
8114 fi
8115 else
8116 result=$wxUSE_TEXTFILE
8117 fi
8118
8119 { echo "$as_me:$LINENO: result: $result" >&5
8120 echo "${ECHO_T}$result" >&6; }
8121
8122
8123 enablestring=
8124 defaultval=$wxUSE_ALL_FEATURES
8125 if test -z "$defaultval"; then
8126 if test x"$enablestring" = xdisable; then
8127 defaultval=yes
8128 else
8129 defaultval=no
8130 fi
8131 fi
8132
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8135 # Check whether --enable-timer was given.
8136 if test "${enable_timer+set}" = set; then
8137 enableval=$enable_timer;
8138 if test "$enableval" = yes; then
8139 wx_cv_use_timer='wxUSE_TIMER=yes'
8140 else
8141 wx_cv_use_timer='wxUSE_TIMER=no'
8142 fi
8143
8144 else
8145
8146 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8147
8148 fi
8149
8150
8151 eval "$wx_cv_use_timer"
8152
8153 if test x"$enablestring" = xdisable; then
8154 if test $wxUSE_TIMER = no; then
8155 result=yes
8156 else
8157 result=no
8158 fi
8159 else
8160 result=$wxUSE_TIMER
8161 fi
8162
8163 { echo "$as_me:$LINENO: result: $result" >&5
8164 echo "${ECHO_T}$result" >&6; }
8165
8166
8167 enablestring=
8168 defaultval=$wxUSE_ALL_FEATURES
8169 if test -z "$defaultval"; then
8170 if test x"$enablestring" = xdisable; then
8171 defaultval=yes
8172 else
8173 defaultval=no
8174 fi
8175 fi
8176
8177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8179 # Check whether --enable-variant was given.
8180 if test "${enable_variant+set}" = set; then
8181 enableval=$enable_variant;
8182 if test "$enableval" = yes; then
8183 wx_cv_use_variant='wxUSE_VARIANT=yes'
8184 else
8185 wx_cv_use_variant='wxUSE_VARIANT=no'
8186 fi
8187
8188 else
8189
8190 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8191
8192 fi
8193
8194
8195 eval "$wx_cv_use_variant"
8196
8197 if test x"$enablestring" = xdisable; then
8198 if test $wxUSE_VARIANT = no; then
8199 result=yes
8200 else
8201 result=no
8202 fi
8203 else
8204 result=$wxUSE_VARIANT
8205 fi
8206
8207 { echo "$as_me:$LINENO: result: $result" >&5
8208 echo "${ECHO_T}$result" >&6; }
8209
8210
8211 enablestring=
8212 defaultval=$wxUSE_ALL_FEATURES
8213 if test -z "$defaultval"; then
8214 if test x"$enablestring" = xdisable; then
8215 defaultval=yes
8216 else
8217 defaultval=no
8218 fi
8219 fi
8220
8221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8222 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8223 # Check whether --enable-zipstream was given.
8224 if test "${enable_zipstream+set}" = set; then
8225 enableval=$enable_zipstream;
8226 if test "$enableval" = yes; then
8227 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8228 else
8229 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8230 fi
8231
8232 else
8233
8234 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8235
8236 fi
8237
8238
8239 eval "$wx_cv_use_zipstream"
8240
8241 if test x"$enablestring" = xdisable; then
8242 if test $wxUSE_ZIPSTREAM = no; then
8243 result=yes
8244 else
8245 result=no
8246 fi
8247 else
8248 result=$wxUSE_ZIPSTREAM
8249 fi
8250
8251 { echo "$as_me:$LINENO: result: $result" >&5
8252 echo "${ECHO_T}$result" >&6; }
8253
8254
8255
8256 enablestring=
8257 defaultval=$wxUSE_ALL_FEATURES
8258 if test -z "$defaultval"; then
8259 if test x"$enablestring" = xdisable; then
8260 defaultval=yes
8261 else
8262 defaultval=no
8263 fi
8264 fi
8265
8266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8267 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8268 # Check whether --enable-url was given.
8269 if test "${enable_url+set}" = set; then
8270 enableval=$enable_url;
8271 if test "$enableval" = yes; then
8272 wx_cv_use_url='wxUSE_URL=yes'
8273 else
8274 wx_cv_use_url='wxUSE_URL=no'
8275 fi
8276
8277 else
8278
8279 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8280
8281 fi
8282
8283
8284 eval "$wx_cv_use_url"
8285
8286 if test x"$enablestring" = xdisable; then
8287 if test $wxUSE_URL = no; then
8288 result=yes
8289 else
8290 result=no
8291 fi
8292 else
8293 result=$wxUSE_URL
8294 fi
8295
8296 { echo "$as_me:$LINENO: result: $result" >&5
8297 echo "${ECHO_T}$result" >&6; }
8298
8299
8300 enablestring=
8301 defaultval=$wxUSE_ALL_FEATURES
8302 if test -z "$defaultval"; then
8303 if test x"$enablestring" = xdisable; then
8304 defaultval=yes
8305 else
8306 defaultval=no
8307 fi
8308 fi
8309
8310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8311 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8312 # Check whether --enable-protocol was given.
8313 if test "${enable_protocol+set}" = set; then
8314 enableval=$enable_protocol;
8315 if test "$enableval" = yes; then
8316 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8317 else
8318 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8319 fi
8320
8321 else
8322
8323 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8324
8325 fi
8326
8327
8328 eval "$wx_cv_use_protocol"
8329
8330 if test x"$enablestring" = xdisable; then
8331 if test $wxUSE_PROTOCOL = no; then
8332 result=yes
8333 else
8334 result=no
8335 fi
8336 else
8337 result=$wxUSE_PROTOCOL
8338 fi
8339
8340 { echo "$as_me:$LINENO: result: $result" >&5
8341 echo "${ECHO_T}$result" >&6; }
8342
8343
8344 enablestring=
8345 defaultval=$wxUSE_ALL_FEATURES
8346 if test -z "$defaultval"; then
8347 if test x"$enablestring" = xdisable; then
8348 defaultval=yes
8349 else
8350 defaultval=no
8351 fi
8352 fi
8353
8354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8356 # Check whether --enable-protocol_http was given.
8357 if test "${enable_protocol_http+set}" = set; then
8358 enableval=$enable_protocol_http;
8359 if test "$enableval" = yes; then
8360 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8361 else
8362 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8363 fi
8364
8365 else
8366
8367 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8368
8369 fi
8370
8371
8372 eval "$wx_cv_use_protocol_http"
8373
8374 if test x"$enablestring" = xdisable; then
8375 if test $wxUSE_PROTOCOL_HTTP = no; then
8376 result=yes
8377 else
8378 result=no
8379 fi
8380 else
8381 result=$wxUSE_PROTOCOL_HTTP
8382 fi
8383
8384 { echo "$as_me:$LINENO: result: $result" >&5
8385 echo "${ECHO_T}$result" >&6; }
8386
8387
8388 enablestring=
8389 defaultval=$wxUSE_ALL_FEATURES
8390 if test -z "$defaultval"; then
8391 if test x"$enablestring" = xdisable; then
8392 defaultval=yes
8393 else
8394 defaultval=no
8395 fi
8396 fi
8397
8398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8400 # Check whether --enable-protocol_ftp was given.
8401 if test "${enable_protocol_ftp+set}" = set; then
8402 enableval=$enable_protocol_ftp;
8403 if test "$enableval" = yes; then
8404 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8405 else
8406 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8407 fi
8408
8409 else
8410
8411 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8412
8413 fi
8414
8415
8416 eval "$wx_cv_use_protocol_ftp"
8417
8418 if test x"$enablestring" = xdisable; then
8419 if test $wxUSE_PROTOCOL_FTP = no; then
8420 result=yes
8421 else
8422 result=no
8423 fi
8424 else
8425 result=$wxUSE_PROTOCOL_FTP
8426 fi
8427
8428 { echo "$as_me:$LINENO: result: $result" >&5
8429 echo "${ECHO_T}$result" >&6; }
8430
8431
8432 enablestring=
8433 defaultval=$wxUSE_ALL_FEATURES
8434 if test -z "$defaultval"; then
8435 if test x"$enablestring" = xdisable; then
8436 defaultval=yes
8437 else
8438 defaultval=no
8439 fi
8440 fi
8441
8442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8443 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8444 # Check whether --enable-protocol_file was given.
8445 if test "${enable_protocol_file+set}" = set; then
8446 enableval=$enable_protocol_file;
8447 if test "$enableval" = yes; then
8448 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8449 else
8450 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8451 fi
8452
8453 else
8454
8455 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8456
8457 fi
8458
8459
8460 eval "$wx_cv_use_protocol_file"
8461
8462 if test x"$enablestring" = xdisable; then
8463 if test $wxUSE_PROTOCOL_FILE = no; then
8464 result=yes
8465 else
8466 result=no
8467 fi
8468 else
8469 result=$wxUSE_PROTOCOL_FILE
8470 fi
8471
8472 { echo "$as_me:$LINENO: result: $result" >&5
8473 echo "${ECHO_T}$result" >&6; }
8474
8475
8476
8477 enablestring=
8478 defaultval=$wxUSE_ALL_FEATURES
8479 if test -z "$defaultval"; then
8480 if test x"$enablestring" = xdisable; then
8481 defaultval=yes
8482 else
8483 defaultval=no
8484 fi
8485 fi
8486
8487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8489 # Check whether --enable-threads was given.
8490 if test "${enable_threads+set}" = set; then
8491 enableval=$enable_threads;
8492 if test "$enableval" = yes; then
8493 wx_cv_use_threads='wxUSE_THREADS=yes'
8494 else
8495 wx_cv_use_threads='wxUSE_THREADS=no'
8496 fi
8497
8498 else
8499
8500 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8501
8502 fi
8503
8504
8505 eval "$wx_cv_use_threads"
8506
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_THREADS = no; then
8509 result=yes
8510 else
8511 result=no
8512 fi
8513 else
8514 result=$wxUSE_THREADS
8515 fi
8516
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8519
8520
8521
8522 enablestring=
8523 defaultval=
8524 if test -z "$defaultval"; then
8525 if test x"$enablestring" = xdisable; then
8526 defaultval=yes
8527 else
8528 defaultval=no
8529 fi
8530 fi
8531
8532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8533 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8534 # Check whether --enable-iniconf was given.
8535 if test "${enable_iniconf+set}" = set; then
8536 enableval=$enable_iniconf;
8537 if test "$enableval" = yes; then
8538 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8539 else
8540 wx_cv_use_iniconf='wxUSE_INICONF=no'
8541 fi
8542
8543 else
8544
8545 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8546
8547 fi
8548
8549
8550 eval "$wx_cv_use_iniconf"
8551
8552 if test x"$enablestring" = xdisable; then
8553 if test $wxUSE_INICONF = no; then
8554 result=yes
8555 else
8556 result=no
8557 fi
8558 else
8559 result=$wxUSE_INICONF
8560 fi
8561
8562 { echo "$as_me:$LINENO: result: $result" >&5
8563 echo "${ECHO_T}$result" >&6; }
8564
8565
8566 enablestring=
8567 defaultval=$wxUSE_ALL_FEATURES
8568 if test -z "$defaultval"; then
8569 if test x"$enablestring" = xdisable; then
8570 defaultval=yes
8571 else
8572 defaultval=no
8573 fi
8574 fi
8575
8576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8577 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8578 # Check whether --enable-regkey was given.
8579 if test "${enable_regkey+set}" = set; then
8580 enableval=$enable_regkey;
8581 if test "$enableval" = yes; then
8582 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8583 else
8584 wx_cv_use_regkey='wxUSE_REGKEY=no'
8585 fi
8586
8587 else
8588
8589 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8590
8591 fi
8592
8593
8594 eval "$wx_cv_use_regkey"
8595
8596 if test x"$enablestring" = xdisable; then
8597 if test $wxUSE_REGKEY = no; then
8598 result=yes
8599 else
8600 result=no
8601 fi
8602 else
8603 result=$wxUSE_REGKEY
8604 fi
8605
8606 { echo "$as_me:$LINENO: result: $result" >&5
8607 echo "${ECHO_T}$result" >&6; }
8608
8609
8610 if test "$wxUSE_GUI" = "yes"; then
8611
8612
8613
8614 enablestring=
8615 defaultval=$wxUSE_ALL_FEATURES
8616 if test -z "$defaultval"; then
8617 if test x"$enablestring" = xdisable; then
8618 defaultval=yes
8619 else
8620 defaultval=no
8621 fi
8622 fi
8623
8624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8625 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8626 # Check whether --enable-docview was given.
8627 if test "${enable_docview+set}" = set; then
8628 enableval=$enable_docview;
8629 if test "$enableval" = yes; then
8630 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8631 else
8632 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8633 fi
8634
8635 else
8636
8637 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8638
8639 fi
8640
8641
8642 eval "$wx_cv_use_docview"
8643
8644 if test x"$enablestring" = xdisable; then
8645 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8646 result=yes
8647 else
8648 result=no
8649 fi
8650 else
8651 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8652 fi
8653
8654 { echo "$as_me:$LINENO: result: $result" >&5
8655 echo "${ECHO_T}$result" >&6; }
8656
8657
8658 enablestring=
8659 defaultval=$wxUSE_ALL_FEATURES
8660 if test -z "$defaultval"; then
8661 if test x"$enablestring" = xdisable; then
8662 defaultval=yes
8663 else
8664 defaultval=no
8665 fi
8666 fi
8667
8668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8669 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8670 # Check whether --enable-help was given.
8671 if test "${enable_help+set}" = set; then
8672 enableval=$enable_help;
8673 if test "$enableval" = yes; then
8674 wx_cv_use_help='wxUSE_HELP=yes'
8675 else
8676 wx_cv_use_help='wxUSE_HELP=no'
8677 fi
8678
8679 else
8680
8681 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8682
8683 fi
8684
8685
8686 eval "$wx_cv_use_help"
8687
8688 if test x"$enablestring" = xdisable; then
8689 if test $wxUSE_HELP = no; then
8690 result=yes
8691 else
8692 result=no
8693 fi
8694 else
8695 result=$wxUSE_HELP
8696 fi
8697
8698 { echo "$as_me:$LINENO: result: $result" >&5
8699 echo "${ECHO_T}$result" >&6; }
8700
8701
8702 enablestring=
8703 defaultval=$wxUSE_ALL_FEATURES
8704 if test -z "$defaultval"; then
8705 if test x"$enablestring" = xdisable; then
8706 defaultval=yes
8707 else
8708 defaultval=no
8709 fi
8710 fi
8711
8712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8713 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8714 # Check whether --enable-mshtmlhelp was given.
8715 if test "${enable_mshtmlhelp+set}" = set; then
8716 enableval=$enable_mshtmlhelp;
8717 if test "$enableval" = yes; then
8718 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8719 else
8720 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8721 fi
8722
8723 else
8724
8725 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8726
8727 fi
8728
8729
8730 eval "$wx_cv_use_mshtmlhelp"
8731
8732 if test x"$enablestring" = xdisable; then
8733 if test $wxUSE_MS_HTML_HELP = no; then
8734 result=yes
8735 else
8736 result=no
8737 fi
8738 else
8739 result=$wxUSE_MS_HTML_HELP
8740 fi
8741
8742 { echo "$as_me:$LINENO: result: $result" >&5
8743 echo "${ECHO_T}$result" >&6; }
8744
8745
8746 enablestring=
8747 defaultval=$wxUSE_ALL_FEATURES
8748 if test -z "$defaultval"; then
8749 if test x"$enablestring" = xdisable; then
8750 defaultval=yes
8751 else
8752 defaultval=no
8753 fi
8754 fi
8755
8756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8757 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8758 # Check whether --enable-html was given.
8759 if test "${enable_html+set}" = set; then
8760 enableval=$enable_html;
8761 if test "$enableval" = yes; then
8762 wx_cv_use_html='wxUSE_HTML=yes'
8763 else
8764 wx_cv_use_html='wxUSE_HTML=no'
8765 fi
8766
8767 else
8768
8769 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8770
8771 fi
8772
8773
8774 eval "$wx_cv_use_html"
8775
8776 if test x"$enablestring" = xdisable; then
8777 if test $wxUSE_HTML = no; then
8778 result=yes
8779 else
8780 result=no
8781 fi
8782 else
8783 result=$wxUSE_HTML
8784 fi
8785
8786 { echo "$as_me:$LINENO: result: $result" >&5
8787 echo "${ECHO_T}$result" >&6; }
8788
8789
8790 enablestring=
8791 defaultval=$wxUSE_ALL_FEATURES
8792 if test -z "$defaultval"; then
8793 if test x"$enablestring" = xdisable; then
8794 defaultval=yes
8795 else
8796 defaultval=no
8797 fi
8798 fi
8799
8800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8801 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8802 # Check whether --enable-htmlhelp was given.
8803 if test "${enable_htmlhelp+set}" = set; then
8804 enableval=$enable_htmlhelp;
8805 if test "$enableval" = yes; then
8806 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8807 else
8808 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8809 fi
8810
8811 else
8812
8813 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8814
8815 fi
8816
8817
8818 eval "$wx_cv_use_htmlhelp"
8819
8820 if test x"$enablestring" = xdisable; then
8821 if test $wxUSE_WXHTML_HELP = no; then
8822 result=yes
8823 else
8824 result=no
8825 fi
8826 else
8827 result=$wxUSE_WXHTML_HELP
8828 fi
8829
8830 { echo "$as_me:$LINENO: result: $result" >&5
8831 echo "${ECHO_T}$result" >&6; }
8832
8833
8834 enablestring=
8835 defaultval=$wxUSE_ALL_FEATURES
8836 if test -z "$defaultval"; then
8837 if test x"$enablestring" = xdisable; then
8838 defaultval=yes
8839 else
8840 defaultval=no
8841 fi
8842 fi
8843
8844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8845 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8846 # Check whether --enable-xrc was given.
8847 if test "${enable_xrc+set}" = set; then
8848 enableval=$enable_xrc;
8849 if test "$enableval" = yes; then
8850 wx_cv_use_xrc='wxUSE_XRC=yes'
8851 else
8852 wx_cv_use_xrc='wxUSE_XRC=no'
8853 fi
8854
8855 else
8856
8857 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8858
8859 fi
8860
8861
8862 eval "$wx_cv_use_xrc"
8863
8864 if test x"$enablestring" = xdisable; then
8865 if test $wxUSE_XRC = no; then
8866 result=yes
8867 else
8868 result=no
8869 fi
8870 else
8871 result=$wxUSE_XRC
8872 fi
8873
8874 { echo "$as_me:$LINENO: result: $result" >&5
8875 echo "${ECHO_T}$result" >&6; }
8876
8877
8878 enablestring=
8879 defaultval=$wxUSE_ALL_FEATURES
8880 if test -z "$defaultval"; then
8881 if test x"$enablestring" = xdisable; then
8882 defaultval=yes
8883 else
8884 defaultval=no
8885 fi
8886 fi
8887
8888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8889 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8890 # Check whether --enable-aui was given.
8891 if test "${enable_aui+set}" = set; then
8892 enableval=$enable_aui;
8893 if test "$enableval" = yes; then
8894 wx_cv_use_aui='wxUSE_AUI=yes'
8895 else
8896 wx_cv_use_aui='wxUSE_AUI=no'
8897 fi
8898
8899 else
8900
8901 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8902
8903 fi
8904
8905
8906 eval "$wx_cv_use_aui"
8907
8908 if test x"$enablestring" = xdisable; then
8909 if test $wxUSE_AUI = no; then
8910 result=yes
8911 else
8912 result=no
8913 fi
8914 else
8915 result=$wxUSE_AUI
8916 fi
8917
8918 { echo "$as_me:$LINENO: result: $result" >&5
8919 echo "${ECHO_T}$result" >&6; }
8920
8921
8922 enablestring=
8923 defaultval=$wxUSE_ALL_FEATURES
8924 if test -z "$defaultval"; then
8925 if test x"$enablestring" = xdisable; then
8926 defaultval=yes
8927 else
8928 defaultval=no
8929 fi
8930 fi
8931
8932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8934 # Check whether --enable-propgrid was given.
8935 if test "${enable_propgrid+set}" = set; then
8936 enableval=$enable_propgrid;
8937 if test "$enableval" = yes; then
8938 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8939 else
8940 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8941 fi
8942
8943 else
8944
8945 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8946
8947 fi
8948
8949
8950 eval "$wx_cv_use_propgrid"
8951
8952 if test x"$enablestring" = xdisable; then
8953 if test $wxUSE_PROPGRID = no; then
8954 result=yes
8955 else
8956 result=no
8957 fi
8958 else
8959 result=$wxUSE_PROPGRID
8960 fi
8961
8962 { echo "$as_me:$LINENO: result: $result" >&5
8963 echo "${ECHO_T}$result" >&6; }
8964
8965
8966 enablestring=
8967 defaultval=$wxUSE_ALL_FEATURES
8968 if test -z "$defaultval"; then
8969 if test x"$enablestring" = xdisable; then
8970 defaultval=yes
8971 else
8972 defaultval=no
8973 fi
8974 fi
8975
8976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8978 # Check whether --enable-ribbon was given.
8979 if test "${enable_ribbon+set}" = set; then
8980 enableval=$enable_ribbon;
8981 if test "$enableval" = yes; then
8982 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8983 else
8984 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8985 fi
8986
8987 else
8988
8989 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8990
8991 fi
8992
8993
8994 eval "$wx_cv_use_ribbon"
8995
8996 if test x"$enablestring" = xdisable; then
8997 if test $wxUSE_RIBBON = no; then
8998 result=yes
8999 else
9000 result=no
9001 fi
9002 else
9003 result=$wxUSE_RIBBON
9004 fi
9005
9006 { echo "$as_me:$LINENO: result: $result" >&5
9007 echo "${ECHO_T}$result" >&6; }
9008
9009
9010 enablestring=
9011 defaultval=$wxUSE_ALL_FEATURES
9012 if test -z "$defaultval"; then
9013 if test x"$enablestring" = xdisable; then
9014 defaultval=yes
9015 else
9016 defaultval=no
9017 fi
9018 fi
9019
9020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9022 # Check whether --enable-stc was given.
9023 if test "${enable_stc+set}" = set; then
9024 enableval=$enable_stc;
9025 if test "$enableval" = yes; then
9026 wx_cv_use_stc='wxUSE_STC=yes'
9027 else
9028 wx_cv_use_stc='wxUSE_STC=no'
9029 fi
9030
9031 else
9032
9033 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9034
9035 fi
9036
9037
9038 eval "$wx_cv_use_stc"
9039
9040 if test x"$enablestring" = xdisable; then
9041 if test $wxUSE_STC = no; then
9042 result=yes
9043 else
9044 result=no
9045 fi
9046 else
9047 result=$wxUSE_STC
9048 fi
9049
9050 { echo "$as_me:$LINENO: result: $result" >&5
9051 echo "${ECHO_T}$result" >&6; }
9052
9053
9054 enablestring=
9055 defaultval=$wxUSE_ALL_FEATURES
9056 if test -z "$defaultval"; then
9057 if test x"$enablestring" = xdisable; then
9058 defaultval=yes
9059 else
9060 defaultval=no
9061 fi
9062 fi
9063
9064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9065 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9066 # Check whether --enable-constraints was given.
9067 if test "${enable_constraints+set}" = set; then
9068 enableval=$enable_constraints;
9069 if test "$enableval" = yes; then
9070 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9071 else
9072 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9073 fi
9074
9075 else
9076
9077 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9078
9079 fi
9080
9081
9082 eval "$wx_cv_use_constraints"
9083
9084 if test x"$enablestring" = xdisable; then
9085 if test $wxUSE_CONSTRAINTS = no; then
9086 result=yes
9087 else
9088 result=no
9089 fi
9090 else
9091 result=$wxUSE_CONSTRAINTS
9092 fi
9093
9094 { echo "$as_me:$LINENO: result: $result" >&5
9095 echo "${ECHO_T}$result" >&6; }
9096
9097
9098 enablestring=
9099 defaultval=$wxUSE_ALL_FEATURES
9100 if test -z "$defaultval"; then
9101 if test x"$enablestring" = xdisable; then
9102 defaultval=yes
9103 else
9104 defaultval=no
9105 fi
9106 fi
9107
9108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9109 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9110 # Check whether --enable-loggui was given.
9111 if test "${enable_loggui+set}" = set; then
9112 enableval=$enable_loggui;
9113 if test "$enableval" = yes; then
9114 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9115 else
9116 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9117 fi
9118
9119 else
9120
9121 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9122
9123 fi
9124
9125
9126 eval "$wx_cv_use_loggui"
9127
9128 if test x"$enablestring" = xdisable; then
9129 if test $wxUSE_LOGGUI = no; then
9130 result=yes
9131 else
9132 result=no
9133 fi
9134 else
9135 result=$wxUSE_LOGGUI
9136 fi
9137
9138 { echo "$as_me:$LINENO: result: $result" >&5
9139 echo "${ECHO_T}$result" >&6; }
9140
9141
9142 enablestring=
9143 defaultval=$wxUSE_ALL_FEATURES
9144 if test -z "$defaultval"; then
9145 if test x"$enablestring" = xdisable; then
9146 defaultval=yes
9147 else
9148 defaultval=no
9149 fi
9150 fi
9151
9152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9153 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9154 # Check whether --enable-logwin was given.
9155 if test "${enable_logwin+set}" = set; then
9156 enableval=$enable_logwin;
9157 if test "$enableval" = yes; then
9158 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9159 else
9160 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9161 fi
9162
9163 else
9164
9165 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9166
9167 fi
9168
9169
9170 eval "$wx_cv_use_logwin"
9171
9172 if test x"$enablestring" = xdisable; then
9173 if test $wxUSE_LOGWINDOW = no; then
9174 result=yes
9175 else
9176 result=no
9177 fi
9178 else
9179 result=$wxUSE_LOGWINDOW
9180 fi
9181
9182 { echo "$as_me:$LINENO: result: $result" >&5
9183 echo "${ECHO_T}$result" >&6; }
9184
9185
9186 enablestring=
9187 defaultval=$wxUSE_ALL_FEATURES
9188 if test -z "$defaultval"; then
9189 if test x"$enablestring" = xdisable; then
9190 defaultval=yes
9191 else
9192 defaultval=no
9193 fi
9194 fi
9195
9196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9198 # Check whether --enable-logdialog was given.
9199 if test "${enable_logdialog+set}" = set; then
9200 enableval=$enable_logdialog;
9201 if test "$enableval" = yes; then
9202 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9203 else
9204 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9205 fi
9206
9207 else
9208
9209 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9210
9211 fi
9212
9213
9214 eval "$wx_cv_use_logdialog"
9215
9216 if test x"$enablestring" = xdisable; then
9217 if test $wxUSE_LOGDIALOG = no; then
9218 result=yes
9219 else
9220 result=no
9221 fi
9222 else
9223 result=$wxUSE_LOGDIALOG
9224 fi
9225
9226 { echo "$as_me:$LINENO: result: $result" >&5
9227 echo "${ECHO_T}$result" >&6; }
9228
9229
9230 enablestring=
9231 defaultval=$wxUSE_ALL_FEATURES
9232 if test -z "$defaultval"; then
9233 if test x"$enablestring" = xdisable; then
9234 defaultval=yes
9235 else
9236 defaultval=no
9237 fi
9238 fi
9239
9240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9241 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9242 # Check whether --enable-mdi was given.
9243 if test "${enable_mdi+set}" = set; then
9244 enableval=$enable_mdi;
9245 if test "$enableval" = yes; then
9246 wx_cv_use_mdi='wxUSE_MDI=yes'
9247 else
9248 wx_cv_use_mdi='wxUSE_MDI=no'
9249 fi
9250
9251 else
9252
9253 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9254
9255 fi
9256
9257
9258 eval "$wx_cv_use_mdi"
9259
9260 if test x"$enablestring" = xdisable; then
9261 if test $wxUSE_MDI = no; then
9262 result=yes
9263 else
9264 result=no
9265 fi
9266 else
9267 result=$wxUSE_MDI
9268 fi
9269
9270 { echo "$as_me:$LINENO: result: $result" >&5
9271 echo "${ECHO_T}$result" >&6; }
9272
9273
9274 enablestring=
9275 defaultval=$wxUSE_ALL_FEATURES
9276 if test -z "$defaultval"; then
9277 if test x"$enablestring" = xdisable; then
9278 defaultval=yes
9279 else
9280 defaultval=no
9281 fi
9282 fi
9283
9284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9286 # Check whether --enable-mdidoc was given.
9287 if test "${enable_mdidoc+set}" = set; then
9288 enableval=$enable_mdidoc;
9289 if test "$enableval" = yes; then
9290 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9291 else
9292 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9293 fi
9294
9295 else
9296
9297 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9298
9299 fi
9300
9301
9302 eval "$wx_cv_use_mdidoc"
9303
9304 if test x"$enablestring" = xdisable; then
9305 if test $wxUSE_MDI_ARCHITECTURE = no; then
9306 result=yes
9307 else
9308 result=no
9309 fi
9310 else
9311 result=$wxUSE_MDI_ARCHITECTURE
9312 fi
9313
9314 { echo "$as_me:$LINENO: result: $result" >&5
9315 echo "${ECHO_T}$result" >&6; }
9316
9317
9318 enablestring=
9319 defaultval=$wxUSE_ALL_FEATURES
9320 if test -z "$defaultval"; then
9321 if test x"$enablestring" = xdisable; then
9322 defaultval=yes
9323 else
9324 defaultval=no
9325 fi
9326 fi
9327
9328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9329 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9330 # Check whether --enable-mediactrl was given.
9331 if test "${enable_mediactrl+set}" = set; then
9332 enableval=$enable_mediactrl;
9333 if test "$enableval" = yes; then
9334 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9335 else
9336 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9337 fi
9338
9339 else
9340
9341 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9342
9343 fi
9344
9345
9346 eval "$wx_cv_use_mediactrl"
9347
9348 if test x"$enablestring" = xdisable; then
9349 if test $wxUSE_MEDIACTRL = no; then
9350 result=yes
9351 else
9352 result=no
9353 fi
9354 else
9355 result=$wxUSE_MEDIACTRL
9356 fi
9357
9358 { echo "$as_me:$LINENO: result: $result" >&5
9359 echo "${ECHO_T}$result" >&6; }
9360
9361
9362 enablestring=
9363 defaultval=$wxUSE_ALL_FEATURES
9364 if test -z "$defaultval"; then
9365 if test x"$enablestring" = xdisable; then
9366 defaultval=yes
9367 else
9368 defaultval=no
9369 fi
9370 fi
9371
9372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9374 # Check whether --enable-gstreamer8 was given.
9375 if test "${enable_gstreamer8+set}" = set; then
9376 enableval=$enable_gstreamer8;
9377 if test "$enableval" = yes; then
9378 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9379 else
9380 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9381 fi
9382
9383 else
9384
9385 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9386
9387 fi
9388
9389
9390 eval "$wx_cv_use_gstreamer8"
9391
9392 if test x"$enablestring" = xdisable; then
9393 if test $wxUSE_GSTREAMER8 = no; then
9394 result=yes
9395 else
9396 result=no
9397 fi
9398 else
9399 result=$wxUSE_GSTREAMER8
9400 fi
9401
9402 { echo "$as_me:$LINENO: result: $result" >&5
9403 echo "${ECHO_T}$result" >&6; }
9404
9405
9406 enablestring=
9407 defaultval=$wxUSE_ALL_FEATURES
9408 if test -z "$defaultval"; then
9409 if test x"$enablestring" = xdisable; then
9410 defaultval=yes
9411 else
9412 defaultval=no
9413 fi
9414 fi
9415
9416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9418 # Check whether --enable-webkit was given.
9419 if test "${enable_webkit+set}" = set; then
9420 enableval=$enable_webkit;
9421 if test "$enableval" = yes; then
9422 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9423 else
9424 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9425 fi
9426
9427 else
9428
9429 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9430
9431 fi
9432
9433
9434 eval "$wx_cv_use_webkit"
9435
9436 if test x"$enablestring" = xdisable; then
9437 if test $wxUSE_WEBKIT = no; then
9438 result=yes
9439 else
9440 result=no
9441 fi
9442 else
9443 result=$wxUSE_WEBKIT
9444 fi
9445
9446 { echo "$as_me:$LINENO: result: $result" >&5
9447 echo "${ECHO_T}$result" >&6; }
9448
9449
9450 enablestring=
9451 defaultval=$wxUSE_ALL_FEATURES
9452 if test -z "$defaultval"; then
9453 if test x"$enablestring" = xdisable; then
9454 defaultval=yes
9455 else
9456 defaultval=no
9457 fi
9458 fi
9459
9460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9461 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9462 # Check whether --enable-richtext was given.
9463 if test "${enable_richtext+set}" = set; then
9464 enableval=$enable_richtext;
9465 if test "$enableval" = yes; then
9466 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9467 else
9468 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9469 fi
9470
9471 else
9472
9473 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9474
9475 fi
9476
9477
9478 eval "$wx_cv_use_richtext"
9479
9480 if test x"$enablestring" = xdisable; then
9481 if test $wxUSE_RICHTEXT = no; then
9482 result=yes
9483 else
9484 result=no
9485 fi
9486 else
9487 result=$wxUSE_RICHTEXT
9488 fi
9489
9490 { echo "$as_me:$LINENO: result: $result" >&5
9491 echo "${ECHO_T}$result" >&6; }
9492
9493
9494 enablestring=
9495 defaultval=$wxUSE_ALL_FEATURES
9496 if test -z "$defaultval"; then
9497 if test x"$enablestring" = xdisable; then
9498 defaultval=yes
9499 else
9500 defaultval=no
9501 fi
9502 fi
9503
9504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9505 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9506 # Check whether --enable-postscript was given.
9507 if test "${enable_postscript+set}" = set; then
9508 enableval=$enable_postscript;
9509 if test "$enableval" = yes; then
9510 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9511 else
9512 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9513 fi
9514
9515 else
9516
9517 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9518
9519 fi
9520
9521
9522 eval "$wx_cv_use_postscript"
9523
9524 if test x"$enablestring" = xdisable; then
9525 if test $wxUSE_POSTSCRIPT = no; then
9526 result=yes
9527 else
9528 result=no
9529 fi
9530 else
9531 result=$wxUSE_POSTSCRIPT
9532 fi
9533
9534 { echo "$as_me:$LINENO: result: $result" >&5
9535 echo "${ECHO_T}$result" >&6; }
9536
9537
9538 enablestring=
9539 defaultval=$wxUSE_ALL_FEATURES
9540 if test -z "$defaultval"; then
9541 if test x"$enablestring" = xdisable; then
9542 defaultval=yes
9543 else
9544 defaultval=no
9545 fi
9546 fi
9547
9548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9549 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9550 # Check whether --enable-printarch was given.
9551 if test "${enable_printarch+set}" = set; then
9552 enableval=$enable_printarch;
9553 if test "$enableval" = yes; then
9554 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9555 else
9556 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9557 fi
9558
9559 else
9560
9561 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9562
9563 fi
9564
9565
9566 eval "$wx_cv_use_printarch"
9567
9568 if test x"$enablestring" = xdisable; then
9569 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9570 result=yes
9571 else
9572 result=no
9573 fi
9574 else
9575 result=$wxUSE_PRINTING_ARCHITECTURE
9576 fi
9577
9578 { echo "$as_me:$LINENO: result: $result" >&5
9579 echo "${ECHO_T}$result" >&6; }
9580
9581
9582 enablestring=
9583 defaultval=$wxUSE_ALL_FEATURES
9584 if test -z "$defaultval"; then
9585 if test x"$enablestring" = xdisable; then
9586 defaultval=yes
9587 else
9588 defaultval=no
9589 fi
9590 fi
9591
9592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9593 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9594 # Check whether --enable-svg was given.
9595 if test "${enable_svg+set}" = set; then
9596 enableval=$enable_svg;
9597 if test "$enableval" = yes; then
9598 wx_cv_use_svg='wxUSE_SVG=yes'
9599 else
9600 wx_cv_use_svg='wxUSE_SVG=no'
9601 fi
9602
9603 else
9604
9605 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9606
9607 fi
9608
9609
9610 eval "$wx_cv_use_svg"
9611
9612 if test x"$enablestring" = xdisable; then
9613 if test $wxUSE_SVG = no; then
9614 result=yes
9615 else
9616 result=no
9617 fi
9618 else
9619 result=$wxUSE_SVG
9620 fi
9621
9622 { echo "$as_me:$LINENO: result: $result" >&5
9623 echo "${ECHO_T}$result" >&6; }
9624
9625
9626 if test "$wxUSE_MAC" != 1; then
9627
9628 enablestring=
9629 defaultval=$wxUSE_ALL_FEATURES
9630 if test -z "$defaultval"; then
9631 if test x"$enablestring" = xdisable; then
9632 defaultval=yes
9633 else
9634 defaultval=no
9635 fi
9636 fi
9637
9638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9640 # Check whether --enable-graphics_ctx was given.
9641 if test "${enable_graphics_ctx+set}" = set; then
9642 enableval=$enable_graphics_ctx;
9643 if test "$enableval" = yes; then
9644 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9645 else
9646 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9647 fi
9648
9649 else
9650
9651 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9652
9653 fi
9654
9655
9656 eval "$wx_cv_use_graphics_ctx"
9657
9658 if test x"$enablestring" = xdisable; then
9659 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9660 result=yes
9661 else
9662 result=no
9663 fi
9664 else
9665 result=$wxUSE_GRAPHICS_CONTEXT
9666 fi
9667
9668 { echo "$as_me:$LINENO: result: $result" >&5
9669 echo "${ECHO_T}$result" >&6; }
9670
9671 fi
9672
9673
9674
9675 enablestring=
9676 defaultval=$wxUSE_ALL_FEATURES
9677 if test -z "$defaultval"; then
9678 if test x"$enablestring" = xdisable; then
9679 defaultval=yes
9680 else
9681 defaultval=no
9682 fi
9683 fi
9684
9685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9686 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9687 # Check whether --enable-clipboard was given.
9688 if test "${enable_clipboard+set}" = set; then
9689 enableval=$enable_clipboard;
9690 if test "$enableval" = yes; then
9691 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9692 else
9693 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9694 fi
9695
9696 else
9697
9698 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9699
9700 fi
9701
9702
9703 eval "$wx_cv_use_clipboard"
9704
9705 if test x"$enablestring" = xdisable; then
9706 if test $wxUSE_CLIPBOARD = no; then
9707 result=yes
9708 else
9709 result=no
9710 fi
9711 else
9712 result=$wxUSE_CLIPBOARD
9713 fi
9714
9715 { echo "$as_me:$LINENO: result: $result" >&5
9716 echo "${ECHO_T}$result" >&6; }
9717
9718
9719 enablestring=
9720 defaultval=$wxUSE_ALL_FEATURES
9721 if test -z "$defaultval"; then
9722 if test x"$enablestring" = xdisable; then
9723 defaultval=yes
9724 else
9725 defaultval=no
9726 fi
9727 fi
9728
9729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9730 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9731 # Check whether --enable-dnd was given.
9732 if test "${enable_dnd+set}" = set; then
9733 enableval=$enable_dnd;
9734 if test "$enableval" = yes; then
9735 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9736 else
9737 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9738 fi
9739
9740 else
9741
9742 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9743
9744 fi
9745
9746
9747 eval "$wx_cv_use_dnd"
9748
9749 if test x"$enablestring" = xdisable; then
9750 if test $wxUSE_DRAG_AND_DROP = no; then
9751 result=yes
9752 else
9753 result=no
9754 fi
9755 else
9756 result=$wxUSE_DRAG_AND_DROP
9757 fi
9758
9759 { echo "$as_me:$LINENO: result: $result" >&5
9760 echo "${ECHO_T}$result" >&6; }
9761
9762
9763 enablestring=
9764 defaultval=$wxUSE_ALL_FEATURES
9765 if test -z "$defaultval"; then
9766 if test x"$enablestring" = xdisable; then
9767 defaultval=yes
9768 else
9769 defaultval=no
9770 fi
9771 fi
9772
9773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9775 # Check whether --enable-metafile was given.
9776 if test "${enable_metafile+set}" = set; then
9777 enableval=$enable_metafile;
9778 if test "$enableval" = yes; then
9779 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9780 else
9781 wx_cv_use_metafile='wxUSE_METAFILE=no'
9782 fi
9783
9784 else
9785
9786 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9787
9788 fi
9789
9790
9791 eval "$wx_cv_use_metafile"
9792
9793 if test x"$enablestring" = xdisable; then
9794 if test $wxUSE_METAFILE = no; then
9795 result=yes
9796 else
9797 result=no
9798 fi
9799 else
9800 result=$wxUSE_METAFILE
9801 fi
9802
9803 { echo "$as_me:$LINENO: result: $result" >&5
9804 echo "${ECHO_T}$result" >&6; }
9805
9806
9807
9808 DEFAULT_wxUSE_CONTROLS=none
9809
9810 enablestring=disable
9811 defaultval=
9812 if test -z "$defaultval"; then
9813 if test x"$enablestring" = xdisable; then
9814 defaultval=yes
9815 else
9816 defaultval=no
9817 fi
9818 fi
9819
9820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9822 # Check whether --enable-controls was given.
9823 if test "${enable_controls+set}" = set; then
9824 enableval=$enable_controls;
9825 if test "$enableval" = yes; then
9826 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9827 else
9828 wx_cv_use_controls='wxUSE_CONTROLS=no'
9829 fi
9830
9831 else
9832
9833 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9834
9835 fi
9836
9837
9838 eval "$wx_cv_use_controls"
9839
9840 if test x"$enablestring" = xdisable; then
9841 if test $wxUSE_CONTROLS = no; then
9842 result=yes
9843 else
9844 result=no
9845 fi
9846 else
9847 result=$wxUSE_CONTROLS
9848 fi
9849
9850 { echo "$as_me:$LINENO: result: $result" >&5
9851 echo "${ECHO_T}$result" >&6; }
9852
9853
9854 if test "$wxUSE_CONTROLS" = "no"; then
9855 DEFAULT_wxUSE_ACCEL=no
9856 DEFAULT_wxUSE_ANIMATIONCTRL=no
9857 DEFAULT_wxUSE_BANNERWINDOW=no
9858 DEFAULT_wxUSE_BMPBUTTON=no
9859 DEFAULT_wxUSE_BUTTON=no
9860 DEFAULT_wxUSE_CALCTRL=no
9861 DEFAULT_wxUSE_CARET=no
9862 DEFAULT_wxUSE_CHECKBOX=no
9863 DEFAULT_wxUSE_CHECKLISTBOX=no
9864 DEFAULT_wxUSE_CHOICE=no
9865 DEFAULT_wxUSE_CHOICEBOOK=no
9866 DEFAULT_wxUSE_COLLPANE=no
9867 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9868 DEFAULT_wxUSE_COMBOBOX=no
9869 DEFAULT_wxUSE_COMBOBOX=no
9870 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9871 DEFAULT_wxUSE_DATAVIEWCTRL=no
9872 DEFAULT_wxUSE_DATEPICKCTRL=no
9873 DEFAULT_wxUSE_DETECT_SM=no
9874 DEFAULT_wxUSE_DIRPICKERCTRL=no
9875 DEFAULT_wxUSE_DISPLAY=no
9876 DEFAULT_wxUSE_FILECTRL=no
9877 DEFAULT_wxUSE_FILEPICKERCTRL=no
9878 DEFAULT_wxUSE_FONTPICKERCTRL=no
9879 DEFAULT_wxUSE_GAUGE=no
9880 DEFAULT_wxUSE_GRID=no
9881 DEFAULT_wxUSE_HEADERCTRL=no
9882 DEFAULT_wxUSE_HYPERLINKCTRL=no
9883 DEFAULT_wxUSE_IMAGLIST=no
9884 DEFAULT_wxUSE_LISTBOOK=no
9885 DEFAULT_wxUSE_LISTBOX=no
9886 DEFAULT_wxUSE_LISTCTRL=no
9887 DEFAULT_wxUSE_MARKUP=no
9888 DEFAULT_wxUSE_NOTEBOOK=no
9889 DEFAULT_wxUSE_POPUPWIN=no
9890 DEFAULT_wxUSE_RADIOBOX=no
9891 DEFAULT_wxUSE_RADIOBTN=no
9892 DEFAULT_wxUSE_RICHMSGDLG=no
9893 DEFAULT_wxUSE_REARRANGECTRL=no
9894 DEFAULT_wxUSE_SASH=no
9895 DEFAULT_wxUSE_SCROLLBAR=no
9896 DEFAULT_wxUSE_SEARCHCTRL=no
9897 DEFAULT_wxUSE_SLIDER=no
9898 DEFAULT_wxUSE_SPINBTN=no
9899 DEFAULT_wxUSE_SPINCTRL=no
9900 DEFAULT_wxUSE_SPLITTER=no
9901 DEFAULT_wxUSE_STATBMP=no
9902 DEFAULT_wxUSE_STATBOX=no
9903 DEFAULT_wxUSE_STATLINE=no
9904 DEFAULT_wxUSE_STATUSBAR=no
9905 DEFAULT_wxUSE_TIPWINDOW=no
9906 DEFAULT_wxUSE_TOGGLEBTN=no
9907 DEFAULT_wxUSE_TOOLBAR=no
9908 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9909 DEFAULT_wxUSE_TOOLBOOK=no
9910 DEFAULT_wxUSE_TOOLTIPS=no
9911 DEFAULT_wxUSE_TREEBOOK=no
9912 DEFAULT_wxUSE_TREECTRL=no
9913 fi
9914
9915
9916 enablestring=
9917 defaultval=$wxUSE_ALL_FEATURES
9918 if test -z "$defaultval"; then
9919 if test x"$enablestring" = xdisable; then
9920 defaultval=yes
9921 else
9922 defaultval=no
9923 fi
9924 fi
9925
9926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9928 # Check whether --enable-markup was given.
9929 if test "${enable_markup+set}" = set; then
9930 enableval=$enable_markup;
9931 if test "$enableval" = yes; then
9932 wx_cv_use_markup='wxUSE_MARKUP=yes'
9933 else
9934 wx_cv_use_markup='wxUSE_MARKUP=no'
9935 fi
9936
9937 else
9938
9939 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9940
9941 fi
9942
9943
9944 eval "$wx_cv_use_markup"
9945
9946 if test x"$enablestring" = xdisable; then
9947 if test $wxUSE_MARKUP = no; then
9948 result=yes
9949 else
9950 result=no
9951 fi
9952 else
9953 result=$wxUSE_MARKUP
9954 fi
9955
9956 { echo "$as_me:$LINENO: result: $result" >&5
9957 echo "${ECHO_T}$result" >&6; }
9958
9959
9960
9961 enablestring=
9962 defaultval=$wxUSE_ALL_FEATURES
9963 if test -z "$defaultval"; then
9964 if test x"$enablestring" = xdisable; then
9965 defaultval=yes
9966 else
9967 defaultval=no
9968 fi
9969 fi
9970
9971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9972 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9973 # Check whether --enable-accel was given.
9974 if test "${enable_accel+set}" = set; then
9975 enableval=$enable_accel;
9976 if test "$enableval" = yes; then
9977 wx_cv_use_accel='wxUSE_ACCEL=yes'
9978 else
9979 wx_cv_use_accel='wxUSE_ACCEL=no'
9980 fi
9981
9982 else
9983
9984 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9985
9986 fi
9987
9988
9989 eval "$wx_cv_use_accel"
9990
9991 if test x"$enablestring" = xdisable; then
9992 if test $wxUSE_ACCEL = no; then
9993 result=yes
9994 else
9995 result=no
9996 fi
9997 else
9998 result=$wxUSE_ACCEL
9999 fi
10000
10001 { echo "$as_me:$LINENO: result: $result" >&5
10002 echo "${ECHO_T}$result" >&6; }
10003
10004
10005 enablestring=
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10009 defaultval=yes
10010 else
10011 defaultval=no
10012 fi
10013 fi
10014
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10017 # Check whether --enable-animatectrl was given.
10018 if test "${enable_animatectrl+set}" = set; then
10019 enableval=$enable_animatectrl;
10020 if test "$enableval" = yes; then
10021 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10022 else
10023 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10024 fi
10025
10026 else
10027
10028 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10029
10030 fi
10031
10032
10033 eval "$wx_cv_use_animatectrl"
10034
10035 if test x"$enablestring" = xdisable; then
10036 if test $wxUSE_ANIMATIONCTRL = no; then
10037 result=yes
10038 else
10039 result=no
10040 fi
10041 else
10042 result=$wxUSE_ANIMATIONCTRL
10043 fi
10044
10045 { echo "$as_me:$LINENO: result: $result" >&5
10046 echo "${ECHO_T}$result" >&6; }
10047
10048
10049 enablestring=
10050 defaultval=$wxUSE_ALL_FEATURES
10051 if test -z "$defaultval"; then
10052 if test x"$enablestring" = xdisable; then
10053 defaultval=yes
10054 else
10055 defaultval=no
10056 fi
10057 fi
10058
10059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10060 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10061 # Check whether --enable-bannerwindow was given.
10062 if test "${enable_bannerwindow+set}" = set; then
10063 enableval=$enable_bannerwindow;
10064 if test "$enableval" = yes; then
10065 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10066 else
10067 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10068 fi
10069
10070 else
10071
10072 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10073
10074 fi
10075
10076
10077 eval "$wx_cv_use_bannerwindow"
10078
10079 if test x"$enablestring" = xdisable; then
10080 if test $wxUSE_BANNERWINDOW = no; then
10081 result=yes
10082 else
10083 result=no
10084 fi
10085 else
10086 result=$wxUSE_BANNERWINDOW
10087 fi
10088
10089 { echo "$as_me:$LINENO: result: $result" >&5
10090 echo "${ECHO_T}$result" >&6; }
10091
10092
10093 enablestring=
10094 defaultval=$wxUSE_ALL_FEATURES
10095 if test -z "$defaultval"; then
10096 if test x"$enablestring" = xdisable; then
10097 defaultval=yes
10098 else
10099 defaultval=no
10100 fi
10101 fi
10102
10103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10105 # Check whether --enable-artstd was given.
10106 if test "${enable_artstd+set}" = set; then
10107 enableval=$enable_artstd;
10108 if test "$enableval" = yes; then
10109 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10110 else
10111 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10112 fi
10113
10114 else
10115
10116 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10117
10118 fi
10119
10120
10121 eval "$wx_cv_use_artstd"
10122
10123 if test x"$enablestring" = xdisable; then
10124 if test $wxUSE_ARTPROVIDER_STD = no; then
10125 result=yes
10126 else
10127 result=no
10128 fi
10129 else
10130 result=$wxUSE_ARTPROVIDER_STD
10131 fi
10132
10133 { echo "$as_me:$LINENO: result: $result" >&5
10134 echo "${ECHO_T}$result" >&6; }
10135
10136
10137 enablestring=
10138 defaultval=$wxUSE_ALL_FEATURES
10139 if test -z "$defaultval"; then
10140 if test x"$enablestring" = xdisable; then
10141 defaultval=yes
10142 else
10143 defaultval=no
10144 fi
10145 fi
10146
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10149 # Check whether --enable-arttango was given.
10150 if test "${enable_arttango+set}" = set; then
10151 enableval=$enable_arttango;
10152 if test "$enableval" = yes; then
10153 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10154 else
10155 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10156 fi
10157
10158 else
10159
10160 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10161
10162 fi
10163
10164
10165 eval "$wx_cv_use_arttango"
10166
10167 if test x"$enablestring" = xdisable; then
10168 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10169 result=yes
10170 else
10171 result=no
10172 fi
10173 else
10174 result=$wxUSE_ARTPROVIDER_TANGO
10175 fi
10176
10177 { echo "$as_me:$LINENO: result: $result" >&5
10178 echo "${ECHO_T}$result" >&6; }
10179
10180
10181 enablestring=
10182 defaultval=$wxUSE_ALL_FEATURES
10183 if test -z "$defaultval"; then
10184 if test x"$enablestring" = xdisable; then
10185 defaultval=yes
10186 else
10187 defaultval=no
10188 fi
10189 fi
10190
10191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10193 # Check whether --enable-bmpbutton was given.
10194 if test "${enable_bmpbutton+set}" = set; then
10195 enableval=$enable_bmpbutton;
10196 if test "$enableval" = yes; then
10197 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10198 else
10199 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10200 fi
10201
10202 else
10203
10204 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10205
10206 fi
10207
10208
10209 eval "$wx_cv_use_bmpbutton"
10210
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_BMPBUTTON = no; then
10213 result=yes
10214 else
10215 result=no
10216 fi
10217 else
10218 result=$wxUSE_BMPBUTTON
10219 fi
10220
10221 { echo "$as_me:$LINENO: result: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10223
10224
10225 enablestring=
10226 defaultval=$wxUSE_ALL_FEATURES
10227 if test -z "$defaultval"; then
10228 if test x"$enablestring" = xdisable; then
10229 defaultval=yes
10230 else
10231 defaultval=no
10232 fi
10233 fi
10234
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10237 # Check whether --enable-bmpcombobox was given.
10238 if test "${enable_bmpcombobox+set}" = set; then
10239 enableval=$enable_bmpcombobox;
10240 if test "$enableval" = yes; then
10241 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10242 else
10243 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10244 fi
10245
10246 else
10247
10248 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10249
10250 fi
10251
10252
10253 eval "$wx_cv_use_bmpcombobox"
10254
10255 if test x"$enablestring" = xdisable; then
10256 if test $wxUSE_BITMAPCOMBOBOX = no; then
10257 result=yes
10258 else
10259 result=no
10260 fi
10261 else
10262 result=$wxUSE_BITMAPCOMBOBOX
10263 fi
10264
10265 { echo "$as_me:$LINENO: result: $result" >&5
10266 echo "${ECHO_T}$result" >&6; }
10267
10268
10269 enablestring=
10270 defaultval=$wxUSE_ALL_FEATURES
10271 if test -z "$defaultval"; then
10272 if test x"$enablestring" = xdisable; then
10273 defaultval=yes
10274 else
10275 defaultval=no
10276 fi
10277 fi
10278
10279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10281 # Check whether --enable-button was given.
10282 if test "${enable_button+set}" = set; then
10283 enableval=$enable_button;
10284 if test "$enableval" = yes; then
10285 wx_cv_use_button='wxUSE_BUTTON=yes'
10286 else
10287 wx_cv_use_button='wxUSE_BUTTON=no'
10288 fi
10289
10290 else
10291
10292 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10293
10294 fi
10295
10296
10297 eval "$wx_cv_use_button"
10298
10299 if test x"$enablestring" = xdisable; then
10300 if test $wxUSE_BUTTON = no; then
10301 result=yes
10302 else
10303 result=no
10304 fi
10305 else
10306 result=$wxUSE_BUTTON
10307 fi
10308
10309 { echo "$as_me:$LINENO: result: $result" >&5
10310 echo "${ECHO_T}$result" >&6; }
10311
10312
10313 enablestring=
10314 defaultval=$wxUSE_ALL_FEATURES
10315 if test -z "$defaultval"; then
10316 if test x"$enablestring" = xdisable; then
10317 defaultval=yes
10318 else
10319 defaultval=no
10320 fi
10321 fi
10322
10323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10324 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10325 # Check whether --enable-calendar was given.
10326 if test "${enable_calendar+set}" = set; then
10327 enableval=$enable_calendar;
10328 if test "$enableval" = yes; then
10329 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10330 else
10331 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10332 fi
10333
10334 else
10335
10336 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10337
10338 fi
10339
10340
10341 eval "$wx_cv_use_calendar"
10342
10343 if test x"$enablestring" = xdisable; then
10344 if test $wxUSE_CALCTRL = no; then
10345 result=yes
10346 else
10347 result=no
10348 fi
10349 else
10350 result=$wxUSE_CALCTRL
10351 fi
10352
10353 { echo "$as_me:$LINENO: result: $result" >&5
10354 echo "${ECHO_T}$result" >&6; }
10355
10356
10357 enablestring=
10358 defaultval=$wxUSE_ALL_FEATURES
10359 if test -z "$defaultval"; then
10360 if test x"$enablestring" = xdisable; then
10361 defaultval=yes
10362 else
10363 defaultval=no
10364 fi
10365 fi
10366
10367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10368 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10369 # Check whether --enable-caret was given.
10370 if test "${enable_caret+set}" = set; then
10371 enableval=$enable_caret;
10372 if test "$enableval" = yes; then
10373 wx_cv_use_caret='wxUSE_CARET=yes'
10374 else
10375 wx_cv_use_caret='wxUSE_CARET=no'
10376 fi
10377
10378 else
10379
10380 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10381
10382 fi
10383
10384
10385 eval "$wx_cv_use_caret"
10386
10387 if test x"$enablestring" = xdisable; then
10388 if test $wxUSE_CARET = no; then
10389 result=yes
10390 else
10391 result=no
10392 fi
10393 else
10394 result=$wxUSE_CARET
10395 fi
10396
10397 { echo "$as_me:$LINENO: result: $result" >&5
10398 echo "${ECHO_T}$result" >&6; }
10399
10400
10401 enablestring=
10402 defaultval=$wxUSE_ALL_FEATURES
10403 if test -z "$defaultval"; then
10404 if test x"$enablestring" = xdisable; then
10405 defaultval=yes
10406 else
10407 defaultval=no
10408 fi
10409 fi
10410
10411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10413 # Check whether --enable-checkbox was given.
10414 if test "${enable_checkbox+set}" = set; then
10415 enableval=$enable_checkbox;
10416 if test "$enableval" = yes; then
10417 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10418 else
10419 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10420 fi
10421
10422 else
10423
10424 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10425
10426 fi
10427
10428
10429 eval "$wx_cv_use_checkbox"
10430
10431 if test x"$enablestring" = xdisable; then
10432 if test $wxUSE_CHECKBOX = no; then
10433 result=yes
10434 else
10435 result=no
10436 fi
10437 else
10438 result=$wxUSE_CHECKBOX
10439 fi
10440
10441 { echo "$as_me:$LINENO: result: $result" >&5
10442 echo "${ECHO_T}$result" >&6; }
10443
10444
10445 enablestring=
10446 defaultval=$wxUSE_ALL_FEATURES
10447 if test -z "$defaultval"; then
10448 if test x"$enablestring" = xdisable; then
10449 defaultval=yes
10450 else
10451 defaultval=no
10452 fi
10453 fi
10454
10455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10457 # Check whether --enable-checklst was given.
10458 if test "${enable_checklst+set}" = set; then
10459 enableval=$enable_checklst;
10460 if test "$enableval" = yes; then
10461 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10462 else
10463 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10464 fi
10465
10466 else
10467
10468 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10469
10470 fi
10471
10472
10473 eval "$wx_cv_use_checklst"
10474
10475 if test x"$enablestring" = xdisable; then
10476 if test $wxUSE_CHECKLST = no; then
10477 result=yes
10478 else
10479 result=no
10480 fi
10481 else
10482 result=$wxUSE_CHECKLST
10483 fi
10484
10485 { echo "$as_me:$LINENO: result: $result" >&5
10486 echo "${ECHO_T}$result" >&6; }
10487
10488
10489 enablestring=
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10493 defaultval=yes
10494 else
10495 defaultval=no
10496 fi
10497 fi
10498
10499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10501 # Check whether --enable-choice was given.
10502 if test "${enable_choice+set}" = set; then
10503 enableval=$enable_choice;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_choice='wxUSE_CHOICE=yes'
10506 else
10507 wx_cv_use_choice='wxUSE_CHOICE=no'
10508 fi
10509
10510 else
10511
10512 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10513
10514 fi
10515
10516
10517 eval "$wx_cv_use_choice"
10518
10519 if test x"$enablestring" = xdisable; then
10520 if test $wxUSE_CHOICE = no; then
10521 result=yes
10522 else
10523 result=no
10524 fi
10525 else
10526 result=$wxUSE_CHOICE
10527 fi
10528
10529 { echo "$as_me:$LINENO: result: $result" >&5
10530 echo "${ECHO_T}$result" >&6; }
10531
10532
10533 enablestring=
10534 defaultval=$wxUSE_ALL_FEATURES
10535 if test -z "$defaultval"; then
10536 if test x"$enablestring" = xdisable; then
10537 defaultval=yes
10538 else
10539 defaultval=no
10540 fi
10541 fi
10542
10543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10545 # Check whether --enable-choicebook was given.
10546 if test "${enable_choicebook+set}" = set; then
10547 enableval=$enable_choicebook;
10548 if test "$enableval" = yes; then
10549 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10550 else
10551 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10552 fi
10553
10554 else
10555
10556 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10557
10558 fi
10559
10560
10561 eval "$wx_cv_use_choicebook"
10562
10563 if test x"$enablestring" = xdisable; then
10564 if test $wxUSE_CHOICEBOOK = no; then
10565 result=yes
10566 else
10567 result=no
10568 fi
10569 else
10570 result=$wxUSE_CHOICEBOOK
10571 fi
10572
10573 { echo "$as_me:$LINENO: result: $result" >&5
10574 echo "${ECHO_T}$result" >&6; }
10575
10576
10577 enablestring=
10578 defaultval=$wxUSE_ALL_FEATURES
10579 if test -z "$defaultval"; then
10580 if test x"$enablestring" = xdisable; then
10581 defaultval=yes
10582 else
10583 defaultval=no
10584 fi
10585 fi
10586
10587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10588 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10589 # Check whether --enable-collpane was given.
10590 if test "${enable_collpane+set}" = set; then
10591 enableval=$enable_collpane;
10592 if test "$enableval" = yes; then
10593 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10594 else
10595 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10596 fi
10597
10598 else
10599
10600 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10601
10602 fi
10603
10604
10605 eval "$wx_cv_use_collpane"
10606
10607 if test x"$enablestring" = xdisable; then
10608 if test $wxUSE_COLLPANE = no; then
10609 result=yes
10610 else
10611 result=no
10612 fi
10613 else
10614 result=$wxUSE_COLLPANE
10615 fi
10616
10617 { echo "$as_me:$LINENO: result: $result" >&5
10618 echo "${ECHO_T}$result" >&6; }
10619
10620
10621 enablestring=
10622 defaultval=$wxUSE_ALL_FEATURES
10623 if test -z "$defaultval"; then
10624 if test x"$enablestring" = xdisable; then
10625 defaultval=yes
10626 else
10627 defaultval=no
10628 fi
10629 fi
10630
10631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10632 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10633 # Check whether --enable-colourpicker was given.
10634 if test "${enable_colourpicker+set}" = set; then
10635 enableval=$enable_colourpicker;
10636 if test "$enableval" = yes; then
10637 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10638 else
10639 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10640 fi
10641
10642 else
10643
10644 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10645
10646 fi
10647
10648
10649 eval "$wx_cv_use_colourpicker"
10650
10651 if test x"$enablestring" = xdisable; then
10652 if test $wxUSE_COLOURPICKERCTRL = no; then
10653 result=yes
10654 else
10655 result=no
10656 fi
10657 else
10658 result=$wxUSE_COLOURPICKERCTRL
10659 fi
10660
10661 { echo "$as_me:$LINENO: result: $result" >&5
10662 echo "${ECHO_T}$result" >&6; }
10663
10664
10665 enablestring=
10666 defaultval=$wxUSE_ALL_FEATURES
10667 if test -z "$defaultval"; then
10668 if test x"$enablestring" = xdisable; then
10669 defaultval=yes
10670 else
10671 defaultval=no
10672 fi
10673 fi
10674
10675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10676 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10677 # Check whether --enable-combobox was given.
10678 if test "${enable_combobox+set}" = set; then
10679 enableval=$enable_combobox;
10680 if test "$enableval" = yes; then
10681 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10682 else
10683 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10684 fi
10685
10686 else
10687
10688 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10689
10690 fi
10691
10692
10693 eval "$wx_cv_use_combobox"
10694
10695 if test x"$enablestring" = xdisable; then
10696 if test $wxUSE_COMBOBOX = no; then
10697 result=yes
10698 else
10699 result=no
10700 fi
10701 else
10702 result=$wxUSE_COMBOBOX
10703 fi
10704
10705 { echo "$as_me:$LINENO: result: $result" >&5
10706 echo "${ECHO_T}$result" >&6; }
10707
10708
10709 enablestring=
10710 defaultval=$wxUSE_ALL_FEATURES
10711 if test -z "$defaultval"; then
10712 if test x"$enablestring" = xdisable; then
10713 defaultval=yes
10714 else
10715 defaultval=no
10716 fi
10717 fi
10718
10719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10720 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10721 # Check whether --enable-comboctrl was given.
10722 if test "${enable_comboctrl+set}" = set; then
10723 enableval=$enable_comboctrl;
10724 if test "$enableval" = yes; then
10725 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10726 else
10727 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10728 fi
10729
10730 else
10731
10732 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10733
10734 fi
10735
10736
10737 eval "$wx_cv_use_comboctrl"
10738
10739 if test x"$enablestring" = xdisable; then
10740 if test $wxUSE_COMBOCTRL = no; then
10741 result=yes
10742 else
10743 result=no
10744 fi
10745 else
10746 result=$wxUSE_COMBOCTRL
10747 fi
10748
10749 { echo "$as_me:$LINENO: result: $result" >&5
10750 echo "${ECHO_T}$result" >&6; }
10751
10752
10753 enablestring=
10754 defaultval=$wxUSE_ALL_FEATURES
10755 if test -z "$defaultval"; then
10756 if test x"$enablestring" = xdisable; then
10757 defaultval=yes
10758 else
10759 defaultval=no
10760 fi
10761 fi
10762
10763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10764 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10765 # Check whether --enable-commandlinkbutton was given.
10766 if test "${enable_commandlinkbutton+set}" = set; then
10767 enableval=$enable_commandlinkbutton;
10768 if test "$enableval" = yes; then
10769 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10770 else
10771 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10772 fi
10773
10774 else
10775
10776 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10777
10778 fi
10779
10780
10781 eval "$wx_cv_use_commandlinkbutton"
10782
10783 if test x"$enablestring" = xdisable; then
10784 if test $wxUSE_COMMANDLINKBUTTON = no; then
10785 result=yes
10786 else
10787 result=no
10788 fi
10789 else
10790 result=$wxUSE_COMMANDLINKBUTTON
10791 fi
10792
10793 { echo "$as_me:$LINENO: result: $result" >&5
10794 echo "${ECHO_T}$result" >&6; }
10795
10796
10797 enablestring=
10798 defaultval=$wxUSE_ALL_FEATURES
10799 if test -z "$defaultval"; then
10800 if test x"$enablestring" = xdisable; then
10801 defaultval=yes
10802 else
10803 defaultval=no
10804 fi
10805 fi
10806
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10809 # Check whether --enable-dataviewctrl was given.
10810 if test "${enable_dataviewctrl+set}" = set; then
10811 enableval=$enable_dataviewctrl;
10812 if test "$enableval" = yes; then
10813 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10814 else
10815 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10816 fi
10817
10818 else
10819
10820 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10821
10822 fi
10823
10824
10825 eval "$wx_cv_use_dataviewctrl"
10826
10827 if test x"$enablestring" = xdisable; then
10828 if test $wxUSE_DATAVIEWCTRL = no; then
10829 result=yes
10830 else
10831 result=no
10832 fi
10833 else
10834 result=$wxUSE_DATAVIEWCTRL
10835 fi
10836
10837 { echo "$as_me:$LINENO: result: $result" >&5
10838 echo "${ECHO_T}$result" >&6; }
10839
10840
10841 enablestring=
10842 defaultval=$wxUSE_ALL_FEATURES
10843 if test -z "$defaultval"; then
10844 if test x"$enablestring" = xdisable; then
10845 defaultval=yes
10846 else
10847 defaultval=no
10848 fi
10849 fi
10850
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10853 # Check whether --enable-datepick was given.
10854 if test "${enable_datepick+set}" = set; then
10855 enableval=$enable_datepick;
10856 if test "$enableval" = yes; then
10857 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10858 else
10859 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10860 fi
10861
10862 else
10863
10864 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10865
10866 fi
10867
10868
10869 eval "$wx_cv_use_datepick"
10870
10871 if test x"$enablestring" = xdisable; then
10872 if test $wxUSE_DATEPICKCTRL = no; then
10873 result=yes
10874 else
10875 result=no
10876 fi
10877 else
10878 result=$wxUSE_DATEPICKCTRL
10879 fi
10880
10881 { echo "$as_me:$LINENO: result: $result" >&5
10882 echo "${ECHO_T}$result" >&6; }
10883
10884
10885 enablestring=
10886 defaultval=$wxUSE_ALL_FEATURES
10887 if test -z "$defaultval"; then
10888 if test x"$enablestring" = xdisable; then
10889 defaultval=yes
10890 else
10891 defaultval=no
10892 fi
10893 fi
10894
10895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10896 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10897 # Check whether --enable-detect_sm was given.
10898 if test "${enable_detect_sm+set}" = set; then
10899 enableval=$enable_detect_sm;
10900 if test "$enableval" = yes; then
10901 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10902 else
10903 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10904 fi
10905
10906 else
10907
10908 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10909
10910 fi
10911
10912
10913 eval "$wx_cv_use_detect_sm"
10914
10915 if test x"$enablestring" = xdisable; then
10916 if test $wxUSE_DETECT_SM = no; then
10917 result=yes
10918 else
10919 result=no
10920 fi
10921 else
10922 result=$wxUSE_DETECT_SM
10923 fi
10924
10925 { echo "$as_me:$LINENO: result: $result" >&5
10926 echo "${ECHO_T}$result" >&6; }
10927
10928
10929 enablestring=
10930 defaultval=$wxUSE_ALL_FEATURES
10931 if test -z "$defaultval"; then
10932 if test x"$enablestring" = xdisable; then
10933 defaultval=yes
10934 else
10935 defaultval=no
10936 fi
10937 fi
10938
10939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10940 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10941 # Check whether --enable-dirpicker was given.
10942 if test "${enable_dirpicker+set}" = set; then
10943 enableval=$enable_dirpicker;
10944 if test "$enableval" = yes; then
10945 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10946 else
10947 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10948 fi
10949
10950 else
10951
10952 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10953
10954 fi
10955
10956
10957 eval "$wx_cv_use_dirpicker"
10958
10959 if test x"$enablestring" = xdisable; then
10960 if test $wxUSE_DIRPICKERCTRL = no; then
10961 result=yes
10962 else
10963 result=no
10964 fi
10965 else
10966 result=$wxUSE_DIRPICKERCTRL
10967 fi
10968
10969 { echo "$as_me:$LINENO: result: $result" >&5
10970 echo "${ECHO_T}$result" >&6; }
10971
10972
10973 enablestring=
10974 defaultval=$wxUSE_ALL_FEATURES
10975 if test -z "$defaultval"; then
10976 if test x"$enablestring" = xdisable; then
10977 defaultval=yes
10978 else
10979 defaultval=no
10980 fi
10981 fi
10982
10983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10985 # Check whether --enable-display was given.
10986 if test "${enable_display+set}" = set; then
10987 enableval=$enable_display;
10988 if test "$enableval" = yes; then
10989 wx_cv_use_display='wxUSE_DISPLAY=yes'
10990 else
10991 wx_cv_use_display='wxUSE_DISPLAY=no'
10992 fi
10993
10994 else
10995
10996 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10997
10998 fi
10999
11000
11001 eval "$wx_cv_use_display"
11002
11003 if test x"$enablestring" = xdisable; then
11004 if test $wxUSE_DISPLAY = no; then
11005 result=yes
11006 else
11007 result=no
11008 fi
11009 else
11010 result=$wxUSE_DISPLAY
11011 fi
11012
11013 { echo "$as_me:$LINENO: result: $result" >&5
11014 echo "${ECHO_T}$result" >&6; }
11015
11016
11017 enablestring=
11018 defaultval=$wxUSE_ALL_FEATURES
11019 if test -z "$defaultval"; then
11020 if test x"$enablestring" = xdisable; then
11021 defaultval=yes
11022 else
11023 defaultval=no
11024 fi
11025 fi
11026
11027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11029 # Check whether --enable-editablebox was given.
11030 if test "${enable_editablebox+set}" = set; then
11031 enableval=$enable_editablebox;
11032 if test "$enableval" = yes; then
11033 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11034 else
11035 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11036 fi
11037
11038 else
11039
11040 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11041
11042 fi
11043
11044
11045 eval "$wx_cv_use_editablebox"
11046
11047 if test x"$enablestring" = xdisable; then
11048 if test $wxUSE_EDITABLELISTBOX = no; then
11049 result=yes
11050 else
11051 result=no
11052 fi
11053 else
11054 result=$wxUSE_EDITABLELISTBOX
11055 fi
11056
11057 { echo "$as_me:$LINENO: result: $result" >&5
11058 echo "${ECHO_T}$result" >&6; }
11059
11060
11061 enablestring=
11062 defaultval=$wxUSE_ALL_FEATURES
11063 if test -z "$defaultval"; then
11064 if test x"$enablestring" = xdisable; then
11065 defaultval=yes
11066 else
11067 defaultval=no
11068 fi
11069 fi
11070
11071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11073 # Check whether --enable-filectrl was given.
11074 if test "${enable_filectrl+set}" = set; then
11075 enableval=$enable_filectrl;
11076 if test "$enableval" = yes; then
11077 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11078 else
11079 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11080 fi
11081
11082 else
11083
11084 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11085
11086 fi
11087
11088
11089 eval "$wx_cv_use_filectrl"
11090
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_FILECTRL = no; then
11093 result=yes
11094 else
11095 result=no
11096 fi
11097 else
11098 result=$wxUSE_FILECTRL
11099 fi
11100
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11103
11104
11105 enablestring=
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11109 defaultval=yes
11110 else
11111 defaultval=no
11112 fi
11113 fi
11114
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11117 # Check whether --enable-filepicker was given.
11118 if test "${enable_filepicker+set}" = set; then
11119 enableval=$enable_filepicker;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11122 else
11123 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11124 fi
11125
11126 else
11127
11128 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11129
11130 fi
11131
11132
11133 eval "$wx_cv_use_filepicker"
11134
11135 if test x"$enablestring" = xdisable; then
11136 if test $wxUSE_FILEPICKERCTRL = no; then
11137 result=yes
11138 else
11139 result=no
11140 fi
11141 else
11142 result=$wxUSE_FILEPICKERCTRL
11143 fi
11144
11145 { echo "$as_me:$LINENO: result: $result" >&5
11146 echo "${ECHO_T}$result" >&6; }
11147
11148
11149 enablestring=
11150 defaultval=$wxUSE_ALL_FEATURES
11151 if test -z "$defaultval"; then
11152 if test x"$enablestring" = xdisable; then
11153 defaultval=yes
11154 else
11155 defaultval=no
11156 fi
11157 fi
11158
11159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11161 # Check whether --enable-fontpicker was given.
11162 if test "${enable_fontpicker+set}" = set; then
11163 enableval=$enable_fontpicker;
11164 if test "$enableval" = yes; then
11165 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11166 else
11167 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11168 fi
11169
11170 else
11171
11172 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11173
11174 fi
11175
11176
11177 eval "$wx_cv_use_fontpicker"
11178
11179 if test x"$enablestring" = xdisable; then
11180 if test $wxUSE_FONTPICKERCTRL = no; then
11181 result=yes
11182 else
11183 result=no
11184 fi
11185 else
11186 result=$wxUSE_FONTPICKERCTRL
11187 fi
11188
11189 { echo "$as_me:$LINENO: result: $result" >&5
11190 echo "${ECHO_T}$result" >&6; }
11191
11192
11193 enablestring=
11194 defaultval=$wxUSE_ALL_FEATURES
11195 if test -z "$defaultval"; then
11196 if test x"$enablestring" = xdisable; then
11197 defaultval=yes
11198 else
11199 defaultval=no
11200 fi
11201 fi
11202
11203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11204 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11205 # Check whether --enable-gauge was given.
11206 if test "${enable_gauge+set}" = set; then
11207 enableval=$enable_gauge;
11208 if test "$enableval" = yes; then
11209 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11210 else
11211 wx_cv_use_gauge='wxUSE_GAUGE=no'
11212 fi
11213
11214 else
11215
11216 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11217
11218 fi
11219
11220
11221 eval "$wx_cv_use_gauge"
11222
11223 if test x"$enablestring" = xdisable; then
11224 if test $wxUSE_GAUGE = no; then
11225 result=yes
11226 else
11227 result=no
11228 fi
11229 else
11230 result=$wxUSE_GAUGE
11231 fi
11232
11233 { echo "$as_me:$LINENO: result: $result" >&5
11234 echo "${ECHO_T}$result" >&6; }
11235
11236
11237 enablestring=
11238 defaultval=$wxUSE_ALL_FEATURES
11239 if test -z "$defaultval"; then
11240 if test x"$enablestring" = xdisable; then
11241 defaultval=yes
11242 else
11243 defaultval=no
11244 fi
11245 fi
11246
11247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11249 # Check whether --enable-grid was given.
11250 if test "${enable_grid+set}" = set; then
11251 enableval=$enable_grid;
11252 if test "$enableval" = yes; then
11253 wx_cv_use_grid='wxUSE_GRID=yes'
11254 else
11255 wx_cv_use_grid='wxUSE_GRID=no'
11256 fi
11257
11258 else
11259
11260 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11261
11262 fi
11263
11264
11265 eval "$wx_cv_use_grid"
11266
11267 if test x"$enablestring" = xdisable; then
11268 if test $wxUSE_GRID = no; then
11269 result=yes
11270 else
11271 result=no
11272 fi
11273 else
11274 result=$wxUSE_GRID
11275 fi
11276
11277 { echo "$as_me:$LINENO: result: $result" >&5
11278 echo "${ECHO_T}$result" >&6; }
11279
11280
11281 enablestring=
11282 defaultval=$wxUSE_ALL_FEATURES
11283 if test -z "$defaultval"; then
11284 if test x"$enablestring" = xdisable; then
11285 defaultval=yes
11286 else
11287 defaultval=no
11288 fi
11289 fi
11290
11291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11292 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11293 # Check whether --enable-headerctrl was given.
11294 if test "${enable_headerctrl+set}" = set; then
11295 enableval=$enable_headerctrl;
11296 if test "$enableval" = yes; then
11297 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11298 else
11299 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11300 fi
11301
11302 else
11303
11304 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11305
11306 fi
11307
11308
11309 eval "$wx_cv_use_headerctrl"
11310
11311 if test x"$enablestring" = xdisable; then
11312 if test $wxUSE_HEADERCTRL = no; then
11313 result=yes
11314 else
11315 result=no
11316 fi
11317 else
11318 result=$wxUSE_HEADERCTRL
11319 fi
11320
11321 { echo "$as_me:$LINENO: result: $result" >&5
11322 echo "${ECHO_T}$result" >&6; }
11323
11324
11325 enablestring=
11326 defaultval=$wxUSE_ALL_FEATURES
11327 if test -z "$defaultval"; then
11328 if test x"$enablestring" = xdisable; then
11329 defaultval=yes
11330 else
11331 defaultval=no
11332 fi
11333 fi
11334
11335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11336 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11337 # Check whether --enable-hyperlink was given.
11338 if test "${enable_hyperlink+set}" = set; then
11339 enableval=$enable_hyperlink;
11340 if test "$enableval" = yes; then
11341 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11342 else
11343 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11344 fi
11345
11346 else
11347
11348 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11349
11350 fi
11351
11352
11353 eval "$wx_cv_use_hyperlink"
11354
11355 if test x"$enablestring" = xdisable; then
11356 if test $wxUSE_HYPERLINKCTRL = no; then
11357 result=yes
11358 else
11359 result=no
11360 fi
11361 else
11362 result=$wxUSE_HYPERLINKCTRL
11363 fi
11364
11365 { echo "$as_me:$LINENO: result: $result" >&5
11366 echo "${ECHO_T}$result" >&6; }
11367
11368
11369 enablestring=
11370 defaultval=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x"$enablestring" = xdisable; then
11373 defaultval=yes
11374 else
11375 defaultval=no
11376 fi
11377 fi
11378
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11381 # Check whether --enable-imaglist was given.
11382 if test "${enable_imaglist+set}" = set; then
11383 enableval=$enable_imaglist;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11386 else
11387 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11388 fi
11389
11390 else
11391
11392 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11393
11394 fi
11395
11396
11397 eval "$wx_cv_use_imaglist"
11398
11399 if test x"$enablestring" = xdisable; then
11400 if test $wxUSE_IMAGLIST = no; then
11401 result=yes
11402 else
11403 result=no
11404 fi
11405 else
11406 result=$wxUSE_IMAGLIST
11407 fi
11408
11409 { echo "$as_me:$LINENO: result: $result" >&5
11410 echo "${ECHO_T}$result" >&6; }
11411
11412
11413 enablestring=
11414 defaultval=$wxUSE_ALL_FEATURES
11415 if test -z "$defaultval"; then
11416 if test x"$enablestring" = xdisable; then
11417 defaultval=yes
11418 else
11419 defaultval=no
11420 fi
11421 fi
11422
11423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11424 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11425 # Check whether --enable-infobar was given.
11426 if test "${enable_infobar+set}" = set; then
11427 enableval=$enable_infobar;
11428 if test "$enableval" = yes; then
11429 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11430 else
11431 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11432 fi
11433
11434 else
11435
11436 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11437
11438 fi
11439
11440
11441 eval "$wx_cv_use_infobar"
11442
11443 if test x"$enablestring" = xdisable; then
11444 if test $wxUSE_INFOBAR = no; then
11445 result=yes
11446 else
11447 result=no
11448 fi
11449 else
11450 result=$wxUSE_INFOBAR
11451 fi
11452
11453 { echo "$as_me:$LINENO: result: $result" >&5
11454 echo "${ECHO_T}$result" >&6; }
11455
11456
11457 enablestring=
11458 defaultval=$wxUSE_ALL_FEATURES
11459 if test -z "$defaultval"; then
11460 if test x"$enablestring" = xdisable; then
11461 defaultval=yes
11462 else
11463 defaultval=no
11464 fi
11465 fi
11466
11467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11469 # Check whether --enable-listbook was given.
11470 if test "${enable_listbook+set}" = set; then
11471 enableval=$enable_listbook;
11472 if test "$enableval" = yes; then
11473 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11474 else
11475 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11476 fi
11477
11478 else
11479
11480 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11481
11482 fi
11483
11484
11485 eval "$wx_cv_use_listbook"
11486
11487 if test x"$enablestring" = xdisable; then
11488 if test $wxUSE_LISTBOOK = no; then
11489 result=yes
11490 else
11491 result=no
11492 fi
11493 else
11494 result=$wxUSE_LISTBOOK
11495 fi
11496
11497 { echo "$as_me:$LINENO: result: $result" >&5
11498 echo "${ECHO_T}$result" >&6; }
11499
11500
11501 enablestring=
11502 defaultval=$wxUSE_ALL_FEATURES
11503 if test -z "$defaultval"; then
11504 if test x"$enablestring" = xdisable; then
11505 defaultval=yes
11506 else
11507 defaultval=no
11508 fi
11509 fi
11510
11511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11513 # Check whether --enable-listbox was given.
11514 if test "${enable_listbox+set}" = set; then
11515 enableval=$enable_listbox;
11516 if test "$enableval" = yes; then
11517 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11518 else
11519 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11520 fi
11521
11522 else
11523
11524 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11525
11526 fi
11527
11528
11529 eval "$wx_cv_use_listbox"
11530
11531 if test x"$enablestring" = xdisable; then
11532 if test $wxUSE_LISTBOX = no; then
11533 result=yes
11534 else
11535 result=no
11536 fi
11537 else
11538 result=$wxUSE_LISTBOX
11539 fi
11540
11541 { echo "$as_me:$LINENO: result: $result" >&5
11542 echo "${ECHO_T}$result" >&6; }
11543
11544
11545 enablestring=
11546 defaultval=$wxUSE_ALL_FEATURES
11547 if test -z "$defaultval"; then
11548 if test x"$enablestring" = xdisable; then
11549 defaultval=yes
11550 else
11551 defaultval=no
11552 fi
11553 fi
11554
11555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11556 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11557 # Check whether --enable-listctrl was given.
11558 if test "${enable_listctrl+set}" = set; then
11559 enableval=$enable_listctrl;
11560 if test "$enableval" = yes; then
11561 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11562 else
11563 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11564 fi
11565
11566 else
11567
11568 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11569
11570 fi
11571
11572
11573 eval "$wx_cv_use_listctrl"
11574
11575 if test x"$enablestring" = xdisable; then
11576 if test $wxUSE_LISTCTRL = no; then
11577 result=yes
11578 else
11579 result=no
11580 fi
11581 else
11582 result=$wxUSE_LISTCTRL
11583 fi
11584
11585 { echo "$as_me:$LINENO: result: $result" >&5
11586 echo "${ECHO_T}$result" >&6; }
11587
11588
11589 enablestring=
11590 defaultval=$wxUSE_ALL_FEATURES
11591 if test -z "$defaultval"; then
11592 if test x"$enablestring" = xdisable; then
11593 defaultval=yes
11594 else
11595 defaultval=no
11596 fi
11597 fi
11598
11599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11601 # Check whether --enable-notebook was given.
11602 if test "${enable_notebook+set}" = set; then
11603 enableval=$enable_notebook;
11604 if test "$enableval" = yes; then
11605 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11606 else
11607 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11608 fi
11609
11610 else
11611
11612 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11613
11614 fi
11615
11616
11617 eval "$wx_cv_use_notebook"
11618
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_NOTEBOOK = no; then
11621 result=yes
11622 else
11623 result=no
11624 fi
11625 else
11626 result=$wxUSE_NOTEBOOK
11627 fi
11628
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11631
11632
11633 enablestring=
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11637 defaultval=yes
11638 else
11639 defaultval=no
11640 fi
11641 fi
11642
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11645 # Check whether --enable-notifmsg was given.
11646 if test "${enable_notifmsg+set}" = set; then
11647 enableval=$enable_notifmsg;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11650 else
11651 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11652 fi
11653
11654 else
11655
11656 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11657
11658 fi
11659
11660
11661 eval "$wx_cv_use_notifmsg"
11662
11663 if test x"$enablestring" = xdisable; then
11664 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11665 result=yes
11666 else
11667 result=no
11668 fi
11669 else
11670 result=$wxUSE_NOTIFICATION_MESSAGE
11671 fi
11672
11673 { echo "$as_me:$LINENO: result: $result" >&5
11674 echo "${ECHO_T}$result" >&6; }
11675
11676
11677 enablestring=
11678 defaultval=$wxUSE_ALL_FEATURES
11679 if test -z "$defaultval"; then
11680 if test x"$enablestring" = xdisable; then
11681 defaultval=yes
11682 else
11683 defaultval=no
11684 fi
11685 fi
11686
11687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11688 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11689 # Check whether --enable-odcombobox was given.
11690 if test "${enable_odcombobox+set}" = set; then
11691 enableval=$enable_odcombobox;
11692 if test "$enableval" = yes; then
11693 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11694 else
11695 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11696 fi
11697
11698 else
11699
11700 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11701
11702 fi
11703
11704
11705 eval "$wx_cv_use_odcombobox"
11706
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_ODCOMBOBOX = no; then
11709 result=yes
11710 else
11711 result=no
11712 fi
11713 else
11714 result=$wxUSE_ODCOMBOBOX
11715 fi
11716
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11719
11720
11721 enablestring=
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11725 defaultval=yes
11726 else
11727 defaultval=no
11728 fi
11729 fi
11730
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11733 # Check whether --enable-popupwin was given.
11734 if test "${enable_popupwin+set}" = set; then
11735 enableval=$enable_popupwin;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11738 else
11739 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11740 fi
11741
11742 else
11743
11744 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11745
11746 fi
11747
11748
11749 eval "$wx_cv_use_popupwin"
11750
11751 if test x"$enablestring" = xdisable; then
11752 if test $wxUSE_POPUPWIN = no; then
11753 result=yes
11754 else
11755 result=no
11756 fi
11757 else
11758 result=$wxUSE_POPUPWIN
11759 fi
11760
11761 { echo "$as_me:$LINENO: result: $result" >&5
11762 echo "${ECHO_T}$result" >&6; }
11763
11764
11765 enablestring=
11766 defaultval=$wxUSE_ALL_FEATURES
11767 if test -z "$defaultval"; then
11768 if test x"$enablestring" = xdisable; then
11769 defaultval=yes
11770 else
11771 defaultval=no
11772 fi
11773 fi
11774
11775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11776 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11777 # Check whether --enable-radiobox was given.
11778 if test "${enable_radiobox+set}" = set; then
11779 enableval=$enable_radiobox;
11780 if test "$enableval" = yes; then
11781 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11782 else
11783 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11784 fi
11785
11786 else
11787
11788 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11789
11790 fi
11791
11792
11793 eval "$wx_cv_use_radiobox"
11794
11795 if test x"$enablestring" = xdisable; then
11796 if test $wxUSE_RADIOBOX = no; then
11797 result=yes
11798 else
11799 result=no
11800 fi
11801 else
11802 result=$wxUSE_RADIOBOX
11803 fi
11804
11805 { echo "$as_me:$LINENO: result: $result" >&5
11806 echo "${ECHO_T}$result" >&6; }
11807
11808
11809 enablestring=
11810 defaultval=$wxUSE_ALL_FEATURES
11811 if test -z "$defaultval"; then
11812 if test x"$enablestring" = xdisable; then
11813 defaultval=yes
11814 else
11815 defaultval=no
11816 fi
11817 fi
11818
11819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11820 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11821 # Check whether --enable-radiobtn was given.
11822 if test "${enable_radiobtn+set}" = set; then
11823 enableval=$enable_radiobtn;
11824 if test "$enableval" = yes; then
11825 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11826 else
11827 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11828 fi
11829
11830 else
11831
11832 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11833
11834 fi
11835
11836
11837 eval "$wx_cv_use_radiobtn"
11838
11839 if test x"$enablestring" = xdisable; then
11840 if test $wxUSE_RADIOBTN = no; then
11841 result=yes
11842 else
11843 result=no
11844 fi
11845 else
11846 result=$wxUSE_RADIOBTN
11847 fi
11848
11849 { echo "$as_me:$LINENO: result: $result" >&5
11850 echo "${ECHO_T}$result" >&6; }
11851
11852
11853 enablestring=
11854 defaultval=$wxUSE_ALL_FEATURES
11855 if test -z "$defaultval"; then
11856 if test x"$enablestring" = xdisable; then
11857 defaultval=yes
11858 else
11859 defaultval=no
11860 fi
11861 fi
11862
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11865 # Check whether --enable-richmsgdlg was given.
11866 if test "${enable_richmsgdlg+set}" = set; then
11867 enableval=$enable_richmsgdlg;
11868 if test "$enableval" = yes; then
11869 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11870 else
11871 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11872 fi
11873
11874 else
11875
11876 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11877
11878 fi
11879
11880
11881 eval "$wx_cv_use_richmsgdlg"
11882
11883 if test x"$enablestring" = xdisable; then
11884 if test $wxUSE_RICHMSGDLG = no; then
11885 result=yes
11886 else
11887 result=no
11888 fi
11889 else
11890 result=$wxUSE_RICHMSGDLG
11891 fi
11892
11893 { echo "$as_me:$LINENO: result: $result" >&5
11894 echo "${ECHO_T}$result" >&6; }
11895
11896
11897 enablestring=
11898 defaultval=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x"$enablestring" = xdisable; then
11901 defaultval=yes
11902 else
11903 defaultval=no
11904 fi
11905 fi
11906
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11909 # Check whether --enable-rearrangectrl was given.
11910 if test "${enable_rearrangectrl+set}" = set; then
11911 enableval=$enable_rearrangectrl;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11914 else
11915 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11916 fi
11917
11918 else
11919
11920 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11921
11922 fi
11923
11924
11925 eval "$wx_cv_use_rearrangectrl"
11926
11927 if test x"$enablestring" = xdisable; then
11928 if test $wxUSE_REARRANGECTRL = no; then
11929 result=yes
11930 else
11931 result=no
11932 fi
11933 else
11934 result=$wxUSE_REARRANGECTRL
11935 fi
11936
11937 { echo "$as_me:$LINENO: result: $result" >&5
11938 echo "${ECHO_T}$result" >&6; }
11939
11940
11941 enablestring=
11942 defaultval=$wxUSE_ALL_FEATURES
11943 if test -z "$defaultval"; then
11944 if test x"$enablestring" = xdisable; then
11945 defaultval=yes
11946 else
11947 defaultval=no
11948 fi
11949 fi
11950
11951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11952 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11953 # Check whether --enable-sash was given.
11954 if test "${enable_sash+set}" = set; then
11955 enableval=$enable_sash;
11956 if test "$enableval" = yes; then
11957 wx_cv_use_sash='wxUSE_SASH=yes'
11958 else
11959 wx_cv_use_sash='wxUSE_SASH=no'
11960 fi
11961
11962 else
11963
11964 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11965
11966 fi
11967
11968
11969 eval "$wx_cv_use_sash"
11970
11971 if test x"$enablestring" = xdisable; then
11972 if test $wxUSE_SASH = no; then
11973 result=yes
11974 else
11975 result=no
11976 fi
11977 else
11978 result=$wxUSE_SASH
11979 fi
11980
11981 { echo "$as_me:$LINENO: result: $result" >&5
11982 echo "${ECHO_T}$result" >&6; }
11983
11984
11985 enablestring=
11986 defaultval=$wxUSE_ALL_FEATURES
11987 if test -z "$defaultval"; then
11988 if test x"$enablestring" = xdisable; then
11989 defaultval=yes
11990 else
11991 defaultval=no
11992 fi
11993 fi
11994
11995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11996 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11997 # Check whether --enable-scrollbar was given.
11998 if test "${enable_scrollbar+set}" = set; then
11999 enableval=$enable_scrollbar;
12000 if test "$enableval" = yes; then
12001 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12002 else
12003 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12004 fi
12005
12006 else
12007
12008 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12009
12010 fi
12011
12012
12013 eval "$wx_cv_use_scrollbar"
12014
12015 if test x"$enablestring" = xdisable; then
12016 if test $wxUSE_SCROLLBAR = no; then
12017 result=yes
12018 else
12019 result=no
12020 fi
12021 else
12022 result=$wxUSE_SCROLLBAR
12023 fi
12024
12025 { echo "$as_me:$LINENO: result: $result" >&5
12026 echo "${ECHO_T}$result" >&6; }
12027
12028
12029 enablestring=
12030 defaultval=$wxUSE_ALL_FEATURES
12031 if test -z "$defaultval"; then
12032 if test x"$enablestring" = xdisable; then
12033 defaultval=yes
12034 else
12035 defaultval=no
12036 fi
12037 fi
12038
12039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12040 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12041 # Check whether --enable-searchctrl was given.
12042 if test "${enable_searchctrl+set}" = set; then
12043 enableval=$enable_searchctrl;
12044 if test "$enableval" = yes; then
12045 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12046 else
12047 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12048 fi
12049
12050 else
12051
12052 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12053
12054 fi
12055
12056
12057 eval "$wx_cv_use_searchctrl"
12058
12059 if test x"$enablestring" = xdisable; then
12060 if test $wxUSE_SEARCHCTRL = no; then
12061 result=yes
12062 else
12063 result=no
12064 fi
12065 else
12066 result=$wxUSE_SEARCHCTRL
12067 fi
12068
12069 { echo "$as_me:$LINENO: result: $result" >&5
12070 echo "${ECHO_T}$result" >&6; }
12071
12072
12073 enablestring=
12074 defaultval=$wxUSE_ALL_FEATURES
12075 if test -z "$defaultval"; then
12076 if test x"$enablestring" = xdisable; then
12077 defaultval=yes
12078 else
12079 defaultval=no
12080 fi
12081 fi
12082
12083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12084 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12085 # Check whether --enable-slider was given.
12086 if test "${enable_slider+set}" = set; then
12087 enableval=$enable_slider;
12088 if test "$enableval" = yes; then
12089 wx_cv_use_slider='wxUSE_SLIDER=yes'
12090 else
12091 wx_cv_use_slider='wxUSE_SLIDER=no'
12092 fi
12093
12094 else
12095
12096 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12097
12098 fi
12099
12100
12101 eval "$wx_cv_use_slider"
12102
12103 if test x"$enablestring" = xdisable; then
12104 if test $wxUSE_SLIDER = no; then
12105 result=yes
12106 else
12107 result=no
12108 fi
12109 else
12110 result=$wxUSE_SLIDER
12111 fi
12112
12113 { echo "$as_me:$LINENO: result: $result" >&5
12114 echo "${ECHO_T}$result" >&6; }
12115
12116
12117 enablestring=
12118 defaultval=$wxUSE_ALL_FEATURES
12119 if test -z "$defaultval"; then
12120 if test x"$enablestring" = xdisable; then
12121 defaultval=yes
12122 else
12123 defaultval=no
12124 fi
12125 fi
12126
12127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12128 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12129 # Check whether --enable-spinbtn was given.
12130 if test "${enable_spinbtn+set}" = set; then
12131 enableval=$enable_spinbtn;
12132 if test "$enableval" = yes; then
12133 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12134 else
12135 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12136 fi
12137
12138 else
12139
12140 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12141
12142 fi
12143
12144
12145 eval "$wx_cv_use_spinbtn"
12146
12147 if test x"$enablestring" = xdisable; then
12148 if test $wxUSE_SPINBTN = no; then
12149 result=yes
12150 else
12151 result=no
12152 fi
12153 else
12154 result=$wxUSE_SPINBTN
12155 fi
12156
12157 { echo "$as_me:$LINENO: result: $result" >&5
12158 echo "${ECHO_T}$result" >&6; }
12159
12160
12161 enablestring=
12162 defaultval=$wxUSE_ALL_FEATURES
12163 if test -z "$defaultval"; then
12164 if test x"$enablestring" = xdisable; then
12165 defaultval=yes
12166 else
12167 defaultval=no
12168 fi
12169 fi
12170
12171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12172 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12173 # Check whether --enable-spinctrl was given.
12174 if test "${enable_spinctrl+set}" = set; then
12175 enableval=$enable_spinctrl;
12176 if test "$enableval" = yes; then
12177 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12178 else
12179 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12180 fi
12181
12182 else
12183
12184 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12185
12186 fi
12187
12188
12189 eval "$wx_cv_use_spinctrl"
12190
12191 if test x"$enablestring" = xdisable; then
12192 if test $wxUSE_SPINCTRL = no; then
12193 result=yes
12194 else
12195 result=no
12196 fi
12197 else
12198 result=$wxUSE_SPINCTRL
12199 fi
12200
12201 { echo "$as_me:$LINENO: result: $result" >&5
12202 echo "${ECHO_T}$result" >&6; }
12203
12204
12205 enablestring=
12206 defaultval=$wxUSE_ALL_FEATURES
12207 if test -z "$defaultval"; then
12208 if test x"$enablestring" = xdisable; then
12209 defaultval=yes
12210 else
12211 defaultval=no
12212 fi
12213 fi
12214
12215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12216 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12217 # Check whether --enable-splitter was given.
12218 if test "${enable_splitter+set}" = set; then
12219 enableval=$enable_splitter;
12220 if test "$enableval" = yes; then
12221 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12222 else
12223 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12224 fi
12225
12226 else
12227
12228 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12229
12230 fi
12231
12232
12233 eval "$wx_cv_use_splitter"
12234
12235 if test x"$enablestring" = xdisable; then
12236 if test $wxUSE_SPLITTER = no; then
12237 result=yes
12238 else
12239 result=no
12240 fi
12241 else
12242 result=$wxUSE_SPLITTER
12243 fi
12244
12245 { echo "$as_me:$LINENO: result: $result" >&5
12246 echo "${ECHO_T}$result" >&6; }
12247
12248
12249 enablestring=
12250 defaultval=$wxUSE_ALL_FEATURES
12251 if test -z "$defaultval"; then
12252 if test x"$enablestring" = xdisable; then
12253 defaultval=yes
12254 else
12255 defaultval=no
12256 fi
12257 fi
12258
12259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12260 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12261 # Check whether --enable-statbmp was given.
12262 if test "${enable_statbmp+set}" = set; then
12263 enableval=$enable_statbmp;
12264 if test "$enableval" = yes; then
12265 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12266 else
12267 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12268 fi
12269
12270 else
12271
12272 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12273
12274 fi
12275
12276
12277 eval "$wx_cv_use_statbmp"
12278
12279 if test x"$enablestring" = xdisable; then
12280 if test $wxUSE_STATBMP = no; then
12281 result=yes
12282 else
12283 result=no
12284 fi
12285 else
12286 result=$wxUSE_STATBMP
12287 fi
12288
12289 { echo "$as_me:$LINENO: result: $result" >&5
12290 echo "${ECHO_T}$result" >&6; }
12291
12292
12293 enablestring=
12294 defaultval=$wxUSE_ALL_FEATURES
12295 if test -z "$defaultval"; then
12296 if test x"$enablestring" = xdisable; then
12297 defaultval=yes
12298 else
12299 defaultval=no
12300 fi
12301 fi
12302
12303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12304 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12305 # Check whether --enable-statbox was given.
12306 if test "${enable_statbox+set}" = set; then
12307 enableval=$enable_statbox;
12308 if test "$enableval" = yes; then
12309 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12310 else
12311 wx_cv_use_statbox='wxUSE_STATBOX=no'
12312 fi
12313
12314 else
12315
12316 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12317
12318 fi
12319
12320
12321 eval "$wx_cv_use_statbox"
12322
12323 if test x"$enablestring" = xdisable; then
12324 if test $wxUSE_STATBOX = no; then
12325 result=yes
12326 else
12327 result=no
12328 fi
12329 else
12330 result=$wxUSE_STATBOX
12331 fi
12332
12333 { echo "$as_me:$LINENO: result: $result" >&5
12334 echo "${ECHO_T}$result" >&6; }
12335
12336
12337 enablestring=
12338 defaultval=$wxUSE_ALL_FEATURES
12339 if test -z "$defaultval"; then
12340 if test x"$enablestring" = xdisable; then
12341 defaultval=yes
12342 else
12343 defaultval=no
12344 fi
12345 fi
12346
12347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12348 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12349 # Check whether --enable-statline was given.
12350 if test "${enable_statline+set}" = set; then
12351 enableval=$enable_statline;
12352 if test "$enableval" = yes; then
12353 wx_cv_use_statline='wxUSE_STATLINE=yes'
12354 else
12355 wx_cv_use_statline='wxUSE_STATLINE=no'
12356 fi
12357
12358 else
12359
12360 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12361
12362 fi
12363
12364
12365 eval "$wx_cv_use_statline"
12366
12367 if test x"$enablestring" = xdisable; then
12368 if test $wxUSE_STATLINE = no; then
12369 result=yes
12370 else
12371 result=no
12372 fi
12373 else
12374 result=$wxUSE_STATLINE
12375 fi
12376
12377 { echo "$as_me:$LINENO: result: $result" >&5
12378 echo "${ECHO_T}$result" >&6; }
12379
12380
12381 enablestring=
12382 defaultval=$wxUSE_ALL_FEATURES
12383 if test -z "$defaultval"; then
12384 if test x"$enablestring" = xdisable; then
12385 defaultval=yes
12386 else
12387 defaultval=no
12388 fi
12389 fi
12390
12391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12392 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12393 # Check whether --enable-stattext was given.
12394 if test "${enable_stattext+set}" = set; then
12395 enableval=$enable_stattext;
12396 if test "$enableval" = yes; then
12397 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12398 else
12399 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12400 fi
12401
12402 else
12403
12404 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12405
12406 fi
12407
12408
12409 eval "$wx_cv_use_stattext"
12410
12411 if test x"$enablestring" = xdisable; then
12412 if test $wxUSE_STATTEXT = no; then
12413 result=yes
12414 else
12415 result=no
12416 fi
12417 else
12418 result=$wxUSE_STATTEXT
12419 fi
12420
12421 { echo "$as_me:$LINENO: result: $result" >&5
12422 echo "${ECHO_T}$result" >&6; }
12423
12424
12425 enablestring=
12426 defaultval=$wxUSE_ALL_FEATURES
12427 if test -z "$defaultval"; then
12428 if test x"$enablestring" = xdisable; then
12429 defaultval=yes
12430 else
12431 defaultval=no
12432 fi
12433 fi
12434
12435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12436 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12437 # Check whether --enable-statusbar was given.
12438 if test "${enable_statusbar+set}" = set; then
12439 enableval=$enable_statusbar;
12440 if test "$enableval" = yes; then
12441 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12442 else
12443 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12444 fi
12445
12446 else
12447
12448 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12449
12450 fi
12451
12452
12453 eval "$wx_cv_use_statusbar"
12454
12455 if test x"$enablestring" = xdisable; then
12456 if test $wxUSE_STATUSBAR = no; then
12457 result=yes
12458 else
12459 result=no
12460 fi
12461 else
12462 result=$wxUSE_STATUSBAR
12463 fi
12464
12465 { echo "$as_me:$LINENO: result: $result" >&5
12466 echo "${ECHO_T}$result" >&6; }
12467
12468
12469 enablestring=
12470 defaultval=$wxUSE_ALL_FEATURES
12471 if test -z "$defaultval"; then
12472 if test x"$enablestring" = xdisable; then
12473 defaultval=yes
12474 else
12475 defaultval=no
12476 fi
12477 fi
12478
12479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12480 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12481 # Check whether --enable-taskbaricon was given.
12482 if test "${enable_taskbaricon+set}" = set; then
12483 enableval=$enable_taskbaricon;
12484 if test "$enableval" = yes; then
12485 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12486 else
12487 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12488 fi
12489
12490 else
12491
12492 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12493
12494 fi
12495
12496
12497 eval "$wx_cv_use_taskbaricon"
12498
12499 if test x"$enablestring" = xdisable; then
12500 if test $wxUSE_TASKBARICON = no; then
12501 result=yes
12502 else
12503 result=no
12504 fi
12505 else
12506 result=$wxUSE_TASKBARICON
12507 fi
12508
12509 { echo "$as_me:$LINENO: result: $result" >&5
12510 echo "${ECHO_T}$result" >&6; }
12511
12512
12513 enablestring=
12514 defaultval=$wxUSE_ALL_FEATURES
12515 if test -z "$defaultval"; then
12516 if test x"$enablestring" = xdisable; then
12517 defaultval=yes
12518 else
12519 defaultval=no
12520 fi
12521 fi
12522
12523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12524 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12525 # Check whether --enable-tbarnative was given.
12526 if test "${enable_tbarnative+set}" = set; then
12527 enableval=$enable_tbarnative;
12528 if test "$enableval" = yes; then
12529 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12530 else
12531 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12532 fi
12533
12534 else
12535
12536 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12537
12538 fi
12539
12540
12541 eval "$wx_cv_use_tbarnative"
12542
12543 if test x"$enablestring" = xdisable; then
12544 if test $wxUSE_TOOLBAR_NATIVE = no; then
12545 result=yes
12546 else
12547 result=no
12548 fi
12549 else
12550 result=$wxUSE_TOOLBAR_NATIVE
12551 fi
12552
12553 { echo "$as_me:$LINENO: result: $result" >&5
12554 echo "${ECHO_T}$result" >&6; }
12555
12556
12557 enablestring=
12558 defaultval=$wxUSE_ALL_FEATURES
12559 if test -z "$defaultval"; then
12560 if test x"$enablestring" = xdisable; then
12561 defaultval=yes
12562 else
12563 defaultval=no
12564 fi
12565 fi
12566
12567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12568 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12569 # Check whether --enable-textctrl was given.
12570 if test "${enable_textctrl+set}" = set; then
12571 enableval=$enable_textctrl;
12572 if test "$enableval" = yes; then
12573 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12574 else
12575 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12576 fi
12577
12578 else
12579
12580 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12581
12582 fi
12583
12584
12585 eval "$wx_cv_use_textctrl"
12586
12587 if test x"$enablestring" = xdisable; then
12588 if test $wxUSE_TEXTCTRL = no; then
12589 result=yes
12590 else
12591 result=no
12592 fi
12593 else
12594 result=$wxUSE_TEXTCTRL
12595 fi
12596
12597 { echo "$as_me:$LINENO: result: $result" >&5
12598 echo "${ECHO_T}$result" >&6; }
12599
12600
12601 enablestring=
12602 defaultval=$wxUSE_ALL_FEATURES
12603 if test -z "$defaultval"; then
12604 if test x"$enablestring" = xdisable; then
12605 defaultval=yes
12606 else
12607 defaultval=no
12608 fi
12609 fi
12610
12611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12612 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12613 # Check whether --enable-tipwindow was given.
12614 if test "${enable_tipwindow+set}" = set; then
12615 enableval=$enable_tipwindow;
12616 if test "$enableval" = yes; then
12617 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12618 else
12619 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12620 fi
12621
12622 else
12623
12624 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12625
12626 fi
12627
12628
12629 eval "$wx_cv_use_tipwindow"
12630
12631 if test x"$enablestring" = xdisable; then
12632 if test $wxUSE_TIPWINDOW = no; then
12633 result=yes
12634 else
12635 result=no
12636 fi
12637 else
12638 result=$wxUSE_TIPWINDOW
12639 fi
12640
12641 { echo "$as_me:$LINENO: result: $result" >&5
12642 echo "${ECHO_T}$result" >&6; }
12643
12644
12645 enablestring=
12646 defaultval=$wxUSE_ALL_FEATURES
12647 if test -z "$defaultval"; then
12648 if test x"$enablestring" = xdisable; then
12649 defaultval=yes
12650 else
12651 defaultval=no
12652 fi
12653 fi
12654
12655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12656 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12657 # Check whether --enable-togglebtn was given.
12658 if test "${enable_togglebtn+set}" = set; then
12659 enableval=$enable_togglebtn;
12660 if test "$enableval" = yes; then
12661 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12662 else
12663 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12664 fi
12665
12666 else
12667
12668 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12669
12670 fi
12671
12672
12673 eval "$wx_cv_use_togglebtn"
12674
12675 if test x"$enablestring" = xdisable; then
12676 if test $wxUSE_TOGGLEBTN = no; then
12677 result=yes
12678 else
12679 result=no
12680 fi
12681 else
12682 result=$wxUSE_TOGGLEBTN
12683 fi
12684
12685 { echo "$as_me:$LINENO: result: $result" >&5
12686 echo "${ECHO_T}$result" >&6; }
12687
12688
12689 enablestring=
12690 defaultval=$wxUSE_ALL_FEATURES
12691 if test -z "$defaultval"; then
12692 if test x"$enablestring" = xdisable; then
12693 defaultval=yes
12694 else
12695 defaultval=no
12696 fi
12697 fi
12698
12699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12700 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12701 # Check whether --enable-toolbar was given.
12702 if test "${enable_toolbar+set}" = set; then
12703 enableval=$enable_toolbar;
12704 if test "$enableval" = yes; then
12705 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12706 else
12707 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12708 fi
12709
12710 else
12711
12712 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12713
12714 fi
12715
12716
12717 eval "$wx_cv_use_toolbar"
12718
12719 if test x"$enablestring" = xdisable; then
12720 if test $wxUSE_TOOLBAR = no; then
12721 result=yes
12722 else
12723 result=no
12724 fi
12725 else
12726 result=$wxUSE_TOOLBAR
12727 fi
12728
12729 { echo "$as_me:$LINENO: result: $result" >&5
12730 echo "${ECHO_T}$result" >&6; }
12731
12732
12733 enablestring=
12734 defaultval=$wxUSE_ALL_FEATURES
12735 if test -z "$defaultval"; then
12736 if test x"$enablestring" = xdisable; then
12737 defaultval=yes
12738 else
12739 defaultval=no
12740 fi
12741 fi
12742
12743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12744 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12745 # Check whether --enable-toolbook was given.
12746 if test "${enable_toolbook+set}" = set; then
12747 enableval=$enable_toolbook;
12748 if test "$enableval" = yes; then
12749 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12750 else
12751 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12752 fi
12753
12754 else
12755
12756 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12757
12758 fi
12759
12760
12761 eval "$wx_cv_use_toolbook"
12762
12763 if test x"$enablestring" = xdisable; then
12764 if test $wxUSE_TOOLBOOK = no; then
12765 result=yes
12766 else
12767 result=no
12768 fi
12769 else
12770 result=$wxUSE_TOOLBOOK
12771 fi
12772
12773 { echo "$as_me:$LINENO: result: $result" >&5
12774 echo "${ECHO_T}$result" >&6; }
12775
12776
12777 enablestring=
12778 defaultval=$wxUSE_ALL_FEATURES
12779 if test -z "$defaultval"; then
12780 if test x"$enablestring" = xdisable; then
12781 defaultval=yes
12782 else
12783 defaultval=no
12784 fi
12785 fi
12786
12787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12788 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12789 # Check whether --enable-treebook was given.
12790 if test "${enable_treebook+set}" = set; then
12791 enableval=$enable_treebook;
12792 if test "$enableval" = yes; then
12793 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12794 else
12795 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12796 fi
12797
12798 else
12799
12800 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12801
12802 fi
12803
12804
12805 eval "$wx_cv_use_treebook"
12806
12807 if test x"$enablestring" = xdisable; then
12808 if test $wxUSE_TREEBOOK = no; then
12809 result=yes
12810 else
12811 result=no
12812 fi
12813 else
12814 result=$wxUSE_TREEBOOK
12815 fi
12816
12817 { echo "$as_me:$LINENO: result: $result" >&5
12818 echo "${ECHO_T}$result" >&6; }
12819
12820
12821 enablestring=
12822 defaultval=$wxUSE_ALL_FEATURES
12823 if test -z "$defaultval"; then
12824 if test x"$enablestring" = xdisable; then
12825 defaultval=yes
12826 else
12827 defaultval=no
12828 fi
12829 fi
12830
12831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12832 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12833 # Check whether --enable-treectrl was given.
12834 if test "${enable_treectrl+set}" = set; then
12835 enableval=$enable_treectrl;
12836 if test "$enableval" = yes; then
12837 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12838 else
12839 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12840 fi
12841
12842 else
12843
12844 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12845
12846 fi
12847
12848
12849 eval "$wx_cv_use_treectrl"
12850
12851 if test x"$enablestring" = xdisable; then
12852 if test $wxUSE_TREECTRL = no; then
12853 result=yes
12854 else
12855 result=no
12856 fi
12857 else
12858 result=$wxUSE_TREECTRL
12859 fi
12860
12861 { echo "$as_me:$LINENO: result: $result" >&5
12862 echo "${ECHO_T}$result" >&6; }
12863
12864
12865
12866
12867 enablestring=
12868 defaultval=$wxUSE_ALL_FEATURES
12869 if test -z "$defaultval"; then
12870 if test x"$enablestring" = xdisable; then
12871 defaultval=yes
12872 else
12873 defaultval=no
12874 fi
12875 fi
12876
12877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12878 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12879 # Check whether --enable-commondlg was given.
12880 if test "${enable_commondlg+set}" = set; then
12881 enableval=$enable_commondlg;
12882 if test "$enableval" = yes; then
12883 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12884 else
12885 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12886 fi
12887
12888 else
12889
12890 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12891
12892 fi
12893
12894
12895 eval "$wx_cv_use_commondlg"
12896
12897 if test x"$enablestring" = xdisable; then
12898 if test $wxUSE_COMMONDLGS = no; then
12899 result=yes
12900 else
12901 result=no
12902 fi
12903 else
12904 result=$wxUSE_COMMONDLGS
12905 fi
12906
12907 { echo "$as_me:$LINENO: result: $result" >&5
12908 echo "${ECHO_T}$result" >&6; }
12909
12910
12911 enablestring=
12912 defaultval=$wxUSE_ALL_FEATURES
12913 if test -z "$defaultval"; then
12914 if test x"$enablestring" = xdisable; then
12915 defaultval=yes
12916 else
12917 defaultval=no
12918 fi
12919 fi
12920
12921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12922 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12923 # Check whether --enable-aboutdlg was given.
12924 if test "${enable_aboutdlg+set}" = set; then
12925 enableval=$enable_aboutdlg;
12926 if test "$enableval" = yes; then
12927 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12928 else
12929 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12930 fi
12931
12932 else
12933
12934 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12935
12936 fi
12937
12938
12939 eval "$wx_cv_use_aboutdlg"
12940
12941 if test x"$enablestring" = xdisable; then
12942 if test $wxUSE_ABOUTDLG = no; then
12943 result=yes
12944 else
12945 result=no
12946 fi
12947 else
12948 result=$wxUSE_ABOUTDLG
12949 fi
12950
12951 { echo "$as_me:$LINENO: result: $result" >&5
12952 echo "${ECHO_T}$result" >&6; }
12953
12954
12955 enablestring=
12956 defaultval=$wxUSE_ALL_FEATURES
12957 if test -z "$defaultval"; then
12958 if test x"$enablestring" = xdisable; then
12959 defaultval=yes
12960 else
12961 defaultval=no
12962 fi
12963 fi
12964
12965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12966 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12967 # Check whether --enable-choicedlg was given.
12968 if test "${enable_choicedlg+set}" = set; then
12969 enableval=$enable_choicedlg;
12970 if test "$enableval" = yes; then
12971 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12972 else
12973 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12974 fi
12975
12976 else
12977
12978 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12979
12980 fi
12981
12982
12983 eval "$wx_cv_use_choicedlg"
12984
12985 if test x"$enablestring" = xdisable; then
12986 if test $wxUSE_CHOICEDLG = no; then
12987 result=yes
12988 else
12989 result=no
12990 fi
12991 else
12992 result=$wxUSE_CHOICEDLG
12993 fi
12994
12995 { echo "$as_me:$LINENO: result: $result" >&5
12996 echo "${ECHO_T}$result" >&6; }
12997
12998
12999 enablestring=
13000 defaultval=$wxUSE_ALL_FEATURES
13001 if test -z "$defaultval"; then
13002 if test x"$enablestring" = xdisable; then
13003 defaultval=yes
13004 else
13005 defaultval=no
13006 fi
13007 fi
13008
13009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13010 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13011 # Check whether --enable-coldlg was given.
13012 if test "${enable_coldlg+set}" = set; then
13013 enableval=$enable_coldlg;
13014 if test "$enableval" = yes; then
13015 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13016 else
13017 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13018 fi
13019
13020 else
13021
13022 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13023
13024 fi
13025
13026
13027 eval "$wx_cv_use_coldlg"
13028
13029 if test x"$enablestring" = xdisable; then
13030 if test $wxUSE_COLOURDLG = no; then
13031 result=yes
13032 else
13033 result=no
13034 fi
13035 else
13036 result=$wxUSE_COLOURDLG
13037 fi
13038
13039 { echo "$as_me:$LINENO: result: $result" >&5
13040 echo "${ECHO_T}$result" >&6; }
13041
13042
13043 enablestring=
13044 defaultval=$wxUSE_ALL_FEATURES
13045 if test -z "$defaultval"; then
13046 if test x"$enablestring" = xdisable; then
13047 defaultval=yes
13048 else
13049 defaultval=no
13050 fi
13051 fi
13052
13053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13054 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13055 # Check whether --enable-filedlg was given.
13056 if test "${enable_filedlg+set}" = set; then
13057 enableval=$enable_filedlg;
13058 if test "$enableval" = yes; then
13059 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13060 else
13061 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13062 fi
13063
13064 else
13065
13066 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13067
13068 fi
13069
13070
13071 eval "$wx_cv_use_filedlg"
13072
13073 if test x"$enablestring" = xdisable; then
13074 if test $wxUSE_FILEDLG = no; then
13075 result=yes
13076 else
13077 result=no
13078 fi
13079 else
13080 result=$wxUSE_FILEDLG
13081 fi
13082
13083 { echo "$as_me:$LINENO: result: $result" >&5
13084 echo "${ECHO_T}$result" >&6; }
13085
13086
13087 enablestring=
13088 defaultval=$wxUSE_ALL_FEATURES
13089 if test -z "$defaultval"; then
13090 if test x"$enablestring" = xdisable; then
13091 defaultval=yes
13092 else
13093 defaultval=no
13094 fi
13095 fi
13096
13097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13098 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13099 # Check whether --enable-finddlg was given.
13100 if test "${enable_finddlg+set}" = set; then
13101 enableval=$enable_finddlg;
13102 if test "$enableval" = yes; then
13103 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13104 else
13105 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13106 fi
13107
13108 else
13109
13110 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13111
13112 fi
13113
13114
13115 eval "$wx_cv_use_finddlg"
13116
13117 if test x"$enablestring" = xdisable; then
13118 if test $wxUSE_FINDREPLDLG = no; then
13119 result=yes
13120 else
13121 result=no
13122 fi
13123 else
13124 result=$wxUSE_FINDREPLDLG
13125 fi
13126
13127 { echo "$as_me:$LINENO: result: $result" >&5
13128 echo "${ECHO_T}$result" >&6; }
13129
13130
13131 enablestring=
13132 defaultval=$wxUSE_ALL_FEATURES
13133 if test -z "$defaultval"; then
13134 if test x"$enablestring" = xdisable; then
13135 defaultval=yes
13136 else
13137 defaultval=no
13138 fi
13139 fi
13140
13141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13142 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13143 # Check whether --enable-fontdlg was given.
13144 if test "${enable_fontdlg+set}" = set; then
13145 enableval=$enable_fontdlg;
13146 if test "$enableval" = yes; then
13147 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13148 else
13149 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13150 fi
13151
13152 else
13153
13154 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13155
13156 fi
13157
13158
13159 eval "$wx_cv_use_fontdlg"
13160
13161 if test x"$enablestring" = xdisable; then
13162 if test $wxUSE_FONTDLG = no; then
13163 result=yes
13164 else
13165 result=no
13166 fi
13167 else
13168 result=$wxUSE_FONTDLG
13169 fi
13170
13171 { echo "$as_me:$LINENO: result: $result" >&5
13172 echo "${ECHO_T}$result" >&6; }
13173
13174
13175 enablestring=
13176 defaultval=$wxUSE_ALL_FEATURES
13177 if test -z "$defaultval"; then
13178 if test x"$enablestring" = xdisable; then
13179 defaultval=yes
13180 else
13181 defaultval=no
13182 fi
13183 fi
13184
13185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13186 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13187 # Check whether --enable-dirdlg was given.
13188 if test "${enable_dirdlg+set}" = set; then
13189 enableval=$enable_dirdlg;
13190 if test "$enableval" = yes; then
13191 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13192 else
13193 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13194 fi
13195
13196 else
13197
13198 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13199
13200 fi
13201
13202
13203 eval "$wx_cv_use_dirdlg"
13204
13205 if test x"$enablestring" = xdisable; then
13206 if test $wxUSE_DIRDLG = no; then
13207 result=yes
13208 else
13209 result=no
13210 fi
13211 else
13212 result=$wxUSE_DIRDLG
13213 fi
13214
13215 { echo "$as_me:$LINENO: result: $result" >&5
13216 echo "${ECHO_T}$result" >&6; }
13217
13218
13219 enablestring=
13220 defaultval=$wxUSE_ALL_FEATURES
13221 if test -z "$defaultval"; then
13222 if test x"$enablestring" = xdisable; then
13223 defaultval=yes
13224 else
13225 defaultval=no
13226 fi
13227 fi
13228
13229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13230 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13231 # Check whether --enable-msgdlg was given.
13232 if test "${enable_msgdlg+set}" = set; then
13233 enableval=$enable_msgdlg;
13234 if test "$enableval" = yes; then
13235 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13236 else
13237 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13238 fi
13239
13240 else
13241
13242 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13243
13244 fi
13245
13246
13247 eval "$wx_cv_use_msgdlg"
13248
13249 if test x"$enablestring" = xdisable; then
13250 if test $wxUSE_MSGDLG = no; then
13251 result=yes
13252 else
13253 result=no
13254 fi
13255 else
13256 result=$wxUSE_MSGDLG
13257 fi
13258
13259 { echo "$as_me:$LINENO: result: $result" >&5
13260 echo "${ECHO_T}$result" >&6; }
13261
13262
13263 enablestring=
13264 defaultval=$wxUSE_ALL_FEATURES
13265 if test -z "$defaultval"; then
13266 if test x"$enablestring" = xdisable; then
13267 defaultval=yes
13268 else
13269 defaultval=no
13270 fi
13271 fi
13272
13273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13274 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13275 # Check whether --enable-numberdlg was given.
13276 if test "${enable_numberdlg+set}" = set; then
13277 enableval=$enable_numberdlg;
13278 if test "$enableval" = yes; then
13279 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13280 else
13281 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13282 fi
13283
13284 else
13285
13286 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13287
13288 fi
13289
13290
13291 eval "$wx_cv_use_numberdlg"
13292
13293 if test x"$enablestring" = xdisable; then
13294 if test $wxUSE_NUMBERDLG = no; then
13295 result=yes
13296 else
13297 result=no
13298 fi
13299 else
13300 result=$wxUSE_NUMBERDLG
13301 fi
13302
13303 { echo "$as_me:$LINENO: result: $result" >&5
13304 echo "${ECHO_T}$result" >&6; }
13305
13306
13307 enablestring=
13308 defaultval=$wxUSE_ALL_FEATURES
13309 if test -z "$defaultval"; then
13310 if test x"$enablestring" = xdisable; then
13311 defaultval=yes
13312 else
13313 defaultval=no
13314 fi
13315 fi
13316
13317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13318 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13319 # Check whether --enable-splash was given.
13320 if test "${enable_splash+set}" = set; then
13321 enableval=$enable_splash;
13322 if test "$enableval" = yes; then
13323 wx_cv_use_splash='wxUSE_SPLASH=yes'
13324 else
13325 wx_cv_use_splash='wxUSE_SPLASH=no'
13326 fi
13327
13328 else
13329
13330 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13331
13332 fi
13333
13334
13335 eval "$wx_cv_use_splash"
13336
13337 if test x"$enablestring" = xdisable; then
13338 if test $wxUSE_SPLASH = no; then
13339 result=yes
13340 else
13341 result=no
13342 fi
13343 else
13344 result=$wxUSE_SPLASH
13345 fi
13346
13347 { echo "$as_me:$LINENO: result: $result" >&5
13348 echo "${ECHO_T}$result" >&6; }
13349
13350
13351 enablestring=
13352 defaultval=$wxUSE_ALL_FEATURES
13353 if test -z "$defaultval"; then
13354 if test x"$enablestring" = xdisable; then
13355 defaultval=yes
13356 else
13357 defaultval=no
13358 fi
13359 fi
13360
13361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13362 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13363 # Check whether --enable-textdlg was given.
13364 if test "${enable_textdlg+set}" = set; then
13365 enableval=$enable_textdlg;
13366 if test "$enableval" = yes; then
13367 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13368 else
13369 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13370 fi
13371
13372 else
13373
13374 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13375
13376 fi
13377
13378
13379 eval "$wx_cv_use_textdlg"
13380
13381 if test x"$enablestring" = xdisable; then
13382 if test $wxUSE_TEXTDLG = no; then
13383 result=yes
13384 else
13385 result=no
13386 fi
13387 else
13388 result=$wxUSE_TEXTDLG
13389 fi
13390
13391 { echo "$as_me:$LINENO: result: $result" >&5
13392 echo "${ECHO_T}$result" >&6; }
13393
13394
13395 enablestring=
13396 defaultval=$wxUSE_ALL_FEATURES
13397 if test -z "$defaultval"; then
13398 if test x"$enablestring" = xdisable; then
13399 defaultval=yes
13400 else
13401 defaultval=no
13402 fi
13403 fi
13404
13405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13406 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13407 # Check whether --enable-tipdlg was given.
13408 if test "${enable_tipdlg+set}" = set; then
13409 enableval=$enable_tipdlg;
13410 if test "$enableval" = yes; then
13411 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13412 else
13413 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13414 fi
13415
13416 else
13417
13418 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13419
13420 fi
13421
13422
13423 eval "$wx_cv_use_tipdlg"
13424
13425 if test x"$enablestring" = xdisable; then
13426 if test $wxUSE_STARTUP_TIPS = no; then
13427 result=yes
13428 else
13429 result=no
13430 fi
13431 else
13432 result=$wxUSE_STARTUP_TIPS
13433 fi
13434
13435 { echo "$as_me:$LINENO: result: $result" >&5
13436 echo "${ECHO_T}$result" >&6; }
13437
13438
13439 enablestring=
13440 defaultval=$wxUSE_ALL_FEATURES
13441 if test -z "$defaultval"; then
13442 if test x"$enablestring" = xdisable; then
13443 defaultval=yes
13444 else
13445 defaultval=no
13446 fi
13447 fi
13448
13449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13450 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13451 # Check whether --enable-progressdlg was given.
13452 if test "${enable_progressdlg+set}" = set; then
13453 enableval=$enable_progressdlg;
13454 if test "$enableval" = yes; then
13455 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13456 else
13457 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13458 fi
13459
13460 else
13461
13462 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13463
13464 fi
13465
13466
13467 eval "$wx_cv_use_progressdlg"
13468
13469 if test x"$enablestring" = xdisable; then
13470 if test $wxUSE_PROGRESSDLG = no; then
13471 result=yes
13472 else
13473 result=no
13474 fi
13475 else
13476 result=$wxUSE_PROGRESSDLG
13477 fi
13478
13479 { echo "$as_me:$LINENO: result: $result" >&5
13480 echo "${ECHO_T}$result" >&6; }
13481
13482
13483 enablestring=
13484 defaultval=$wxUSE_ALL_FEATURES
13485 if test -z "$defaultval"; then
13486 if test x"$enablestring" = xdisable; then
13487 defaultval=yes
13488 else
13489 defaultval=no
13490 fi
13491 fi
13492
13493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13494 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13495 # Check whether --enable-wizarddlg was given.
13496 if test "${enable_wizarddlg+set}" = set; then
13497 enableval=$enable_wizarddlg;
13498 if test "$enableval" = yes; then
13499 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13500 else
13501 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13502 fi
13503
13504 else
13505
13506 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13507
13508 fi
13509
13510
13511 eval "$wx_cv_use_wizarddlg"
13512
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_WIZARDDLG = no; then
13515 result=yes
13516 else
13517 result=no
13518 fi
13519 else
13520 result=$wxUSE_WIZARDDLG
13521 fi
13522
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13525
13526
13527
13528
13529 enablestring=
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13533 defaultval=yes
13534 else
13535 defaultval=no
13536 fi
13537 fi
13538
13539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13540 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13541 # Check whether --enable-menus was given.
13542 if test "${enable_menus+set}" = set; then
13543 enableval=$enable_menus;
13544 if test "$enableval" = yes; then
13545 wx_cv_use_menus='wxUSE_MENUS=yes'
13546 else
13547 wx_cv_use_menus='wxUSE_MENUS=no'
13548 fi
13549
13550 else
13551
13552 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13553
13554 fi
13555
13556
13557 eval "$wx_cv_use_menus"
13558
13559 if test x"$enablestring" = xdisable; then
13560 if test $wxUSE_MENUS = no; then
13561 result=yes
13562 else
13563 result=no
13564 fi
13565 else
13566 result=$wxUSE_MENUS
13567 fi
13568
13569 { echo "$as_me:$LINENO: result: $result" >&5
13570 echo "${ECHO_T}$result" >&6; }
13571
13572
13573 enablestring=
13574 defaultval=$wxUSE_ALL_FEATURES
13575 if test -z "$defaultval"; then
13576 if test x"$enablestring" = xdisable; then
13577 defaultval=yes
13578 else
13579 defaultval=no
13580 fi
13581 fi
13582
13583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13584 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13585 # Check whether --enable-miniframe was given.
13586 if test "${enable_miniframe+set}" = set; then
13587 enableval=$enable_miniframe;
13588 if test "$enableval" = yes; then
13589 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13590 else
13591 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13592 fi
13593
13594 else
13595
13596 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13597
13598 fi
13599
13600
13601 eval "$wx_cv_use_miniframe"
13602
13603 if test x"$enablestring" = xdisable; then
13604 if test $wxUSE_MINIFRAME = no; then
13605 result=yes
13606 else
13607 result=no
13608 fi
13609 else
13610 result=$wxUSE_MINIFRAME
13611 fi
13612
13613 { echo "$as_me:$LINENO: result: $result" >&5
13614 echo "${ECHO_T}$result" >&6; }
13615
13616
13617 enablestring=
13618 defaultval=$wxUSE_ALL_FEATURES
13619 if test -z "$defaultval"; then
13620 if test x"$enablestring" = xdisable; then
13621 defaultval=yes
13622 else
13623 defaultval=no
13624 fi
13625 fi
13626
13627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13628 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13629 # Check whether --enable-tooltips was given.
13630 if test "${enable_tooltips+set}" = set; then
13631 enableval=$enable_tooltips;
13632 if test "$enableval" = yes; then
13633 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13634 else
13635 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13636 fi
13637
13638 else
13639
13640 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13641
13642 fi
13643
13644
13645 eval "$wx_cv_use_tooltips"
13646
13647 if test x"$enablestring" = xdisable; then
13648 if test $wxUSE_TOOLTIPS = no; then
13649 result=yes
13650 else
13651 result=no
13652 fi
13653 else
13654 result=$wxUSE_TOOLTIPS
13655 fi
13656
13657 { echo "$as_me:$LINENO: result: $result" >&5
13658 echo "${ECHO_T}$result" >&6; }
13659
13660
13661 enablestring=
13662 defaultval=$wxUSE_ALL_FEATURES
13663 if test -z "$defaultval"; then
13664 if test x"$enablestring" = xdisable; then
13665 defaultval=yes
13666 else
13667 defaultval=no
13668 fi
13669 fi
13670
13671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13672 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13673 # Check whether --enable-splines was given.
13674 if test "${enable_splines+set}" = set; then
13675 enableval=$enable_splines;
13676 if test "$enableval" = yes; then
13677 wx_cv_use_splines='wxUSE_SPLINES=yes'
13678 else
13679 wx_cv_use_splines='wxUSE_SPLINES=no'
13680 fi
13681
13682 else
13683
13684 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13685
13686 fi
13687
13688
13689 eval "$wx_cv_use_splines"
13690
13691 if test x"$enablestring" = xdisable; then
13692 if test $wxUSE_SPLINES = no; then
13693 result=yes
13694 else
13695 result=no
13696 fi
13697 else
13698 result=$wxUSE_SPLINES
13699 fi
13700
13701 { echo "$as_me:$LINENO: result: $result" >&5
13702 echo "${ECHO_T}$result" >&6; }
13703
13704
13705 enablestring=
13706 defaultval=$wxUSE_ALL_FEATURES
13707 if test -z "$defaultval"; then
13708 if test x"$enablestring" = xdisable; then
13709 defaultval=yes
13710 else
13711 defaultval=no
13712 fi
13713 fi
13714
13715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13716 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13717 # Check whether --enable-mousewheel was given.
13718 if test "${enable_mousewheel+set}" = set; then
13719 enableval=$enable_mousewheel;
13720 if test "$enableval" = yes; then
13721 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13722 else
13723 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13724 fi
13725
13726 else
13727
13728 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13729
13730 fi
13731
13732
13733 eval "$wx_cv_use_mousewheel"
13734
13735 if test x"$enablestring" = xdisable; then
13736 if test $wxUSE_MOUSEWHEEL = no; then
13737 result=yes
13738 else
13739 result=no
13740 fi
13741 else
13742 result=$wxUSE_MOUSEWHEEL
13743 fi
13744
13745 { echo "$as_me:$LINENO: result: $result" >&5
13746 echo "${ECHO_T}$result" >&6; }
13747
13748
13749 enablestring=
13750 defaultval=$wxUSE_ALL_FEATURES
13751 if test -z "$defaultval"; then
13752 if test x"$enablestring" = xdisable; then
13753 defaultval=yes
13754 else
13755 defaultval=no
13756 fi
13757 fi
13758
13759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13760 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13761 # Check whether --enable-validators was given.
13762 if test "${enable_validators+set}" = set; then
13763 enableval=$enable_validators;
13764 if test "$enableval" = yes; then
13765 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13766 else
13767 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13768 fi
13769
13770 else
13771
13772 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13773
13774 fi
13775
13776
13777 eval "$wx_cv_use_validators"
13778
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_VALIDATORS = no; then
13781 result=yes
13782 else
13783 result=no
13784 fi
13785 else
13786 result=$wxUSE_VALIDATORS
13787 fi
13788
13789 { echo "$as_me:$LINENO: result: $result" >&5
13790 echo "${ECHO_T}$result" >&6; }
13791
13792
13793 enablestring=
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13797 defaultval=yes
13798 else
13799 defaultval=no
13800 fi
13801 fi
13802
13803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13804 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13805 # Check whether --enable-busyinfo was given.
13806 if test "${enable_busyinfo+set}" = set; then
13807 enableval=$enable_busyinfo;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13810 else
13811 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13812 fi
13813
13814 else
13815
13816 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13817
13818 fi
13819
13820
13821 eval "$wx_cv_use_busyinfo"
13822
13823 if test x"$enablestring" = xdisable; then
13824 if test $wxUSE_BUSYINFO = no; then
13825 result=yes
13826 else
13827 result=no
13828 fi
13829 else
13830 result=$wxUSE_BUSYINFO
13831 fi
13832
13833 { echo "$as_me:$LINENO: result: $result" >&5
13834 echo "${ECHO_T}$result" >&6; }
13835
13836
13837 enablestring=
13838 defaultval=$wxUSE_ALL_FEATURES
13839 if test -z "$defaultval"; then
13840 if test x"$enablestring" = xdisable; then
13841 defaultval=yes
13842 else
13843 defaultval=no
13844 fi
13845 fi
13846
13847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13848 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13849 # Check whether --enable-joystick was given.
13850 if test "${enable_joystick+set}" = set; then
13851 enableval=$enable_joystick;
13852 if test "$enableval" = yes; then
13853 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13854 else
13855 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13856 fi
13857
13858 else
13859
13860 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13861
13862 fi
13863
13864
13865 eval "$wx_cv_use_joystick"
13866
13867 if test x"$enablestring" = xdisable; then
13868 if test $wxUSE_JOYSTICK = no; then
13869 result=yes
13870 else
13871 result=no
13872 fi
13873 else
13874 result=$wxUSE_JOYSTICK
13875 fi
13876
13877 { echo "$as_me:$LINENO: result: $result" >&5
13878 echo "${ECHO_T}$result" >&6; }
13879
13880
13881 enablestring=
13882 defaultval=$wxUSE_ALL_FEATURES
13883 if test -z "$defaultval"; then
13884 if test x"$enablestring" = xdisable; then
13885 defaultval=yes
13886 else
13887 defaultval=no
13888 fi
13889 fi
13890
13891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13892 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13893 # Check whether --enable-metafile was given.
13894 if test "${enable_metafile+set}" = set; then
13895 enableval=$enable_metafile;
13896 if test "$enableval" = yes; then
13897 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13898 else
13899 wx_cv_use_metafile='wxUSE_METAFILE=no'
13900 fi
13901
13902 else
13903
13904 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13905
13906 fi
13907
13908
13909 eval "$wx_cv_use_metafile"
13910
13911 if test x"$enablestring" = xdisable; then
13912 if test $wxUSE_METAFILE = no; then
13913 result=yes
13914 else
13915 result=no
13916 fi
13917 else
13918 result=$wxUSE_METAFILE
13919 fi
13920
13921 { echo "$as_me:$LINENO: result: $result" >&5
13922 echo "${ECHO_T}$result" >&6; }
13923
13924
13925 enablestring=
13926 defaultval=$wxUSE_ALL_FEATURES
13927 if test -z "$defaultval"; then
13928 if test x"$enablestring" = xdisable; then
13929 defaultval=yes
13930 else
13931 defaultval=no
13932 fi
13933 fi
13934
13935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13936 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13937 # Check whether --enable-dragimage was given.
13938 if test "${enable_dragimage+set}" = set; then
13939 enableval=$enable_dragimage;
13940 if test "$enableval" = yes; then
13941 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13942 else
13943 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13944 fi
13945
13946 else
13947
13948 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13949
13950 fi
13951
13952
13953 eval "$wx_cv_use_dragimage"
13954
13955 if test x"$enablestring" = xdisable; then
13956 if test $wxUSE_DRAGIMAGE = no; then
13957 result=yes
13958 else
13959 result=no
13960 fi
13961 else
13962 result=$wxUSE_DRAGIMAGE
13963 fi
13964
13965 { echo "$as_me:$LINENO: result: $result" >&5
13966 echo "${ECHO_T}$result" >&6; }
13967
13968
13969 enablestring=
13970 defaultval=$wxUSE_ALL_FEATURES
13971 if test -z "$defaultval"; then
13972 if test x"$enablestring" = xdisable; then
13973 defaultval=yes
13974 else
13975 defaultval=no
13976 fi
13977 fi
13978
13979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13980 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13981 # Check whether --enable-accessibility was given.
13982 if test "${enable_accessibility+set}" = set; then
13983 enableval=$enable_accessibility;
13984 if test "$enableval" = yes; then
13985 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13986 else
13987 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13988 fi
13989
13990 else
13991
13992 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13993
13994 fi
13995
13996
13997 eval "$wx_cv_use_accessibility"
13998
13999 if test x"$enablestring" = xdisable; then
14000 if test $wxUSE_ACCESSIBILITY = no; then
14001 result=yes
14002 else
14003 result=no
14004 fi
14005 else
14006 result=$wxUSE_ACCESSIBILITY
14007 fi
14008
14009 { echo "$as_me:$LINENO: result: $result" >&5
14010 echo "${ECHO_T}$result" >&6; }
14011
14012
14013 enablestring=
14014 defaultval=$wxUSE_ALL_FEATURES
14015 if test -z "$defaultval"; then
14016 if test x"$enablestring" = xdisable; then
14017 defaultval=yes
14018 else
14019 defaultval=no
14020 fi
14021 fi
14022
14023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14024 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14025 # Check whether --enable-uiactionsim was given.
14026 if test "${enable_uiactionsim+set}" = set; then
14027 enableval=$enable_uiactionsim;
14028 if test "$enableval" = yes; then
14029 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14030 else
14031 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14032 fi
14033
14034 else
14035
14036 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14037
14038 fi
14039
14040
14041 eval "$wx_cv_use_uiactionsim"
14042
14043 if test x"$enablestring" = xdisable; then
14044 if test $wxUSE_UIACTIONSIMULATOR = no; then
14045 result=yes
14046 else
14047 result=no
14048 fi
14049 else
14050 result=$wxUSE_UIACTIONSIMULATOR
14051 fi
14052
14053 { echo "$as_me:$LINENO: result: $result" >&5
14054 echo "${ECHO_T}$result" >&6; }
14055
14056
14057 enablestring=
14058 defaultval=$wxUSE_ALL_FEATURES
14059 if test -z "$defaultval"; then
14060 if test x"$enablestring" = xdisable; then
14061 defaultval=yes
14062 else
14063 defaultval=no
14064 fi
14065 fi
14066
14067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14068 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14069 # Check whether --enable-dctransform was given.
14070 if test "${enable_dctransform+set}" = set; then
14071 enableval=$enable_dctransform;
14072 if test "$enableval" = yes; then
14073 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14074 else
14075 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14076 fi
14077
14078 else
14079
14080 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14081
14082 fi
14083
14084
14085 eval "$wx_cv_use_dctransform"
14086
14087 if test x"$enablestring" = xdisable; then
14088 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14089 result=yes
14090 else
14091 result=no
14092 fi
14093 else
14094 result=$wxUSE_DC_TRANSFORM_MATRIX
14095 fi
14096
14097 { echo "$as_me:$LINENO: result: $result" >&5
14098 echo "${ECHO_T}$result" >&6; }
14099
14100
14101
14102
14103 enablestring=
14104 defaultval=$wxUSE_ALL_FEATURES
14105 if test -z "$defaultval"; then
14106 if test x"$enablestring" = xdisable; then
14107 defaultval=yes
14108 else
14109 defaultval=no
14110 fi
14111 fi
14112
14113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14114 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14115 # Check whether --enable-palette was given.
14116 if test "${enable_palette+set}" = set; then
14117 enableval=$enable_palette;
14118 if test "$enableval" = yes; then
14119 wx_cv_use_palette='wxUSE_PALETTE=yes'
14120 else
14121 wx_cv_use_palette='wxUSE_PALETTE=no'
14122 fi
14123
14124 else
14125
14126 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14127
14128 fi
14129
14130
14131 eval "$wx_cv_use_palette"
14132
14133 if test x"$enablestring" = xdisable; then
14134 if test $wxUSE_PALETTE = no; then
14135 result=yes
14136 else
14137 result=no
14138 fi
14139 else
14140 result=$wxUSE_PALETTE
14141 fi
14142
14143 { echo "$as_me:$LINENO: result: $result" >&5
14144 echo "${ECHO_T}$result" >&6; }
14145
14146
14147 enablestring=
14148 defaultval=$wxUSE_ALL_FEATURES
14149 if test -z "$defaultval"; then
14150 if test x"$enablestring" = xdisable; then
14151 defaultval=yes
14152 else
14153 defaultval=no
14154 fi
14155 fi
14156
14157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14158 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14159 # Check whether --enable-image was given.
14160 if test "${enable_image+set}" = set; then
14161 enableval=$enable_image;
14162 if test "$enableval" = yes; then
14163 wx_cv_use_image='wxUSE_IMAGE=yes'
14164 else
14165 wx_cv_use_image='wxUSE_IMAGE=no'
14166 fi
14167
14168 else
14169
14170 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14171
14172 fi
14173
14174
14175 eval "$wx_cv_use_image"
14176
14177 if test x"$enablestring" = xdisable; then
14178 if test $wxUSE_IMAGE = no; then
14179 result=yes
14180 else
14181 result=no
14182 fi
14183 else
14184 result=$wxUSE_IMAGE
14185 fi
14186
14187 { echo "$as_me:$LINENO: result: $result" >&5
14188 echo "${ECHO_T}$result" >&6; }
14189
14190
14191 enablestring=
14192 defaultval=$wxUSE_ALL_FEATURES
14193 if test -z "$defaultval"; then
14194 if test x"$enablestring" = xdisable; then
14195 defaultval=yes
14196 else
14197 defaultval=no
14198 fi
14199 fi
14200
14201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14202 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14203 # Check whether --enable-gif was given.
14204 if test "${enable_gif+set}" = set; then
14205 enableval=$enable_gif;
14206 if test "$enableval" = yes; then
14207 wx_cv_use_gif='wxUSE_GIF=yes'
14208 else
14209 wx_cv_use_gif='wxUSE_GIF=no'
14210 fi
14211
14212 else
14213
14214 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14215
14216 fi
14217
14218
14219 eval "$wx_cv_use_gif"
14220
14221 if test x"$enablestring" = xdisable; then
14222 if test $wxUSE_GIF = no; then
14223 result=yes
14224 else
14225 result=no
14226 fi
14227 else
14228 result=$wxUSE_GIF
14229 fi
14230
14231 { echo "$as_me:$LINENO: result: $result" >&5
14232 echo "${ECHO_T}$result" >&6; }
14233
14234
14235 enablestring=
14236 defaultval=$wxUSE_ALL_FEATURES
14237 if test -z "$defaultval"; then
14238 if test x"$enablestring" = xdisable; then
14239 defaultval=yes
14240 else
14241 defaultval=no
14242 fi
14243 fi
14244
14245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14246 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14247 # Check whether --enable-pcx was given.
14248 if test "${enable_pcx+set}" = set; then
14249 enableval=$enable_pcx;
14250 if test "$enableval" = yes; then
14251 wx_cv_use_pcx='wxUSE_PCX=yes'
14252 else
14253 wx_cv_use_pcx='wxUSE_PCX=no'
14254 fi
14255
14256 else
14257
14258 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14259
14260 fi
14261
14262
14263 eval "$wx_cv_use_pcx"
14264
14265 if test x"$enablestring" = xdisable; then
14266 if test $wxUSE_PCX = no; then
14267 result=yes
14268 else
14269 result=no
14270 fi
14271 else
14272 result=$wxUSE_PCX
14273 fi
14274
14275 { echo "$as_me:$LINENO: result: $result" >&5
14276 echo "${ECHO_T}$result" >&6; }
14277
14278
14279 enablestring=
14280 defaultval=$wxUSE_ALL_FEATURES
14281 if test -z "$defaultval"; then
14282 if test x"$enablestring" = xdisable; then
14283 defaultval=yes
14284 else
14285 defaultval=no
14286 fi
14287 fi
14288
14289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14290 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14291 # Check whether --enable-tga was given.
14292 if test "${enable_tga+set}" = set; then
14293 enableval=$enable_tga;
14294 if test "$enableval" = yes; then
14295 wx_cv_use_tga='wxUSE_TGA=yes'
14296 else
14297 wx_cv_use_tga='wxUSE_TGA=no'
14298 fi
14299
14300 else
14301
14302 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14303
14304 fi
14305
14306
14307 eval "$wx_cv_use_tga"
14308
14309 if test x"$enablestring" = xdisable; then
14310 if test $wxUSE_TGA = no; then
14311 result=yes
14312 else
14313 result=no
14314 fi
14315 else
14316 result=$wxUSE_TGA
14317 fi
14318
14319 { echo "$as_me:$LINENO: result: $result" >&5
14320 echo "${ECHO_T}$result" >&6; }
14321
14322
14323 enablestring=
14324 defaultval=$wxUSE_ALL_FEATURES
14325 if test -z "$defaultval"; then
14326 if test x"$enablestring" = xdisable; then
14327 defaultval=yes
14328 else
14329 defaultval=no
14330 fi
14331 fi
14332
14333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14334 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14335 # Check whether --enable-iff was given.
14336 if test "${enable_iff+set}" = set; then
14337 enableval=$enable_iff;
14338 if test "$enableval" = yes; then
14339 wx_cv_use_iff='wxUSE_IFF=yes'
14340 else
14341 wx_cv_use_iff='wxUSE_IFF=no'
14342 fi
14343
14344 else
14345
14346 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14347
14348 fi
14349
14350
14351 eval "$wx_cv_use_iff"
14352
14353 if test x"$enablestring" = xdisable; then
14354 if test $wxUSE_IFF = no; then
14355 result=yes
14356 else
14357 result=no
14358 fi
14359 else
14360 result=$wxUSE_IFF
14361 fi
14362
14363 { echo "$as_me:$LINENO: result: $result" >&5
14364 echo "${ECHO_T}$result" >&6; }
14365
14366
14367 enablestring=
14368 defaultval=$wxUSE_ALL_FEATURES
14369 if test -z "$defaultval"; then
14370 if test x"$enablestring" = xdisable; then
14371 defaultval=yes
14372 else
14373 defaultval=no
14374 fi
14375 fi
14376
14377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14378 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14379 # Check whether --enable-pnm was given.
14380 if test "${enable_pnm+set}" = set; then
14381 enableval=$enable_pnm;
14382 if test "$enableval" = yes; then
14383 wx_cv_use_pnm='wxUSE_PNM=yes'
14384 else
14385 wx_cv_use_pnm='wxUSE_PNM=no'
14386 fi
14387
14388 else
14389
14390 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14391
14392 fi
14393
14394
14395 eval "$wx_cv_use_pnm"
14396
14397 if test x"$enablestring" = xdisable; then
14398 if test $wxUSE_PNM = no; then
14399 result=yes
14400 else
14401 result=no
14402 fi
14403 else
14404 result=$wxUSE_PNM
14405 fi
14406
14407 { echo "$as_me:$LINENO: result: $result" >&5
14408 echo "${ECHO_T}$result" >&6; }
14409
14410
14411 enablestring=
14412 defaultval=$wxUSE_ALL_FEATURES
14413 if test -z "$defaultval"; then
14414 if test x"$enablestring" = xdisable; then
14415 defaultval=yes
14416 else
14417 defaultval=no
14418 fi
14419 fi
14420
14421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14422 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14423 # Check whether --enable-xpm was given.
14424 if test "${enable_xpm+set}" = set; then
14425 enableval=$enable_xpm;
14426 if test "$enableval" = yes; then
14427 wx_cv_use_xpm='wxUSE_XPM=yes'
14428 else
14429 wx_cv_use_xpm='wxUSE_XPM=no'
14430 fi
14431
14432 else
14433
14434 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14435
14436 fi
14437
14438
14439 eval "$wx_cv_use_xpm"
14440
14441 if test x"$enablestring" = xdisable; then
14442 if test $wxUSE_XPM = no; then
14443 result=yes
14444 else
14445 result=no
14446 fi
14447 else
14448 result=$wxUSE_XPM
14449 fi
14450
14451 { echo "$as_me:$LINENO: result: $result" >&5
14452 echo "${ECHO_T}$result" >&6; }
14453
14454
14455 enablestring=
14456 defaultval=$wxUSE_ALL_FEATURES
14457 if test -z "$defaultval"; then
14458 if test x"$enablestring" = xdisable; then
14459 defaultval=yes
14460 else
14461 defaultval=no
14462 fi
14463 fi
14464
14465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14466 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14467 # Check whether --enable-ico_cur was given.
14468 if test "${enable_ico_cur+set}" = set; then
14469 enableval=$enable_ico_cur;
14470 if test "$enableval" = yes; then
14471 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14472 else
14473 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14474 fi
14475
14476 else
14477
14478 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14479
14480 fi
14481
14482
14483 eval "$wx_cv_use_ico_cur"
14484
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_ICO_CUR = no; then
14487 result=yes
14488 else
14489 result=no
14490 fi
14491 else
14492 result=$wxUSE_ICO_CUR
14493 fi
14494
14495 { echo "$as_me:$LINENO: result: $result" >&5
14496 echo "${ECHO_T}$result" >&6; }
14497
14498
14499
14500
14501 enablestring=
14502 defaultval=$wxUSE_ALL_FEATURES
14503 if test -z "$defaultval"; then
14504 if test x"$enablestring" = xdisable; then
14505 defaultval=yes
14506 else
14507 defaultval=no
14508 fi
14509 fi
14510
14511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14512 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14513 # Check whether --enable-dccache was given.
14514 if test "${enable_dccache+set}" = set; then
14515 enableval=$enable_dccache;
14516 if test "$enableval" = yes; then
14517 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14518 else
14519 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14520 fi
14521
14522 else
14523
14524 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14525
14526 fi
14527
14528
14529 eval "$wx_cv_use_dccache"
14530
14531 if test x"$enablestring" = xdisable; then
14532 if test $wxUSE_DC_CACHEING = no; then
14533 result=yes
14534 else
14535 result=no
14536 fi
14537 else
14538 result=$wxUSE_DC_CACHEING
14539 fi
14540
14541 { echo "$as_me:$LINENO: result: $result" >&5
14542 echo "${ECHO_T}$result" >&6; }
14543
14544
14545 enablestring=
14546 defaultval=$wxUSE_ALL_FEATURES
14547 if test -z "$defaultval"; then
14548 if test x"$enablestring" = xdisable; then
14549 defaultval=yes
14550 else
14551 defaultval=no
14552 fi
14553 fi
14554
14555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14556 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14557 # Check whether --enable-ps-in-msw was given.
14558 if test "${enable_ps_in_msw+set}" = set; then
14559 enableval=$enable_ps_in_msw;
14560 if test "$enableval" = yes; then
14561 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14562 else
14563 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14564 fi
14565
14566 else
14567
14568 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14569
14570 fi
14571
14572
14573 eval "$wx_cv_use_ps_in_msw"
14574
14575 if test x"$enablestring" = xdisable; then
14576 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14577 result=yes
14578 else
14579 result=no
14580 fi
14581 else
14582 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14583 fi
14584
14585 { echo "$as_me:$LINENO: result: $result" >&5
14586 echo "${ECHO_T}$result" >&6; }
14587
14588
14589 enablestring=
14590 defaultval=$wxUSE_ALL_FEATURES
14591 if test -z "$defaultval"; then
14592 if test x"$enablestring" = xdisable; then
14593 defaultval=yes
14594 else
14595 defaultval=no
14596 fi
14597 fi
14598
14599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14600 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14601 # Check whether --enable-ownerdrawn was given.
14602 if test "${enable_ownerdrawn+set}" = set; then
14603 enableval=$enable_ownerdrawn;
14604 if test "$enableval" = yes; then
14605 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14606 else
14607 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14608 fi
14609
14610 else
14611
14612 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14613
14614 fi
14615
14616
14617 eval "$wx_cv_use_ownerdrawn"
14618
14619 if test x"$enablestring" = xdisable; then
14620 if test $wxUSE_OWNER_DRAWN = no; then
14621 result=yes
14622 else
14623 result=no
14624 fi
14625 else
14626 result=$wxUSE_OWNER_DRAWN
14627 fi
14628
14629 { echo "$as_me:$LINENO: result: $result" >&5
14630 echo "${ECHO_T}$result" >&6; }
14631
14632
14633 enablestring=
14634 defaultval=$wxUSE_ALL_FEATURES
14635 if test -z "$defaultval"; then
14636 if test x"$enablestring" = xdisable; then
14637 defaultval=yes
14638 else
14639 defaultval=no
14640 fi
14641 fi
14642
14643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14644 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14645 # Check whether --enable-uxtheme was given.
14646 if test "${enable_uxtheme+set}" = set; then
14647 enableval=$enable_uxtheme;
14648 if test "$enableval" = yes; then
14649 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14650 else
14651 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14652 fi
14653
14654 else
14655
14656 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14657
14658 fi
14659
14660
14661 eval "$wx_cv_use_uxtheme"
14662
14663 if test x"$enablestring" = xdisable; then
14664 if test $wxUSE_UXTHEME = no; then
14665 result=yes
14666 else
14667 result=no
14668 fi
14669 else
14670 result=$wxUSE_UXTHEME
14671 fi
14672
14673 { echo "$as_me:$LINENO: result: $result" >&5
14674 echo "${ECHO_T}$result" >&6; }
14675
14676
14677 enablestring=
14678 defaultval=$wxUSE_ALL_FEATURES
14679 if test -z "$defaultval"; then
14680 if test x"$enablestring" = xdisable; then
14681 defaultval=yes
14682 else
14683 defaultval=no
14684 fi
14685 fi
14686
14687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14688 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14689 # Check whether --enable-wxdib was given.
14690 if test "${enable_wxdib+set}" = set; then
14691 enableval=$enable_wxdib;
14692 if test "$enableval" = yes; then
14693 wx_cv_use_wxdib='wxUSE_DIB=yes'
14694 else
14695 wx_cv_use_wxdib='wxUSE_DIB=no'
14696 fi
14697
14698 else
14699
14700 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14701
14702 fi
14703
14704
14705 eval "$wx_cv_use_wxdib"
14706
14707 if test x"$enablestring" = xdisable; then
14708 if test $wxUSE_DIB = no; then
14709 result=yes
14710 else
14711 result=no
14712 fi
14713 else
14714 result=$wxUSE_DIB
14715 fi
14716
14717 { echo "$as_me:$LINENO: result: $result" >&5
14718 echo "${ECHO_T}$result" >&6; }
14719
14720
14721 if test "$wxUSE_MSW" != 1; then
14722 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14723 fi
14724
14725
14726 enablestring=
14727 defaultval=$wxUSE_ALL_FEATURES
14728 if test -z "$defaultval"; then
14729 if test x"$enablestring" = xdisable; then
14730 defaultval=yes
14731 else
14732 defaultval=no
14733 fi
14734 fi
14735
14736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14737 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14738 # Check whether --enable-autoidman was given.
14739 if test "${enable_autoidman+set}" = set; then
14740 enableval=$enable_autoidman;
14741 if test "$enableval" = yes; then
14742 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14743 else
14744 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14745 fi
14746
14747 else
14748
14749 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14750
14751 fi
14752
14753
14754 eval "$wx_cv_use_autoidman"
14755
14756 if test x"$enablestring" = xdisable; then
14757 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14758 result=yes
14759 else
14760 result=no
14761 fi
14762 else
14763 result=$wxUSE_AUTOID_MANAGEMENT
14764 fi
14765
14766 { echo "$as_me:$LINENO: result: $result" >&5
14767 echo "${ECHO_T}$result" >&6; }
14768
14769
14770 fi
14771
14772
14773 cat >confcache <<\_ACEOF
14774 # This file is a shell script that caches the results of configure
14775 # tests run on this system so they can be shared between configure
14776 # scripts and configure runs, see configure's option --config-cache.
14777 # It is not useful on other systems. If it contains results you don't
14778 # want to keep, you may remove or edit it.
14779 #
14780 # config.status only pays attention to the cache file if you give it
14781 # the --recheck option to rerun configure.
14782 #
14783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14785 # following values.
14786
14787 _ACEOF
14788
14789 # The following way of writing the cache mishandles newlines in values,
14790 # but we know of no workaround that is simple, portable, and efficient.
14791 # So, we kill variables containing newlines.
14792 # Ultrix sh set writes to stderr and can't be redirected directly,
14793 # and sets the high bit in the cache file unless we assign to the vars.
14794 (
14795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14796 eval ac_val=\$$ac_var
14797 case $ac_val in #(
14798 *${as_nl}*)
14799 case $ac_var in #(
14800 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14801 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14802 esac
14803 case $ac_var in #(
14804 _ | IFS | as_nl) ;; #(
14805 *) $as_unset $ac_var ;;
14806 esac ;;
14807 esac
14808 done
14809
14810 (set) 2>&1 |
14811 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14812 *${as_nl}ac_space=\ *)
14813 # `set' does not quote correctly, so add quotes (double-quote
14814 # substitution turns \\\\ into \\, and sed turns \\ into \).
14815 sed -n \
14816 "s/'/'\\\\''/g;
14817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14818 ;; #(
14819 *)
14820 # `set' quotes correctly as required by POSIX, so do not add quotes.
14821 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14822 ;;
14823 esac |
14824 sort
14825 ) |
14826 sed '
14827 /^ac_cv_env_/b end
14828 t clear
14829 :clear
14830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14831 t end
14832 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14833 :end' >>confcache
14834 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14835 if test -w "$cache_file"; then
14836 test "x$cache_file" != "x/dev/null" &&
14837 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14838 echo "$as_me: updating cache $cache_file" >&6;}
14839 cat confcache >$cache_file
14840 else
14841 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14842 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14843 fi
14844 fi
14845 rm -f confcache
14846
14847 CFLAGS=${CFLAGS:=}
14848 ac_ext=c
14849 ac_cpp='$CPP $CPPFLAGS'
14850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14853 if test -n "$ac_tool_prefix"; then
14854 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14855 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14858 if test "${ac_cv_prog_CC+set}" = set; then
14859 echo $ECHO_N "(cached) $ECHO_C" >&6
14860 else
14861 if test -n "$CC"; then
14862 ac_cv_prog_CC="$CC" # Let the user override the test.
14863 else
14864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14865 for as_dir in $PATH
14866 do
14867 IFS=$as_save_IFS
14868 test -z "$as_dir" && as_dir=.
14869 for ac_exec_ext in '' $ac_executable_extensions; do
14870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14871 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14873 break 2
14874 fi
14875 done
14876 done
14877 IFS=$as_save_IFS
14878
14879 fi
14880 fi
14881 CC=$ac_cv_prog_CC
14882 if test -n "$CC"; then
14883 { echo "$as_me:$LINENO: result: $CC" >&5
14884 echo "${ECHO_T}$CC" >&6; }
14885 else
14886 { echo "$as_me:$LINENO: result: no" >&5
14887 echo "${ECHO_T}no" >&6; }
14888 fi
14889
14890
14891 fi
14892 if test -z "$ac_cv_prog_CC"; then
14893 ac_ct_CC=$CC
14894 # Extract the first word of "gcc", so it can be a program name with args.
14895 set dummy gcc; ac_word=$2
14896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14898 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14899 echo $ECHO_N "(cached) $ECHO_C" >&6
14900 else
14901 if test -n "$ac_ct_CC"; then
14902 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14903 else
14904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14905 for as_dir in $PATH
14906 do
14907 IFS=$as_save_IFS
14908 test -z "$as_dir" && as_dir=.
14909 for ac_exec_ext in '' $ac_executable_extensions; do
14910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14911 ac_cv_prog_ac_ct_CC="gcc"
14912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14913 break 2
14914 fi
14915 done
14916 done
14917 IFS=$as_save_IFS
14918
14919 fi
14920 fi
14921 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14922 if test -n "$ac_ct_CC"; then
14923 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14924 echo "${ECHO_T}$ac_ct_CC" >&6; }
14925 else
14926 { echo "$as_me:$LINENO: result: no" >&5
14927 echo "${ECHO_T}no" >&6; }
14928 fi
14929
14930 if test "x$ac_ct_CC" = x; then
14931 CC=""
14932 else
14933 case $cross_compiling:$ac_tool_warned in
14934 yes:)
14935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14936 whose name does not start with the host triplet. If you think this
14937 configuration is useful to you, please write to autoconf@gnu.org." >&5
14938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14939 whose name does not start with the host triplet. If you think this
14940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14941 ac_tool_warned=yes ;;
14942 esac
14943 CC=$ac_ct_CC
14944 fi
14945 else
14946 CC="$ac_cv_prog_CC"
14947 fi
14948
14949 if test -z "$CC"; then
14950 if test -n "$ac_tool_prefix"; then
14951 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14952 set dummy ${ac_tool_prefix}cc; ac_word=$2
14953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14955 if test "${ac_cv_prog_CC+set}" = set; then
14956 echo $ECHO_N "(cached) $ECHO_C" >&6
14957 else
14958 if test -n "$CC"; then
14959 ac_cv_prog_CC="$CC" # Let the user override the test.
14960 else
14961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14962 for as_dir in $PATH
14963 do
14964 IFS=$as_save_IFS
14965 test -z "$as_dir" && as_dir=.
14966 for ac_exec_ext in '' $ac_executable_extensions; do
14967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14968 ac_cv_prog_CC="${ac_tool_prefix}cc"
14969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14970 break 2
14971 fi
14972 done
14973 done
14974 IFS=$as_save_IFS
14975
14976 fi
14977 fi
14978 CC=$ac_cv_prog_CC
14979 if test -n "$CC"; then
14980 { echo "$as_me:$LINENO: result: $CC" >&5
14981 echo "${ECHO_T}$CC" >&6; }
14982 else
14983 { echo "$as_me:$LINENO: result: no" >&5
14984 echo "${ECHO_T}no" >&6; }
14985 fi
14986
14987
14988 fi
14989 fi
14990 if test -z "$CC"; then
14991 # Extract the first word of "cc", so it can be a program name with args.
14992 set dummy cc; ac_word=$2
14993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14995 if test "${ac_cv_prog_CC+set}" = set; then
14996 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 else
14998 if test -n "$CC"; then
14999 ac_cv_prog_CC="$CC" # Let the user override the test.
15000 else
15001 ac_prog_rejected=no
15002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15003 for as_dir in $PATH
15004 do
15005 IFS=$as_save_IFS
15006 test -z "$as_dir" && as_dir=.
15007 for ac_exec_ext in '' $ac_executable_extensions; do
15008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15009 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15010 ac_prog_rejected=yes
15011 continue
15012 fi
15013 ac_cv_prog_CC="cc"
15014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15015 break 2
15016 fi
15017 done
15018 done
15019 IFS=$as_save_IFS
15020
15021 if test $ac_prog_rejected = yes; then
15022 # We found a bogon in the path, so make sure we never use it.
15023 set dummy $ac_cv_prog_CC
15024 shift
15025 if test $# != 0; then
15026 # We chose a different compiler from the bogus one.
15027 # However, it has the same basename, so the bogon will be chosen
15028 # first if we set CC to just the basename; use the full file name.
15029 shift
15030 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15031 fi
15032 fi
15033 fi
15034 fi
15035 CC=$ac_cv_prog_CC
15036 if test -n "$CC"; then
15037 { echo "$as_me:$LINENO: result: $CC" >&5
15038 echo "${ECHO_T}$CC" >&6; }
15039 else
15040 { echo "$as_me:$LINENO: result: no" >&5
15041 echo "${ECHO_T}no" >&6; }
15042 fi
15043
15044
15045 fi
15046 if test -z "$CC"; then
15047 if test -n "$ac_tool_prefix"; then
15048 for ac_prog in cl.exe
15049 do
15050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15051 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15054 if test "${ac_cv_prog_CC+set}" = set; then
15055 echo $ECHO_N "(cached) $ECHO_C" >&6
15056 else
15057 if test -n "$CC"; then
15058 ac_cv_prog_CC="$CC" # Let the user override the test.
15059 else
15060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15061 for as_dir in $PATH
15062 do
15063 IFS=$as_save_IFS
15064 test -z "$as_dir" && as_dir=.
15065 for ac_exec_ext in '' $ac_executable_extensions; do
15066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15067 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15069 break 2
15070 fi
15071 done
15072 done
15073 IFS=$as_save_IFS
15074
15075 fi
15076 fi
15077 CC=$ac_cv_prog_CC
15078 if test -n "$CC"; then
15079 { echo "$as_me:$LINENO: result: $CC" >&5
15080 echo "${ECHO_T}$CC" >&6; }
15081 else
15082 { echo "$as_me:$LINENO: result: no" >&5
15083 echo "${ECHO_T}no" >&6; }
15084 fi
15085
15086
15087 test -n "$CC" && break
15088 done
15089 fi
15090 if test -z "$CC"; then
15091 ac_ct_CC=$CC
15092 for ac_prog in cl.exe
15093 do
15094 # Extract the first word of "$ac_prog", so it can be a program name with args.
15095 set dummy $ac_prog; ac_word=$2
15096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15098 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 else
15101 if test -n "$ac_ct_CC"; then
15102 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15103 else
15104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15105 for as_dir in $PATH
15106 do
15107 IFS=$as_save_IFS
15108 test -z "$as_dir" && as_dir=.
15109 for ac_exec_ext in '' $ac_executable_extensions; do
15110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15111 ac_cv_prog_ac_ct_CC="$ac_prog"
15112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15113 break 2
15114 fi
15115 done
15116 done
15117 IFS=$as_save_IFS
15118
15119 fi
15120 fi
15121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15122 if test -n "$ac_ct_CC"; then
15123 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15124 echo "${ECHO_T}$ac_ct_CC" >&6; }
15125 else
15126 { echo "$as_me:$LINENO: result: no" >&5
15127 echo "${ECHO_T}no" >&6; }
15128 fi
15129
15130
15131 test -n "$ac_ct_CC" && break
15132 done
15133
15134 if test "x$ac_ct_CC" = x; then
15135 CC=""
15136 else
15137 case $cross_compiling:$ac_tool_warned in
15138 yes:)
15139 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15140 whose name does not start with the host triplet. If you think this
15141 configuration is useful to you, please write to autoconf@gnu.org." >&5
15142 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15143 whose name does not start with the host triplet. If you think this
15144 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15145 ac_tool_warned=yes ;;
15146 esac
15147 CC=$ac_ct_CC
15148 fi
15149 fi
15150
15151 fi
15152
15153
15154 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15155 See \`config.log' for more details." >&5
15156 echo "$as_me: error: no acceptable C compiler found in \$PATH
15157 See \`config.log' for more details." >&2;}
15158 { (exit 1); exit 1; }; }
15159
15160 # Provide some information about the compiler.
15161 echo "$as_me:$LINENO: checking for C compiler version" >&5
15162 ac_compiler=`set X $ac_compile; echo $2`
15163 { (ac_try="$ac_compiler --version >&5"
15164 case "(($ac_try" in
15165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15166 *) ac_try_echo=$ac_try;;
15167 esac
15168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15169 (eval "$ac_compiler --version >&5") 2>&5
15170 ac_status=$?
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }
15173 { (ac_try="$ac_compiler -v >&5"
15174 case "(($ac_try" in
15175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15176 *) ac_try_echo=$ac_try;;
15177 esac
15178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15179 (eval "$ac_compiler -v >&5") 2>&5
15180 ac_status=$?
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); }
15183 { (ac_try="$ac_compiler -V >&5"
15184 case "(($ac_try" in
15185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15186 *) ac_try_echo=$ac_try;;
15187 esac
15188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15189 (eval "$ac_compiler -V >&5") 2>&5
15190 ac_status=$?
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }
15193
15194 cat >conftest.$ac_ext <<_ACEOF
15195 /* confdefs.h. */
15196 _ACEOF
15197 cat confdefs.h >>conftest.$ac_ext
15198 cat >>conftest.$ac_ext <<_ACEOF
15199 /* end confdefs.h. */
15200
15201 int
15202 main ()
15203 {
15204
15205 ;
15206 return 0;
15207 }
15208 _ACEOF
15209 ac_clean_files_save=$ac_clean_files
15210 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15211 # Try to create an executable without -o first, disregard a.out.
15212 # It will help us diagnose broken compilers, and finding out an intuition
15213 # of exeext.
15214 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15215 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15216 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15217 #
15218 # List of possible output files, starting from the most likely.
15219 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15220 # only as a last resort. b.out is created by i960 compilers.
15221 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15222 #
15223 # The IRIX 6 linker writes into existing files which may not be
15224 # executable, retaining their permissions. Remove them first so a
15225 # subsequent execution test works.
15226 ac_rmfiles=
15227 for ac_file in $ac_files
15228 do
15229 case $ac_file in
15230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15231 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15232 esac
15233 done
15234 rm -f $ac_rmfiles
15235
15236 if { (ac_try="$ac_link_default"
15237 case "(($ac_try" in
15238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15239 *) ac_try_echo=$ac_try;;
15240 esac
15241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15242 (eval "$ac_link_default") 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; then
15246 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15247 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15248 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15249 # so that the user can short-circuit this test for compilers unknown to
15250 # Autoconf.
15251 for ac_file in $ac_files ''
15252 do
15253 test -f "$ac_file" || continue
15254 case $ac_file in
15255 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15256 ;;
15257 [ab].out )
15258 # We found the default executable, but exeext='' is most
15259 # certainly right.
15260 break;;
15261 *.* )
15262 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15263 then :; else
15264 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15265 fi
15266 # We set ac_cv_exeext here because the later test for it is not
15267 # safe: cross compilers may not add the suffix if given an `-o'
15268 # argument, so we may need to know it at that point already.
15269 # Even if this section looks crufty: it has the advantage of
15270 # actually working.
15271 break;;
15272 * )
15273 break;;
15274 esac
15275 done
15276 test "$ac_cv_exeext" = no && ac_cv_exeext=
15277
15278 else
15279 ac_file=''
15280 fi
15281
15282 { echo "$as_me:$LINENO: result: $ac_file" >&5
15283 echo "${ECHO_T}$ac_file" >&6; }
15284 if test -z "$ac_file"; then
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15287
15288 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15289 See \`config.log' for more details." >&5
15290 echo "$as_me: error: C compiler cannot create executables
15291 See \`config.log' for more details." >&2;}
15292 { (exit 77); exit 77; }; }
15293 fi
15294
15295 ac_exeext=$ac_cv_exeext
15296
15297 # Check that the compiler produces executables we can run. If not, either
15298 # the compiler is broken, or we cross compile.
15299 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15300 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15301 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15302 # If not cross compiling, check that we can run a simple program.
15303 if test "$cross_compiling" != yes; then
15304 if { ac_try='./$ac_file'
15305 { (case "(($ac_try" in
15306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15307 *) ac_try_echo=$ac_try;;
15308 esac
15309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15310 (eval "$ac_try") 2>&5
15311 ac_status=$?
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; }; then
15314 cross_compiling=no
15315 else
15316 if test "$cross_compiling" = maybe; then
15317 cross_compiling=yes
15318 else
15319 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15320 If you meant to cross compile, use \`--host'.
15321 See \`config.log' for more details." >&5
15322 echo "$as_me: error: cannot run C compiled programs.
15323 If you meant to cross compile, use \`--host'.
15324 See \`config.log' for more details." >&2;}
15325 { (exit 1); exit 1; }; }
15326 fi
15327 fi
15328 fi
15329 { echo "$as_me:$LINENO: result: yes" >&5
15330 echo "${ECHO_T}yes" >&6; }
15331
15332 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15333 ac_clean_files=$ac_clean_files_save
15334 # Check that the compiler produces executables we can run. If not, either
15335 # the compiler is broken, or we cross compile.
15336 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15337 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15338 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15339 echo "${ECHO_T}$cross_compiling" >&6; }
15340
15341 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15342 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15343 if { (ac_try="$ac_link"
15344 case "(($ac_try" in
15345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15346 *) ac_try_echo=$ac_try;;
15347 esac
15348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15349 (eval "$ac_link") 2>&5
15350 ac_status=$?
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); }; then
15353 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15354 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15355 # work properly (i.e., refer to `conftest.exe'), while it won't with
15356 # `rm'.
15357 for ac_file in conftest.exe conftest conftest.*; do
15358 test -f "$ac_file" || continue
15359 case $ac_file in
15360 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15361 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15362 break;;
15363 * ) break;;
15364 esac
15365 done
15366 else
15367 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15368 See \`config.log' for more details." >&5
15369 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15370 See \`config.log' for more details." >&2;}
15371 { (exit 1); exit 1; }; }
15372 fi
15373
15374 rm -f conftest$ac_cv_exeext
15375 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15376 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15377
15378 rm -f conftest.$ac_ext
15379 EXEEXT=$ac_cv_exeext
15380 ac_exeext=$EXEEXT
15381 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15382 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15383 if test "${ac_cv_objext+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 else
15386 cat >conftest.$ac_ext <<_ACEOF
15387 /* confdefs.h. */
15388 _ACEOF
15389 cat confdefs.h >>conftest.$ac_ext
15390 cat >>conftest.$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15392
15393 int
15394 main ()
15395 {
15396
15397 ;
15398 return 0;
15399 }
15400 _ACEOF
15401 rm -f conftest.o conftest.obj
15402 if { (ac_try="$ac_compile"
15403 case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15406 esac
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_compile") 2>&5
15409 ac_status=$?
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; then
15412 for ac_file in conftest.o conftest.obj conftest.*; do
15413 test -f "$ac_file" || continue;
15414 case $ac_file in
15415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15416 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15417 break;;
15418 esac
15419 done
15420 else
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15423
15424 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15425 See \`config.log' for more details." >&5
15426 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15427 See \`config.log' for more details." >&2;}
15428 { (exit 1); exit 1; }; }
15429 fi
15430
15431 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15432 fi
15433 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15434 echo "${ECHO_T}$ac_cv_objext" >&6; }
15435 OBJEXT=$ac_cv_objext
15436 ac_objext=$OBJEXT
15437 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15438 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15439 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15440 echo $ECHO_N "(cached) $ECHO_C" >&6
15441 else
15442 cat >conftest.$ac_ext <<_ACEOF
15443 /* confdefs.h. */
15444 _ACEOF
15445 cat confdefs.h >>conftest.$ac_ext
15446 cat >>conftest.$ac_ext <<_ACEOF
15447 /* end confdefs.h. */
15448
15449 int
15450 main ()
15451 {
15452 #ifndef __GNUC__
15453 choke me
15454 #endif
15455
15456 ;
15457 return 0;
15458 }
15459 _ACEOF
15460 rm -f conftest.$ac_objext
15461 if { (ac_try="$ac_compile"
15462 case "(($ac_try" in
15463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15464 *) ac_try_echo=$ac_try;;
15465 esac
15466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15467 (eval "$ac_compile") 2>conftest.er1
15468 ac_status=$?
15469 grep -v '^ *+' conftest.er1 >conftest.err
15470 rm -f conftest.er1
15471 cat conftest.err >&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); } && {
15474 test -z "$ac_c_werror_flag" ||
15475 test ! -s conftest.err
15476 } && test -s conftest.$ac_objext; then
15477 ac_compiler_gnu=yes
15478 else
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15481
15482 ac_compiler_gnu=no
15483 fi
15484
15485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15486 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15487
15488 fi
15489 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15490 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15491 GCC=`test $ac_compiler_gnu = yes && echo yes`
15492 ac_test_CFLAGS=${CFLAGS+set}
15493 ac_save_CFLAGS=$CFLAGS
15494 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15495 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15496 if test "${ac_cv_prog_cc_g+set}" = set; then
15497 echo $ECHO_N "(cached) $ECHO_C" >&6
15498 else
15499 ac_save_c_werror_flag=$ac_c_werror_flag
15500 ac_c_werror_flag=yes
15501 ac_cv_prog_cc_g=no
15502 CFLAGS="-g"
15503 cat >conftest.$ac_ext <<_ACEOF
15504 /* confdefs.h. */
15505 _ACEOF
15506 cat confdefs.h >>conftest.$ac_ext
15507 cat >>conftest.$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15509
15510 int
15511 main ()
15512 {
15513
15514 ;
15515 return 0;
15516 }
15517 _ACEOF
15518 rm -f conftest.$ac_objext
15519 if { (ac_try="$ac_compile"
15520 case "(($ac_try" in
15521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15522 *) ac_try_echo=$ac_try;;
15523 esac
15524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15525 (eval "$ac_compile") 2>conftest.er1
15526 ac_status=$?
15527 grep -v '^ *+' conftest.er1 >conftest.err
15528 rm -f conftest.er1
15529 cat conftest.err >&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } && {
15532 test -z "$ac_c_werror_flag" ||
15533 test ! -s conftest.err
15534 } && test -s conftest.$ac_objext; then
15535 ac_cv_prog_cc_g=yes
15536 else
15537 echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.$ac_ext >&5
15539
15540 CFLAGS=""
15541 cat >conftest.$ac_ext <<_ACEOF
15542 /* confdefs.h. */
15543 _ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15547
15548 int
15549 main ()
15550 {
15551
15552 ;
15553 return 0;
15554 }
15555 _ACEOF
15556 rm -f conftest.$ac_objext
15557 if { (ac_try="$ac_compile"
15558 case "(($ac_try" in
15559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15561 esac
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_compile") 2>conftest.er1
15564 ac_status=$?
15565 grep -v '^ *+' conftest.er1 >conftest.err
15566 rm -f conftest.er1
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } && {
15570 test -z "$ac_c_werror_flag" ||
15571 test ! -s conftest.err
15572 } && test -s conftest.$ac_objext; then
15573 :
15574 else
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15577
15578 ac_c_werror_flag=$ac_save_c_werror_flag
15579 CFLAGS="-g"
15580 cat >conftest.$ac_ext <<_ACEOF
15581 /* confdefs.h. */
15582 _ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586
15587 int
15588 main ()
15589 {
15590
15591 ;
15592 return 0;
15593 }
15594 _ACEOF
15595 rm -f conftest.$ac_objext
15596 if { (ac_try="$ac_compile"
15597 case "(($ac_try" in
15598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15599 *) ac_try_echo=$ac_try;;
15600 esac
15601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15602 (eval "$ac_compile") 2>conftest.er1
15603 ac_status=$?
15604 grep -v '^ *+' conftest.er1 >conftest.err
15605 rm -f conftest.er1
15606 cat conftest.err >&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } && {
15609 test -z "$ac_c_werror_flag" ||
15610 test ! -s conftest.err
15611 } && test -s conftest.$ac_objext; then
15612 ac_cv_prog_cc_g=yes
15613 else
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.$ac_ext >&5
15616
15617
15618 fi
15619
15620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15621 fi
15622
15623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15624 fi
15625
15626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15627 ac_c_werror_flag=$ac_save_c_werror_flag
15628 fi
15629 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15630 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15631 if test "$ac_test_CFLAGS" = set; then
15632 CFLAGS=$ac_save_CFLAGS
15633 elif test $ac_cv_prog_cc_g = yes; then
15634 if test "$GCC" = yes; then
15635 CFLAGS="-g -O2"
15636 else
15637 CFLAGS="-g"
15638 fi
15639 else
15640 if test "$GCC" = yes; then
15641 CFLAGS="-O2"
15642 else
15643 CFLAGS=
15644 fi
15645 fi
15646 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15647 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15648 if test "${ac_cv_prog_cc_c89+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15650 else
15651 ac_cv_prog_cc_c89=no
15652 ac_save_CC=$CC
15653 cat >conftest.$ac_ext <<_ACEOF
15654 /* confdefs.h. */
15655 _ACEOF
15656 cat confdefs.h >>conftest.$ac_ext
15657 cat >>conftest.$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 #include <stdarg.h>
15660 #include <stdio.h>
15661 #include <sys/types.h>
15662 #include <sys/stat.h>
15663 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15664 struct buf { int x; };
15665 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15666 static char *e (p, i)
15667 char **p;
15668 int i;
15669 {
15670 return p[i];
15671 }
15672 static char *f (char * (*g) (char **, int), char **p, ...)
15673 {
15674 char *s;
15675 va_list v;
15676 va_start (v,p);
15677 s = g (p, va_arg (v,int));
15678 va_end (v);
15679 return s;
15680 }
15681
15682 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15683 function prototypes and stuff, but not '\xHH' hex character constants.
15684 These don't provoke an error unfortunately, instead are silently treated
15685 as 'x'. The following induces an error, until -std is added to get
15686 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15687 array size at least. It's necessary to write '\x00'==0 to get something
15688 that's true only with -std. */
15689 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15690
15691 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15692 inside strings and character constants. */
15693 #define FOO(x) 'x'
15694 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15695
15696 int test (int i, double x);
15697 struct s1 {int (*f) (int a);};
15698 struct s2 {int (*f) (double a);};
15699 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15700 int argc;
15701 char **argv;
15702 int
15703 main ()
15704 {
15705 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15706 ;
15707 return 0;
15708 }
15709 _ACEOF
15710 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15711 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15712 do
15713 CC="$ac_save_CC $ac_arg"
15714 rm -f conftest.$ac_objext
15715 if { (ac_try="$ac_compile"
15716 case "(($ac_try" in
15717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15719 esac
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_compile") 2>conftest.er1
15722 ac_status=$?
15723 grep -v '^ *+' conftest.er1 >conftest.err
15724 rm -f conftest.er1
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } && {
15728 test -z "$ac_c_werror_flag" ||
15729 test ! -s conftest.err
15730 } && test -s conftest.$ac_objext; then
15731 ac_cv_prog_cc_c89=$ac_arg
15732 else
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15735
15736
15737 fi
15738
15739 rm -f core conftest.err conftest.$ac_objext
15740 test "x$ac_cv_prog_cc_c89" != "xno" && break
15741 done
15742 rm -f conftest.$ac_ext
15743 CC=$ac_save_CC
15744
15745 fi
15746 # AC_CACHE_VAL
15747 case "x$ac_cv_prog_cc_c89" in
15748 x)
15749 { echo "$as_me:$LINENO: result: none needed" >&5
15750 echo "${ECHO_T}none needed" >&6; } ;;
15751 xno)
15752 { echo "$as_me:$LINENO: result: unsupported" >&5
15753 echo "${ECHO_T}unsupported" >&6; } ;;
15754 *)
15755 CC="$CC $ac_cv_prog_cc_c89"
15756 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15757 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15758 esac
15759
15760
15761 ac_ext=c
15762 ac_cpp='$CPP $CPPFLAGS'
15763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15766
15767
15768
15769
15770
15771
15772
15773
15774 ac_ext=c
15775 ac_cpp='$CPP $CPPFLAGS'
15776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15779
15780 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15781 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15782 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15783 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 else
15785 cat >conftest.$ac_ext <<_ACEOF
15786 /* confdefs.h. */
15787 _ACEOF
15788 cat confdefs.h >>conftest.$ac_ext
15789 cat >>conftest.$ac_ext <<_ACEOF
15790 /* end confdefs.h. */
15791
15792 int
15793 main ()
15794 {
15795
15796 #ifndef __INTEL_COMPILER
15797 choke me
15798 #endif
15799
15800 ;
15801 return 0;
15802 }
15803 _ACEOF
15804 rm -f conftest.$ac_objext
15805 if { (ac_try="$ac_compile"
15806 case "(($ac_try" in
15807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15808 *) ac_try_echo=$ac_try;;
15809 esac
15810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15811 (eval "$ac_compile") 2>conftest.er1
15812 ac_status=$?
15813 grep -v '^ *+' conftest.er1 >conftest.err
15814 rm -f conftest.er1
15815 cat conftest.err >&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } && {
15818 test -z "$ac_c_werror_flag" ||
15819 test ! -s conftest.err
15820 } && test -s conftest.$ac_objext; then
15821 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15822 else
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.$ac_ext >&5
15825
15826 bakefile_cv_c_compiler___INTEL_COMPILER=no
15827
15828 fi
15829
15830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15831
15832
15833 fi
15834 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15835 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15836 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15837 :; INTELCC=yes
15838 else
15839 :;
15840 fi
15841 ac_ext=c
15842 ac_cpp='$CPP $CPPFLAGS'
15843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15846
15847
15848
15849
15850 if test "$INTELCC" = "yes"; then
15851
15852
15853 ac_ext=c
15854 ac_cpp='$CPP $CPPFLAGS'
15855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15858
15859 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15860 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15861 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 else
15864 cat >conftest.$ac_ext <<_ACEOF
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870
15871 int
15872 main ()
15873 {
15874
15875 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15876 choke me
15877 #endif
15878
15879 ;
15880 return 0;
15881 }
15882 _ACEOF
15883 rm -f conftest.$ac_objext
15884 if { (ac_try="$ac_compile"
15885 case "(($ac_try" in
15886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15887 *) ac_try_echo=$ac_try;;
15888 esac
15889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15890 (eval "$ac_compile") 2>conftest.er1
15891 ac_status=$?
15892 grep -v '^ *+' conftest.er1 >conftest.err
15893 rm -f conftest.er1
15894 cat conftest.err >&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } && {
15897 test -z "$ac_c_werror_flag" ||
15898 test ! -s conftest.err
15899 } && test -s conftest.$ac_objext; then
15900 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15901 else
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15904
15905 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15906
15907 fi
15908
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910
15911
15912 fi
15913 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15914 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15915 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15916 :; INTELCC8=yes
15917 else
15918 :;
15919 fi
15920 ac_ext=c
15921 ac_cpp='$CPP $CPPFLAGS'
15922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15925
15926
15927
15928
15929
15930 ac_ext=c
15931 ac_cpp='$CPP $CPPFLAGS'
15932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15935
15936 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15937 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15938 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15939 echo $ECHO_N "(cached) $ECHO_C" >&6
15940 else
15941 cat >conftest.$ac_ext <<_ACEOF
15942 /* confdefs.h. */
15943 _ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15947
15948 int
15949 main ()
15950 {
15951
15952 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15953 choke me
15954 #endif
15955
15956 ;
15957 return 0;
15958 }
15959 _ACEOF
15960 rm -f conftest.$ac_objext
15961 if { (ac_try="$ac_compile"
15962 case "(($ac_try" in
15963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15964 *) ac_try_echo=$ac_try;;
15965 esac
15966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15967 (eval "$ac_compile") 2>conftest.er1
15968 ac_status=$?
15969 grep -v '^ *+' conftest.er1 >conftest.err
15970 rm -f conftest.er1
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && {
15974 test -z "$ac_c_werror_flag" ||
15975 test ! -s conftest.err
15976 } && test -s conftest.$ac_objext; then
15977 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15978 else
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.$ac_ext >&5
15981
15982 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15983
15984 fi
15985
15986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15987
15988
15989 fi
15990 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15991 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15992 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15993 :; INTELCC10=yes
15994 else
15995 :;
15996 fi
15997 ac_ext=c
15998 ac_cpp='$CPP $CPPFLAGS'
15999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16002
16003
16004
16005 fi
16006
16007 if test "x$GCC" != "xyes"; then
16008 if test "xCC" = "xC"; then
16009 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16010 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16011 if test "${bakefile_cv_c_exto+set}" = set; then
16012 echo $ECHO_N "(cached) $ECHO_C" >&6
16013 else
16014 cat >conftest.$ac_ext <<_ACEOF
16015 /* confdefs.h. */
16016 _ACEOF
16017 cat confdefs.h >>conftest.$ac_ext
16018 cat >>conftest.$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16020
16021 int
16022 main ()
16023 {
16024
16025 ;
16026 return 0;
16027 }
16028 _ACEOF
16029 rm -f conftest.$ac_objext conftest.$ac_ext.o
16030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16031 (eval $ac_compile) 2>&5
16032 ac_status=$?
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; then
16035 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16036 case $ac_file in
16037 conftest.$ac_ext.o)
16038 bakefile_cv_c_exto="-ext o"
16039 ;;
16040 *)
16041 ;;
16042 esac
16043 done
16044 else
16045 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16046 See \`config.log' for more details." >&5
16047 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16048 See \`config.log' for more details." >&2;}
16049 { (exit 1); exit 1; }; }
16050
16051 fi
16052
16053 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16054
16055 fi
16056 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16057 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16058 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16059 if test "c" = "c"; then
16060 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16061 fi
16062 if test "c" = "cxx"; then
16063 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16064 fi
16065 fi
16066
16067 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16068 unset ac_cv_prog_cc_g
16069 ac_test_CFLAGS=${CFLAGS+set}
16070 ac_save_CFLAGS=$CFLAGS
16071 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16072 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16073 if test "${ac_cv_prog_cc_g+set}" = set; then
16074 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 else
16076 ac_save_c_werror_flag=$ac_c_werror_flag
16077 ac_c_werror_flag=yes
16078 ac_cv_prog_cc_g=no
16079 CFLAGS="-g"
16080 cat >conftest.$ac_ext <<_ACEOF
16081 /* confdefs.h. */
16082 _ACEOF
16083 cat confdefs.h >>conftest.$ac_ext
16084 cat >>conftest.$ac_ext <<_ACEOF
16085 /* end confdefs.h. */
16086
16087 int
16088 main ()
16089 {
16090
16091 ;
16092 return 0;
16093 }
16094 _ACEOF
16095 rm -f conftest.$ac_objext
16096 if { (ac_try="$ac_compile"
16097 case "(($ac_try" in
16098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16099 *) ac_try_echo=$ac_try;;
16100 esac
16101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16102 (eval "$ac_compile") 2>conftest.er1
16103 ac_status=$?
16104 grep -v '^ *+' conftest.er1 >conftest.err
16105 rm -f conftest.er1
16106 cat conftest.err >&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); } && {
16109 test -z "$ac_c_werror_flag" ||
16110 test ! -s conftest.err
16111 } && test -s conftest.$ac_objext; then
16112 ac_cv_prog_cc_g=yes
16113 else
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.$ac_ext >&5
16116
16117 CFLAGS=""
16118 cat >conftest.$ac_ext <<_ACEOF
16119 /* confdefs.h. */
16120 _ACEOF
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16124
16125 int
16126 main ()
16127 {
16128
16129 ;
16130 return 0;
16131 }
16132 _ACEOF
16133 rm -f conftest.$ac_objext
16134 if { (ac_try="$ac_compile"
16135 case "(($ac_try" in
16136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16138 esac
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_compile") 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && {
16147 test -z "$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16149 } && test -s conftest.$ac_objext; then
16150 :
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16154
16155 ac_c_werror_flag=$ac_save_c_werror_flag
16156 CFLAGS="-g"
16157 cat >conftest.$ac_ext <<_ACEOF
16158 /* confdefs.h. */
16159 _ACEOF
16160 cat confdefs.h >>conftest.$ac_ext
16161 cat >>conftest.$ac_ext <<_ACEOF
16162 /* end confdefs.h. */
16163
16164 int
16165 main ()
16166 {
16167
16168 ;
16169 return 0;
16170 }
16171 _ACEOF
16172 rm -f conftest.$ac_objext
16173 if { (ac_try="$ac_compile"
16174 case "(($ac_try" in
16175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16176 *) ac_try_echo=$ac_try;;
16177 esac
16178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16179 (eval "$ac_compile") 2>conftest.er1
16180 ac_status=$?
16181 grep -v '^ *+' conftest.er1 >conftest.err
16182 rm -f conftest.er1
16183 cat conftest.err >&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } && {
16186 test -z "$ac_c_werror_flag" ||
16187 test ! -s conftest.err
16188 } && test -s conftest.$ac_objext; then
16189 ac_cv_prog_cc_g=yes
16190 else
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16193
16194
16195 fi
16196
16197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16198 fi
16199
16200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16201 fi
16202
16203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16204 ac_c_werror_flag=$ac_save_c_werror_flag
16205 fi
16206 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16207 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16208 if test "$ac_test_CFLAGS" = set; then
16209 CFLAGS=$ac_save_CFLAGS
16210 elif test $ac_cv_prog_cc_g = yes; then
16211 if test "$GCC" = yes; then
16212 CFLAGS="-g -O2"
16213 else
16214 CFLAGS="-g"
16215 fi
16216 else
16217 if test "$GCC" = yes; then
16218 CFLAGS="-O2"
16219 else
16220 CFLAGS=
16221 fi
16222 fi
16223 fi
16224 fi
16225
16226 case `uname -s` in
16227 AIX*)
16228
16229
16230 ac_ext=c
16231 ac_cpp='$CPP $CPPFLAGS'
16232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16235
16236 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16237 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16238 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 else
16241 cat >conftest.$ac_ext <<_ACEOF
16242 /* confdefs.h. */
16243 _ACEOF
16244 cat confdefs.h >>conftest.$ac_ext
16245 cat >>conftest.$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16247
16248 int
16249 main ()
16250 {
16251
16252 #ifndef __xlC__
16253 choke me
16254 #endif
16255
16256 ;
16257 return 0;
16258 }
16259 _ACEOF
16260 rm -f conftest.$ac_objext
16261 if { (ac_try="$ac_compile"
16262 case "(($ac_try" in
16263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16264 *) ac_try_echo=$ac_try;;
16265 esac
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_compile") 2>conftest.er1
16268 ac_status=$?
16269 grep -v '^ *+' conftest.er1 >conftest.err
16270 rm -f conftest.er1
16271 cat conftest.err >&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } && {
16274 test -z "$ac_c_werror_flag" ||
16275 test ! -s conftest.err
16276 } && test -s conftest.$ac_objext; then
16277 bakefile_cv_c_compiler___xlC__=yes
16278 else
16279 echo "$as_me: failed program was:" >&5
16280 sed 's/^/| /' conftest.$ac_ext >&5
16281
16282 bakefile_cv_c_compiler___xlC__=no
16283
16284 fi
16285
16286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16287
16288
16289 fi
16290 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16291 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16292 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16293 :; XLCC=yes
16294 else
16295 :;
16296 fi
16297 ac_ext=c
16298 ac_cpp='$CPP $CPPFLAGS'
16299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16302
16303
16304
16305 ;;
16306
16307 Darwin)
16308
16309
16310 ac_ext=c
16311 ac_cpp='$CPP $CPPFLAGS'
16312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16315
16316 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16317 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16318 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16319 echo $ECHO_N "(cached) $ECHO_C" >&6
16320 else
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327
16328 int
16329 main ()
16330 {
16331
16332 #ifndef __MWERKS__
16333 choke me
16334 #endif
16335
16336 ;
16337 return 0;
16338 }
16339 _ACEOF
16340 rm -f conftest.$ac_objext
16341 if { (ac_try="$ac_compile"
16342 case "(($ac_try" in
16343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16344 *) ac_try_echo=$ac_try;;
16345 esac
16346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16347 (eval "$ac_compile") 2>conftest.er1
16348 ac_status=$?
16349 grep -v '^ *+' conftest.er1 >conftest.err
16350 rm -f conftest.er1
16351 cat conftest.err >&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } && {
16354 test -z "$ac_c_werror_flag" ||
16355 test ! -s conftest.err
16356 } && test -s conftest.$ac_objext; then
16357 bakefile_cv_c_compiler___MWERKS__=yes
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 bakefile_cv_c_compiler___MWERKS__=no
16363
16364 fi
16365
16366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16367
16368
16369 fi
16370 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16371 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16372 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16373 :; MWCC=yes
16374 else
16375 :;
16376 fi
16377 ac_ext=c
16378 ac_cpp='$CPP $CPPFLAGS'
16379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16382
16383
16384
16385 if test "$MWCC" != "yes"; then
16386
16387
16388 ac_ext=c
16389 ac_cpp='$CPP $CPPFLAGS'
16390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16393
16394 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16395 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16396 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16397 echo $ECHO_N "(cached) $ECHO_C" >&6
16398 else
16399 cat >conftest.$ac_ext <<_ACEOF
16400 /* confdefs.h. */
16401 _ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16405
16406 int
16407 main ()
16408 {
16409
16410 #ifndef __xlC__
16411 choke me
16412 #endif
16413
16414 ;
16415 return 0;
16416 }
16417 _ACEOF
16418 rm -f conftest.$ac_objext
16419 if { (ac_try="$ac_compile"
16420 case "(($ac_try" in
16421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16422 *) ac_try_echo=$ac_try;;
16423 esac
16424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16425 (eval "$ac_compile") 2>conftest.er1
16426 ac_status=$?
16427 grep -v '^ *+' conftest.er1 >conftest.err
16428 rm -f conftest.er1
16429 cat conftest.err >&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } && {
16432 test -z "$ac_c_werror_flag" ||
16433 test ! -s conftest.err
16434 } && test -s conftest.$ac_objext; then
16435 bakefile_cv_c_compiler___xlC__=yes
16436 else
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16439
16440 bakefile_cv_c_compiler___xlC__=no
16441
16442 fi
16443
16444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16445
16446
16447 fi
16448 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16449 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16450 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16451 :; XLCC=yes
16452 else
16453 :;
16454 fi
16455 ac_ext=c
16456 ac_cpp='$CPP $CPPFLAGS'
16457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16460
16461
16462
16463 fi
16464 ;;
16465
16466 IRIX*)
16467
16468
16469 ac_ext=c
16470 ac_cpp='$CPP $CPPFLAGS'
16471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16474
16475 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16476 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16477 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16478 echo $ECHO_N "(cached) $ECHO_C" >&6
16479 else
16480 cat >conftest.$ac_ext <<_ACEOF
16481 /* confdefs.h. */
16482 _ACEOF
16483 cat confdefs.h >>conftest.$ac_ext
16484 cat >>conftest.$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16486
16487 int
16488 main ()
16489 {
16490
16491 #ifndef _SGI_COMPILER_VERSION
16492 choke me
16493 #endif
16494
16495 ;
16496 return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext
16500 if { (ac_try="$ac_compile"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16504 esac
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_compile") 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && {
16513 test -z "$ac_c_werror_flag" ||
16514 test ! -s conftest.err
16515 } && test -s conftest.$ac_objext; then
16516 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16517 else
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16520
16521 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16522
16523 fi
16524
16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16526
16527
16528 fi
16529 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16530 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16531 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16532 :; SGICC=yes
16533 else
16534 :;
16535 fi
16536 ac_ext=c
16537 ac_cpp='$CPP $CPPFLAGS'
16538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16541
16542
16543
16544 ;;
16545
16546 Linux*)
16547 if test "$INTELCC" != "yes"; then
16548
16549
16550 ac_ext=c
16551 ac_cpp='$CPP $CPPFLAGS'
16552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16555
16556 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16557 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16558 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16560 else
16561 cat >conftest.$ac_ext <<_ACEOF
16562 /* confdefs.h. */
16563 _ACEOF
16564 cat confdefs.h >>conftest.$ac_ext
16565 cat >>conftest.$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16567
16568 int
16569 main ()
16570 {
16571
16572 #ifndef __SUNPRO_C
16573 choke me
16574 #endif
16575
16576 ;
16577 return 0;
16578 }
16579 _ACEOF
16580 rm -f conftest.$ac_objext
16581 if { (ac_try="$ac_compile"
16582 case "(($ac_try" in
16583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16584 *) ac_try_echo=$ac_try;;
16585 esac
16586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16587 (eval "$ac_compile") 2>conftest.er1
16588 ac_status=$?
16589 grep -v '^ *+' conftest.er1 >conftest.err
16590 rm -f conftest.er1
16591 cat conftest.err >&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); } && {
16594 test -z "$ac_c_werror_flag" ||
16595 test ! -s conftest.err
16596 } && test -s conftest.$ac_objext; then
16597 bakefile_cv_c_compiler___SUNPRO_C=yes
16598 else
16599 echo "$as_me: failed program was:" >&5
16600 sed 's/^/| /' conftest.$ac_ext >&5
16601
16602 bakefile_cv_c_compiler___SUNPRO_C=no
16603
16604 fi
16605
16606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16607
16608
16609 fi
16610 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16611 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16612 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16613 :; SUNCC=yes
16614 else
16615 :;
16616 fi
16617 ac_ext=c
16618 ac_cpp='$CPP $CPPFLAGS'
16619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16622
16623
16624
16625 fi
16626 ;;
16627
16628 HP-UX*)
16629
16630
16631 ac_ext=c
16632 ac_cpp='$CPP $CPPFLAGS'
16633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16636
16637 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16638 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16639 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 else
16642 cat >conftest.$ac_ext <<_ACEOF
16643 /* confdefs.h. */
16644 _ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648
16649 int
16650 main ()
16651 {
16652
16653 #ifndef __HP_cc
16654 choke me
16655 #endif
16656
16657 ;
16658 return 0;
16659 }
16660 _ACEOF
16661 rm -f conftest.$ac_objext
16662 if { (ac_try="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16666 esac
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>conftest.er1
16669 ac_status=$?
16670 grep -v '^ *+' conftest.er1 >conftest.err
16671 rm -f conftest.er1
16672 cat conftest.err >&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } && {
16675 test -z "$ac_c_werror_flag" ||
16676 test ! -s conftest.err
16677 } && test -s conftest.$ac_objext; then
16678 bakefile_cv_c_compiler___HP_cc=yes
16679 else
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16682
16683 bakefile_cv_c_compiler___HP_cc=no
16684
16685 fi
16686
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688
16689
16690 fi
16691 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16692 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16693 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16694 :; HPCC=yes
16695 else
16696 :;
16697 fi
16698 ac_ext=c
16699 ac_cpp='$CPP $CPPFLAGS'
16700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16703
16704
16705
16706 ;;
16707
16708 OSF1)
16709
16710
16711 ac_ext=c
16712 ac_cpp='$CPP $CPPFLAGS'
16713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16716
16717 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16718 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16719 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16720 echo $ECHO_N "(cached) $ECHO_C" >&6
16721 else
16722 cat >conftest.$ac_ext <<_ACEOF
16723 /* confdefs.h. */
16724 _ACEOF
16725 cat confdefs.h >>conftest.$ac_ext
16726 cat >>conftest.$ac_ext <<_ACEOF
16727 /* end confdefs.h. */
16728
16729 int
16730 main ()
16731 {
16732
16733 #ifndef __DECC
16734 choke me
16735 #endif
16736
16737 ;
16738 return 0;
16739 }
16740 _ACEOF
16741 rm -f conftest.$ac_objext
16742 if { (ac_try="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16746 esac
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16749 ac_status=$?
16750 grep -v '^ *+' conftest.er1 >conftest.err
16751 rm -f conftest.er1
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 bakefile_cv_c_compiler___DECC=yes
16759 else
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.$ac_ext >&5
16762
16763 bakefile_cv_c_compiler___DECC=no
16764
16765 fi
16766
16767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16768
16769
16770 fi
16771 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16772 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16773 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16774 :; COMPAQCC=yes
16775 else
16776 :;
16777 fi
16778 ac_ext=c
16779 ac_cpp='$CPP $CPPFLAGS'
16780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16783
16784
16785
16786 ;;
16787
16788 SunOS)
16789
16790
16791 ac_ext=c
16792 ac_cpp='$CPP $CPPFLAGS'
16793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16796
16797 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16798 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16799 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 else
16802 cat >conftest.$ac_ext <<_ACEOF
16803 /* confdefs.h. */
16804 _ACEOF
16805 cat confdefs.h >>conftest.$ac_ext
16806 cat >>conftest.$ac_ext <<_ACEOF
16807 /* end confdefs.h. */
16808
16809 int
16810 main ()
16811 {
16812
16813 #ifndef __SUNPRO_C
16814 choke me
16815 #endif
16816
16817 ;
16818 return 0;
16819 }
16820 _ACEOF
16821 rm -f conftest.$ac_objext
16822 if { (ac_try="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16826 esac
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_compile") 2>conftest.er1
16829 ac_status=$?
16830 grep -v '^ *+' conftest.er1 >conftest.err
16831 rm -f conftest.er1
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_c_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest.$ac_objext; then
16838 bakefile_cv_c_compiler___SUNPRO_C=yes
16839 else
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.$ac_ext >&5
16842
16843 bakefile_cv_c_compiler___SUNPRO_C=no
16844
16845 fi
16846
16847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16848
16849
16850 fi
16851 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16852 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16853 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16854 :; SUNCC=yes
16855 else
16856 :;
16857 fi
16858 ac_ext=c
16859 ac_cpp='$CPP $CPPFLAGS'
16860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16863
16864
16865
16866 ;;
16867 esac
16868 fi
16869
16870
16871
16872 ac_ext=c
16873 ac_cpp='$CPP $CPPFLAGS'
16874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16877 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16878 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16879 # On Suns, sometimes $CPP names a directory.
16880 if test -n "$CPP" && test -d "$CPP"; then
16881 CPP=
16882 fi
16883 if test -z "$CPP"; then
16884 if test "${ac_cv_prog_CPP+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16887 # Double quotes because CPP needs to be expanded
16888 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16889 do
16890 ac_preproc_ok=false
16891 for ac_c_preproc_warn_flag in '' yes
16892 do
16893 # Use a header file that comes with gcc, so configuring glibc
16894 # with a fresh cross-compiler works.
16895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16896 # <limits.h> exists even on freestanding compilers.
16897 # On the NeXT, cc -E runs the code through the compiler's parser,
16898 # not just through cpp. "Syntax error" is here to catch this case.
16899 cat >conftest.$ac_ext <<_ACEOF
16900 /* confdefs.h. */
16901 _ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16905 #ifdef __STDC__
16906 # include <limits.h>
16907 #else
16908 # include <assert.h>
16909 #endif
16910 Syntax error
16911 _ACEOF
16912 if { (ac_try="$ac_cpp conftest.$ac_ext"
16913 case "(($ac_try" in
16914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16915 *) ac_try_echo=$ac_try;;
16916 esac
16917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16919 ac_status=$?
16920 grep -v '^ *+' conftest.er1 >conftest.err
16921 rm -f conftest.er1
16922 cat conftest.err >&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } >/dev/null && {
16925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16926 test ! -s conftest.err
16927 }; then
16928 :
16929 else
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16932
16933 # Broken: fails on valid input.
16934 continue
16935 fi
16936
16937 rm -f conftest.err conftest.$ac_ext
16938
16939 # OK, works on sane cases. Now check whether nonexistent headers
16940 # can be detected and how.
16941 cat >conftest.$ac_ext <<_ACEOF
16942 /* confdefs.h. */
16943 _ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 #include <ac_nonexistent.h>
16948 _ACEOF
16949 if { (ac_try="$ac_cpp conftest.$ac_ext"
16950 case "(($ac_try" in
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16952 *) ac_try_echo=$ac_try;;
16953 esac
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16956 ac_status=$?
16957 grep -v '^ *+' conftest.er1 >conftest.err
16958 rm -f conftest.er1
16959 cat conftest.err >&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } >/dev/null && {
16962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16963 test ! -s conftest.err
16964 }; then
16965 # Broken: success on invalid input.
16966 continue
16967 else
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.$ac_ext >&5
16970
16971 # Passes both tests.
16972 ac_preproc_ok=:
16973 break
16974 fi
16975
16976 rm -f conftest.err conftest.$ac_ext
16977
16978 done
16979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16980 rm -f conftest.err conftest.$ac_ext
16981 if $ac_preproc_ok; then
16982 break
16983 fi
16984
16985 done
16986 ac_cv_prog_CPP=$CPP
16987
16988 fi
16989 CPP=$ac_cv_prog_CPP
16990 else
16991 ac_cv_prog_CPP=$CPP
16992 fi
16993 { echo "$as_me:$LINENO: result: $CPP" >&5
16994 echo "${ECHO_T}$CPP" >&6; }
16995 ac_preproc_ok=false
16996 for ac_c_preproc_warn_flag in '' yes
16997 do
16998 # Use a header file that comes with gcc, so configuring glibc
16999 # with a fresh cross-compiler works.
17000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17001 # <limits.h> exists even on freestanding compilers.
17002 # On the NeXT, cc -E runs the code through the compiler's parser,
17003 # not just through cpp. "Syntax error" is here to catch this case.
17004 cat >conftest.$ac_ext <<_ACEOF
17005 /* confdefs.h. */
17006 _ACEOF
17007 cat confdefs.h >>conftest.$ac_ext
17008 cat >>conftest.$ac_ext <<_ACEOF
17009 /* end confdefs.h. */
17010 #ifdef __STDC__
17011 # include <limits.h>
17012 #else
17013 # include <assert.h>
17014 #endif
17015 Syntax error
17016 _ACEOF
17017 if { (ac_try="$ac_cpp conftest.$ac_ext"
17018 case "(($ac_try" in
17019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;;
17021 esac
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17024 ac_status=$?
17025 grep -v '^ *+' conftest.er1 >conftest.err
17026 rm -f conftest.er1
17027 cat conftest.err >&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } >/dev/null && {
17030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17031 test ! -s conftest.err
17032 }; then
17033 :
17034 else
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.$ac_ext >&5
17037
17038 # Broken: fails on valid input.
17039 continue
17040 fi
17041
17042 rm -f conftest.err conftest.$ac_ext
17043
17044 # OK, works on sane cases. Now check whether nonexistent headers
17045 # can be detected and how.
17046 cat >conftest.$ac_ext <<_ACEOF
17047 /* confdefs.h. */
17048 _ACEOF
17049 cat confdefs.h >>conftest.$ac_ext
17050 cat >>conftest.$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 #include <ac_nonexistent.h>
17053 _ACEOF
17054 if { (ac_try="$ac_cpp conftest.$ac_ext"
17055 case "(($ac_try" in
17056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17057 *) ac_try_echo=$ac_try;;
17058 esac
17059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17061 ac_status=$?
17062 grep -v '^ *+' conftest.er1 >conftest.err
17063 rm -f conftest.er1
17064 cat conftest.err >&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); } >/dev/null && {
17067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17068 test ! -s conftest.err
17069 }; then
17070 # Broken: success on invalid input.
17071 continue
17072 else
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.$ac_ext >&5
17075
17076 # Passes both tests.
17077 ac_preproc_ok=:
17078 break
17079 fi
17080
17081 rm -f conftest.err conftest.$ac_ext
17082
17083 done
17084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17085 rm -f conftest.err conftest.$ac_ext
17086 if $ac_preproc_ok; then
17087 :
17088 else
17089 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17090 See \`config.log' for more details." >&5
17091 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17092 See \`config.log' for more details." >&2;}
17093 { (exit 1); exit 1; }; }
17094 fi
17095
17096 ac_ext=c
17097 ac_cpp='$CPP $CPPFLAGS'
17098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17101
17102
17103 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17104 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17105 if test "${ac_cv_path_GREP+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 else
17108 # Extract the first word of "grep ggrep" to use in msg output
17109 if test -z "$GREP"; then
17110 set dummy grep ggrep; ac_prog_name=$2
17111 if test "${ac_cv_path_GREP+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17113 else
17114 ac_path_GREP_found=false
17115 # Loop through the user's path and test for each of PROGNAME-LIST
17116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17117 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17118 do
17119 IFS=$as_save_IFS
17120 test -z "$as_dir" && as_dir=.
17121 for ac_prog in grep ggrep; do
17122 for ac_exec_ext in '' $ac_executable_extensions; do
17123 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17124 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17125 # Check for GNU ac_path_GREP and select it if it is found.
17126 # Check for GNU $ac_path_GREP
17127 case `"$ac_path_GREP" --version 2>&1` in
17128 *GNU*)
17129 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17130 *)
17131 ac_count=0
17132 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17133 while :
17134 do
17135 cat "conftest.in" "conftest.in" >"conftest.tmp"
17136 mv "conftest.tmp" "conftest.in"
17137 cp "conftest.in" "conftest.nl"
17138 echo 'GREP' >> "conftest.nl"
17139 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17141 ac_count=`expr $ac_count + 1`
17142 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17143 # Best one so far, save it but keep looking for a better one
17144 ac_cv_path_GREP="$ac_path_GREP"
17145 ac_path_GREP_max=$ac_count
17146 fi
17147 # 10*(2^10) chars as input seems more than enough
17148 test $ac_count -gt 10 && break
17149 done
17150 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17151 esac
17152
17153
17154 $ac_path_GREP_found && break 3
17155 done
17156 done
17157
17158 done
17159 IFS=$as_save_IFS
17160
17161
17162 fi
17163
17164 GREP="$ac_cv_path_GREP"
17165 if test -z "$GREP"; then
17166 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17167 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17168 { (exit 1); exit 1; }; }
17169 fi
17170
17171 else
17172 ac_cv_path_GREP=$GREP
17173 fi
17174
17175
17176 fi
17177 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17178 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17179 GREP="$ac_cv_path_GREP"
17180
17181
17182 { echo "$as_me:$LINENO: checking for egrep" >&5
17183 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17184 if test "${ac_cv_path_EGREP+set}" = set; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 else
17187 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17188 then ac_cv_path_EGREP="$GREP -E"
17189 else
17190 # Extract the first word of "egrep" to use in msg output
17191 if test -z "$EGREP"; then
17192 set dummy egrep; ac_prog_name=$2
17193 if test "${ac_cv_path_EGREP+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 else
17196 ac_path_EGREP_found=false
17197 # Loop through the user's path and test for each of PROGNAME-LIST
17198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17199 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17200 do
17201 IFS=$as_save_IFS
17202 test -z "$as_dir" && as_dir=.
17203 for ac_prog in egrep; do
17204 for ac_exec_ext in '' $ac_executable_extensions; do
17205 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17206 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17207 # Check for GNU ac_path_EGREP and select it if it is found.
17208 # Check for GNU $ac_path_EGREP
17209 case `"$ac_path_EGREP" --version 2>&1` in
17210 *GNU*)
17211 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17212 *)
17213 ac_count=0
17214 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17215 while :
17216 do
17217 cat "conftest.in" "conftest.in" >"conftest.tmp"
17218 mv "conftest.tmp" "conftest.in"
17219 cp "conftest.in" "conftest.nl"
17220 echo 'EGREP' >> "conftest.nl"
17221 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17222 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17223 ac_count=`expr $ac_count + 1`
17224 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17225 # Best one so far, save it but keep looking for a better one
17226 ac_cv_path_EGREP="$ac_path_EGREP"
17227 ac_path_EGREP_max=$ac_count
17228 fi
17229 # 10*(2^10) chars as input seems more than enough
17230 test $ac_count -gt 10 && break
17231 done
17232 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17233 esac
17234
17235
17236 $ac_path_EGREP_found && break 3
17237 done
17238 done
17239
17240 done
17241 IFS=$as_save_IFS
17242
17243
17244 fi
17245
17246 EGREP="$ac_cv_path_EGREP"
17247 if test -z "$EGREP"; then
17248 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17249 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17250 { (exit 1); exit 1; }; }
17251 fi
17252
17253 else
17254 ac_cv_path_EGREP=$EGREP
17255 fi
17256
17257
17258 fi
17259 fi
17260 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17261 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17262 EGREP="$ac_cv_path_EGREP"
17263
17264
17265 if test $ac_cv_c_compiler_gnu = yes; then
17266 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17267 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17268 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17270 else
17271 ac_pattern="Autoconf.*'x'"
17272 cat >conftest.$ac_ext <<_ACEOF
17273 /* confdefs.h. */
17274 _ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 #include <sgtty.h>
17279 Autoconf TIOCGETP
17280 _ACEOF
17281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17282 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17283 ac_cv_prog_gcc_traditional=yes
17284 else
17285 ac_cv_prog_gcc_traditional=no
17286 fi
17287 rm -f conftest*
17288
17289
17290 if test $ac_cv_prog_gcc_traditional = no; then
17291 cat >conftest.$ac_ext <<_ACEOF
17292 /* confdefs.h. */
17293 _ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 #include <termio.h>
17298 Autoconf TCGETA
17299 _ACEOF
17300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17301 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17302 ac_cv_prog_gcc_traditional=yes
17303 fi
17304 rm -f conftest*
17305
17306 fi
17307 fi
17308 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17309 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17310 if test $ac_cv_prog_gcc_traditional = yes; then
17311 CC="$CC -traditional"
17312 fi
17313 fi
17314
17315
17316 CXXFLAGS=${CXXFLAGS:=}
17317 ac_ext=cpp
17318 ac_cpp='$CXXCPP $CPPFLAGS'
17319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17322 if test -z "$CXX"; then
17323 if test -n "$CCC"; then
17324 CXX=$CCC
17325 else
17326 if test -n "$ac_tool_prefix"; then
17327 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17328 do
17329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17333 if test "${ac_cv_prog_CXX+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 else
17336 if test -n "$CXX"; then
17337 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17338 else
17339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17340 for as_dir in $PATH
17341 do
17342 IFS=$as_save_IFS
17343 test -z "$as_dir" && as_dir=.
17344 for ac_exec_ext in '' $ac_executable_extensions; do
17345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17346 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17348 break 2
17349 fi
17350 done
17351 done
17352 IFS=$as_save_IFS
17353
17354 fi
17355 fi
17356 CXX=$ac_cv_prog_CXX
17357 if test -n "$CXX"; then
17358 { echo "$as_me:$LINENO: result: $CXX" >&5
17359 echo "${ECHO_T}$CXX" >&6; }
17360 else
17361 { echo "$as_me:$LINENO: result: no" >&5
17362 echo "${ECHO_T}no" >&6; }
17363 fi
17364
17365
17366 test -n "$CXX" && break
17367 done
17368 fi
17369 if test -z "$CXX"; then
17370 ac_ct_CXX=$CXX
17371 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17372 do
17373 # Extract the first word of "$ac_prog", so it can be a program name with args.
17374 set dummy $ac_prog; ac_word=$2
17375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17377 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17379 else
17380 if test -n "$ac_ct_CXX"; then
17381 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17382 else
17383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17384 for as_dir in $PATH
17385 do
17386 IFS=$as_save_IFS
17387 test -z "$as_dir" && as_dir=.
17388 for ac_exec_ext in '' $ac_executable_extensions; do
17389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17390 ac_cv_prog_ac_ct_CXX="$ac_prog"
17391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17392 break 2
17393 fi
17394 done
17395 done
17396 IFS=$as_save_IFS
17397
17398 fi
17399 fi
17400 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17401 if test -n "$ac_ct_CXX"; then
17402 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17403 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17404 else
17405 { echo "$as_me:$LINENO: result: no" >&5
17406 echo "${ECHO_T}no" >&6; }
17407 fi
17408
17409
17410 test -n "$ac_ct_CXX" && break
17411 done
17412
17413 if test "x$ac_ct_CXX" = x; then
17414 CXX="g++"
17415 else
17416 case $cross_compiling:$ac_tool_warned in
17417 yes:)
17418 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17419 whose name does not start with the host triplet. If you think this
17420 configuration is useful to you, please write to autoconf@gnu.org." >&5
17421 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17422 whose name does not start with the host triplet. If you think this
17423 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17424 ac_tool_warned=yes ;;
17425 esac
17426 CXX=$ac_ct_CXX
17427 fi
17428 fi
17429
17430 fi
17431 fi
17432 # Provide some information about the compiler.
17433 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17434 ac_compiler=`set X $ac_compile; echo $2`
17435 { (ac_try="$ac_compiler --version >&5"
17436 case "(($ac_try" in
17437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17438 *) ac_try_echo=$ac_try;;
17439 esac
17440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17441 (eval "$ac_compiler --version >&5") 2>&5
17442 ac_status=$?
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }
17445 { (ac_try="$ac_compiler -v >&5"
17446 case "(($ac_try" in
17447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17448 *) ac_try_echo=$ac_try;;
17449 esac
17450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17451 (eval "$ac_compiler -v >&5") 2>&5
17452 ac_status=$?
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }
17455 { (ac_try="$ac_compiler -V >&5"
17456 case "(($ac_try" in
17457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17458 *) ac_try_echo=$ac_try;;
17459 esac
17460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17461 (eval "$ac_compiler -V >&5") 2>&5
17462 ac_status=$?
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }
17465
17466 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17467 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17468 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17470 else
17471 cat >conftest.$ac_ext <<_ACEOF
17472 /* confdefs.h. */
17473 _ACEOF
17474 cat confdefs.h >>conftest.$ac_ext
17475 cat >>conftest.$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17477
17478 int
17479 main ()
17480 {
17481 #ifndef __GNUC__
17482 choke me
17483 #endif
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 rm -f conftest.$ac_objext
17490 if { (ac_try="$ac_compile"
17491 case "(($ac_try" in
17492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17493 *) ac_try_echo=$ac_try;;
17494 esac
17495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17496 (eval "$ac_compile") 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } && {
17503 test -z "$ac_cxx_werror_flag" ||
17504 test ! -s conftest.err
17505 } && test -s conftest.$ac_objext; then
17506 ac_compiler_gnu=yes
17507 else
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17510
17511 ac_compiler_gnu=no
17512 fi
17513
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17515 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17516
17517 fi
17518 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17519 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17520 GXX=`test $ac_compiler_gnu = yes && echo yes`
17521 ac_test_CXXFLAGS=${CXXFLAGS+set}
17522 ac_save_CXXFLAGS=$CXXFLAGS
17523 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17524 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17525 if test "${ac_cv_prog_cxx_g+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17527 else
17528 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17529 ac_cxx_werror_flag=yes
17530 ac_cv_prog_cxx_g=no
17531 CXXFLAGS="-g"
17532 cat >conftest.$ac_ext <<_ACEOF
17533 /* confdefs.h. */
17534 _ACEOF
17535 cat confdefs.h >>conftest.$ac_ext
17536 cat >>conftest.$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538
17539 int
17540 main ()
17541 {
17542
17543 ;
17544 return 0;
17545 }
17546 _ACEOF
17547 rm -f conftest.$ac_objext
17548 if { (ac_try="$ac_compile"
17549 case "(($ac_try" in
17550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17551 *) ac_try_echo=$ac_try;;
17552 esac
17553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17554 (eval "$ac_compile") 2>conftest.er1
17555 ac_status=$?
17556 grep -v '^ *+' conftest.er1 >conftest.err
17557 rm -f conftest.er1
17558 cat conftest.err >&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } && {
17561 test -z "$ac_cxx_werror_flag" ||
17562 test ! -s conftest.err
17563 } && test -s conftest.$ac_objext; then
17564 ac_cv_prog_cxx_g=yes
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 CXXFLAGS=""
17570 cat >conftest.$ac_ext <<_ACEOF
17571 /* confdefs.h. */
17572 _ACEOF
17573 cat confdefs.h >>conftest.$ac_ext
17574 cat >>conftest.$ac_ext <<_ACEOF
17575 /* end confdefs.h. */
17576
17577 int
17578 main ()
17579 {
17580
17581 ;
17582 return 0;
17583 }
17584 _ACEOF
17585 rm -f conftest.$ac_objext
17586 if { (ac_try="$ac_compile"
17587 case "(($ac_try" in
17588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17589 *) ac_try_echo=$ac_try;;
17590 esac
17591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17592 (eval "$ac_compile") 2>conftest.er1
17593 ac_status=$?
17594 grep -v '^ *+' conftest.er1 >conftest.err
17595 rm -f conftest.er1
17596 cat conftest.err >&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } && {
17599 test -z "$ac_cxx_werror_flag" ||
17600 test ! -s conftest.err
17601 } && test -s conftest.$ac_objext; then
17602 :
17603 else
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.$ac_ext >&5
17606
17607 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17608 CXXFLAGS="-g"
17609 cat >conftest.$ac_ext <<_ACEOF
17610 /* confdefs.h. */
17611 _ACEOF
17612 cat confdefs.h >>conftest.$ac_ext
17613 cat >>conftest.$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17615
17616 int
17617 main ()
17618 {
17619
17620 ;
17621 return 0;
17622 }
17623 _ACEOF
17624 rm -f conftest.$ac_objext
17625 if { (ac_try="$ac_compile"
17626 case "(($ac_try" in
17627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17628 *) ac_try_echo=$ac_try;;
17629 esac
17630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17631 (eval "$ac_compile") 2>conftest.er1
17632 ac_status=$?
17633 grep -v '^ *+' conftest.er1 >conftest.err
17634 rm -f conftest.er1
17635 cat conftest.err >&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } && {
17638 test -z "$ac_cxx_werror_flag" ||
17639 test ! -s conftest.err
17640 } && test -s conftest.$ac_objext; then
17641 ac_cv_prog_cxx_g=yes
17642 else
17643 echo "$as_me: failed program was:" >&5
17644 sed 's/^/| /' conftest.$ac_ext >&5
17645
17646
17647 fi
17648
17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 fi
17651
17652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17653 fi
17654
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17657 fi
17658 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17660 if test "$ac_test_CXXFLAGS" = set; then
17661 CXXFLAGS=$ac_save_CXXFLAGS
17662 elif test $ac_cv_prog_cxx_g = yes; then
17663 if test "$GXX" = yes; then
17664 CXXFLAGS="-g -O2"
17665 else
17666 CXXFLAGS="-g"
17667 fi
17668 else
17669 if test "$GXX" = yes; then
17670 CXXFLAGS="-O2"
17671 else
17672 CXXFLAGS=
17673 fi
17674 fi
17675 ac_ext=c
17676 ac_cpp='$CPP $CPPFLAGS'
17677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17680
17681
17682
17683
17684
17685
17686
17687
17688 ac_ext=cpp
17689 ac_cpp='$CXXCPP $CPPFLAGS'
17690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17693
17694 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17695 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17696 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17698 else
17699 cat >conftest.$ac_ext <<_ACEOF
17700 /* confdefs.h. */
17701 _ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17705
17706 int
17707 main ()
17708 {
17709
17710 #ifndef __INTEL_COMPILER
17711 choke me
17712 #endif
17713
17714 ;
17715 return 0;
17716 }
17717 _ACEOF
17718 rm -f conftest.$ac_objext
17719 if { (ac_try="$ac_compile"
17720 case "(($ac_try" in
17721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17722 *) ac_try_echo=$ac_try;;
17723 esac
17724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17725 (eval "$ac_compile") 2>conftest.er1
17726 ac_status=$?
17727 grep -v '^ *+' conftest.er1 >conftest.err
17728 rm -f conftest.er1
17729 cat conftest.err >&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); } && {
17732 test -z "$ac_cxx_werror_flag" ||
17733 test ! -s conftest.err
17734 } && test -s conftest.$ac_objext; then
17735 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17736 else
17737 echo "$as_me: failed program was:" >&5
17738 sed 's/^/| /' conftest.$ac_ext >&5
17739
17740 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17741
17742 fi
17743
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745
17746
17747 fi
17748 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17749 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17750 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17751 :; INTELCXX=yes
17752 else
17753 :;
17754 fi
17755 ac_ext=c
17756 ac_cpp='$CPP $CPPFLAGS'
17757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17760
17761
17762
17763
17764 if test "$INTELCXX" = "yes"; then
17765
17766
17767 ac_ext=cpp
17768 ac_cpp='$CXXCPP $CPPFLAGS'
17769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17772
17773 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17774 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17775 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17777 else
17778 cat >conftest.$ac_ext <<_ACEOF
17779 /* confdefs.h. */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784
17785 int
17786 main ()
17787 {
17788
17789 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17790 choke me
17791 #endif
17792
17793 ;
17794 return 0;
17795 }
17796 _ACEOF
17797 rm -f conftest.$ac_objext
17798 if { (ac_try="$ac_compile"
17799 case "(($ac_try" in
17800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17801 *) ac_try_echo=$ac_try;;
17802 esac
17803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17804 (eval "$ac_compile") 2>conftest.er1
17805 ac_status=$?
17806 grep -v '^ *+' conftest.er1 >conftest.err
17807 rm -f conftest.er1
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } && {
17811 test -z "$ac_cxx_werror_flag" ||
17812 test ! -s conftest.err
17813 } && test -s conftest.$ac_objext; then
17814 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17815 else
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.$ac_ext >&5
17818
17819 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17820
17821 fi
17822
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824
17825
17826 fi
17827 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17828 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17829 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17830 :; INTELCXX8=yes
17831 else
17832 :;
17833 fi
17834 ac_ext=c
17835 ac_cpp='$CPP $CPPFLAGS'
17836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17839
17840
17841
17842
17843
17844 ac_ext=cpp
17845 ac_cpp='$CXXCPP $CPPFLAGS'
17846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17849
17850 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17851 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17852 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17853 echo $ECHO_N "(cached) $ECHO_C" >&6
17854 else
17855 cat >conftest.$ac_ext <<_ACEOF
17856 /* confdefs.h. */
17857 _ACEOF
17858 cat confdefs.h >>conftest.$ac_ext
17859 cat >>conftest.$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17861
17862 int
17863 main ()
17864 {
17865
17866 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17867 choke me
17868 #endif
17869
17870 ;
17871 return 0;
17872 }
17873 _ACEOF
17874 rm -f conftest.$ac_objext
17875 if { (ac_try="$ac_compile"
17876 case "(($ac_try" in
17877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17878 *) ac_try_echo=$ac_try;;
17879 esac
17880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17881 (eval "$ac_compile") 2>conftest.er1
17882 ac_status=$?
17883 grep -v '^ *+' conftest.er1 >conftest.err
17884 rm -f conftest.er1
17885 cat conftest.err >&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } && {
17888 test -z "$ac_cxx_werror_flag" ||
17889 test ! -s conftest.err
17890 } && test -s conftest.$ac_objext; then
17891 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17892 else
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.$ac_ext >&5
17895
17896 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17897
17898 fi
17899
17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17901
17902
17903 fi
17904 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17905 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17906 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17907 :; INTELCXX10=yes
17908 else
17909 :;
17910 fi
17911 ac_ext=c
17912 ac_cpp='$CPP $CPPFLAGS'
17913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17916
17917
17918
17919 fi
17920
17921 if test "x$GCXX" != "xyes"; then
17922 if test "xCXX" = "xC"; then
17923 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17924 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17925 if test "${bakefile_cv_c_exto+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 else
17928 cat >conftest.$ac_ext <<_ACEOF
17929 /* confdefs.h. */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934
17935 int
17936 main ()
17937 {
17938
17939 ;
17940 return 0;
17941 }
17942 _ACEOF
17943 rm -f conftest.$ac_objext conftest.$ac_ext.o
17944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17945 (eval $ac_compile) 2>&5
17946 ac_status=$?
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; then
17949 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17950 case $ac_file in
17951 conftest.$ac_ext.o)
17952 bakefile_cv_c_exto="-ext o"
17953 ;;
17954 *)
17955 ;;
17956 esac
17957 done
17958 else
17959 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17960 See \`config.log' for more details." >&5
17961 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17962 See \`config.log' for more details." >&2;}
17963 { (exit 1); exit 1; }; }
17964
17965 fi
17966
17967 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17968
17969 fi
17970 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17971 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17972 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17973 if test "c" = "c"; then
17974 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17975 fi
17976 if test "c" = "cxx"; then
17977 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17978 fi
17979 fi
17980
17981 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17982 unset ac_cv_prog_cc_g
17983 ac_test_CFLAGS=${CFLAGS+set}
17984 ac_save_CFLAGS=$CFLAGS
17985 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17986 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17987 if test "${ac_cv_prog_cc_g+set}" = set; then
17988 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 else
17990 ac_save_c_werror_flag=$ac_c_werror_flag
17991 ac_c_werror_flag=yes
17992 ac_cv_prog_cc_g=no
17993 CFLAGS="-g"
17994 cat >conftest.$ac_ext <<_ACEOF
17995 /* confdefs.h. */
17996 _ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000
18001 int
18002 main ()
18003 {
18004
18005 ;
18006 return 0;
18007 }
18008 _ACEOF
18009 rm -f conftest.$ac_objext
18010 if { (ac_try="$ac_compile"
18011 case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;;
18014 esac
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_compile") 2>conftest.er1
18017 ac_status=$?
18018 grep -v '^ *+' conftest.er1 >conftest.err
18019 rm -f conftest.er1
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } && {
18023 test -z "$ac_c_werror_flag" ||
18024 test ! -s conftest.err
18025 } && test -s conftest.$ac_objext; then
18026 ac_cv_prog_cc_g=yes
18027 else
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18030
18031 CFLAGS=""
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h. */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038
18039 int
18040 main ()
18041 {
18042
18043 ;
18044 return 0;
18045 }
18046 _ACEOF
18047 rm -f conftest.$ac_objext
18048 if { (ac_try="$ac_compile"
18049 case "(($ac_try" in
18050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18051 *) ac_try_echo=$ac_try;;
18052 esac
18053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18054 (eval "$ac_compile") 2>conftest.er1
18055 ac_status=$?
18056 grep -v '^ *+' conftest.er1 >conftest.err
18057 rm -f conftest.er1
18058 cat conftest.err >&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); } && {
18061 test -z "$ac_c_werror_flag" ||
18062 test ! -s conftest.err
18063 } && test -s conftest.$ac_objext; then
18064 :
18065 else
18066 echo "$as_me: failed program was:" >&5
18067 sed 's/^/| /' conftest.$ac_ext >&5
18068
18069 ac_c_werror_flag=$ac_save_c_werror_flag
18070 CFLAGS="-g"
18071 cat >conftest.$ac_ext <<_ACEOF
18072 /* confdefs.h. */
18073 _ACEOF
18074 cat confdefs.h >>conftest.$ac_ext
18075 cat >>conftest.$ac_ext <<_ACEOF
18076 /* end confdefs.h. */
18077
18078 int
18079 main ()
18080 {
18081
18082 ;
18083 return 0;
18084 }
18085 _ACEOF
18086 rm -f conftest.$ac_objext
18087 if { (ac_try="$ac_compile"
18088 case "(($ac_try" in
18089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18090 *) ac_try_echo=$ac_try;;
18091 esac
18092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18093 (eval "$ac_compile") 2>conftest.er1
18094 ac_status=$?
18095 grep -v '^ *+' conftest.er1 >conftest.err
18096 rm -f conftest.er1
18097 cat conftest.err >&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); } && {
18100 test -z "$ac_c_werror_flag" ||
18101 test ! -s conftest.err
18102 } && test -s conftest.$ac_objext; then
18103 ac_cv_prog_cc_g=yes
18104 else
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18107
18108
18109 fi
18110
18111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18112 fi
18113
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18115 fi
18116
18117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18118 ac_c_werror_flag=$ac_save_c_werror_flag
18119 fi
18120 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18121 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18122 if test "$ac_test_CFLAGS" = set; then
18123 CFLAGS=$ac_save_CFLAGS
18124 elif test $ac_cv_prog_cc_g = yes; then
18125 if test "$GCC" = yes; then
18126 CFLAGS="-g -O2"
18127 else
18128 CFLAGS="-g"
18129 fi
18130 else
18131 if test "$GCC" = yes; then
18132 CFLAGS="-O2"
18133 else
18134 CFLAGS=
18135 fi
18136 fi
18137 fi
18138 fi
18139
18140 case `uname -s` in
18141 AIX*)
18142
18143
18144 ac_ext=cpp
18145 ac_cpp='$CXXCPP $CPPFLAGS'
18146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18149
18150 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18151 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18152 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 else
18155 cat >conftest.$ac_ext <<_ACEOF
18156 /* confdefs.h. */
18157 _ACEOF
18158 cat confdefs.h >>conftest.$ac_ext
18159 cat >>conftest.$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18161
18162 int
18163 main ()
18164 {
18165
18166 #ifndef __xlC__
18167 choke me
18168 #endif
18169
18170 ;
18171 return 0;
18172 }
18173 _ACEOF
18174 rm -f conftest.$ac_objext
18175 if { (ac_try="$ac_compile"
18176 case "(($ac_try" in
18177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18178 *) ac_try_echo=$ac_try;;
18179 esac
18180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18181 (eval "$ac_compile") 2>conftest.er1
18182 ac_status=$?
18183 grep -v '^ *+' conftest.er1 >conftest.err
18184 rm -f conftest.er1
18185 cat conftest.err >&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } && {
18188 test -z "$ac_cxx_werror_flag" ||
18189 test ! -s conftest.err
18190 } && test -s conftest.$ac_objext; then
18191 bakefile_cv_cxx_compiler___xlC__=yes
18192 else
18193 echo "$as_me: failed program was:" >&5
18194 sed 's/^/| /' conftest.$ac_ext >&5
18195
18196 bakefile_cv_cxx_compiler___xlC__=no
18197
18198 fi
18199
18200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18201
18202
18203 fi
18204 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18205 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18206 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18207 :; XLCXX=yes
18208 else
18209 :;
18210 fi
18211 ac_ext=c
18212 ac_cpp='$CPP $CPPFLAGS'
18213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18216
18217
18218
18219 ;;
18220
18221 Darwin)
18222
18223
18224 ac_ext=cpp
18225 ac_cpp='$CXXCPP $CPPFLAGS'
18226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18229
18230 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18231 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18232 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 else
18235 cat >conftest.$ac_ext <<_ACEOF
18236 /* confdefs.h. */
18237 _ACEOF
18238 cat confdefs.h >>conftest.$ac_ext
18239 cat >>conftest.$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18241
18242 int
18243 main ()
18244 {
18245
18246 #ifndef __MWERKS__
18247 choke me
18248 #endif
18249
18250 ;
18251 return 0;
18252 }
18253 _ACEOF
18254 rm -f conftest.$ac_objext
18255 if { (ac_try="$ac_compile"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18259 esac
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_compile") 2>conftest.er1
18262 ac_status=$?
18263 grep -v '^ *+' conftest.er1 >conftest.err
18264 rm -f conftest.er1
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_cxx_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest.$ac_objext; then
18271 bakefile_cv_cxx_compiler___MWERKS__=yes
18272 else
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18275
18276 bakefile_cv_cxx_compiler___MWERKS__=no
18277
18278 fi
18279
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18281
18282
18283 fi
18284 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18285 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18286 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18287 :; MWCXX=yes
18288 else
18289 :;
18290 fi
18291 ac_ext=c
18292 ac_cpp='$CPP $CPPFLAGS'
18293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18296
18297
18298
18299 if test "$MWCXX" != "yes"; then
18300
18301
18302 ac_ext=cpp
18303 ac_cpp='$CXXCPP $CPPFLAGS'
18304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18307
18308 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18309 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18310 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18311 echo $ECHO_N "(cached) $ECHO_C" >&6
18312 else
18313 cat >conftest.$ac_ext <<_ACEOF
18314 /* confdefs.h. */
18315 _ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319
18320 int
18321 main ()
18322 {
18323
18324 #ifndef __xlC__
18325 choke me
18326 #endif
18327
18328 ;
18329 return 0;
18330 }
18331 _ACEOF
18332 rm -f conftest.$ac_objext
18333 if { (ac_try="$ac_compile"
18334 case "(($ac_try" in
18335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18336 *) ac_try_echo=$ac_try;;
18337 esac
18338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18339 (eval "$ac_compile") 2>conftest.er1
18340 ac_status=$?
18341 grep -v '^ *+' conftest.er1 >conftest.err
18342 rm -f conftest.er1
18343 cat conftest.err >&5
18344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345 (exit $ac_status); } && {
18346 test -z "$ac_cxx_werror_flag" ||
18347 test ! -s conftest.err
18348 } && test -s conftest.$ac_objext; then
18349 bakefile_cv_cxx_compiler___xlC__=yes
18350 else
18351 echo "$as_me: failed program was:" >&5
18352 sed 's/^/| /' conftest.$ac_ext >&5
18353
18354 bakefile_cv_cxx_compiler___xlC__=no
18355
18356 fi
18357
18358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18359
18360
18361 fi
18362 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18363 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18364 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18365 :; XLCXX=yes
18366 else
18367 :;
18368 fi
18369 ac_ext=c
18370 ac_cpp='$CPP $CPPFLAGS'
18371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18374
18375
18376
18377 fi
18378 ;;
18379
18380 IRIX*)
18381
18382
18383 ac_ext=cpp
18384 ac_cpp='$CXXCPP $CPPFLAGS'
18385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18388
18389 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18390 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18391 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18393 else
18394 cat >conftest.$ac_ext <<_ACEOF
18395 /* confdefs.h. */
18396 _ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400
18401 int
18402 main ()
18403 {
18404
18405 #ifndef _SGI_COMPILER_VERSION
18406 choke me
18407 #endif
18408
18409 ;
18410 return 0;
18411 }
18412 _ACEOF
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18418 esac
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420 (eval "$ac_compile") 2>conftest.er1
18421 ac_status=$?
18422 grep -v '^ *+' conftest.er1 >conftest.err
18423 rm -f conftest.er1
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } && {
18427 test -z "$ac_cxx_werror_flag" ||
18428 test ! -s conftest.err
18429 } && test -s conftest.$ac_objext; then
18430 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18431 else
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18434
18435 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18436
18437 fi
18438
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18440
18441
18442 fi
18443 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18444 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18445 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18446 :; SGICXX=yes
18447 else
18448 :;
18449 fi
18450 ac_ext=c
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18455
18456
18457
18458 ;;
18459
18460 Linux*)
18461 if test "$INTELCXX" != "yes"; then
18462
18463
18464 ac_ext=cpp
18465 ac_cpp='$CXXCPP $CPPFLAGS'
18466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18469
18470 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18471 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18472 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18473 echo $ECHO_N "(cached) $ECHO_C" >&6
18474 else
18475 cat >conftest.$ac_ext <<_ACEOF
18476 /* confdefs.h. */
18477 _ACEOF
18478 cat confdefs.h >>conftest.$ac_ext
18479 cat >>conftest.$ac_ext <<_ACEOF
18480 /* end confdefs.h. */
18481
18482 int
18483 main ()
18484 {
18485
18486 #ifndef __SUNPRO_CC
18487 choke me
18488 #endif
18489
18490 ;
18491 return 0;
18492 }
18493 _ACEOF
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18499 esac
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18502 ac_status=$?
18503 grep -v '^ *+' conftest.er1 >conftest.err
18504 rm -f conftest.er1
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } && {
18508 test -z "$ac_cxx_werror_flag" ||
18509 test ! -s conftest.err
18510 } && test -s conftest.$ac_objext; then
18511 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18512 else
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18515
18516 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18517
18518 fi
18519
18520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18521
18522
18523 fi
18524 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18525 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18526 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18527 :; SUNCXX=yes
18528 else
18529 :;
18530 fi
18531 ac_ext=c
18532 ac_cpp='$CPP $CPPFLAGS'
18533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18536
18537
18538
18539 fi
18540 ;;
18541
18542 HP-UX*)
18543
18544
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550
18551 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18552 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18553 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18554 echo $ECHO_N "(cached) $ECHO_C" >&6
18555 else
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562
18563 int
18564 main ()
18565 {
18566
18567 #ifndef __HP_aCC
18568 choke me
18569 #endif
18570
18571 ;
18572 return 0;
18573 }
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (ac_try="$ac_compile"
18577 case "(($ac_try" in
18578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18579 *) ac_try_echo=$ac_try;;
18580 esac
18581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18582 (eval "$ac_compile") 2>conftest.er1
18583 ac_status=$?
18584 grep -v '^ *+' conftest.er1 >conftest.err
18585 rm -f conftest.er1
18586 cat conftest.err >&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } && {
18589 test -z "$ac_cxx_werror_flag" ||
18590 test ! -s conftest.err
18591 } && test -s conftest.$ac_objext; then
18592 bakefile_cv_cxx_compiler___HP_aCC=yes
18593 else
18594 echo "$as_me: failed program was:" >&5
18595 sed 's/^/| /' conftest.$ac_ext >&5
18596
18597 bakefile_cv_cxx_compiler___HP_aCC=no
18598
18599 fi
18600
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602
18603
18604 fi
18605 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18606 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18607 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18608 :; HPCXX=yes
18609 else
18610 :;
18611 fi
18612 ac_ext=c
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18617
18618
18619
18620 ;;
18621
18622 OSF1)
18623
18624
18625 ac_ext=cpp
18626 ac_cpp='$CXXCPP $CPPFLAGS'
18627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18630
18631 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18632 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18633 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 else
18636 cat >conftest.$ac_ext <<_ACEOF
18637 /* confdefs.h. */
18638 _ACEOF
18639 cat confdefs.h >>conftest.$ac_ext
18640 cat >>conftest.$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18642
18643 int
18644 main ()
18645 {
18646
18647 #ifndef __DECCXX
18648 choke me
18649 #endif
18650
18651 ;
18652 return 0;
18653 }
18654 _ACEOF
18655 rm -f conftest.$ac_objext
18656 if { (ac_try="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18660 esac
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18663 ac_status=$?
18664 grep -v '^ *+' conftest.er1 >conftest.err
18665 rm -f conftest.er1
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_cxx_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.$ac_objext; then
18672 bakefile_cv_cxx_compiler___DECCXX=yes
18673 else
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18676
18677 bakefile_cv_cxx_compiler___DECCXX=no
18678
18679 fi
18680
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18682
18683
18684 fi
18685 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18686 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18687 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18688 :; COMPAQCXX=yes
18689 else
18690 :;
18691 fi
18692 ac_ext=c
18693 ac_cpp='$CPP $CPPFLAGS'
18694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18697
18698
18699
18700 ;;
18701
18702 SunOS)
18703
18704
18705 ac_ext=cpp
18706 ac_cpp='$CXXCPP $CPPFLAGS'
18707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18710
18711 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18712 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18713 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18714 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 else
18716 cat >conftest.$ac_ext <<_ACEOF
18717 /* confdefs.h. */
18718 _ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722
18723 int
18724 main ()
18725 {
18726
18727 #ifndef __SUNPRO_CC
18728 choke me
18729 #endif
18730
18731 ;
18732 return 0;
18733 }
18734 _ACEOF
18735 rm -f conftest.$ac_objext
18736 if { (ac_try="$ac_compile"
18737 case "(($ac_try" in
18738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18739 *) ac_try_echo=$ac_try;;
18740 esac
18741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18742 (eval "$ac_compile") 2>conftest.er1
18743 ac_status=$?
18744 grep -v '^ *+' conftest.er1 >conftest.err
18745 rm -f conftest.er1
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } && {
18749 test -z "$ac_cxx_werror_flag" ||
18750 test ! -s conftest.err
18751 } && test -s conftest.$ac_objext; then
18752 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18753 else
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18756
18757 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18758
18759 fi
18760
18761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762
18763
18764 fi
18765 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18766 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18767 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18768 :; SUNCXX=yes
18769 else
18770 :;
18771 fi
18772 ac_ext=c
18773 ac_cpp='$CPP $CPPFLAGS'
18774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18777
18778
18779
18780 ;;
18781 esac
18782 fi
18783
18784
18785
18786 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18787 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18788 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18789 { (exit 1); exit 1; }; }
18790 fi
18791
18792 if test "x$SUNCXX" != xyes; then
18793 if test -n "$ac_tool_prefix"; then
18794 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18795 set dummy ${ac_tool_prefix}ar; ac_word=$2
18796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18798 if test "${ac_cv_prog_AR+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18800 else
18801 if test -n "$AR"; then
18802 ac_cv_prog_AR="$AR" # Let the user override the test.
18803 else
18804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18805 for as_dir in $PATH
18806 do
18807 IFS=$as_save_IFS
18808 test -z "$as_dir" && as_dir=.
18809 for ac_exec_ext in '' $ac_executable_extensions; do
18810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18811 ac_cv_prog_AR="${ac_tool_prefix}ar"
18812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18813 break 2
18814 fi
18815 done
18816 done
18817 IFS=$as_save_IFS
18818
18819 fi
18820 fi
18821 AR=$ac_cv_prog_AR
18822 if test -n "$AR"; then
18823 { echo "$as_me:$LINENO: result: $AR" >&5
18824 echo "${ECHO_T}$AR" >&6; }
18825 else
18826 { echo "$as_me:$LINENO: result: no" >&5
18827 echo "${ECHO_T}no" >&6; }
18828 fi
18829
18830
18831 fi
18832 if test -z "$ac_cv_prog_AR"; then
18833 ac_ct_AR=$AR
18834 # Extract the first word of "ar", so it can be a program name with args.
18835 set dummy ar; ac_word=$2
18836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18838 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18839 echo $ECHO_N "(cached) $ECHO_C" >&6
18840 else
18841 if test -n "$ac_ct_AR"; then
18842 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18843 else
18844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18845 for as_dir in $PATH
18846 do
18847 IFS=$as_save_IFS
18848 test -z "$as_dir" && as_dir=.
18849 for ac_exec_ext in '' $ac_executable_extensions; do
18850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18851 ac_cv_prog_ac_ct_AR="ar"
18852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18853 break 2
18854 fi
18855 done
18856 done
18857 IFS=$as_save_IFS
18858
18859 fi
18860 fi
18861 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18862 if test -n "$ac_ct_AR"; then
18863 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18864 echo "${ECHO_T}$ac_ct_AR" >&6; }
18865 else
18866 { echo "$as_me:$LINENO: result: no" >&5
18867 echo "${ECHO_T}no" >&6; }
18868 fi
18869
18870 if test "x$ac_ct_AR" = x; then
18871 AR=""
18872 else
18873 case $cross_compiling:$ac_tool_warned in
18874 yes:)
18875 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18876 whose name does not start with the host triplet. If you think this
18877 configuration is useful to you, please write to autoconf@gnu.org." >&5
18878 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18879 whose name does not start with the host triplet. If you think this
18880 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18881 ac_tool_warned=yes ;;
18882 esac
18883 AR=$ac_ct_AR
18884 fi
18885 else
18886 AR="$ac_cv_prog_AR"
18887 fi
18888
18889 if test "x$AR" = "x" ; then
18890 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18891 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18892 { (exit 1); exit 1; }; }
18893 fi
18894 fi
18895
18896
18897 if test "$wxUSE_MAC" = 1; then
18898
18899 retest_macosx_linking=no
18900
18901 OSX_ARCH_OPTS=""
18902 if test "x$wxUSE_MAC_ARCH" != xno; then
18903 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18904 fi
18905
18906 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18907 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18908 # Implicitly turn on the new --with-macosx-sdk using the default
18909 # SDK which provides the behaviour this option has always had.
18910 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18911 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18912 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18913 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18914 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18915 wxUSE_MACOSX_SDK=yes
18916 fi
18917 else
18918 # Complain to user if he specified an argument to --enable-universal_binary
18919 # and also 1) specified --with-macosx-sdk using the default (yes) or
18920 # 2) specified --with-macosx-sdk using a path or 3) specified
18921 # --without-macosx-sdk (no).
18922 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18923 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18924 See \`config.log' for more details." >&5
18925 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18926 See \`config.log' for more details." >&2;}
18927 { (exit 1); exit 1; }; }
18928 else
18929 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18930 # special-case the empty string because the below test simply
18931 # converts "no" to the empty string anyway.
18932 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18933 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18934 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18935 fi
18936 fi
18937 OSX_ARCH_OPTS="-arch ppc -arch i386"
18938 if test "$wxUSE_OSX_COCOA" = 1; then
18939 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18940 fi
18941 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18942 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18943 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18944 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18945
18946 retest_macosx_linking=yes
18947
18948 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18949 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18950 bk_use_pch=no
18951 fi
18952
18953 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18954 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18955 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18956 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18957 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18958
18959 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18960 wxUSE_MACOSX_SDK=
18961 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18962 # TODO: Search for most recent SDK and use it.
18963 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18964 fi
18965
18966
18967 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18968 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18969 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18970 if ! test -d "$wxUSE_MACOSX_SDK"; then
18971 { { echo "$as_me:$LINENO: error: not found
18972 See \`config.log' for more details." >&5
18973 echo "$as_me: error: not found
18974 See \`config.log' for more details." >&2;}
18975 { (exit 1); exit 1; }; }
18976 else
18977 { echo "$as_me:$LINENO: result: exists" >&5
18978 echo "${ECHO_T}exists" >&6; }
18979 fi
18980 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18981 retest_macosx_linking=yes
18982 fi
18983
18984 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18985 wxUSE_MACOSX_VERSION_MIN=
18986 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18987 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18988 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18989 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18990
18991 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/'`
18992
18993 # If that failed, try again with the new key
18994 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18995
18996 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/'`
18997
18998 fi
18999
19000 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19001 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19002 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19003 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19004 else
19005 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19006 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19007 wxUSE_MACOSX_VERSION_MIN=
19008 fi
19009 else
19010 wxUSE_MACOSX_VERSION_MIN=
19011 fi
19012 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19013 for ac_prog in sw_vers
19014 do
19015 # Extract the first word of "$ac_prog", so it can be a program name with args.
19016 set dummy $ac_prog; ac_word=$2
19017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19019 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19020 echo $ECHO_N "(cached) $ECHO_C" >&6
19021 else
19022 if test -n "$OSX_SW_VERS"; then
19023 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19024 else
19025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19026 for as_dir in $PATH
19027 do
19028 IFS=$as_save_IFS
19029 test -z "$as_dir" && as_dir=.
19030 for ac_exec_ext in '' $ac_executable_extensions; do
19031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19032 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19034 break 2
19035 fi
19036 done
19037 done
19038 IFS=$as_save_IFS
19039
19040 fi
19041 fi
19042 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19043 if test -n "$OSX_SW_VERS"; then
19044 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19045 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19046 else
19047 { echo "$as_me:$LINENO: result: no" >&5
19048 echo "${ECHO_T}no" >&6; }
19049 fi
19050
19051
19052 test -n "$OSX_SW_VERS" && break
19053 done
19054
19055 if test "$OSX_SW_VERS" != ""; then
19056 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19057 else
19058 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19059 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19060 OSX_VERSION="10.4"
19061 fi
19062
19063 case "$OSX_VERSION" in
19064 10.4* )
19065 wxUSE_MACOSX_VERSION_MIN=10.4
19066 ;;
19067
19068 * )
19069 if test "$wxUSE_OSX_CARBON" = 1; then
19070 # otherwise configure stops on leopard for universal_binary
19071 wxUSE_MACOSX_VERSION_MIN=10.4
19072 else
19073 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19074 wxUSE_MACOSX_VERSION_MIN=10.5
19075 fi
19076 ;;
19077 esac
19078 fi
19079
19080 NEEDS_GCC40="no"
19081 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19082 NEEDS_GCC40="yes"
19083 fi
19084
19085 if test "$wxUSE_OSX_CARBON" = 1; then
19086 NEEDS_GCC40="yes"
19087 fi
19088
19089 if test "x$NEEDS_GCC40" == "xyes"; then
19090 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19091 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19092 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19093 if test "x$CC" = "xgcc"; then
19094 CCVERSION=`$CC --version | grep 4.[2-9].`
19095 if test "x$CCVERSION" != "x"; then
19096 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19097 CC="gcc-4.0"
19098 fi
19099 fi
19100
19101 if test "x$CXX" = "xg++"; then
19102 CCVERSION=`$CXX --version | grep 4.[2-9].`
19103 if test "x$CCVERSION" != "x"; then
19104 CXX="g++-4.0"
19105 fi
19106 fi
19107 fi
19108
19109 if test "x$MACOSX_SDK_OPTS" != "x"; then
19110 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19111 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19112 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19113 fi
19114
19115 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19116 if test "$wxUSE_OSX_IPHONE" = 1; then
19117 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19118 else
19119 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19120 fi
19121 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19122 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19123 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19124 retest_macosx_linking=yes
19125 fi
19126
19127 if test "x$retest_macosx_linking" = "xyes"; then
19128 ac_ext=c
19129 ac_cpp='$CPP $CPPFLAGS'
19130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19133
19134 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19135 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19136 cat >conftest.$ac_ext <<_ACEOF
19137 /* confdefs.h. */
19138 _ACEOF
19139 cat confdefs.h >>conftest.$ac_ext
19140 cat >>conftest.$ac_ext <<_ACEOF
19141 /* end confdefs.h. */
19142
19143 int
19144 main ()
19145 {
19146
19147 ;
19148 return 0;
19149 }
19150 _ACEOF
19151 rm -f conftest.$ac_objext conftest$ac_exeext
19152 if { (ac_try="$ac_link"
19153 case "(($ac_try" in
19154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19155 *) ac_try_echo=$ac_try;;
19156 esac
19157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 (eval "$ac_link") 2>conftest.er1
19159 ac_status=$?
19160 grep -v '^ *+' conftest.er1 >conftest.err
19161 rm -f conftest.er1
19162 cat conftest.err >&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } && {
19165 test -z "$ac_c_werror_flag" ||
19166 test ! -s conftest.err
19167 } && test -s conftest$ac_exeext &&
19168 $as_test_x conftest$ac_exeext; then
19169 { echo "$as_me:$LINENO: result: yes" >&5
19170 echo "${ECHO_T}yes" >&6; }
19171 else
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19174
19175 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19176 See \`config.log' for more details." >&5
19177 echo "$as_me: error: no. Try a different SDK
19178 See \`config.log' for more details." >&2;}
19179 { (exit 1); exit 1; }; }; exit 1
19180 fi
19181
19182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19183 conftest$ac_exeext conftest.$ac_ext
19184 ac_ext=c
19185 ac_cpp='$CPP $CPPFLAGS'
19186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19189
19190
19191 ac_ext=cpp
19192 ac_cpp='$CXXCPP $CPPFLAGS'
19193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19196
19197 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19198 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19199 cat >conftest.$ac_ext <<_ACEOF
19200 /* confdefs.h. */
19201 _ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205
19206 int
19207 main ()
19208 {
19209
19210 ;
19211 return 0;
19212 }
19213 _ACEOF
19214 rm -f conftest.$ac_objext conftest$ac_exeext
19215 if { (ac_try="$ac_link"
19216 case "(($ac_try" in
19217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19218 *) ac_try_echo=$ac_try;;
19219 esac
19220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19221 (eval "$ac_link") 2>conftest.er1
19222 ac_status=$?
19223 grep -v '^ *+' conftest.er1 >conftest.err
19224 rm -f conftest.er1
19225 cat conftest.err >&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } && {
19228 test -z "$ac_cxx_werror_flag" ||
19229 test ! -s conftest.err
19230 } && test -s conftest$ac_exeext &&
19231 $as_test_x conftest$ac_exeext; then
19232 { echo "$as_me:$LINENO: result: yes" >&5
19233 echo "${ECHO_T}yes" >&6; }
19234 else
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19237
19238 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19239 See \`config.log' for more details." >&5
19240 echo "$as_me: error: no. Try a different SDK
19241 See \`config.log' for more details." >&2;}
19242 { (exit 1); exit 1; }; }; exit 1
19243 fi
19244
19245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19246 conftest$ac_exeext conftest.$ac_ext
19247 ac_ext=c
19248 ac_cpp='$CPP $CPPFLAGS'
19249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19252
19253 fi
19254
19255 fi
19256 case "${host}" in
19257
19258 *-*-darwin* )
19259 INSTALL_PROGRAM="cp -fp"
19260 INSTALL_DATA="cp -fp"
19261 ;;
19262 *)
19263 ;;
19264 esac
19265
19266
19267 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19268 CXXFLAGS="-qunique $CXXFLAGS"
19269 fi
19270
19271 case "${host}" in
19272 powerpc-*-darwin* )
19273 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19274 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19275 cat >conftest.$ac_ext <<_ACEOF
19276 /* confdefs.h. */
19277 _ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281
19282 int
19283 main ()
19284 {
19285 #ifndef __POWERPC__
19286 choke me for lack of PowerPC
19287 #endif
19288
19289 ;
19290 return 0;
19291 }
19292 _ACEOF
19293 rm -f conftest.$ac_objext
19294 if { (ac_try="$ac_compile"
19295 case "(($ac_try" in
19296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19297 *) ac_try_echo=$ac_try;;
19298 esac
19299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300 (eval "$ac_compile") 2>conftest.er1
19301 ac_status=$?
19302 grep -v '^ *+' conftest.er1 >conftest.err
19303 rm -f conftest.er1
19304 cat conftest.err >&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } && {
19307 test -z "$ac_c_werror_flag" ||
19308 test ! -s conftest.err
19309 } && test -s conftest.$ac_objext; then
19310 { echo "$as_me:$LINENO: result: yes" >&5
19311 echo "${ECHO_T}yes" >&6; }
19312 else
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19315
19316 { echo "$as_me:$LINENO: result: no" >&5
19317 echo "${ECHO_T}no" >&6; }
19318 cat >>confdefs.h <<\_ACEOF
19319 #define __POWERPC__ 1
19320 _ACEOF
19321
19322
19323 fi
19324
19325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19326 ;;
19327 esac
19328
19329 case "${host}" in
19330 *-*-darwin* )
19331 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19332 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19333 cat >conftest.$ac_ext <<_ACEOF
19334 /* confdefs.h. */
19335 _ACEOF
19336 cat confdefs.h >>conftest.$ac_ext
19337 cat >>conftest.$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19339 #include <CoreFoundation/CFBase.h>
19340
19341 int
19342 main ()
19343 {
19344
19345 ;
19346 return 0;
19347 }
19348 _ACEOF
19349 rm -f conftest.$ac_objext
19350 if { (ac_try="$ac_compile"
19351 case "(($ac_try" in
19352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19353 *) ac_try_echo=$ac_try;;
19354 esac
19355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19356 (eval "$ac_compile") 2>conftest.er1
19357 ac_status=$?
19358 grep -v '^ *+' conftest.er1 >conftest.err
19359 rm -f conftest.er1
19360 cat conftest.err >&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); } && {
19363 test -z "$ac_c_werror_flag" ||
19364 test ! -s conftest.err
19365 } && test -s conftest.$ac_objext; then
19366 { echo "$as_me:$LINENO: result: yes" >&5
19367 echo "${ECHO_T}yes" >&6; }
19368 else
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.$ac_ext >&5
19371
19372 { echo "$as_me:$LINENO: result: no" >&5
19373 echo "${ECHO_T}no" >&6; }
19374 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19375 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19376 cat >conftest.$ac_ext <<_ACEOF
19377 /* confdefs.h. */
19378 _ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 #define __CF_USE_FRAMEWORK_INCLUDES__
19383 #include <CoreFoundation/CFBase.h>
19384
19385 int
19386 main ()
19387 {
19388
19389 ;
19390 return 0;
19391 }
19392 _ACEOF
19393 rm -f conftest.$ac_objext
19394 if { (ac_try="$ac_compile"
19395 case "(($ac_try" in
19396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19397 *) ac_try_echo=$ac_try;;
19398 esac
19399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19400 (eval "$ac_compile") 2>conftest.er1
19401 ac_status=$?
19402 grep -v '^ *+' conftest.er1 >conftest.err
19403 rm -f conftest.er1
19404 cat conftest.err >&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } && {
19407 test -z "$ac_c_werror_flag" ||
19408 test ! -s conftest.err
19409 } && test -s conftest.$ac_objext; then
19410 { echo "$as_me:$LINENO: result: yes" >&5
19411 echo "${ECHO_T}yes" >&6; }
19412 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19413 else
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19416
19417 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19418 See \`config.log' for more details." >&5
19419 echo "$as_me: error: no. CoreFoundation not available.
19420 See \`config.log' for more details." >&2;}
19421 { (exit 1); exit 1; }; }
19422
19423 fi
19424
19425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19426
19427
19428 fi
19429
19430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19431 ;;
19432 esac
19433
19434 wants_win32=0
19435 doesnt_want_win32=0
19436 case "${host}" in
19437 *-*-cygwin*)
19438 if test "$wxUSE_MSW" = 1 ; then
19439 wants_win32=1
19440 else
19441 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19442 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19443 if test "${wx_cv_nocygwin+set}" = set; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19445 else
19446
19447 cat >conftest.$ac_ext <<_ACEOF
19448 /* confdefs.h. */
19449 _ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453
19454 int
19455 main ()
19456 {
19457
19458 #ifdef __MINGW32__
19459 choke me
19460 #endif
19461
19462 ;
19463 return 0;
19464 }
19465 _ACEOF
19466 rm -f conftest.$ac_objext
19467 if { (ac_try="$ac_compile"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19471 esac
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_compile") 2>conftest.er1
19474 ac_status=$?
19475 grep -v '^ *+' conftest.er1 >conftest.err
19476 rm -f conftest.er1
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && {
19480 test -z "$ac_c_werror_flag" ||
19481 test ! -s conftest.err
19482 } && test -s conftest.$ac_objext; then
19483 wx_cv_nocygwin=no
19484 else
19485 echo "$as_me: failed program was:" >&5
19486 sed 's/^/| /' conftest.$ac_ext >&5
19487
19488 wx_cv_nocygwin=yes
19489
19490 fi
19491
19492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19493
19494
19495 fi
19496 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19497 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19498
19499 if test "$wx_cv_nocygwin" = "yes"; then
19500 wants_win32=1
19501 else
19502 doesnt_want_win32=1
19503 fi
19504 fi
19505 if test "$wants_win32" = 1 ; then
19506 BAKEFILE_FORCE_PLATFORM=win32
19507 fi
19508 ;;
19509 *-*-mingw*)
19510 wants_win32=1
19511 ;;
19512 esac
19513
19514 if test "$wxUSE_WINE" = "yes"; then
19515 wants_win32=1
19516 LDFLAGS_GUI="-mwindows"
19517 fi
19518
19519 if test "$wants_win32" = 1 ; then
19520 USE_UNIX=0
19521 USE_WIN32=1
19522 cat >>confdefs.h <<\_ACEOF
19523 #define __WIN32__ 1
19524 _ACEOF
19525
19526 cat >>confdefs.h <<\_ACEOF
19527 #define __WIN95__ 1
19528 _ACEOF
19529
19530 cat >>confdefs.h <<\_ACEOF
19531 #define __WINDOWS__ 1
19532 _ACEOF
19533
19534 cat >>confdefs.h <<\_ACEOF
19535 #define __GNUWIN32__ 1
19536 _ACEOF
19537
19538 cat >>confdefs.h <<\_ACEOF
19539 #define STRICT 1
19540 _ACEOF
19541
19542 fi
19543 if test "$doesnt_want_win32" = 1 ; then
19544 USE_UNIX=1
19545 USE_WIN32=0
19546 fi
19547
19548 if test "$USE_UNIX" = 1 ; then
19549 wxUSE_UNIX=yes
19550 cat >>confdefs.h <<\_ACEOF
19551 #define __UNIX__ 1
19552 _ACEOF
19553
19554 fi
19555
19556 case "${host}" in
19557 *-pc-os2_emx | *-pc-os2-emx )
19558 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19559 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19560 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19561 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 else
19564 ac_check_lib_save_LIBS=$LIBS
19565 LIBS="-lcExt $LIBS"
19566 cat >conftest.$ac_ext <<_ACEOF
19567 /* confdefs.h. */
19568 _ACEOF
19569 cat confdefs.h >>conftest.$ac_ext
19570 cat >>conftest.$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19572
19573 /* Override any GCC internal prototype to avoid an error.
19574 Use char because int might match the return type of a GCC
19575 builtin and then its argument prototype would still apply. */
19576 #ifdef __cplusplus
19577 extern "C"
19578 #endif
19579 char drand48 ();
19580 int
19581 main ()
19582 {
19583 return drand48 ();
19584 ;
19585 return 0;
19586 }
19587 _ACEOF
19588 rm -f conftest.$ac_objext conftest$ac_exeext
19589 if { (ac_try="$ac_link"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19593 esac
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_link") 2>conftest.er1
19596 ac_status=$?
19597 grep -v '^ *+' conftest.er1 >conftest.err
19598 rm -f conftest.er1
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest$ac_exeext &&
19605 $as_test_x conftest$ac_exeext; then
19606 ac_cv_lib_cExt_drand48=yes
19607 else
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.$ac_ext >&5
19610
19611 ac_cv_lib_cExt_drand48=no
19612 fi
19613
19614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19615 conftest$ac_exeext conftest.$ac_ext
19616 LIBS=$ac_check_lib_save_LIBS
19617 fi
19618 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19619 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19620 if test $ac_cv_lib_cExt_drand48 = yes; then
19621 LIBS="$LIBS -lcExt"
19622 fi
19623
19624 else
19625 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19626 fi
19627 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19628 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19629 if test "${wx_cv_gccversion+set}" = set; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19631 else
19632
19633 if test "$cross_compiling" = yes; then
19634 wx_cv_gccversion="EMX2"
19635
19636 else
19637 cat >conftest.$ac_ext <<_ACEOF
19638 /* confdefs.h. */
19639 _ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19643
19644 #include <stdio.h>
19645
19646 int main()
19647 {
19648 FILE *f=fopen("conftestval", "w");
19649 if (!f) exit(1);
19650 fprintf(f,
19651 #if (__GNUC__ < 3)
19652 "EMX2"
19653 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19654 "EMX3"
19655 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19656 "Innotek5"
19657 #else
19658 "Innotek6"
19659 #endif
19660 );
19661 exit(0);
19662 }
19663
19664 _ACEOF
19665 rm -f conftest$ac_exeext
19666 if { (ac_try="$ac_link"
19667 case "(($ac_try" in
19668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19669 *) ac_try_echo=$ac_try;;
19670 esac
19671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19672 (eval "$ac_link") 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19676 { (case "(($ac_try" in
19677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19678 *) ac_try_echo=$ac_try;;
19679 esac
19680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19681 (eval "$ac_try") 2>&5
19682 ac_status=$?
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); }; }; then
19685 wx_cv_gccversion=`cat conftestval`
19686 else
19687 echo "$as_me: program exited with status $ac_status" >&5
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.$ac_ext >&5
19690
19691 ( exit $ac_status )
19692 wx_cv_gccversion="EMX2"
19693 fi
19694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19695 fi
19696
19697
19698
19699 fi
19700 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19701 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19702 if test "$wx_cv_gccversion" = "EMX2"; then
19703 LIBS="$LIBS -lstdcpp"
19704 LDFLAGS="$LDFLAGS -Zsysv-signals"
19705 else
19706 if test "$wx_cv_gccversion" = "EMX3"; then
19707 LIBS="$LIBS -lstdcxx -lgcc"
19708 LDFLAGS="$LDFLAGS -Zsysv-signals"
19709 else
19710 LIBS="$LIBS -lstdc++"
19711 fi
19712 fi
19713 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19714 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19715 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19716 wxUSE_OMF=yes
19717 enable_omf=yes
19718 fi
19719 ;;
19720 *)
19721
19722 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19723 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19724 if test "${ac_cv_string_strcasecmp+set}" = set; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19726 else
19727
19728 cat >conftest.$ac_ext <<_ACEOF
19729 /* confdefs.h. */
19730 _ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734
19735 #include <string.h>
19736
19737 int
19738 main ()
19739 {
19740
19741 strcasecmp("foo", "bar");
19742
19743 ;
19744 return 0;
19745 }
19746 _ACEOF
19747 rm -f conftest.$ac_objext conftest$ac_exeext
19748 if { (ac_try="$ac_link"
19749 case "(($ac_try" in
19750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19751 *) ac_try_echo=$ac_try;;
19752 esac
19753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval "$ac_link") 2>conftest.er1
19755 ac_status=$?
19756 grep -v '^ *+' conftest.er1 >conftest.err
19757 rm -f conftest.er1
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } && {
19761 test -z "$ac_c_werror_flag" ||
19762 test ! -s conftest.err
19763 } && test -s conftest$ac_exeext &&
19764 $as_test_x conftest$ac_exeext; then
19765 ac_cv_string_strcasecmp=yes
19766 else
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.$ac_ext >&5
19769
19770 ac_cv_string_strcasecmp=no
19771
19772 fi
19773
19774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19775 conftest$ac_exeext conftest.$ac_ext
19776
19777 fi
19778 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19779 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19780
19781 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19782 cat >>confdefs.h <<\_ACEOF
19783 #define HAVE_STRCASECMP_IN_STRING_H 1
19784 _ACEOF
19785
19786 else
19787 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19788 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19789 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 else
19792
19793 cat >conftest.$ac_ext <<_ACEOF
19794 /* confdefs.h. */
19795 _ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799
19800 #include <strings.h>
19801
19802 int
19803 main ()
19804 {
19805
19806 strcasecmp("foo", "bar");
19807
19808 ;
19809 return 0;
19810 }
19811 _ACEOF
19812 rm -f conftest.$ac_objext conftest$ac_exeext
19813 if { (ac_try="$ac_link"
19814 case "(($ac_try" in
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19817 esac
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_link") 2>conftest.er1
19820 ac_status=$?
19821 grep -v '^ *+' conftest.er1 >conftest.err
19822 rm -f conftest.er1
19823 cat conftest.err >&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } && {
19826 test -z "$ac_c_werror_flag" ||
19827 test ! -s conftest.err
19828 } && test -s conftest$ac_exeext &&
19829 $as_test_x conftest$ac_exeext; then
19830 ac_cv_strings_strcasecmp=yes
19831 else
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19834
19835 ac_cv_strings_strcasecmp=no
19836
19837 fi
19838
19839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19840 conftest$ac_exeext conftest.$ac_ext
19841
19842 fi
19843 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19844 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19845
19846 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19847 cat >>confdefs.h <<\_ACEOF
19848 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19849 _ACEOF
19850
19851 else
19852 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19853 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19854 { (exit 1); exit 1; }; }
19855 fi
19856 fi
19857
19858 ;;
19859 esac
19860
19861
19862 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19863 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19864 if test "${ac_cv_header_stdc+set}" = set; then
19865 echo $ECHO_N "(cached) $ECHO_C" >&6
19866 else
19867 cat >conftest.$ac_ext <<_ACEOF
19868 /* confdefs.h. */
19869 _ACEOF
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 #include <stdlib.h>
19874 #include <stdarg.h>
19875 #include <string.h>
19876 #include <float.h>
19877
19878 int
19879 main ()
19880 {
19881
19882 ;
19883 return 0;
19884 }
19885 _ACEOF
19886 rm -f conftest.$ac_objext
19887 if { (ac_try="$ac_compile"
19888 case "(($ac_try" in
19889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19890 *) ac_try_echo=$ac_try;;
19891 esac
19892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_compile") 2>conftest.er1
19894 ac_status=$?
19895 grep -v '^ *+' conftest.er1 >conftest.err
19896 rm -f conftest.er1
19897 cat conftest.err >&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); } && {
19900 test -z "$ac_c_werror_flag" ||
19901 test ! -s conftest.err
19902 } && test -s conftest.$ac_objext; then
19903 ac_cv_header_stdc=yes
19904 else
19905 echo "$as_me: failed program was:" >&5
19906 sed 's/^/| /' conftest.$ac_ext >&5
19907
19908 ac_cv_header_stdc=no
19909 fi
19910
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912
19913 if test $ac_cv_header_stdc = yes; then
19914 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 #include <string.h>
19922
19923 _ACEOF
19924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19925 $EGREP "memchr" >/dev/null 2>&1; then
19926 :
19927 else
19928 ac_cv_header_stdc=no
19929 fi
19930 rm -f conftest*
19931
19932 fi
19933
19934 if test $ac_cv_header_stdc = yes; then
19935 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19936 cat >conftest.$ac_ext <<_ACEOF
19937 /* confdefs.h. */
19938 _ACEOF
19939 cat confdefs.h >>conftest.$ac_ext
19940 cat >>conftest.$ac_ext <<_ACEOF
19941 /* end confdefs.h. */
19942 #include <stdlib.h>
19943
19944 _ACEOF
19945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19946 $EGREP "free" >/dev/null 2>&1; then
19947 :
19948 else
19949 ac_cv_header_stdc=no
19950 fi
19951 rm -f conftest*
19952
19953 fi
19954
19955 if test $ac_cv_header_stdc = yes; then
19956 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19957 if test "$cross_compiling" = yes; then
19958 :
19959 else
19960 cat >conftest.$ac_ext <<_ACEOF
19961 /* confdefs.h. */
19962 _ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 #include <ctype.h>
19967 #include <stdlib.h>
19968 #if ((' ' & 0x0FF) == 0x020)
19969 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19970 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19971 #else
19972 # define ISLOWER(c) \
19973 (('a' <= (c) && (c) <= 'i') \
19974 || ('j' <= (c) && (c) <= 'r') \
19975 || ('s' <= (c) && (c) <= 'z'))
19976 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19977 #endif
19978
19979 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19980 int
19981 main ()
19982 {
19983 int i;
19984 for (i = 0; i < 256; i++)
19985 if (XOR (islower (i), ISLOWER (i))
19986 || toupper (i) != TOUPPER (i))
19987 return 2;
19988 return 0;
19989 }
19990 _ACEOF
19991 rm -f conftest$ac_exeext
19992 if { (ac_try="$ac_link"
19993 case "(($ac_try" in
19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19996 esac
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_link") 2>&5
19999 ac_status=$?
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20002 { (case "(($ac_try" in
20003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20004 *) ac_try_echo=$ac_try;;
20005 esac
20006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20007 (eval "$ac_try") 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20011 :
20012 else
20013 echo "$as_me: program exited with status $ac_status" >&5
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.$ac_ext >&5
20016
20017 ( exit $ac_status )
20018 ac_cv_header_stdc=no
20019 fi
20020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20021 fi
20022
20023
20024 fi
20025 fi
20026 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20027 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20028 if test $ac_cv_header_stdc = yes; then
20029
20030 cat >>confdefs.h <<\_ACEOF
20031 #define STDC_HEADERS 1
20032 _ACEOF
20033
20034 fi
20035
20036 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20047 inttypes.h stdint.h unistd.h
20048 do
20049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20053 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 else
20055 cat >conftest.$ac_ext <<_ACEOF
20056 /* confdefs.h. */
20057 _ACEOF
20058 cat confdefs.h >>conftest.$ac_ext
20059 cat >>conftest.$ac_ext <<_ACEOF
20060 /* end confdefs.h. */
20061 $ac_includes_default
20062
20063 #include <$ac_header>
20064 _ACEOF
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20070 esac
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20073 ac_status=$?
20074 grep -v '^ *+' conftest.er1 >conftest.err
20075 rm -f conftest.er1
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20082 eval "$as_ac_Header=yes"
20083 else
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20086
20087 eval "$as_ac_Header=no"
20088 fi
20089
20090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20091 fi
20092 ac_res=`eval echo '${'$as_ac_Header'}'`
20093 { echo "$as_me:$LINENO: result: $ac_res" >&5
20094 echo "${ECHO_T}$ac_res" >&6; }
20095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20096 cat >>confdefs.h <<_ACEOF
20097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20098 _ACEOF
20099
20100 fi
20101
20102 done
20103
20104
20105
20106
20107 for ac_header in langinfo.h wchar.h
20108 do
20109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20113 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 else
20115 cat >conftest.$ac_ext <<_ACEOF
20116 /* confdefs.h. */
20117 _ACEOF
20118 cat confdefs.h >>conftest.$ac_ext
20119 cat >>conftest.$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20121 $ac_includes_default
20122
20123 #include <$ac_header>
20124 _ACEOF
20125 rm -f conftest.$ac_objext
20126 if { (ac_try="$ac_compile"
20127 case "(($ac_try" in
20128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20129 *) ac_try_echo=$ac_try;;
20130 esac
20131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20132 (eval "$ac_compile") 2>conftest.er1
20133 ac_status=$?
20134 grep -v '^ *+' conftest.er1 >conftest.err
20135 rm -f conftest.er1
20136 cat conftest.err >&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } && {
20139 test -z "$ac_c_werror_flag" ||
20140 test ! -s conftest.err
20141 } && test -s conftest.$ac_objext; then
20142 eval "$as_ac_Header=yes"
20143 else
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.$ac_ext >&5
20146
20147 eval "$as_ac_Header=no"
20148 fi
20149
20150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20151 fi
20152 ac_res=`eval echo '${'$as_ac_Header'}'`
20153 { echo "$as_me:$LINENO: result: $ac_res" >&5
20154 echo "${ECHO_T}$ac_res" >&6; }
20155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20156 cat >>confdefs.h <<_ACEOF
20157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20158 _ACEOF
20159
20160 fi
20161
20162 done
20163
20164
20165 if test "$ac_cv_header_wchar_h" != "yes"; then
20166
20167 for ac_header in wcstr.h
20168 do
20169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20170 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20173 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 else
20175 cat >conftest.$ac_ext <<_ACEOF
20176 /* confdefs.h. */
20177 _ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 $ac_includes_default
20182
20183 #include <$ac_header>
20184 _ACEOF
20185 rm -f conftest.$ac_objext
20186 if { (ac_try="$ac_compile"
20187 case "(($ac_try" in
20188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20189 *) ac_try_echo=$ac_try;;
20190 esac
20191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20192 (eval "$ac_compile") 2>conftest.er1
20193 ac_status=$?
20194 grep -v '^ *+' conftest.er1 >conftest.err
20195 rm -f conftest.er1
20196 cat conftest.err >&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && {
20199 test -z "$ac_c_werror_flag" ||
20200 test ! -s conftest.err
20201 } && test -s conftest.$ac_objext; then
20202 eval "$as_ac_Header=yes"
20203 else
20204 echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.$ac_ext >&5
20206
20207 eval "$as_ac_Header=no"
20208 fi
20209
20210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20211 fi
20212 ac_res=`eval echo '${'$as_ac_Header'}'`
20213 { echo "$as_me:$LINENO: result: $ac_res" >&5
20214 echo "${ECHO_T}$ac_res" >&6; }
20215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20216 cat >>confdefs.h <<_ACEOF
20217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20218 _ACEOF
20219
20220 fi
20221
20222 done
20223
20224 fi
20225
20226 case "${host}" in
20227 *-pc-os2_emx | *-pc-os2-emx )
20228 if test $ac_cv_header_langinfo_h = "yes" \
20229 -a \( "$wx_cv_gccversion" = "EMX2" \
20230 -o "$wx_cv_gccversion" = "EMX3" \
20231 -o "$wx_cv_gccversion" = "Innotek5" \); then
20232 LIBS="$LIBS -lintl"
20233 fi
20234 ;;
20235 esac
20236
20237 if test "$USE_UNIX" = 1 ; then
20238
20239 for ac_header in sys/select.h
20240 do
20241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20242 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20246 else
20247 cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h. */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20254
20255 #include <$ac_header>
20256 _ACEOF
20257 rm -f conftest.$ac_objext
20258 if { (ac_try="$ac_compile"
20259 case "(($ac_try" in
20260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20262 esac
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_compile") 2>conftest.er1
20265 ac_status=$?
20266 grep -v '^ *+' conftest.er1 >conftest.err
20267 rm -f conftest.er1
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } && {
20271 test -z "$ac_c_werror_flag" ||
20272 test ! -s conftest.err
20273 } && test -s conftest.$ac_objext; then
20274 eval "$as_ac_Header=yes"
20275 else
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20278
20279 eval "$as_ac_Header=no"
20280 fi
20281
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20283 fi
20284 ac_res=`eval echo '${'$as_ac_Header'}'`
20285 { echo "$as_me:$LINENO: result: $ac_res" >&5
20286 echo "${ECHO_T}$ac_res" >&6; }
20287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20288 cat >>confdefs.h <<_ACEOF
20289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20290 _ACEOF
20291
20292 fi
20293
20294 done
20295
20296 fi
20297
20298
20299 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20300 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20301 if test "${ac_cv_c_const+set}" = set; then
20302 echo $ECHO_N "(cached) $ECHO_C" >&6
20303 else
20304 cat >conftest.$ac_ext <<_ACEOF
20305 /* confdefs.h. */
20306 _ACEOF
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20310
20311 int
20312 main ()
20313 {
20314 /* FIXME: Include the comments suggested by Paul. */
20315 #ifndef __cplusplus
20316 /* Ultrix mips cc rejects this. */
20317 typedef int charset[2];
20318 const charset cs;
20319 /* SunOS 4.1.1 cc rejects this. */
20320 char const *const *pcpcc;
20321 char **ppc;
20322 /* NEC SVR4.0.2 mips cc rejects this. */
20323 struct point {int x, y;};
20324 static struct point const zero = {0,0};
20325 /* AIX XL C 1.02.0.0 rejects this.
20326 It does not let you subtract one const X* pointer from another in
20327 an arm of an if-expression whose if-part is not a constant
20328 expression */
20329 const char *g = "string";
20330 pcpcc = &g + (g ? g-g : 0);
20331 /* HPUX 7.0 cc rejects these. */
20332 ++pcpcc;
20333 ppc = (char**) pcpcc;
20334 pcpcc = (char const *const *) ppc;
20335 { /* SCO 3.2v4 cc rejects this. */
20336 char *t;
20337 char const *s = 0 ? (char *) 0 : (char const *) 0;
20338
20339 *t++ = 0;
20340 if (s) return 0;
20341 }
20342 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20343 int x[] = {25, 17};
20344 const int *foo = &x[0];
20345 ++foo;
20346 }
20347 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20348 typedef const int *iptr;
20349 iptr p = 0;
20350 ++p;
20351 }
20352 { /* AIX XL C 1.02.0.0 rejects this saying
20353 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20354 struct s { int j; const int *ap[3]; };
20355 struct s *b; b->j = 5;
20356 }
20357 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20358 const int foo = 10;
20359 if (!foo) return 0;
20360 }
20361 return !cs[0] && !zero.x;
20362 #endif
20363
20364 ;
20365 return 0;
20366 }
20367 _ACEOF
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20373 esac
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20385 ac_cv_c_const=yes
20386 else
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20389
20390 ac_cv_c_const=no
20391 fi
20392
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20394 fi
20395 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20396 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20397 if test $ac_cv_c_const = no; then
20398
20399 cat >>confdefs.h <<\_ACEOF
20400 #define const
20401 _ACEOF
20402
20403 fi
20404
20405 { echo "$as_me:$LINENO: checking for inline" >&5
20406 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20407 if test "${ac_cv_c_inline+set}" = set; then
20408 echo $ECHO_N "(cached) $ECHO_C" >&6
20409 else
20410 ac_cv_c_inline=no
20411 for ac_kw in inline __inline__ __inline; do
20412 cat >conftest.$ac_ext <<_ACEOF
20413 /* confdefs.h. */
20414 _ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 #ifndef __cplusplus
20419 typedef int foo_t;
20420 static $ac_kw foo_t static_foo () {return 0; }
20421 $ac_kw foo_t foo () {return 0; }
20422 #endif
20423
20424 _ACEOF
20425 rm -f conftest.$ac_objext
20426 if { (ac_try="$ac_compile"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20430 esac
20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_compile") 2>conftest.er1
20433 ac_status=$?
20434 grep -v '^ *+' conftest.er1 >conftest.err
20435 rm -f conftest.er1
20436 cat conftest.err >&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); } && {
20439 test -z "$ac_c_werror_flag" ||
20440 test ! -s conftest.err
20441 } && test -s conftest.$ac_objext; then
20442 ac_cv_c_inline=$ac_kw
20443 else
20444 echo "$as_me: failed program was:" >&5
20445 sed 's/^/| /' conftest.$ac_ext >&5
20446
20447
20448 fi
20449
20450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20451 test "$ac_cv_c_inline" != no && break
20452 done
20453
20454 fi
20455 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20456 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20457
20458
20459 case $ac_cv_c_inline in
20460 inline | yes) ;;
20461 *)
20462 case $ac_cv_c_inline in
20463 no) ac_val=;;
20464 *) ac_val=$ac_cv_c_inline;;
20465 esac
20466 cat >>confdefs.h <<_ACEOF
20467 #ifndef __cplusplus
20468 #define inline $ac_val
20469 #endif
20470 _ACEOF
20471 ;;
20472 esac
20473
20474
20475 { echo "$as_me:$LINENO: checking for short" >&5
20476 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20477 if test "${ac_cv_type_short+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 else
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 typedef short ac__type_new_;
20488 int
20489 main ()
20490 {
20491 if ((ac__type_new_ *) 0)
20492 return 0;
20493 if (sizeof (ac__type_new_))
20494 return 0;
20495 ;
20496 return 0;
20497 }
20498 _ACEOF
20499 rm -f conftest.$ac_objext
20500 if { (ac_try="$ac_compile"
20501 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20504 esac
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_compile") 2>conftest.er1
20507 ac_status=$?
20508 grep -v '^ *+' conftest.er1 >conftest.err
20509 rm -f conftest.er1
20510 cat conftest.err >&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } && {
20513 test -z "$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20515 } && test -s conftest.$ac_objext; then
20516 ac_cv_type_short=yes
20517 else
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20520
20521 ac_cv_type_short=no
20522 fi
20523
20524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 fi
20526 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20527 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20528
20529 # The cast to long int works around a bug in the HP C Compiler
20530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20532 # This bug is HP SR number 8606223364.
20533 { echo "$as_me:$LINENO: checking size of short" >&5
20534 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20535 if test "${ac_cv_sizeof_short+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 else
20538 if test "$cross_compiling" = yes; then
20539 # Depending upon the size, compute the lo and hi bounds.
20540 cat >conftest.$ac_ext <<_ACEOF
20541 /* confdefs.h. */
20542 _ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20547 typedef short ac__type_sizeof_;
20548 int
20549 main ()
20550 {
20551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20552 test_array [0] = 0
20553
20554 ;
20555 return 0;
20556 }
20557 _ACEOF
20558 rm -f conftest.$ac_objext
20559 if { (ac_try="$ac_compile"
20560 case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20563 esac
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_compile") 2>conftest.er1
20566 ac_status=$?
20567 grep -v '^ *+' conftest.er1 >conftest.err
20568 rm -f conftest.er1
20569 cat conftest.err >&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && {
20572 test -z "$ac_c_werror_flag" ||
20573 test ! -s conftest.err
20574 } && test -s conftest.$ac_objext; then
20575 ac_lo=0 ac_mid=0
20576 while :; do
20577 cat >conftest.$ac_ext <<_ACEOF
20578 /* confdefs.h. */
20579 _ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20584 typedef short ac__type_sizeof_;
20585 int
20586 main ()
20587 {
20588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20589 test_array [0] = 0
20590
20591 ;
20592 return 0;
20593 }
20594 _ACEOF
20595 rm -f conftest.$ac_objext
20596 if { (ac_try="$ac_compile"
20597 case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20600 esac
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_compile") 2>conftest.er1
20603 ac_status=$?
20604 grep -v '^ *+' conftest.er1 >conftest.err
20605 rm -f conftest.er1
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } && {
20609 test -z "$ac_c_werror_flag" ||
20610 test ! -s conftest.err
20611 } && test -s conftest.$ac_objext; then
20612 ac_hi=$ac_mid; break
20613 else
20614 echo "$as_me: failed program was:" >&5
20615 sed 's/^/| /' conftest.$ac_ext >&5
20616
20617 ac_lo=`expr $ac_mid + 1`
20618 if test $ac_lo -le $ac_mid; then
20619 ac_lo= ac_hi=
20620 break
20621 fi
20622 ac_mid=`expr 2 '*' $ac_mid + 1`
20623 fi
20624
20625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20626 done
20627 else
20628 echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.$ac_ext >&5
20630
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef short ac__type_sizeof_;
20639 int
20640 main ()
20641 {
20642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20643 test_array [0] = 0
20644
20645 ;
20646 return 0;
20647 }
20648 _ACEOF
20649 rm -f conftest.$ac_objext
20650 if { (ac_try="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20654 esac
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.$ac_objext; then
20666 ac_hi=-1 ac_mid=-1
20667 while :; do
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef short ac__type_sizeof_;
20676 int
20677 main ()
20678 {
20679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20680 test_array [0] = 0
20681
20682 ;
20683 return 0;
20684 }
20685 _ACEOF
20686 rm -f conftest.$ac_objext
20687 if { (ac_try="$ac_compile"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20691 esac
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_compile") 2>conftest.er1
20694 ac_status=$?
20695 grep -v '^ *+' conftest.er1 >conftest.err
20696 rm -f conftest.er1
20697 cat conftest.err >&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && {
20700 test -z "$ac_c_werror_flag" ||
20701 test ! -s conftest.err
20702 } && test -s conftest.$ac_objext; then
20703 ac_lo=$ac_mid; break
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20707
20708 ac_hi=`expr '(' $ac_mid ')' - 1`
20709 if test $ac_mid -le $ac_hi; then
20710 ac_lo= ac_hi=
20711 break
20712 fi
20713 ac_mid=`expr 2 '*' $ac_mid`
20714 fi
20715
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 done
20718 else
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20721
20722 ac_lo= ac_hi=
20723 fi
20724
20725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20726 fi
20727
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729 # Binary search between lo and hi bounds.
20730 while test "x$ac_lo" != "x$ac_hi"; do
20731 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20732 cat >conftest.$ac_ext <<_ACEOF
20733 /* confdefs.h. */
20734 _ACEOF
20735 cat confdefs.h >>conftest.$ac_ext
20736 cat >>conftest.$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 $ac_includes_default
20739 typedef short ac__type_sizeof_;
20740 int
20741 main ()
20742 {
20743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20744 test_array [0] = 0
20745
20746 ;
20747 return 0;
20748 }
20749 _ACEOF
20750 rm -f conftest.$ac_objext
20751 if { (ac_try="$ac_compile"
20752 case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20755 esac
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_compile") 2>conftest.er1
20758 ac_status=$?
20759 grep -v '^ *+' conftest.er1 >conftest.err
20760 rm -f conftest.er1
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } && {
20764 test -z "$ac_c_werror_flag" ||
20765 test ! -s conftest.err
20766 } && test -s conftest.$ac_objext; then
20767 ac_hi=$ac_mid
20768 else
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20771
20772 ac_lo=`expr '(' $ac_mid ')' + 1`
20773 fi
20774
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20776 done
20777 case $ac_lo in
20778 ?*) ac_cv_sizeof_short=$ac_lo;;
20779 '') if test "$ac_cv_type_short" = yes; then
20780 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20781 See \`config.log' for more details." >&5
20782 echo "$as_me: error: cannot compute sizeof (short)
20783 See \`config.log' for more details." >&2;}
20784 { (exit 77); exit 77; }; }
20785 else
20786 ac_cv_sizeof_short=0
20787 fi ;;
20788 esac
20789 else
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 short ac__type_sizeof_;
20798 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20799 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20800 #include <stdio.h>
20801 #include <stdlib.h>
20802 int
20803 main ()
20804 {
20805
20806 FILE *f = fopen ("conftest.val", "w");
20807 if (! f)
20808 return 1;
20809 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20810 {
20811 long int i = longval ();
20812 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20813 return 1;
20814 fprintf (f, "%ld\n", i);
20815 }
20816 else
20817 {
20818 unsigned long int i = ulongval ();
20819 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20820 return 1;
20821 fprintf (f, "%lu\n", i);
20822 }
20823 return ferror (f) || fclose (f) != 0;
20824
20825 ;
20826 return 0;
20827 }
20828 _ACEOF
20829 rm -f conftest$ac_exeext
20830 if { (ac_try="$ac_link"
20831 case "(($ac_try" in
20832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20833 *) ac_try_echo=$ac_try;;
20834 esac
20835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20836 (eval "$ac_link") 2>&5
20837 ac_status=$?
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20840 { (case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_try") 2>&5
20846 ac_status=$?
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_cv_sizeof_short=`cat conftest.val`
20850 else
20851 echo "$as_me: program exited with status $ac_status" >&5
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20854
20855 ( exit $ac_status )
20856 if test "$ac_cv_type_short" = yes; then
20857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20858 See \`config.log' for more details." >&5
20859 echo "$as_me: error: cannot compute sizeof (short)
20860 See \`config.log' for more details." >&2;}
20861 { (exit 77); exit 77; }; }
20862 else
20863 ac_cv_sizeof_short=0
20864 fi
20865 fi
20866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20867 fi
20868 rm -f conftest.val
20869 fi
20870 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20871 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20872
20873
20874
20875 cat >>confdefs.h <<_ACEOF
20876 #define SIZEOF_SHORT $ac_cv_sizeof_short
20877 _ACEOF
20878
20879
20880 { echo "$as_me:$LINENO: checking for void *" >&5
20881 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20882 if test "${ac_cv_type_void_p+set}" = set; then
20883 echo $ECHO_N "(cached) $ECHO_C" >&6
20884 else
20885 cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h. */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 $ac_includes_default
20892 typedef void * ac__type_new_;
20893 int
20894 main ()
20895 {
20896 if ((ac__type_new_ *) 0)
20897 return 0;
20898 if (sizeof (ac__type_new_))
20899 return 0;
20900 ;
20901 return 0;
20902 }
20903 _ACEOF
20904 rm -f conftest.$ac_objext
20905 if { (ac_try="$ac_compile"
20906 case "(($ac_try" in
20907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20908 *) ac_try_echo=$ac_try;;
20909 esac
20910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20911 (eval "$ac_compile") 2>conftest.er1
20912 ac_status=$?
20913 grep -v '^ *+' conftest.er1 >conftest.err
20914 rm -f conftest.er1
20915 cat conftest.err >&5
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); } && {
20918 test -z "$ac_c_werror_flag" ||
20919 test ! -s conftest.err
20920 } && test -s conftest.$ac_objext; then
20921 ac_cv_type_void_p=yes
20922 else
20923 echo "$as_me: failed program was:" >&5
20924 sed 's/^/| /' conftest.$ac_ext >&5
20925
20926 ac_cv_type_void_p=no
20927 fi
20928
20929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20930 fi
20931 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20932 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20933
20934 # The cast to long int works around a bug in the HP C Compiler
20935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20937 # This bug is HP SR number 8606223364.
20938 { echo "$as_me:$LINENO: checking size of void *" >&5
20939 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20940 if test "${ac_cv_sizeof_void_p+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 else
20943 if test "$cross_compiling" = yes; then
20944 # Depending upon the size, compute the lo and hi bounds.
20945 cat >conftest.$ac_ext <<_ACEOF
20946 /* confdefs.h. */
20947 _ACEOF
20948 cat confdefs.h >>conftest.$ac_ext
20949 cat >>conftest.$ac_ext <<_ACEOF
20950 /* end confdefs.h. */
20951 $ac_includes_default
20952 typedef void * ac__type_sizeof_;
20953 int
20954 main ()
20955 {
20956 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20957 test_array [0] = 0
20958
20959 ;
20960 return 0;
20961 }
20962 _ACEOF
20963 rm -f conftest.$ac_objext
20964 if { (ac_try="$ac_compile"
20965 case "(($ac_try" in
20966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20967 *) ac_try_echo=$ac_try;;
20968 esac
20969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20970 (eval "$ac_compile") 2>conftest.er1
20971 ac_status=$?
20972 grep -v '^ *+' conftest.er1 >conftest.err
20973 rm -f conftest.er1
20974 cat conftest.err >&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } && {
20977 test -z "$ac_c_werror_flag" ||
20978 test ! -s conftest.err
20979 } && test -s conftest.$ac_objext; then
20980 ac_lo=0 ac_mid=0
20981 while :; do
20982 cat >conftest.$ac_ext <<_ACEOF
20983 /* confdefs.h. */
20984 _ACEOF
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 $ac_includes_default
20989 typedef void * ac__type_sizeof_;
20990 int
20991 main ()
20992 {
20993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20994 test_array [0] = 0
20995
20996 ;
20997 return 0;
20998 }
20999 _ACEOF
21000 rm -f conftest.$ac_objext
21001 if { (ac_try="$ac_compile"
21002 case "(($ac_try" in
21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21005 esac
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_compile") 2>conftest.er1
21008 ac_status=$?
21009 grep -v '^ *+' conftest.er1 >conftest.err
21010 rm -f conftest.er1
21011 cat conftest.err >&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } && {
21014 test -z "$ac_c_werror_flag" ||
21015 test ! -s conftest.err
21016 } && test -s conftest.$ac_objext; then
21017 ac_hi=$ac_mid; break
21018 else
21019 echo "$as_me: failed program was:" >&5
21020 sed 's/^/| /' conftest.$ac_ext >&5
21021
21022 ac_lo=`expr $ac_mid + 1`
21023 if test $ac_lo -le $ac_mid; then
21024 ac_lo= ac_hi=
21025 break
21026 fi
21027 ac_mid=`expr 2 '*' $ac_mid + 1`
21028 fi
21029
21030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21031 done
21032 else
21033 echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.$ac_ext >&5
21035
21036 cat >conftest.$ac_ext <<_ACEOF
21037 /* confdefs.h. */
21038 _ACEOF
21039 cat confdefs.h >>conftest.$ac_ext
21040 cat >>conftest.$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 $ac_includes_default
21043 typedef void * ac__type_sizeof_;
21044 int
21045 main ()
21046 {
21047 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21048 test_array [0] = 0
21049
21050 ;
21051 return 0;
21052 }
21053 _ACEOF
21054 rm -f conftest.$ac_objext
21055 if { (ac_try="$ac_compile"
21056 case "(($ac_try" in
21057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21058 *) ac_try_echo=$ac_try;;
21059 esac
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21062 ac_status=$?
21063 grep -v '^ *+' conftest.er1 >conftest.err
21064 rm -f conftest.er1
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && {
21068 test -z "$ac_c_werror_flag" ||
21069 test ! -s conftest.err
21070 } && test -s conftest.$ac_objext; then
21071 ac_hi=-1 ac_mid=-1
21072 while :; do
21073 cat >conftest.$ac_ext <<_ACEOF
21074 /* confdefs.h. */
21075 _ACEOF
21076 cat confdefs.h >>conftest.$ac_ext
21077 cat >>conftest.$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079 $ac_includes_default
21080 typedef void * ac__type_sizeof_;
21081 int
21082 main ()
21083 {
21084 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21085 test_array [0] = 0
21086
21087 ;
21088 return 0;
21089 }
21090 _ACEOF
21091 rm -f conftest.$ac_objext
21092 if { (ac_try="$ac_compile"
21093 case "(($ac_try" in
21094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21095 *) ac_try_echo=$ac_try;;
21096 esac
21097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21098 (eval "$ac_compile") 2>conftest.er1
21099 ac_status=$?
21100 grep -v '^ *+' conftest.er1 >conftest.err
21101 rm -f conftest.er1
21102 cat conftest.err >&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } && {
21105 test -z "$ac_c_werror_flag" ||
21106 test ! -s conftest.err
21107 } && test -s conftest.$ac_objext; then
21108 ac_lo=$ac_mid; break
21109 else
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.$ac_ext >&5
21112
21113 ac_hi=`expr '(' $ac_mid ')' - 1`
21114 if test $ac_mid -le $ac_hi; then
21115 ac_lo= ac_hi=
21116 break
21117 fi
21118 ac_mid=`expr 2 '*' $ac_mid`
21119 fi
21120
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 done
21123 else
21124 echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.$ac_ext >&5
21126
21127 ac_lo= ac_hi=
21128 fi
21129
21130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21131 fi
21132
21133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21134 # Binary search between lo and hi bounds.
21135 while test "x$ac_lo" != "x$ac_hi"; do
21136 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21137 cat >conftest.$ac_ext <<_ACEOF
21138 /* confdefs.h. */
21139 _ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 typedef void * ac__type_sizeof_;
21145 int
21146 main ()
21147 {
21148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21149 test_array [0] = 0
21150
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 rm -f conftest.$ac_objext
21156 if { (ac_try="$ac_compile"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21160 esac
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_compile") 2>conftest.er1
21163 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest.$ac_objext; then
21172 ac_hi=$ac_mid
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 ac_lo=`expr '(' $ac_mid ')' + 1`
21178 fi
21179
21180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 done
21182 case $ac_lo in
21183 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21184 '') if test "$ac_cv_type_void_p" = yes; then
21185 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21186 See \`config.log' for more details." >&5
21187 echo "$as_me: error: cannot compute sizeof (void *)
21188 See \`config.log' for more details." >&2;}
21189 { (exit 77); exit 77; }; }
21190 else
21191 ac_cv_sizeof_void_p=0
21192 fi ;;
21193 esac
21194 else
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 void * ac__type_sizeof_;
21203 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21204 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21205 #include <stdio.h>
21206 #include <stdlib.h>
21207 int
21208 main ()
21209 {
21210
21211 FILE *f = fopen ("conftest.val", "w");
21212 if (! f)
21213 return 1;
21214 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21215 {
21216 long int i = longval ();
21217 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21218 return 1;
21219 fprintf (f, "%ld\n", i);
21220 }
21221 else
21222 {
21223 unsigned long int i = ulongval ();
21224 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21225 return 1;
21226 fprintf (f, "%lu\n", i);
21227 }
21228 return ferror (f) || fclose (f) != 0;
21229
21230 ;
21231 return 0;
21232 }
21233 _ACEOF
21234 rm -f conftest$ac_exeext
21235 if { (ac_try="$ac_link"
21236 case "(($ac_try" in
21237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21238 *) ac_try_echo=$ac_try;;
21239 esac
21240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21241 (eval "$ac_link") 2>&5
21242 ac_status=$?
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21245 { (case "(($ac_try" in
21246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21247 *) ac_try_echo=$ac_try;;
21248 esac
21249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21250 (eval "$ac_try") 2>&5
21251 ac_status=$?
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); }; }; then
21254 ac_cv_sizeof_void_p=`cat conftest.val`
21255 else
21256 echo "$as_me: program exited with status $ac_status" >&5
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ( exit $ac_status )
21261 if test "$ac_cv_type_void_p" = yes; then
21262 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21263 See \`config.log' for more details." >&5
21264 echo "$as_me: error: cannot compute sizeof (void *)
21265 See \`config.log' for more details." >&2;}
21266 { (exit 77); exit 77; }; }
21267 else
21268 ac_cv_sizeof_void_p=0
21269 fi
21270 fi
21271 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21272 fi
21273 rm -f conftest.val
21274 fi
21275 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21276 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21277
21278
21279
21280 cat >>confdefs.h <<_ACEOF
21281 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21282 _ACEOF
21283
21284
21285 { echo "$as_me:$LINENO: checking for int" >&5
21286 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21287 if test "${ac_cv_type_int+set}" = set; then
21288 echo $ECHO_N "(cached) $ECHO_C" >&6
21289 else
21290 cat >conftest.$ac_ext <<_ACEOF
21291 /* confdefs.h. */
21292 _ACEOF
21293 cat confdefs.h >>conftest.$ac_ext
21294 cat >>conftest.$ac_ext <<_ACEOF
21295 /* end confdefs.h. */
21296 $ac_includes_default
21297 typedef int ac__type_new_;
21298 int
21299 main ()
21300 {
21301 if ((ac__type_new_ *) 0)
21302 return 0;
21303 if (sizeof (ac__type_new_))
21304 return 0;
21305 ;
21306 return 0;
21307 }
21308 _ACEOF
21309 rm -f conftest.$ac_objext
21310 if { (ac_try="$ac_compile"
21311 case "(($ac_try" in
21312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21313 *) ac_try_echo=$ac_try;;
21314 esac
21315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21316 (eval "$ac_compile") 2>conftest.er1
21317 ac_status=$?
21318 grep -v '^ *+' conftest.er1 >conftest.err
21319 rm -f conftest.er1
21320 cat conftest.err >&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } && {
21323 test -z "$ac_c_werror_flag" ||
21324 test ! -s conftest.err
21325 } && test -s conftest.$ac_objext; then
21326 ac_cv_type_int=yes
21327 else
21328 echo "$as_me: failed program was:" >&5
21329 sed 's/^/| /' conftest.$ac_ext >&5
21330
21331 ac_cv_type_int=no
21332 fi
21333
21334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21335 fi
21336 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21337 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21338
21339 # The cast to long int works around a bug in the HP C Compiler
21340 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21341 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21342 # This bug is HP SR number 8606223364.
21343 { echo "$as_me:$LINENO: checking size of int" >&5
21344 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21345 if test "${ac_cv_sizeof_int+set}" = set; then
21346 echo $ECHO_N "(cached) $ECHO_C" >&6
21347 else
21348 if test "$cross_compiling" = yes; then
21349 # Depending upon the size, compute the lo and hi bounds.
21350 cat >conftest.$ac_ext <<_ACEOF
21351 /* confdefs.h. */
21352 _ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 $ac_includes_default
21357 typedef int ac__type_sizeof_;
21358 int
21359 main ()
21360 {
21361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21362 test_array [0] = 0
21363
21364 ;
21365 return 0;
21366 }
21367 _ACEOF
21368 rm -f conftest.$ac_objext
21369 if { (ac_try="$ac_compile"
21370 case "(($ac_try" in
21371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21372 *) ac_try_echo=$ac_try;;
21373 esac
21374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21375 (eval "$ac_compile") 2>conftest.er1
21376 ac_status=$?
21377 grep -v '^ *+' conftest.er1 >conftest.err
21378 rm -f conftest.er1
21379 cat conftest.err >&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); } && {
21382 test -z "$ac_c_werror_flag" ||
21383 test ! -s conftest.err
21384 } && test -s conftest.$ac_objext; then
21385 ac_lo=0 ac_mid=0
21386 while :; do
21387 cat >conftest.$ac_ext <<_ACEOF
21388 /* confdefs.h. */
21389 _ACEOF
21390 cat confdefs.h >>conftest.$ac_ext
21391 cat >>conftest.$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21393 $ac_includes_default
21394 typedef int ac__type_sizeof_;
21395 int
21396 main ()
21397 {
21398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21399 test_array [0] = 0
21400
21401 ;
21402 return 0;
21403 }
21404 _ACEOF
21405 rm -f conftest.$ac_objext
21406 if { (ac_try="$ac_compile"
21407 case "(($ac_try" in
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21410 esac
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_compile") 2>conftest.er1
21413 ac_status=$?
21414 grep -v '^ *+' conftest.er1 >conftest.err
21415 rm -f conftest.er1
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); } && {
21419 test -z "$ac_c_werror_flag" ||
21420 test ! -s conftest.err
21421 } && test -s conftest.$ac_objext; then
21422 ac_hi=$ac_mid; break
21423 else
21424 echo "$as_me: failed program was:" >&5
21425 sed 's/^/| /' conftest.$ac_ext >&5
21426
21427 ac_lo=`expr $ac_mid + 1`
21428 if test $ac_lo -le $ac_mid; then
21429 ac_lo= ac_hi=
21430 break
21431 fi
21432 ac_mid=`expr 2 '*' $ac_mid + 1`
21433 fi
21434
21435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21436 done
21437 else
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 cat >conftest.$ac_ext <<_ACEOF
21442 /* confdefs.h. */
21443 _ACEOF
21444 cat confdefs.h >>conftest.$ac_ext
21445 cat >>conftest.$ac_ext <<_ACEOF
21446 /* end confdefs.h. */
21447 $ac_includes_default
21448 typedef int ac__type_sizeof_;
21449 int
21450 main ()
21451 {
21452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21453 test_array [0] = 0
21454
21455 ;
21456 return 0;
21457 }
21458 _ACEOF
21459 rm -f conftest.$ac_objext
21460 if { (ac_try="$ac_compile"
21461 case "(($ac_try" in
21462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21463 *) ac_try_echo=$ac_try;;
21464 esac
21465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21466 (eval "$ac_compile") 2>conftest.er1
21467 ac_status=$?
21468 grep -v '^ *+' conftest.er1 >conftest.err
21469 rm -f conftest.er1
21470 cat conftest.err >&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } && {
21473 test -z "$ac_c_werror_flag" ||
21474 test ! -s conftest.err
21475 } && test -s conftest.$ac_objext; then
21476 ac_hi=-1 ac_mid=-1
21477 while :; do
21478 cat >conftest.$ac_ext <<_ACEOF
21479 /* confdefs.h. */
21480 _ACEOF
21481 cat confdefs.h >>conftest.$ac_ext
21482 cat >>conftest.$ac_ext <<_ACEOF
21483 /* end confdefs.h. */
21484 $ac_includes_default
21485 typedef int ac__type_sizeof_;
21486 int
21487 main ()
21488 {
21489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21490 test_array [0] = 0
21491
21492 ;
21493 return 0;
21494 }
21495 _ACEOF
21496 rm -f conftest.$ac_objext
21497 if { (ac_try="$ac_compile"
21498 case "(($ac_try" in
21499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21500 *) ac_try_echo=$ac_try;;
21501 esac
21502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21503 (eval "$ac_compile") 2>conftest.er1
21504 ac_status=$?
21505 grep -v '^ *+' conftest.er1 >conftest.err
21506 rm -f conftest.er1
21507 cat conftest.err >&5
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); } && {
21510 test -z "$ac_c_werror_flag" ||
21511 test ! -s conftest.err
21512 } && test -s conftest.$ac_objext; then
21513 ac_lo=$ac_mid; break
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21517
21518 ac_hi=`expr '(' $ac_mid ')' - 1`
21519 if test $ac_mid -le $ac_hi; then
21520 ac_lo= ac_hi=
21521 break
21522 fi
21523 ac_mid=`expr 2 '*' $ac_mid`
21524 fi
21525
21526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21527 done
21528 else
21529 echo "$as_me: failed program was:" >&5
21530 sed 's/^/| /' conftest.$ac_ext >&5
21531
21532 ac_lo= ac_hi=
21533 fi
21534
21535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21536 fi
21537
21538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 # Binary search between lo and hi bounds.
21540 while test "x$ac_lo" != "x$ac_hi"; do
21541 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21542 cat >conftest.$ac_ext <<_ACEOF
21543 /* confdefs.h. */
21544 _ACEOF
21545 cat confdefs.h >>conftest.$ac_ext
21546 cat >>conftest.$ac_ext <<_ACEOF
21547 /* end confdefs.h. */
21548 $ac_includes_default
21549 typedef int ac__type_sizeof_;
21550 int
21551 main ()
21552 {
21553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21554 test_array [0] = 0
21555
21556 ;
21557 return 0;
21558 }
21559 _ACEOF
21560 rm -f conftest.$ac_objext
21561 if { (ac_try="$ac_compile"
21562 case "(($ac_try" in
21563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21564 *) ac_try_echo=$ac_try;;
21565 esac
21566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21567 (eval "$ac_compile") 2>conftest.er1
21568 ac_status=$?
21569 grep -v '^ *+' conftest.er1 >conftest.err
21570 rm -f conftest.er1
21571 cat conftest.err >&5
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); } && {
21574 test -z "$ac_c_werror_flag" ||
21575 test ! -s conftest.err
21576 } && test -s conftest.$ac_objext; then
21577 ac_hi=$ac_mid
21578 else
21579 echo "$as_me: failed program was:" >&5
21580 sed 's/^/| /' conftest.$ac_ext >&5
21581
21582 ac_lo=`expr '(' $ac_mid ')' + 1`
21583 fi
21584
21585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21586 done
21587 case $ac_lo in
21588 ?*) ac_cv_sizeof_int=$ac_lo;;
21589 '') if test "$ac_cv_type_int" = yes; then
21590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21591 See \`config.log' for more details." >&5
21592 echo "$as_me: error: cannot compute sizeof (int)
21593 See \`config.log' for more details." >&2;}
21594 { (exit 77); exit 77; }; }
21595 else
21596 ac_cv_sizeof_int=0
21597 fi ;;
21598 esac
21599 else
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 int ac__type_sizeof_;
21608 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21609 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21610 #include <stdio.h>
21611 #include <stdlib.h>
21612 int
21613 main ()
21614 {
21615
21616 FILE *f = fopen ("conftest.val", "w");
21617 if (! f)
21618 return 1;
21619 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21620 {
21621 long int i = longval ();
21622 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21623 return 1;
21624 fprintf (f, "%ld\n", i);
21625 }
21626 else
21627 {
21628 unsigned long int i = ulongval ();
21629 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21630 return 1;
21631 fprintf (f, "%lu\n", i);
21632 }
21633 return ferror (f) || fclose (f) != 0;
21634
21635 ;
21636 return 0;
21637 }
21638 _ACEOF
21639 rm -f conftest$ac_exeext
21640 if { (ac_try="$ac_link"
21641 case "(($ac_try" in
21642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21643 *) ac_try_echo=$ac_try;;
21644 esac
21645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21646 (eval "$ac_link") 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21650 { (case "(($ac_try" in
21651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652 *) ac_try_echo=$ac_try;;
21653 esac
21654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_try") 2>&5
21656 ac_status=$?
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_cv_sizeof_int=`cat conftest.val`
21660 else
21661 echo "$as_me: program exited with status $ac_status" >&5
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21664
21665 ( exit $ac_status )
21666 if test "$ac_cv_type_int" = yes; then
21667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21668 See \`config.log' for more details." >&5
21669 echo "$as_me: error: cannot compute sizeof (int)
21670 See \`config.log' for more details." >&2;}
21671 { (exit 77); exit 77; }; }
21672 else
21673 ac_cv_sizeof_int=0
21674 fi
21675 fi
21676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21677 fi
21678 rm -f conftest.val
21679 fi
21680 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21681 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21682
21683
21684
21685 cat >>confdefs.h <<_ACEOF
21686 #define SIZEOF_INT $ac_cv_sizeof_int
21687 _ACEOF
21688
21689
21690 { echo "$as_me:$LINENO: checking for long" >&5
21691 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21692 if test "${ac_cv_type_long+set}" = set; then
21693 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 else
21695 cat >conftest.$ac_ext <<_ACEOF
21696 /* confdefs.h. */
21697 _ACEOF
21698 cat confdefs.h >>conftest.$ac_ext
21699 cat >>conftest.$ac_ext <<_ACEOF
21700 /* end confdefs.h. */
21701 $ac_includes_default
21702 typedef long ac__type_new_;
21703 int
21704 main ()
21705 {
21706 if ((ac__type_new_ *) 0)
21707 return 0;
21708 if (sizeof (ac__type_new_))
21709 return 0;
21710 ;
21711 return 0;
21712 }
21713 _ACEOF
21714 rm -f conftest.$ac_objext
21715 if { (ac_try="$ac_compile"
21716 case "(($ac_try" in
21717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21718 *) ac_try_echo=$ac_try;;
21719 esac
21720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21721 (eval "$ac_compile") 2>conftest.er1
21722 ac_status=$?
21723 grep -v '^ *+' conftest.er1 >conftest.err
21724 rm -f conftest.er1
21725 cat conftest.err >&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); } && {
21728 test -z "$ac_c_werror_flag" ||
21729 test ! -s conftest.err
21730 } && test -s conftest.$ac_objext; then
21731 ac_cv_type_long=yes
21732 else
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.$ac_ext >&5
21735
21736 ac_cv_type_long=no
21737 fi
21738
21739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21740 fi
21741 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21742 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21743
21744 # The cast to long int works around a bug in the HP C Compiler
21745 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21746 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21747 # This bug is HP SR number 8606223364.
21748 { echo "$as_me:$LINENO: checking size of long" >&5
21749 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21750 if test "${ac_cv_sizeof_long+set}" = set; then
21751 echo $ECHO_N "(cached) $ECHO_C" >&6
21752 else
21753 if test "$cross_compiling" = yes; then
21754 # Depending upon the size, compute the lo and hi bounds.
21755 cat >conftest.$ac_ext <<_ACEOF
21756 /* confdefs.h. */
21757 _ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 $ac_includes_default
21762 typedef long ac__type_sizeof_;
21763 int
21764 main ()
21765 {
21766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21767 test_array [0] = 0
21768
21769 ;
21770 return 0;
21771 }
21772 _ACEOF
21773 rm -f conftest.$ac_objext
21774 if { (ac_try="$ac_compile"
21775 case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21777 *) ac_try_echo=$ac_try;;
21778 esac
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_compile") 2>conftest.er1
21781 ac_status=$?
21782 grep -v '^ *+' conftest.er1 >conftest.err
21783 rm -f conftest.er1
21784 cat conftest.err >&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } && {
21787 test -z "$ac_c_werror_flag" ||
21788 test ! -s conftest.err
21789 } && test -s conftest.$ac_objext; then
21790 ac_lo=0 ac_mid=0
21791 while :; do
21792 cat >conftest.$ac_ext <<_ACEOF
21793 /* confdefs.h. */
21794 _ACEOF
21795 cat confdefs.h >>conftest.$ac_ext
21796 cat >>conftest.$ac_ext <<_ACEOF
21797 /* end confdefs.h. */
21798 $ac_includes_default
21799 typedef long ac__type_sizeof_;
21800 int
21801 main ()
21802 {
21803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21804 test_array [0] = 0
21805
21806 ;
21807 return 0;
21808 }
21809 _ACEOF
21810 rm -f conftest.$ac_objext
21811 if { (ac_try="$ac_compile"
21812 case "(($ac_try" in
21813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21814 *) ac_try_echo=$ac_try;;
21815 esac
21816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21817 (eval "$ac_compile") 2>conftest.er1
21818 ac_status=$?
21819 grep -v '^ *+' conftest.er1 >conftest.err
21820 rm -f conftest.er1
21821 cat conftest.err >&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } && {
21824 test -z "$ac_c_werror_flag" ||
21825 test ! -s conftest.err
21826 } && test -s conftest.$ac_objext; then
21827 ac_hi=$ac_mid; break
21828 else
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.$ac_ext >&5
21831
21832 ac_lo=`expr $ac_mid + 1`
21833 if test $ac_lo -le $ac_mid; then
21834 ac_lo= ac_hi=
21835 break
21836 fi
21837 ac_mid=`expr 2 '*' $ac_mid + 1`
21838 fi
21839
21840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21841 done
21842 else
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21845
21846 cat >conftest.$ac_ext <<_ACEOF
21847 /* confdefs.h. */
21848 _ACEOF
21849 cat confdefs.h >>conftest.$ac_ext
21850 cat >>conftest.$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21852 $ac_includes_default
21853 typedef long ac__type_sizeof_;
21854 int
21855 main ()
21856 {
21857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21858 test_array [0] = 0
21859
21860 ;
21861 return 0;
21862 }
21863 _ACEOF
21864 rm -f conftest.$ac_objext
21865 if { (ac_try="$ac_compile"
21866 case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21869 esac
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_compile") 2>conftest.er1
21872 ac_status=$?
21873 grep -v '^ *+' conftest.er1 >conftest.err
21874 rm -f conftest.er1
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } && {
21878 test -z "$ac_c_werror_flag" ||
21879 test ! -s conftest.err
21880 } && test -s conftest.$ac_objext; then
21881 ac_hi=-1 ac_mid=-1
21882 while :; do
21883 cat >conftest.$ac_ext <<_ACEOF
21884 /* confdefs.h. */
21885 _ACEOF
21886 cat confdefs.h >>conftest.$ac_ext
21887 cat >>conftest.$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889 $ac_includes_default
21890 typedef long ac__type_sizeof_;
21891 int
21892 main ()
21893 {
21894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21895 test_array [0] = 0
21896
21897 ;
21898 return 0;
21899 }
21900 _ACEOF
21901 rm -f conftest.$ac_objext
21902 if { (ac_try="$ac_compile"
21903 case "(($ac_try" in
21904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21905 *) ac_try_echo=$ac_try;;
21906 esac
21907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21908 (eval "$ac_compile") 2>conftest.er1
21909 ac_status=$?
21910 grep -v '^ *+' conftest.er1 >conftest.err
21911 rm -f conftest.er1
21912 cat conftest.err >&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); } && {
21915 test -z "$ac_c_werror_flag" ||
21916 test ! -s conftest.err
21917 } && test -s conftest.$ac_objext; then
21918 ac_lo=$ac_mid; break
21919 else
21920 echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.$ac_ext >&5
21922
21923 ac_hi=`expr '(' $ac_mid ')' - 1`
21924 if test $ac_mid -le $ac_hi; then
21925 ac_lo= ac_hi=
21926 break
21927 fi
21928 ac_mid=`expr 2 '*' $ac_mid`
21929 fi
21930
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21932 done
21933 else
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.$ac_ext >&5
21936
21937 ac_lo= ac_hi=
21938 fi
21939
21940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21941 fi
21942
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944 # Binary search between lo and hi bounds.
21945 while test "x$ac_lo" != "x$ac_hi"; do
21946 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21947 cat >conftest.$ac_ext <<_ACEOF
21948 /* confdefs.h. */
21949 _ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953 $ac_includes_default
21954 typedef long ac__type_sizeof_;
21955 int
21956 main ()
21957 {
21958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21959 test_array [0] = 0
21960
21961 ;
21962 return 0;
21963 }
21964 _ACEOF
21965 rm -f conftest.$ac_objext
21966 if { (ac_try="$ac_compile"
21967 case "(($ac_try" in
21968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21969 *) ac_try_echo=$ac_try;;
21970 esac
21971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21972 (eval "$ac_compile") 2>conftest.er1
21973 ac_status=$?
21974 grep -v '^ *+' conftest.er1 >conftest.err
21975 rm -f conftest.er1
21976 cat conftest.err >&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } && {
21979 test -z "$ac_c_werror_flag" ||
21980 test ! -s conftest.err
21981 } && test -s conftest.$ac_objext; then
21982 ac_hi=$ac_mid
21983 else
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.$ac_ext >&5
21986
21987 ac_lo=`expr '(' $ac_mid ')' + 1`
21988 fi
21989
21990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21991 done
21992 case $ac_lo in
21993 ?*) ac_cv_sizeof_long=$ac_lo;;
21994 '') if test "$ac_cv_type_long" = yes; then
21995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21996 See \`config.log' for more details." >&5
21997 echo "$as_me: error: cannot compute sizeof (long)
21998 See \`config.log' for more details." >&2;}
21999 { (exit 77); exit 77; }; }
22000 else
22001 ac_cv_sizeof_long=0
22002 fi ;;
22003 esac
22004 else
22005 cat >conftest.$ac_ext <<_ACEOF
22006 /* confdefs.h. */
22007 _ACEOF
22008 cat confdefs.h >>conftest.$ac_ext
22009 cat >>conftest.$ac_ext <<_ACEOF
22010 /* end confdefs.h. */
22011 $ac_includes_default
22012 typedef long ac__type_sizeof_;
22013 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22014 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22015 #include <stdio.h>
22016 #include <stdlib.h>
22017 int
22018 main ()
22019 {
22020
22021 FILE *f = fopen ("conftest.val", "w");
22022 if (! f)
22023 return 1;
22024 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22025 {
22026 long int i = longval ();
22027 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22028 return 1;
22029 fprintf (f, "%ld\n", i);
22030 }
22031 else
22032 {
22033 unsigned long int i = ulongval ();
22034 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22035 return 1;
22036 fprintf (f, "%lu\n", i);
22037 }
22038 return ferror (f) || fclose (f) != 0;
22039
22040 ;
22041 return 0;
22042 }
22043 _ACEOF
22044 rm -f conftest$ac_exeext
22045 if { (ac_try="$ac_link"
22046 case "(($ac_try" in
22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22049 esac
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_link") 2>&5
22052 ac_status=$?
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22055 { (case "(($ac_try" in
22056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22057 *) ac_try_echo=$ac_try;;
22058 esac
22059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22060 (eval "$ac_try") 2>&5
22061 ac_status=$?
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; }; then
22064 ac_cv_sizeof_long=`cat conftest.val`
22065 else
22066 echo "$as_me: program exited with status $ac_status" >&5
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22069
22070 ( exit $ac_status )
22071 if test "$ac_cv_type_long" = yes; then
22072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22073 See \`config.log' for more details." >&5
22074 echo "$as_me: error: cannot compute sizeof (long)
22075 See \`config.log' for more details." >&2;}
22076 { (exit 77); exit 77; }; }
22077 else
22078 ac_cv_sizeof_long=0
22079 fi
22080 fi
22081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22082 fi
22083 rm -f conftest.val
22084 fi
22085 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22086 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22087
22088
22089
22090 cat >>confdefs.h <<_ACEOF
22091 #define SIZEOF_LONG $ac_cv_sizeof_long
22092 _ACEOF
22093
22094
22095 { echo "$as_me:$LINENO: checking for size_t" >&5
22096 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22097 if test "${ac_cv_type_size_t+set}" = set; then
22098 echo $ECHO_N "(cached) $ECHO_C" >&6
22099 else
22100 cat >conftest.$ac_ext <<_ACEOF
22101 /* confdefs.h. */
22102 _ACEOF
22103 cat confdefs.h >>conftest.$ac_ext
22104 cat >>conftest.$ac_ext <<_ACEOF
22105 /* end confdefs.h. */
22106 $ac_includes_default
22107 typedef size_t ac__type_new_;
22108 int
22109 main ()
22110 {
22111 if ((ac__type_new_ *) 0)
22112 return 0;
22113 if (sizeof (ac__type_new_))
22114 return 0;
22115 ;
22116 return 0;
22117 }
22118 _ACEOF
22119 rm -f conftest.$ac_objext
22120 if { (ac_try="$ac_compile"
22121 case "(($ac_try" in
22122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22123 *) ac_try_echo=$ac_try;;
22124 esac
22125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22126 (eval "$ac_compile") 2>conftest.er1
22127 ac_status=$?
22128 grep -v '^ *+' conftest.er1 >conftest.err
22129 rm -f conftest.er1
22130 cat conftest.err >&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } && {
22133 test -z "$ac_c_werror_flag" ||
22134 test ! -s conftest.err
22135 } && test -s conftest.$ac_objext; then
22136 ac_cv_type_size_t=yes
22137 else
22138 echo "$as_me: failed program was:" >&5
22139 sed 's/^/| /' conftest.$ac_ext >&5
22140
22141 ac_cv_type_size_t=no
22142 fi
22143
22144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22145 fi
22146 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22147 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22148
22149 # The cast to long int works around a bug in the HP C Compiler
22150 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22151 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22152 # This bug is HP SR number 8606223364.
22153 { echo "$as_me:$LINENO: checking size of size_t" >&5
22154 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22155 if test "${ac_cv_sizeof_size_t+set}" = set; then
22156 echo $ECHO_N "(cached) $ECHO_C" >&6
22157 else
22158 if test "$cross_compiling" = yes; then
22159 # Depending upon the size, compute the lo and hi bounds.
22160 cat >conftest.$ac_ext <<_ACEOF
22161 /* confdefs.h. */
22162 _ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22166 $ac_includes_default
22167 typedef size_t ac__type_sizeof_;
22168 int
22169 main ()
22170 {
22171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22172 test_array [0] = 0
22173
22174 ;
22175 return 0;
22176 }
22177 _ACEOF
22178 rm -f conftest.$ac_objext
22179 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22186 ac_status=$?
22187 grep -v '^ *+' conftest.er1 >conftest.err
22188 rm -f conftest.er1
22189 cat conftest.err >&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); } && {
22192 test -z "$ac_c_werror_flag" ||
22193 test ! -s conftest.err
22194 } && test -s conftest.$ac_objext; then
22195 ac_lo=0 ac_mid=0
22196 while :; do
22197 cat >conftest.$ac_ext <<_ACEOF
22198 /* confdefs.h. */
22199 _ACEOF
22200 cat confdefs.h >>conftest.$ac_ext
22201 cat >>conftest.$ac_ext <<_ACEOF
22202 /* end confdefs.h. */
22203 $ac_includes_default
22204 typedef size_t ac__type_sizeof_;
22205 int
22206 main ()
22207 {
22208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22209 test_array [0] = 0
22210
22211 ;
22212 return 0;
22213 }
22214 _ACEOF
22215 rm -f conftest.$ac_objext
22216 if { (ac_try="$ac_compile"
22217 case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22220 esac
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_compile") 2>conftest.er1
22223 ac_status=$?
22224 grep -v '^ *+' conftest.er1 >conftest.err
22225 rm -f conftest.er1
22226 cat conftest.err >&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); } && {
22229 test -z "$ac_c_werror_flag" ||
22230 test ! -s conftest.err
22231 } && test -s conftest.$ac_objext; then
22232 ac_hi=$ac_mid; break
22233 else
22234 echo "$as_me: failed program was:" >&5
22235 sed 's/^/| /' conftest.$ac_ext >&5
22236
22237 ac_lo=`expr $ac_mid + 1`
22238 if test $ac_lo -le $ac_mid; then
22239 ac_lo= ac_hi=
22240 break
22241 fi
22242 ac_mid=`expr 2 '*' $ac_mid + 1`
22243 fi
22244
22245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22246 done
22247 else
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22250
22251 cat >conftest.$ac_ext <<_ACEOF
22252 /* confdefs.h. */
22253 _ACEOF
22254 cat confdefs.h >>conftest.$ac_ext
22255 cat >>conftest.$ac_ext <<_ACEOF
22256 /* end confdefs.h. */
22257 $ac_includes_default
22258 typedef size_t ac__type_sizeof_;
22259 int
22260 main ()
22261 {
22262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22263 test_array [0] = 0
22264
22265 ;
22266 return 0;
22267 }
22268 _ACEOF
22269 rm -f conftest.$ac_objext
22270 if { (ac_try="$ac_compile"
22271 case "(($ac_try" in
22272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273 *) ac_try_echo=$ac_try;;
22274 esac
22275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22276 (eval "$ac_compile") 2>conftest.er1
22277 ac_status=$?
22278 grep -v '^ *+' conftest.er1 >conftest.err
22279 rm -f conftest.er1
22280 cat conftest.err >&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } && {
22283 test -z "$ac_c_werror_flag" ||
22284 test ! -s conftest.err
22285 } && test -s conftest.$ac_objext; then
22286 ac_hi=-1 ac_mid=-1
22287 while :; do
22288 cat >conftest.$ac_ext <<_ACEOF
22289 /* confdefs.h. */
22290 _ACEOF
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 $ac_includes_default
22295 typedef size_t ac__type_sizeof_;
22296 int
22297 main ()
22298 {
22299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22300 test_array [0] = 0
22301
22302 ;
22303 return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext
22307 if { (ac_try="$ac_compile"
22308 case "(($ac_try" in
22309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22310 *) ac_try_echo=$ac_try;;
22311 esac
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313 (eval "$ac_compile") 2>conftest.er1
22314 ac_status=$?
22315 grep -v '^ *+' conftest.er1 >conftest.err
22316 rm -f conftest.er1
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && {
22320 test -z "$ac_c_werror_flag" ||
22321 test ! -s conftest.err
22322 } && test -s conftest.$ac_objext; then
22323 ac_lo=$ac_mid; break
22324 else
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.$ac_ext >&5
22327
22328 ac_hi=`expr '(' $ac_mid ')' - 1`
22329 if test $ac_mid -le $ac_hi; then
22330 ac_lo= ac_hi=
22331 break
22332 fi
22333 ac_mid=`expr 2 '*' $ac_mid`
22334 fi
22335
22336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22337 done
22338 else
22339 echo "$as_me: failed program was:" >&5
22340 sed 's/^/| /' conftest.$ac_ext >&5
22341
22342 ac_lo= ac_hi=
22343 fi
22344
22345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22346 fi
22347
22348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22349 # Binary search between lo and hi bounds.
22350 while test "x$ac_lo" != "x$ac_hi"; do
22351 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22352 cat >conftest.$ac_ext <<_ACEOF
22353 /* confdefs.h. */
22354 _ACEOF
22355 cat confdefs.h >>conftest.$ac_ext
22356 cat >>conftest.$ac_ext <<_ACEOF
22357 /* end confdefs.h. */
22358 $ac_includes_default
22359 typedef size_t ac__type_sizeof_;
22360 int
22361 main ()
22362 {
22363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22364 test_array [0] = 0
22365
22366 ;
22367 return 0;
22368 }
22369 _ACEOF
22370 rm -f conftest.$ac_objext
22371 if { (ac_try="$ac_compile"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22375 esac
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_compile") 2>conftest.er1
22378 ac_status=$?
22379 grep -v '^ *+' conftest.er1 >conftest.err
22380 rm -f conftest.er1
22381 cat conftest.err >&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } && {
22384 test -z "$ac_c_werror_flag" ||
22385 test ! -s conftest.err
22386 } && test -s conftest.$ac_objext; then
22387 ac_hi=$ac_mid
22388 else
22389 echo "$as_me: failed program was:" >&5
22390 sed 's/^/| /' conftest.$ac_ext >&5
22391
22392 ac_lo=`expr '(' $ac_mid ')' + 1`
22393 fi
22394
22395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22396 done
22397 case $ac_lo in
22398 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22399 '') if test "$ac_cv_type_size_t" = yes; then
22400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22401 See \`config.log' for more details." >&5
22402 echo "$as_me: error: cannot compute sizeof (size_t)
22403 See \`config.log' for more details." >&2;}
22404 { (exit 77); exit 77; }; }
22405 else
22406 ac_cv_sizeof_size_t=0
22407 fi ;;
22408 esac
22409 else
22410 cat >conftest.$ac_ext <<_ACEOF
22411 /* confdefs.h. */
22412 _ACEOF
22413 cat confdefs.h >>conftest.$ac_ext
22414 cat >>conftest.$ac_ext <<_ACEOF
22415 /* end confdefs.h. */
22416 $ac_includes_default
22417 typedef size_t ac__type_sizeof_;
22418 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22419 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22420 #include <stdio.h>
22421 #include <stdlib.h>
22422 int
22423 main ()
22424 {
22425
22426 FILE *f = fopen ("conftest.val", "w");
22427 if (! f)
22428 return 1;
22429 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22430 {
22431 long int i = longval ();
22432 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22433 return 1;
22434 fprintf (f, "%ld\n", i);
22435 }
22436 else
22437 {
22438 unsigned long int i = ulongval ();
22439 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22440 return 1;
22441 fprintf (f, "%lu\n", i);
22442 }
22443 return ferror (f) || fclose (f) != 0;
22444
22445 ;
22446 return 0;
22447 }
22448 _ACEOF
22449 rm -f conftest$ac_exeext
22450 if { (ac_try="$ac_link"
22451 case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22454 esac
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_link") 2>&5
22457 ac_status=$?
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22460 { (case "(($ac_try" in
22461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22462 *) ac_try_echo=$ac_try;;
22463 esac
22464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22465 (eval "$ac_try") 2>&5
22466 ac_status=$?
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; }; then
22469 ac_cv_sizeof_size_t=`cat conftest.val`
22470 else
22471 echo "$as_me: program exited with status $ac_status" >&5
22472 echo "$as_me: failed program was:" >&5
22473 sed 's/^/| /' conftest.$ac_ext >&5
22474
22475 ( exit $ac_status )
22476 if test "$ac_cv_type_size_t" = yes; then
22477 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22478 See \`config.log' for more details." >&5
22479 echo "$as_me: error: cannot compute sizeof (size_t)
22480 See \`config.log' for more details." >&2;}
22481 { (exit 77); exit 77; }; }
22482 else
22483 ac_cv_sizeof_size_t=0
22484 fi
22485 fi
22486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22487 fi
22488 rm -f conftest.val
22489 fi
22490 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22491 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22492
22493
22494
22495 cat >>confdefs.h <<_ACEOF
22496 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22497 _ACEOF
22498
22499
22500
22501 case "${host}" in
22502 arm-*-linux* )
22503 { echo "$as_me:$LINENO: checking for long long" >&5
22504 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22505 if test "${ac_cv_type_long_long+set}" = set; then
22506 echo $ECHO_N "(cached) $ECHO_C" >&6
22507 else
22508 cat >conftest.$ac_ext <<_ACEOF
22509 /* confdefs.h. */
22510 _ACEOF
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22514 $ac_includes_default
22515 typedef long long ac__type_new_;
22516 int
22517 main ()
22518 {
22519 if ((ac__type_new_ *) 0)
22520 return 0;
22521 if (sizeof (ac__type_new_))
22522 return 0;
22523 ;
22524 return 0;
22525 }
22526 _ACEOF
22527 rm -f conftest.$ac_objext
22528 if { (ac_try="$ac_compile"
22529 case "(($ac_try" in
22530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22531 *) ac_try_echo=$ac_try;;
22532 esac
22533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22534 (eval "$ac_compile") 2>conftest.er1
22535 ac_status=$?
22536 grep -v '^ *+' conftest.er1 >conftest.err
22537 rm -f conftest.er1
22538 cat conftest.err >&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); } && {
22541 test -z "$ac_c_werror_flag" ||
22542 test ! -s conftest.err
22543 } && test -s conftest.$ac_objext; then
22544 ac_cv_type_long_long=yes
22545 else
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.$ac_ext >&5
22548
22549 ac_cv_type_long_long=no
22550 fi
22551
22552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22553 fi
22554 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22555 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22556
22557 # The cast to long int works around a bug in the HP C Compiler
22558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22559 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22560 # This bug is HP SR number 8606223364.
22561 { echo "$as_me:$LINENO: checking size of long long" >&5
22562 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22563 if test "${ac_cv_sizeof_long_long+set}" = set; then
22564 echo $ECHO_N "(cached) $ECHO_C" >&6
22565 else
22566 if test "$cross_compiling" = yes; then
22567 # Depending upon the size, compute the lo and hi bounds.
22568 cat >conftest.$ac_ext <<_ACEOF
22569 /* confdefs.h. */
22570 _ACEOF
22571 cat confdefs.h >>conftest.$ac_ext
22572 cat >>conftest.$ac_ext <<_ACEOF
22573 /* end confdefs.h. */
22574 $ac_includes_default
22575 typedef long long ac__type_sizeof_;
22576 int
22577 main ()
22578 {
22579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22580 test_array [0] = 0
22581
22582 ;
22583 return 0;
22584 }
22585 _ACEOF
22586 rm -f conftest.$ac_objext
22587 if { (ac_try="$ac_compile"
22588 case "(($ac_try" in
22589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22590 *) ac_try_echo=$ac_try;;
22591 esac
22592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22593 (eval "$ac_compile") 2>conftest.er1
22594 ac_status=$?
22595 grep -v '^ *+' conftest.er1 >conftest.err
22596 rm -f conftest.er1
22597 cat conftest.err >&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } && {
22600 test -z "$ac_c_werror_flag" ||
22601 test ! -s conftest.err
22602 } && test -s conftest.$ac_objext; then
22603 ac_lo=0 ac_mid=0
22604 while :; do
22605 cat >conftest.$ac_ext <<_ACEOF
22606 /* confdefs.h. */
22607 _ACEOF
22608 cat confdefs.h >>conftest.$ac_ext
22609 cat >>conftest.$ac_ext <<_ACEOF
22610 /* end confdefs.h. */
22611 $ac_includes_default
22612 typedef long long ac__type_sizeof_;
22613 int
22614 main ()
22615 {
22616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22617 test_array [0] = 0
22618
22619 ;
22620 return 0;
22621 }
22622 _ACEOF
22623 rm -f conftest.$ac_objext
22624 if { (ac_try="$ac_compile"
22625 case "(($ac_try" in
22626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22627 *) ac_try_echo=$ac_try;;
22628 esac
22629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22630 (eval "$ac_compile") 2>conftest.er1
22631 ac_status=$?
22632 grep -v '^ *+' conftest.er1 >conftest.err
22633 rm -f conftest.er1
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } && {
22637 test -z "$ac_c_werror_flag" ||
22638 test ! -s conftest.err
22639 } && test -s conftest.$ac_objext; then
22640 ac_hi=$ac_mid; break
22641 else
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.$ac_ext >&5
22644
22645 ac_lo=`expr $ac_mid + 1`
22646 if test $ac_lo -le $ac_mid; then
22647 ac_lo= ac_hi=
22648 break
22649 fi
22650 ac_mid=`expr 2 '*' $ac_mid + 1`
22651 fi
22652
22653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22654 done
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22658
22659 cat >conftest.$ac_ext <<_ACEOF
22660 /* confdefs.h. */
22661 _ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 $ac_includes_default
22666 typedef long long ac__type_sizeof_;
22667 int
22668 main ()
22669 {
22670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22671 test_array [0] = 0
22672
22673 ;
22674 return 0;
22675 }
22676 _ACEOF
22677 rm -f conftest.$ac_objext
22678 if { (ac_try="$ac_compile"
22679 case "(($ac_try" in
22680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22681 *) ac_try_echo=$ac_try;;
22682 esac
22683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22684 (eval "$ac_compile") 2>conftest.er1
22685 ac_status=$?
22686 grep -v '^ *+' conftest.er1 >conftest.err
22687 rm -f conftest.er1
22688 cat conftest.err >&5
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); } && {
22691 test -z "$ac_c_werror_flag" ||
22692 test ! -s conftest.err
22693 } && test -s conftest.$ac_objext; then
22694 ac_hi=-1 ac_mid=-1
22695 while :; do
22696 cat >conftest.$ac_ext <<_ACEOF
22697 /* confdefs.h. */
22698 _ACEOF
22699 cat confdefs.h >>conftest.$ac_ext
22700 cat >>conftest.$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22702 $ac_includes_default
22703 typedef long long ac__type_sizeof_;
22704 int
22705 main ()
22706 {
22707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22708 test_array [0] = 0
22709
22710 ;
22711 return 0;
22712 }
22713 _ACEOF
22714 rm -f conftest.$ac_objext
22715 if { (ac_try="$ac_compile"
22716 case "(($ac_try" in
22717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22719 esac
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_compile") 2>conftest.er1
22722 ac_status=$?
22723 grep -v '^ *+' conftest.er1 >conftest.err
22724 rm -f conftest.er1
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } && {
22728 test -z "$ac_c_werror_flag" ||
22729 test ! -s conftest.err
22730 } && test -s conftest.$ac_objext; then
22731 ac_lo=$ac_mid; break
22732 else
22733 echo "$as_me: failed program was:" >&5
22734 sed 's/^/| /' conftest.$ac_ext >&5
22735
22736 ac_hi=`expr '(' $ac_mid ')' - 1`
22737 if test $ac_mid -le $ac_hi; then
22738 ac_lo= ac_hi=
22739 break
22740 fi
22741 ac_mid=`expr 2 '*' $ac_mid`
22742 fi
22743
22744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22745 done
22746 else
22747 echo "$as_me: failed program was:" >&5
22748 sed 's/^/| /' conftest.$ac_ext >&5
22749
22750 ac_lo= ac_hi=
22751 fi
22752
22753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22754 fi
22755
22756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22757 # Binary search between lo and hi bounds.
22758 while test "x$ac_lo" != "x$ac_hi"; do
22759 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22760 cat >conftest.$ac_ext <<_ACEOF
22761 /* confdefs.h. */
22762 _ACEOF
22763 cat confdefs.h >>conftest.$ac_ext
22764 cat >>conftest.$ac_ext <<_ACEOF
22765 /* end confdefs.h. */
22766 $ac_includes_default
22767 typedef long long ac__type_sizeof_;
22768 int
22769 main ()
22770 {
22771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22772 test_array [0] = 0
22773
22774 ;
22775 return 0;
22776 }
22777 _ACEOF
22778 rm -f conftest.$ac_objext
22779 if { (ac_try="$ac_compile"
22780 case "(($ac_try" in
22781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22782 *) ac_try_echo=$ac_try;;
22783 esac
22784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22785 (eval "$ac_compile") 2>conftest.er1
22786 ac_status=$?
22787 grep -v '^ *+' conftest.er1 >conftest.err
22788 rm -f conftest.er1
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } && {
22792 test -z "$ac_c_werror_flag" ||
22793 test ! -s conftest.err
22794 } && test -s conftest.$ac_objext; then
22795 ac_hi=$ac_mid
22796 else
22797 echo "$as_me: failed program was:" >&5
22798 sed 's/^/| /' conftest.$ac_ext >&5
22799
22800 ac_lo=`expr '(' $ac_mid ')' + 1`
22801 fi
22802
22803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 done
22805 case $ac_lo in
22806 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22807 '') if test "$ac_cv_type_long_long" = yes; then
22808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22809 See \`config.log' for more details." >&5
22810 echo "$as_me: error: cannot compute sizeof (long long)
22811 See \`config.log' for more details." >&2;}
22812 { (exit 77); exit 77; }; }
22813 else
22814 ac_cv_sizeof_long_long=0
22815 fi ;;
22816 esac
22817 else
22818 cat >conftest.$ac_ext <<_ACEOF
22819 /* confdefs.h. */
22820 _ACEOF
22821 cat confdefs.h >>conftest.$ac_ext
22822 cat >>conftest.$ac_ext <<_ACEOF
22823 /* end confdefs.h. */
22824 $ac_includes_default
22825 typedef long long ac__type_sizeof_;
22826 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22827 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22828 #include <stdio.h>
22829 #include <stdlib.h>
22830 int
22831 main ()
22832 {
22833
22834 FILE *f = fopen ("conftest.val", "w");
22835 if (! f)
22836 return 1;
22837 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22838 {
22839 long int i = longval ();
22840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22841 return 1;
22842 fprintf (f, "%ld\n", i);
22843 }
22844 else
22845 {
22846 unsigned long int i = ulongval ();
22847 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22848 return 1;
22849 fprintf (f, "%lu\n", i);
22850 }
22851 return ferror (f) || fclose (f) != 0;
22852
22853 ;
22854 return 0;
22855 }
22856 _ACEOF
22857 rm -f conftest$ac_exeext
22858 if { (ac_try="$ac_link"
22859 case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22862 esac
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_link") 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22868 { (case "(($ac_try" in
22869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22870 *) ac_try_echo=$ac_try;;
22871 esac
22872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22873 (eval "$ac_try") 2>&5
22874 ac_status=$?
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; }; then
22877 ac_cv_sizeof_long_long=`cat conftest.val`
22878 else
22879 echo "$as_me: program exited with status $ac_status" >&5
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22882
22883 ( exit $ac_status )
22884 if test "$ac_cv_type_long_long" = yes; then
22885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22886 See \`config.log' for more details." >&5
22887 echo "$as_me: error: cannot compute sizeof (long long)
22888 See \`config.log' for more details." >&2;}
22889 { (exit 77); exit 77; }; }
22890 else
22891 ac_cv_sizeof_long_long=0
22892 fi
22893 fi
22894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22895 fi
22896 rm -f conftest.val
22897 fi
22898 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22899 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22900
22901
22902
22903 cat >>confdefs.h <<_ACEOF
22904 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22905 _ACEOF
22906
22907
22908 ;;
22909 *-hp-hpux* )
22910 { echo "$as_me:$LINENO: checking for long long" >&5
22911 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22912 if test "${ac_cv_type_long_long+set}" = set; then
22913 echo $ECHO_N "(cached) $ECHO_C" >&6
22914 else
22915 cat >conftest.$ac_ext <<_ACEOF
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921 $ac_includes_default
22922 typedef long long ac__type_new_;
22923 int
22924 main ()
22925 {
22926 if ((ac__type_new_ *) 0)
22927 return 0;
22928 if (sizeof (ac__type_new_))
22929 return 0;
22930 ;
22931 return 0;
22932 }
22933 _ACEOF
22934 rm -f conftest.$ac_objext
22935 if { (ac_try="$ac_compile"
22936 case "(($ac_try" in
22937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22938 *) ac_try_echo=$ac_try;;
22939 esac
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_compile") 2>conftest.er1
22942 ac_status=$?
22943 grep -v '^ *+' conftest.er1 >conftest.err
22944 rm -f conftest.er1
22945 cat conftest.err >&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } && {
22948 test -z "$ac_c_werror_flag" ||
22949 test ! -s conftest.err
22950 } && test -s conftest.$ac_objext; then
22951 ac_cv_type_long_long=yes
22952 else
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.$ac_ext >&5
22955
22956 ac_cv_type_long_long=no
22957 fi
22958
22959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22960 fi
22961 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22962 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22963
22964 # The cast to long int works around a bug in the HP C Compiler
22965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22967 # This bug is HP SR number 8606223364.
22968 { echo "$as_me:$LINENO: checking size of long long" >&5
22969 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22970 if test "${ac_cv_sizeof_long_long+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22972 else
22973 if test "$cross_compiling" = yes; then
22974 # Depending upon the size, compute the lo and hi bounds.
22975 cat >conftest.$ac_ext <<_ACEOF
22976 /* confdefs.h. */
22977 _ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 $ac_includes_default
22982 typedef long long ac__type_sizeof_;
22983 int
22984 main ()
22985 {
22986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22987 test_array [0] = 0
22988
22989 ;
22990 return 0;
22991 }
22992 _ACEOF
22993 rm -f conftest.$ac_objext
22994 if { (ac_try="$ac_compile"
22995 case "(($ac_try" in
22996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22997 *) ac_try_echo=$ac_try;;
22998 esac
22999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23000 (eval "$ac_compile") 2>conftest.er1
23001 ac_status=$?
23002 grep -v '^ *+' conftest.er1 >conftest.err
23003 rm -f conftest.er1
23004 cat conftest.err >&5
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); } && {
23007 test -z "$ac_c_werror_flag" ||
23008 test ! -s conftest.err
23009 } && test -s conftest.$ac_objext; then
23010 ac_lo=0 ac_mid=0
23011 while :; do
23012 cat >conftest.$ac_ext <<_ACEOF
23013 /* confdefs.h. */
23014 _ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018 $ac_includes_default
23019 typedef long long ac__type_sizeof_;
23020 int
23021 main ()
23022 {
23023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23024 test_array [0] = 0
23025
23026 ;
23027 return 0;
23028 }
23029 _ACEOF
23030 rm -f conftest.$ac_objext
23031 if { (ac_try="$ac_compile"
23032 case "(($ac_try" in
23033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23034 *) ac_try_echo=$ac_try;;
23035 esac
23036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23037 (eval "$ac_compile") 2>conftest.er1
23038 ac_status=$?
23039 grep -v '^ *+' conftest.er1 >conftest.err
23040 rm -f conftest.er1
23041 cat conftest.err >&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); } && {
23044 test -z "$ac_c_werror_flag" ||
23045 test ! -s conftest.err
23046 } && test -s conftest.$ac_objext; then
23047 ac_hi=$ac_mid; break
23048 else
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23051
23052 ac_lo=`expr $ac_mid + 1`
23053 if test $ac_lo -le $ac_mid; then
23054 ac_lo= ac_hi=
23055 break
23056 fi
23057 ac_mid=`expr 2 '*' $ac_mid + 1`
23058 fi
23059
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061 done
23062 else
23063 echo "$as_me: failed program was:" >&5
23064 sed 's/^/| /' conftest.$ac_ext >&5
23065
23066 cat >conftest.$ac_ext <<_ACEOF
23067 /* confdefs.h. */
23068 _ACEOF
23069 cat confdefs.h >>conftest.$ac_ext
23070 cat >>conftest.$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23072 $ac_includes_default
23073 typedef long long ac__type_sizeof_;
23074 int
23075 main ()
23076 {
23077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23078 test_array [0] = 0
23079
23080 ;
23081 return 0;
23082 }
23083 _ACEOF
23084 rm -f conftest.$ac_objext
23085 if { (ac_try="$ac_compile"
23086 case "(($ac_try" in
23087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23088 *) ac_try_echo=$ac_try;;
23089 esac
23090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23091 (eval "$ac_compile") 2>conftest.er1
23092 ac_status=$?
23093 grep -v '^ *+' conftest.er1 >conftest.err
23094 rm -f conftest.er1
23095 cat conftest.err >&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); } && {
23098 test -z "$ac_c_werror_flag" ||
23099 test ! -s conftest.err
23100 } && test -s conftest.$ac_objext; then
23101 ac_hi=-1 ac_mid=-1
23102 while :; do
23103 cat >conftest.$ac_ext <<_ACEOF
23104 /* confdefs.h. */
23105 _ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h. */
23109 $ac_includes_default
23110 typedef long long ac__type_sizeof_;
23111 int
23112 main ()
23113 {
23114 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23115 test_array [0] = 0
23116
23117 ;
23118 return 0;
23119 }
23120 _ACEOF
23121 rm -f conftest.$ac_objext
23122 if { (ac_try="$ac_compile"
23123 case "(($ac_try" in
23124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23125 *) ac_try_echo=$ac_try;;
23126 esac
23127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23128 (eval "$ac_compile") 2>conftest.er1
23129 ac_status=$?
23130 grep -v '^ *+' conftest.er1 >conftest.err
23131 rm -f conftest.er1
23132 cat conftest.err >&5
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); } && {
23135 test -z "$ac_c_werror_flag" ||
23136 test ! -s conftest.err
23137 } && test -s conftest.$ac_objext; then
23138 ac_lo=$ac_mid; break
23139 else
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.$ac_ext >&5
23142
23143 ac_hi=`expr '(' $ac_mid ')' - 1`
23144 if test $ac_mid -le $ac_hi; then
23145 ac_lo= ac_hi=
23146 break
23147 fi
23148 ac_mid=`expr 2 '*' $ac_mid`
23149 fi
23150
23151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152 done
23153 else
23154 echo "$as_me: failed program was:" >&5
23155 sed 's/^/| /' conftest.$ac_ext >&5
23156
23157 ac_lo= ac_hi=
23158 fi
23159
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 fi
23162
23163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23164 # Binary search between lo and hi bounds.
23165 while test "x$ac_lo" != "x$ac_hi"; do
23166 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23167 cat >conftest.$ac_ext <<_ACEOF
23168 /* confdefs.h. */
23169 _ACEOF
23170 cat confdefs.h >>conftest.$ac_ext
23171 cat >>conftest.$ac_ext <<_ACEOF
23172 /* end confdefs.h. */
23173 $ac_includes_default
23174 typedef long long ac__type_sizeof_;
23175 int
23176 main ()
23177 {
23178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23179 test_array [0] = 0
23180
23181 ;
23182 return 0;
23183 }
23184 _ACEOF
23185 rm -f conftest.$ac_objext
23186 if { (ac_try="$ac_compile"
23187 case "(($ac_try" in
23188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189 *) ac_try_echo=$ac_try;;
23190 esac
23191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192 (eval "$ac_compile") 2>conftest.er1
23193 ac_status=$?
23194 grep -v '^ *+' conftest.er1 >conftest.err
23195 rm -f conftest.er1
23196 cat conftest.err >&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } && {
23199 test -z "$ac_c_werror_flag" ||
23200 test ! -s conftest.err
23201 } && test -s conftest.$ac_objext; then
23202 ac_hi=$ac_mid
23203 else
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23206
23207 ac_lo=`expr '(' $ac_mid ')' + 1`
23208 fi
23209
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211 done
23212 case $ac_lo in
23213 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23214 '') if test "$ac_cv_type_long_long" = yes; then
23215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23216 See \`config.log' for more details." >&5
23217 echo "$as_me: error: cannot compute sizeof (long long)
23218 See \`config.log' for more details." >&2;}
23219 { (exit 77); exit 77; }; }
23220 else
23221 ac_cv_sizeof_long_long=0
23222 fi ;;
23223 esac
23224 else
23225 cat >conftest.$ac_ext <<_ACEOF
23226 /* confdefs.h. */
23227 _ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231 $ac_includes_default
23232 typedef long long ac__type_sizeof_;
23233 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23234 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23235 #include <stdio.h>
23236 #include <stdlib.h>
23237 int
23238 main ()
23239 {
23240
23241 FILE *f = fopen ("conftest.val", "w");
23242 if (! f)
23243 return 1;
23244 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23245 {
23246 long int i = longval ();
23247 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23248 return 1;
23249 fprintf (f, "%ld\n", i);
23250 }
23251 else
23252 {
23253 unsigned long int i = ulongval ();
23254 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23255 return 1;
23256 fprintf (f, "%lu\n", i);
23257 }
23258 return ferror (f) || fclose (f) != 0;
23259
23260 ;
23261 return 0;
23262 }
23263 _ACEOF
23264 rm -f conftest$ac_exeext
23265 if { (ac_try="$ac_link"
23266 case "(($ac_try" in
23267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23268 *) ac_try_echo=$ac_try;;
23269 esac
23270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23271 (eval "$ac_link") 2>&5
23272 ac_status=$?
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23275 { (case "(($ac_try" in
23276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23277 *) ac_try_echo=$ac_try;;
23278 esac
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_try") 2>&5
23281 ac_status=$?
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; }; then
23284 ac_cv_sizeof_long_long=`cat conftest.val`
23285 else
23286 echo "$as_me: program exited with status $ac_status" >&5
23287 echo "$as_me: failed program was:" >&5
23288 sed 's/^/| /' conftest.$ac_ext >&5
23289
23290 ( exit $ac_status )
23291 if test "$ac_cv_type_long_long" = yes; then
23292 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23293 See \`config.log' for more details." >&5
23294 echo "$as_me: error: cannot compute sizeof (long long)
23295 See \`config.log' for more details." >&2;}
23296 { (exit 77); exit 77; }; }
23297 else
23298 ac_cv_sizeof_long_long=0
23299 fi
23300 fi
23301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23302 fi
23303 rm -f conftest.val
23304 fi
23305 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23306 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23307
23308
23309
23310 cat >>confdefs.h <<_ACEOF
23311 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23312 _ACEOF
23313
23314
23315 if test "$ac_cv_sizeof_long_long" != 0; then
23316 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23317 fi
23318 ;;
23319 * )
23320 { echo "$as_me:$LINENO: checking for long long" >&5
23321 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23322 if test "${ac_cv_type_long_long+set}" = set; then
23323 echo $ECHO_N "(cached) $ECHO_C" >&6
23324 else
23325 cat >conftest.$ac_ext <<_ACEOF
23326 /* confdefs.h. */
23327 _ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23331 $ac_includes_default
23332 typedef long long ac__type_new_;
23333 int
23334 main ()
23335 {
23336 if ((ac__type_new_ *) 0)
23337 return 0;
23338 if (sizeof (ac__type_new_))
23339 return 0;
23340 ;
23341 return 0;
23342 }
23343 _ACEOF
23344 rm -f conftest.$ac_objext
23345 if { (ac_try="$ac_compile"
23346 case "(($ac_try" in
23347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23348 *) ac_try_echo=$ac_try;;
23349 esac
23350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23351 (eval "$ac_compile") 2>conftest.er1
23352 ac_status=$?
23353 grep -v '^ *+' conftest.er1 >conftest.err
23354 rm -f conftest.er1
23355 cat conftest.err >&5
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); } && {
23358 test -z "$ac_c_werror_flag" ||
23359 test ! -s conftest.err
23360 } && test -s conftest.$ac_objext; then
23361 ac_cv_type_long_long=yes
23362 else
23363 echo "$as_me: failed program was:" >&5
23364 sed 's/^/| /' conftest.$ac_ext >&5
23365
23366 ac_cv_type_long_long=no
23367 fi
23368
23369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23370 fi
23371 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23372 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23373
23374 # The cast to long int works around a bug in the HP C Compiler
23375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23377 # This bug is HP SR number 8606223364.
23378 { echo "$as_me:$LINENO: checking size of long long" >&5
23379 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23380 if test "${ac_cv_sizeof_long_long+set}" = set; then
23381 echo $ECHO_N "(cached) $ECHO_C" >&6
23382 else
23383 if test "$cross_compiling" = yes; then
23384 # Depending upon the size, compute the lo and hi bounds.
23385 cat >conftest.$ac_ext <<_ACEOF
23386 /* confdefs.h. */
23387 _ACEOF
23388 cat confdefs.h >>conftest.$ac_ext
23389 cat >>conftest.$ac_ext <<_ACEOF
23390 /* end confdefs.h. */
23391 $ac_includes_default
23392 typedef long long ac__type_sizeof_;
23393 int
23394 main ()
23395 {
23396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23397 test_array [0] = 0
23398
23399 ;
23400 return 0;
23401 }
23402 _ACEOF
23403 rm -f conftest.$ac_objext
23404 if { (ac_try="$ac_compile"
23405 case "(($ac_try" in
23406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23407 *) ac_try_echo=$ac_try;;
23408 esac
23409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23410 (eval "$ac_compile") 2>conftest.er1
23411 ac_status=$?
23412 grep -v '^ *+' conftest.er1 >conftest.err
23413 rm -f conftest.er1
23414 cat conftest.err >&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } && {
23417 test -z "$ac_c_werror_flag" ||
23418 test ! -s conftest.err
23419 } && test -s conftest.$ac_objext; then
23420 ac_lo=0 ac_mid=0
23421 while :; do
23422 cat >conftest.$ac_ext <<_ACEOF
23423 /* confdefs.h. */
23424 _ACEOF
23425 cat confdefs.h >>conftest.$ac_ext
23426 cat >>conftest.$ac_ext <<_ACEOF
23427 /* end confdefs.h. */
23428 $ac_includes_default
23429 typedef long long ac__type_sizeof_;
23430 int
23431 main ()
23432 {
23433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23434 test_array [0] = 0
23435
23436 ;
23437 return 0;
23438 }
23439 _ACEOF
23440 rm -f conftest.$ac_objext
23441 if { (ac_try="$ac_compile"
23442 case "(($ac_try" in
23443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23444 *) ac_try_echo=$ac_try;;
23445 esac
23446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23447 (eval "$ac_compile") 2>conftest.er1
23448 ac_status=$?
23449 grep -v '^ *+' conftest.er1 >conftest.err
23450 rm -f conftest.er1
23451 cat conftest.err >&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } && {
23454 test -z "$ac_c_werror_flag" ||
23455 test ! -s conftest.err
23456 } && test -s conftest.$ac_objext; then
23457 ac_hi=$ac_mid; break
23458 else
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23461
23462 ac_lo=`expr $ac_mid + 1`
23463 if test $ac_lo -le $ac_mid; then
23464 ac_lo= ac_hi=
23465 break
23466 fi
23467 ac_mid=`expr 2 '*' $ac_mid + 1`
23468 fi
23469
23470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23471 done
23472 else
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23475
23476 cat >conftest.$ac_ext <<_ACEOF
23477 /* confdefs.h. */
23478 _ACEOF
23479 cat confdefs.h >>conftest.$ac_ext
23480 cat >>conftest.$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23482 $ac_includes_default
23483 typedef long long ac__type_sizeof_;
23484 int
23485 main ()
23486 {
23487 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23488 test_array [0] = 0
23489
23490 ;
23491 return 0;
23492 }
23493 _ACEOF
23494 rm -f conftest.$ac_objext
23495 if { (ac_try="$ac_compile"
23496 case "(($ac_try" in
23497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23498 *) ac_try_echo=$ac_try;;
23499 esac
23500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23501 (eval "$ac_compile") 2>conftest.er1
23502 ac_status=$?
23503 grep -v '^ *+' conftest.er1 >conftest.err
23504 rm -f conftest.er1
23505 cat conftest.err >&5
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); } && {
23508 test -z "$ac_c_werror_flag" ||
23509 test ! -s conftest.err
23510 } && test -s conftest.$ac_objext; then
23511 ac_hi=-1 ac_mid=-1
23512 while :; do
23513 cat >conftest.$ac_ext <<_ACEOF
23514 /* confdefs.h. */
23515 _ACEOF
23516 cat confdefs.h >>conftest.$ac_ext
23517 cat >>conftest.$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 $ac_includes_default
23520 typedef long long ac__type_sizeof_;
23521 int
23522 main ()
23523 {
23524 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23525 test_array [0] = 0
23526
23527 ;
23528 return 0;
23529 }
23530 _ACEOF
23531 rm -f conftest.$ac_objext
23532 if { (ac_try="$ac_compile"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23536 esac
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_compile") 2>conftest.er1
23539 ac_status=$?
23540 grep -v '^ *+' conftest.er1 >conftest.err
23541 rm -f conftest.er1
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } && {
23545 test -z "$ac_c_werror_flag" ||
23546 test ! -s conftest.err
23547 } && test -s conftest.$ac_objext; then
23548 ac_lo=$ac_mid; break
23549 else
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23552
23553 ac_hi=`expr '(' $ac_mid ')' - 1`
23554 if test $ac_mid -le $ac_hi; then
23555 ac_lo= ac_hi=
23556 break
23557 fi
23558 ac_mid=`expr 2 '*' $ac_mid`
23559 fi
23560
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23562 done
23563 else
23564 echo "$as_me: failed program was:" >&5
23565 sed 's/^/| /' conftest.$ac_ext >&5
23566
23567 ac_lo= ac_hi=
23568 fi
23569
23570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23571 fi
23572
23573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574 # Binary search between lo and hi bounds.
23575 while test "x$ac_lo" != "x$ac_hi"; do
23576 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23577 cat >conftest.$ac_ext <<_ACEOF
23578 /* confdefs.h. */
23579 _ACEOF
23580 cat confdefs.h >>conftest.$ac_ext
23581 cat >>conftest.$ac_ext <<_ACEOF
23582 /* end confdefs.h. */
23583 $ac_includes_default
23584 typedef long long ac__type_sizeof_;
23585 int
23586 main ()
23587 {
23588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23589 test_array [0] = 0
23590
23591 ;
23592 return 0;
23593 }
23594 _ACEOF
23595 rm -f conftest.$ac_objext
23596 if { (ac_try="$ac_compile"
23597 case "(($ac_try" in
23598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23599 *) ac_try_echo=$ac_try;;
23600 esac
23601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23602 (eval "$ac_compile") 2>conftest.er1
23603 ac_status=$?
23604 grep -v '^ *+' conftest.er1 >conftest.err
23605 rm -f conftest.er1
23606 cat conftest.err >&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); } && {
23609 test -z "$ac_c_werror_flag" ||
23610 test ! -s conftest.err
23611 } && test -s conftest.$ac_objext; then
23612 ac_hi=$ac_mid
23613 else
23614 echo "$as_me: failed program was:" >&5
23615 sed 's/^/| /' conftest.$ac_ext >&5
23616
23617 ac_lo=`expr '(' $ac_mid ')' + 1`
23618 fi
23619
23620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23621 done
23622 case $ac_lo in
23623 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23624 '') if test "$ac_cv_type_long_long" = yes; then
23625 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23626 See \`config.log' for more details." >&5
23627 echo "$as_me: error: cannot compute sizeof (long long)
23628 See \`config.log' for more details." >&2;}
23629 { (exit 77); exit 77; }; }
23630 else
23631 ac_cv_sizeof_long_long=0
23632 fi ;;
23633 esac
23634 else
23635 cat >conftest.$ac_ext <<_ACEOF
23636 /* confdefs.h. */
23637 _ACEOF
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23641 $ac_includes_default
23642 typedef long long ac__type_sizeof_;
23643 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23644 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23645 #include <stdio.h>
23646 #include <stdlib.h>
23647 int
23648 main ()
23649 {
23650
23651 FILE *f = fopen ("conftest.val", "w");
23652 if (! f)
23653 return 1;
23654 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23655 {
23656 long int i = longval ();
23657 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23658 return 1;
23659 fprintf (f, "%ld\n", i);
23660 }
23661 else
23662 {
23663 unsigned long int i = ulongval ();
23664 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23665 return 1;
23666 fprintf (f, "%lu\n", i);
23667 }
23668 return ferror (f) || fclose (f) != 0;
23669
23670 ;
23671 return 0;
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 ac_cv_sizeof_long_long=`cat conftest.val`
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 if test "$ac_cv_type_long_long" = yes; then
23702 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23703 See \`config.log' for more details." >&5
23704 echo "$as_me: error: cannot compute sizeof (long long)
23705 See \`config.log' for more details." >&2;}
23706 { (exit 77); exit 77; }; }
23707 else
23708 ac_cv_sizeof_long_long=0
23709 fi
23710 fi
23711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23712 fi
23713 rm -f conftest.val
23714 fi
23715 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23716 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23717
23718
23719
23720 cat >>confdefs.h <<_ACEOF
23721 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23722 _ACEOF
23723
23724
23725 esac
23726
23727 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23728 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23729 if test "${ac_cv_type_wchar_t+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 else
23732 cat >conftest.$ac_ext <<_ACEOF
23733 /* confdefs.h. */
23734 _ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23738
23739 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23740 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23741 # error "fake wchar_t"
23742 #endif
23743 #ifdef HAVE_WCHAR_H
23744 # ifdef __CYGWIN__
23745 # include <stddef.h>
23746 # endif
23747 # include <wchar.h>
23748 #endif
23749 #ifdef HAVE_STDLIB_H
23750 # include <stdlib.h>
23751 #endif
23752 #include <stdio.h>
23753
23754
23755
23756 typedef wchar_t ac__type_new_;
23757 int
23758 main ()
23759 {
23760 if ((ac__type_new_ *) 0)
23761 return 0;
23762 if (sizeof (ac__type_new_))
23763 return 0;
23764 ;
23765 return 0;
23766 }
23767 _ACEOF
23768 rm -f conftest.$ac_objext
23769 if { (ac_try="$ac_compile"
23770 case "(($ac_try" in
23771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23772 *) ac_try_echo=$ac_try;;
23773 esac
23774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23775 (eval "$ac_compile") 2>conftest.er1
23776 ac_status=$?
23777 grep -v '^ *+' conftest.er1 >conftest.err
23778 rm -f conftest.er1
23779 cat conftest.err >&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } && {
23782 test -z "$ac_c_werror_flag" ||
23783 test ! -s conftest.err
23784 } && test -s conftest.$ac_objext; then
23785 ac_cv_type_wchar_t=yes
23786 else
23787 echo "$as_me: failed program was:" >&5
23788 sed 's/^/| /' conftest.$ac_ext >&5
23789
23790 ac_cv_type_wchar_t=no
23791 fi
23792
23793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23794 fi
23795 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23796 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23797
23798 # The cast to long int works around a bug in the HP C Compiler
23799 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23800 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23801 # This bug is HP SR number 8606223364.
23802 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23803 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23804 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23805 echo $ECHO_N "(cached) $ECHO_C" >&6
23806 else
23807 if test "$cross_compiling" = yes; then
23808 # Depending upon the size, compute the lo and hi bounds.
23809 cat >conftest.$ac_ext <<_ACEOF
23810 /* confdefs.h. */
23811 _ACEOF
23812 cat confdefs.h >>conftest.$ac_ext
23813 cat >>conftest.$ac_ext <<_ACEOF
23814 /* end confdefs.h. */
23815
23816 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23817 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23818 # error "fake wchar_t"
23819 #endif
23820 #ifdef HAVE_WCHAR_H
23821 # ifdef __CYGWIN__
23822 # include <stddef.h>
23823 # endif
23824 # include <wchar.h>
23825 #endif
23826 #ifdef HAVE_STDLIB_H
23827 # include <stdlib.h>
23828 #endif
23829 #include <stdio.h>
23830
23831
23832
23833 typedef wchar_t ac__type_sizeof_;
23834 int
23835 main ()
23836 {
23837 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23838 test_array [0] = 0
23839
23840 ;
23841 return 0;
23842 }
23843 _ACEOF
23844 rm -f conftest.$ac_objext
23845 if { (ac_try="$ac_compile"
23846 case "(($ac_try" in
23847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23848 *) ac_try_echo=$ac_try;;
23849 esac
23850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23851 (eval "$ac_compile") 2>conftest.er1
23852 ac_status=$?
23853 grep -v '^ *+' conftest.er1 >conftest.err
23854 rm -f conftest.er1
23855 cat conftest.err >&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); } && {
23858 test -z "$ac_c_werror_flag" ||
23859 test ! -s conftest.err
23860 } && test -s conftest.$ac_objext; then
23861 ac_lo=0 ac_mid=0
23862 while :; do
23863 cat >conftest.$ac_ext <<_ACEOF
23864 /* confdefs.h. */
23865 _ACEOF
23866 cat confdefs.h >>conftest.$ac_ext
23867 cat >>conftest.$ac_ext <<_ACEOF
23868 /* end confdefs.h. */
23869
23870 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23871 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23872 # error "fake wchar_t"
23873 #endif
23874 #ifdef HAVE_WCHAR_H
23875 # ifdef __CYGWIN__
23876 # include <stddef.h>
23877 # endif
23878 # include <wchar.h>
23879 #endif
23880 #ifdef HAVE_STDLIB_H
23881 # include <stdlib.h>
23882 #endif
23883 #include <stdio.h>
23884
23885
23886
23887 typedef wchar_t ac__type_sizeof_;
23888 int
23889 main ()
23890 {
23891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23892 test_array [0] = 0
23893
23894 ;
23895 return 0;
23896 }
23897 _ACEOF
23898 rm -f conftest.$ac_objext
23899 if { (ac_try="$ac_compile"
23900 case "(($ac_try" in
23901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23902 *) ac_try_echo=$ac_try;;
23903 esac
23904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23905 (eval "$ac_compile") 2>conftest.er1
23906 ac_status=$?
23907 grep -v '^ *+' conftest.er1 >conftest.err
23908 rm -f conftest.er1
23909 cat conftest.err >&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); } && {
23912 test -z "$ac_c_werror_flag" ||
23913 test ! -s conftest.err
23914 } && test -s conftest.$ac_objext; then
23915 ac_hi=$ac_mid; break
23916 else
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23919
23920 ac_lo=`expr $ac_mid + 1`
23921 if test $ac_lo -le $ac_mid; then
23922 ac_lo= ac_hi=
23923 break
23924 fi
23925 ac_mid=`expr 2 '*' $ac_mid + 1`
23926 fi
23927
23928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23929 done
23930 else
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.$ac_ext >&5
23933
23934 cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h. */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940
23941 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23942 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23943 # error "fake wchar_t"
23944 #endif
23945 #ifdef HAVE_WCHAR_H
23946 # ifdef __CYGWIN__
23947 # include <stddef.h>
23948 # endif
23949 # include <wchar.h>
23950 #endif
23951 #ifdef HAVE_STDLIB_H
23952 # include <stdlib.h>
23953 #endif
23954 #include <stdio.h>
23955
23956
23957
23958 typedef wchar_t ac__type_sizeof_;
23959 int
23960 main ()
23961 {
23962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23963 test_array [0] = 0
23964
23965 ;
23966 return 0;
23967 }
23968 _ACEOF
23969 rm -f conftest.$ac_objext
23970 if { (ac_try="$ac_compile"
23971 case "(($ac_try" in
23972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23973 *) ac_try_echo=$ac_try;;
23974 esac
23975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23976 (eval "$ac_compile") 2>conftest.er1
23977 ac_status=$?
23978 grep -v '^ *+' conftest.er1 >conftest.err
23979 rm -f conftest.er1
23980 cat conftest.err >&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); } && {
23983 test -z "$ac_c_werror_flag" ||
23984 test ! -s conftest.err
23985 } && test -s conftest.$ac_objext; then
23986 ac_hi=-1 ac_mid=-1
23987 while :; do
23988 cat >conftest.$ac_ext <<_ACEOF
23989 /* confdefs.h. */
23990 _ACEOF
23991 cat confdefs.h >>conftest.$ac_ext
23992 cat >>conftest.$ac_ext <<_ACEOF
23993 /* end confdefs.h. */
23994
23995 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23996 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23997 # error "fake wchar_t"
23998 #endif
23999 #ifdef HAVE_WCHAR_H
24000 # ifdef __CYGWIN__
24001 # include <stddef.h>
24002 # endif
24003 # include <wchar.h>
24004 #endif
24005 #ifdef HAVE_STDLIB_H
24006 # include <stdlib.h>
24007 #endif
24008 #include <stdio.h>
24009
24010
24011
24012 typedef wchar_t ac__type_sizeof_;
24013 int
24014 main ()
24015 {
24016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24017 test_array [0] = 0
24018
24019 ;
24020 return 0;
24021 }
24022 _ACEOF
24023 rm -f conftest.$ac_objext
24024 if { (ac_try="$ac_compile"
24025 case "(($ac_try" in
24026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24027 *) ac_try_echo=$ac_try;;
24028 esac
24029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24030 (eval "$ac_compile") 2>conftest.er1
24031 ac_status=$?
24032 grep -v '^ *+' conftest.er1 >conftest.err
24033 rm -f conftest.er1
24034 cat conftest.err >&5
24035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24036 (exit $ac_status); } && {
24037 test -z "$ac_c_werror_flag" ||
24038 test ! -s conftest.err
24039 } && test -s conftest.$ac_objext; then
24040 ac_lo=$ac_mid; break
24041 else
24042 echo "$as_me: failed program was:" >&5
24043 sed 's/^/| /' conftest.$ac_ext >&5
24044
24045 ac_hi=`expr '(' $ac_mid ')' - 1`
24046 if test $ac_mid -le $ac_hi; then
24047 ac_lo= ac_hi=
24048 break
24049 fi
24050 ac_mid=`expr 2 '*' $ac_mid`
24051 fi
24052
24053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24054 done
24055 else
24056 echo "$as_me: failed program was:" >&5
24057 sed 's/^/| /' conftest.$ac_ext >&5
24058
24059 ac_lo= ac_hi=
24060 fi
24061
24062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24063 fi
24064
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24066 # Binary search between lo and hi bounds.
24067 while test "x$ac_lo" != "x$ac_hi"; do
24068 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24069 cat >conftest.$ac_ext <<_ACEOF
24070 /* confdefs.h. */
24071 _ACEOF
24072 cat confdefs.h >>conftest.$ac_ext
24073 cat >>conftest.$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24075
24076 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24077 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24078 # error "fake wchar_t"
24079 #endif
24080 #ifdef HAVE_WCHAR_H
24081 # ifdef __CYGWIN__
24082 # include <stddef.h>
24083 # endif
24084 # include <wchar.h>
24085 #endif
24086 #ifdef HAVE_STDLIB_H
24087 # include <stdlib.h>
24088 #endif
24089 #include <stdio.h>
24090
24091
24092
24093 typedef wchar_t ac__type_sizeof_;
24094 int
24095 main ()
24096 {
24097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24098 test_array [0] = 0
24099
24100 ;
24101 return 0;
24102 }
24103 _ACEOF
24104 rm -f conftest.$ac_objext
24105 if { (ac_try="$ac_compile"
24106 case "(($ac_try" in
24107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24108 *) ac_try_echo=$ac_try;;
24109 esac
24110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24111 (eval "$ac_compile") 2>conftest.er1
24112 ac_status=$?
24113 grep -v '^ *+' conftest.er1 >conftest.err
24114 rm -f conftest.er1
24115 cat conftest.err >&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } && {
24118 test -z "$ac_c_werror_flag" ||
24119 test ! -s conftest.err
24120 } && test -s conftest.$ac_objext; then
24121 ac_hi=$ac_mid
24122 else
24123 echo "$as_me: failed program was:" >&5
24124 sed 's/^/| /' conftest.$ac_ext >&5
24125
24126 ac_lo=`expr '(' $ac_mid ')' + 1`
24127 fi
24128
24129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24130 done
24131 case $ac_lo in
24132 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24133 '') if test "$ac_cv_type_wchar_t" = yes; then
24134 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24135 See \`config.log' for more details." >&5
24136 echo "$as_me: error: cannot compute sizeof (wchar_t)
24137 See \`config.log' for more details." >&2;}
24138 { (exit 77); exit 77; }; }
24139 else
24140 ac_cv_sizeof_wchar_t=0
24141 fi ;;
24142 esac
24143 else
24144 cat >conftest.$ac_ext <<_ACEOF
24145 /* confdefs.h. */
24146 _ACEOF
24147 cat confdefs.h >>conftest.$ac_ext
24148 cat >>conftest.$ac_ext <<_ACEOF
24149 /* end confdefs.h. */
24150
24151 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24152 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24153 # error "fake wchar_t"
24154 #endif
24155 #ifdef HAVE_WCHAR_H
24156 # ifdef __CYGWIN__
24157 # include <stddef.h>
24158 # endif
24159 # include <wchar.h>
24160 #endif
24161 #ifdef HAVE_STDLIB_H
24162 # include <stdlib.h>
24163 #endif
24164 #include <stdio.h>
24165
24166
24167
24168 typedef wchar_t ac__type_sizeof_;
24169 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24170 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24171 #include <stdio.h>
24172 #include <stdlib.h>
24173 int
24174 main ()
24175 {
24176
24177 FILE *f = fopen ("conftest.val", "w");
24178 if (! f)
24179 return 1;
24180 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24181 {
24182 long int i = longval ();
24183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24184 return 1;
24185 fprintf (f, "%ld\n", i);
24186 }
24187 else
24188 {
24189 unsigned long int i = ulongval ();
24190 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24191 return 1;
24192 fprintf (f, "%lu\n", i);
24193 }
24194 return ferror (f) || fclose (f) != 0;
24195
24196 ;
24197 return 0;
24198 }
24199 _ACEOF
24200 rm -f conftest$ac_exeext
24201 if { (ac_try="$ac_link"
24202 case "(($ac_try" in
24203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24204 *) ac_try_echo=$ac_try;;
24205 esac
24206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24207 (eval "$ac_link") 2>&5
24208 ac_status=$?
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24211 { (case "(($ac_try" in
24212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24213 *) ac_try_echo=$ac_try;;
24214 esac
24215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24216 (eval "$ac_try") 2>&5
24217 ac_status=$?
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; }; then
24220 ac_cv_sizeof_wchar_t=`cat conftest.val`
24221 else
24222 echo "$as_me: program exited with status $ac_status" >&5
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24225
24226 ( exit $ac_status )
24227 if test "$ac_cv_type_wchar_t" = yes; then
24228 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24229 See \`config.log' for more details." >&5
24230 echo "$as_me: error: cannot compute sizeof (wchar_t)
24231 See \`config.log' for more details." >&2;}
24232 { (exit 77); exit 77; }; }
24233 else
24234 ac_cv_sizeof_wchar_t=0
24235 fi
24236 fi
24237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24238 fi
24239 rm -f conftest.val
24240 fi
24241 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24242 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24243
24244
24245
24246 cat >>confdefs.h <<_ACEOF
24247 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24248 _ACEOF
24249
24250
24251 if test "$ac_cv_sizeof_wchar_t" = 0; then
24252 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24253 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24254 { (exit 1); exit 1; }; }
24255 fi
24256 cat >>confdefs.h <<\_ACEOF
24257 #define wxUSE_WCHAR_T 1
24258 _ACEOF
24259
24260
24261 { echo "$as_me:$LINENO: checking for va_copy" >&5
24262 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24263 if test "${wx_cv_func_va_copy+set}" = set; then
24264 echo $ECHO_N "(cached) $ECHO_C" >&6
24265 else
24266
24267 ac_ext=cpp
24268 ac_cpp='$CXXCPP $CPPFLAGS'
24269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24272
24273 cat >conftest.$ac_ext <<_ACEOF
24274
24275 #include <stdarg.h>
24276 void foo(char *f, ...)
24277 {
24278 va_list ap1, ap2;
24279 va_start(ap1, f);
24280 va_copy(ap2, ap1);
24281 va_end(ap2);
24282 va_end(ap1);
24283 }
24284 int main()
24285 {
24286 foo("hi", 17);
24287 return 0;
24288 }
24289 _ACEOF
24290 rm -f conftest.$ac_objext conftest$ac_exeext
24291 if { (ac_try="$ac_link"
24292 case "(($ac_try" in
24293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24295 esac
24296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24297 (eval "$ac_link") 2>conftest.er1
24298 ac_status=$?
24299 grep -v '^ *+' conftest.er1 >conftest.err
24300 rm -f conftest.er1
24301 cat conftest.err >&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_cxx_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest$ac_exeext &&
24307 $as_test_x conftest$ac_exeext; then
24308 wx_cv_func_va_copy=yes
24309 else
24310 echo "$as_me: failed program was:" >&5
24311 sed 's/^/| /' conftest.$ac_ext >&5
24312
24313 wx_cv_func_va_copy=no
24314
24315 fi
24316
24317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24318 conftest$ac_exeext conftest.$ac_ext
24319 ac_ext=c
24320 ac_cpp='$CPP $CPPFLAGS'
24321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24324
24325
24326
24327 fi
24328 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24329 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24330
24331 if test $wx_cv_func_va_copy = "yes"; then
24332 cat >>confdefs.h <<\_ACEOF
24333 #define HAVE_VA_COPY 1
24334 _ACEOF
24335
24336 else
24337 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24338 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24339 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24340 echo $ECHO_N "(cached) $ECHO_C" >&6
24341 else
24342
24343 if test "$cross_compiling" = yes; then
24344 wx_cv_type_va_list_lvalue=yes
24345
24346 else
24347 cat >conftest.$ac_ext <<_ACEOF
24348
24349 #include <stdarg.h>
24350 int foo(char *f, ...)
24351 {
24352 va_list ap1, ap2;
24353 va_start(ap1, f);
24354 ap2 = ap1;
24355 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24356 return 1;
24357 va_end(ap2);
24358 va_end(ap1);
24359 return 0;
24360 }
24361 int main()
24362 {
24363 return foo("hi", 17);
24364 }
24365 _ACEOF
24366 rm -f conftest$ac_exeext
24367 if { (ac_try="$ac_link"
24368 case "(($ac_try" in
24369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24370 *) ac_try_echo=$ac_try;;
24371 esac
24372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24373 (eval "$ac_link") 2>&5
24374 ac_status=$?
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24377 { (case "(($ac_try" in
24378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24380 esac
24381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_try") 2>&5
24383 ac_status=$?
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); }; }; then
24386 wx_cv_type_va_list_lvalue=yes
24387 else
24388 echo "$as_me: program exited with status $ac_status" >&5
24389 echo "$as_me: failed program was:" >&5
24390 sed 's/^/| /' conftest.$ac_ext >&5
24391
24392 ( exit $ac_status )
24393 wx_cv_type_va_list_lvalue=no
24394 fi
24395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24396 fi
24397
24398
24399
24400
24401 fi
24402 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24403 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24404
24405 if test $wx_cv_type_va_list_lvalue != "yes"; then
24406 cat >>confdefs.h <<\_ACEOF
24407 #define VA_LIST_IS_ARRAY 1
24408 _ACEOF
24409
24410 fi
24411 fi
24412
24413 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24414
24415 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24416 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24417 if test "${wx_cv_have_variadic_macros+set}" = set; then
24418 echo $ECHO_N "(cached) $ECHO_C" >&6
24419 else
24420
24421 ac_ext=cpp
24422 ac_cpp='$CXXCPP $CPPFLAGS'
24423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24426
24427 cat >conftest.$ac_ext <<_ACEOF
24428 /* confdefs.h. */
24429 _ACEOF
24430 cat confdefs.h >>conftest.$ac_ext
24431 cat >>conftest.$ac_ext <<_ACEOF
24432 /* end confdefs.h. */
24433
24434 #include <stdio.h>
24435 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24436
24437 int
24438 main ()
24439 {
24440
24441 test("%s %d %p", "test", 1, 0);
24442
24443
24444 ;
24445 return 0;
24446 }
24447 _ACEOF
24448 rm -f conftest.$ac_objext
24449 if { (ac_try="$ac_compile"
24450 case "(($ac_try" in
24451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24452 *) ac_try_echo=$ac_try;;
24453 esac
24454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24455 (eval "$ac_compile") 2>conftest.er1
24456 ac_status=$?
24457 grep -v '^ *+' conftest.er1 >conftest.err
24458 rm -f conftest.er1
24459 cat conftest.err >&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); } && {
24462 test -z "$ac_cxx_werror_flag" ||
24463 test ! -s conftest.err
24464 } && test -s conftest.$ac_objext; then
24465 wx_cv_have_variadic_macros=yes
24466 else
24467 echo "$as_me: failed program was:" >&5
24468 sed 's/^/| /' conftest.$ac_ext >&5
24469
24470 wx_cv_have_variadic_macros=no
24471
24472 fi
24473
24474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24475 ac_ext=c
24476 ac_cpp='$CPP $CPPFLAGS'
24477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24480
24481
24482
24483 fi
24484 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24485 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24486
24487 if test $wx_cv_have_variadic_macros = "yes"; then
24488 cat >>confdefs.h <<\_ACEOF
24489 #define HAVE_VARIADIC_MACROS 1
24490 _ACEOF
24491
24492 fi
24493
24494 fi
24495
24496 LARGEFILE_CPPFLAGS=
24497 # Check whether --enable-largefile was given.
24498 if test "${enable_largefile+set}" = set; then
24499 enableval=$enable_largefile;
24500 fi
24501
24502 if test "$enable_largefile" != no; then
24503 wx_largefile=no
24504
24505 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24506 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24507 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24509 else
24510
24511 cat >conftest.$ac_ext <<_ACEOF
24512 /* confdefs.h. */
24513 _ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 #define _FILE_OFFSET_BITS 64
24518 #include <sys/types.h>
24519 int
24520 main ()
24521 {
24522 typedef struct {
24523 unsigned int field: sizeof(off_t) == 8;
24524 } wxlf;
24525
24526 ;
24527 return 0;
24528 }
24529 _ACEOF
24530 rm -f conftest.$ac_objext
24531 if { (ac_try="$ac_compile"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24535 esac
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_compile") 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_c_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest.$ac_objext; then
24547 ac_cv_sys_file_offset_bits=64
24548 else
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24551
24552 ac_cv_sys_file_offset_bits=no
24553 fi
24554
24555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24556
24557
24558 fi
24559 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24560 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24561
24562 if test "$ac_cv_sys_file_offset_bits" != no; then
24563 wx_largefile=yes
24564 cat >>confdefs.h <<_ACEOF
24565 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24566 _ACEOF
24567
24568 fi
24569
24570 if test "x$wx_largefile" != "xyes"; then
24571
24572 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24573 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24574 if test "${ac_cv_sys_large_files+set}" = set; then
24575 echo $ECHO_N "(cached) $ECHO_C" >&6
24576 else
24577
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 #define _LARGE_FILES 1
24585 #include <sys/types.h>
24586 int
24587 main ()
24588 {
24589 typedef struct {
24590 unsigned int field: sizeof(off_t) == 8;
24591 } wxlf;
24592
24593 ;
24594 return 0;
24595 }
24596 _ACEOF
24597 rm -f conftest.$ac_objext
24598 if { (ac_try="$ac_compile"
24599 case "(($ac_try" in
24600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24601 *) ac_try_echo=$ac_try;;
24602 esac
24603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24604 (eval "$ac_compile") 2>conftest.er1
24605 ac_status=$?
24606 grep -v '^ *+' conftest.er1 >conftest.err
24607 rm -f conftest.er1
24608 cat conftest.err >&5
24609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } && {
24611 test -z "$ac_c_werror_flag" ||
24612 test ! -s conftest.err
24613 } && test -s conftest.$ac_objext; then
24614 ac_cv_sys_large_files=1
24615 else
24616 echo "$as_me: failed program was:" >&5
24617 sed 's/^/| /' conftest.$ac_ext >&5
24618
24619 ac_cv_sys_large_files=no
24620 fi
24621
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24623
24624
24625 fi
24626 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24627 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24628
24629 if test "$ac_cv_sys_large_files" != no; then
24630 wx_largefile=yes
24631 cat >>confdefs.h <<_ACEOF
24632 #define _LARGE_FILES $ac_cv_sys_large_files
24633 _ACEOF
24634
24635 fi
24636
24637 fi
24638
24639 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24640 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24641 if test "x$wx_largefile" = "xyes"; then
24642 cat >>confdefs.h <<\_ACEOF
24643 #define HAVE_LARGEFILE_SUPPORT 1
24644 _ACEOF
24645
24646 fi
24647 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24648 echo "${ECHO_T}$wx_largefile" >&6; }
24649 fi
24650
24651 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24652 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24653 elif test "$ac_cv_sys_large_files" = 1; then
24654 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24655 fi
24656
24657 if test -n "$LARGEFILE_CPPFLAGS"; then
24658 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24659
24660 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24661 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24662 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24663 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24664 echo $ECHO_N "(cached) $ECHO_C" >&6
24665 else
24666
24667 ac_ext=cpp
24668 ac_cpp='$CXXCPP $CPPFLAGS'
24669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24672
24673 cat >conftest.$ac_ext <<_ACEOF
24674 /* confdefs.h. */
24675 _ACEOF
24676 cat confdefs.h >>conftest.$ac_ext
24677 cat >>conftest.$ac_ext <<_ACEOF
24678 /* end confdefs.h. */
24679
24680 int
24681 main ()
24682 {
24683
24684 #ifndef __STDC_EXT__
24685 choke me
24686 #endif
24687
24688 ;
24689 return 0;
24690 }
24691 _ACEOF
24692 rm -f conftest.$ac_objext
24693 if { (ac_try="$ac_compile"
24694 case "(($ac_try" in
24695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24696 *) ac_try_echo=$ac_try;;
24697 esac
24698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24699 (eval "$ac_compile") 2>conftest.er1
24700 ac_status=$?
24701 grep -v '^ *+' conftest.er1 >conftest.err
24702 rm -f conftest.er1
24703 cat conftest.err >&5
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); } && {
24706 test -z "$ac_cxx_werror_flag" ||
24707 test ! -s conftest.err
24708 } && test -s conftest.$ac_objext; then
24709 wx_cv_STDC_EXT_required=no
24710 else
24711 echo "$as_me: failed program was:" >&5
24712 sed 's/^/| /' conftest.$ac_ext >&5
24713
24714 wx_cv_STDC_EXT_required=yes
24715
24716 fi
24717
24718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24719 ac_ext=c
24720 ac_cpp='$CPP $CPPFLAGS'
24721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24724
24725
24726
24727 fi
24728 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24729 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24730 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24731 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24732 fi
24733 fi
24734 fi
24735
24736 ac_ext=cpp
24737 ac_cpp='$CXXCPP $CPPFLAGS'
24738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24741
24742 old_CPPFLAGS="$CPPFLAGS"
24743 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24744 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24745 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24746 if test "${ac_cv_sys_largefile_source+set}" = set; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24748 else
24749 while :; do
24750 cat >conftest.$ac_ext <<_ACEOF
24751 /* confdefs.h. */
24752 _ACEOF
24753 cat confdefs.h >>conftest.$ac_ext
24754 cat >>conftest.$ac_ext <<_ACEOF
24755 /* end confdefs.h. */
24756 #include <sys/types.h> /* for off_t */
24757 #include <stdio.h>
24758 int
24759 main ()
24760 {
24761 int (*fp) (FILE *, off_t, int) = fseeko;
24762 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24763 ;
24764 return 0;
24765 }
24766 _ACEOF
24767 rm -f conftest.$ac_objext conftest$ac_exeext
24768 if { (ac_try="$ac_link"
24769 case "(($ac_try" in
24770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24771 *) ac_try_echo=$ac_try;;
24772 esac
24773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24774 (eval "$ac_link") 2>conftest.er1
24775 ac_status=$?
24776 grep -v '^ *+' conftest.er1 >conftest.err
24777 rm -f conftest.er1
24778 cat conftest.err >&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } && {
24781 test -z "$ac_cxx_werror_flag" ||
24782 test ! -s conftest.err
24783 } && test -s conftest$ac_exeext &&
24784 $as_test_x conftest$ac_exeext; then
24785 ac_cv_sys_largefile_source=no; break
24786 else
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24789
24790
24791 fi
24792
24793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24794 conftest$ac_exeext conftest.$ac_ext
24795 cat >conftest.$ac_ext <<_ACEOF
24796 /* confdefs.h. */
24797 _ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24801 #define _LARGEFILE_SOURCE 1
24802 #include <sys/types.h> /* for off_t */
24803 #include <stdio.h>
24804 int
24805 main ()
24806 {
24807 int (*fp) (FILE *, off_t, int) = fseeko;
24808 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24809 ;
24810 return 0;
24811 }
24812 _ACEOF
24813 rm -f conftest.$ac_objext conftest$ac_exeext
24814 if { (ac_try="$ac_link"
24815 case "(($ac_try" in
24816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24817 *) ac_try_echo=$ac_try;;
24818 esac
24819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24820 (eval "$ac_link") 2>conftest.er1
24821 ac_status=$?
24822 grep -v '^ *+' conftest.er1 >conftest.err
24823 rm -f conftest.er1
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && {
24827 test -z "$ac_cxx_werror_flag" ||
24828 test ! -s conftest.err
24829 } && test -s conftest$ac_exeext &&
24830 $as_test_x conftest$ac_exeext; then
24831 ac_cv_sys_largefile_source=1; break
24832 else
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.$ac_ext >&5
24835
24836
24837 fi
24838
24839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24840 conftest$ac_exeext conftest.$ac_ext
24841 ac_cv_sys_largefile_source=unknown
24842 break
24843 done
24844 fi
24845 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24846 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24847 case $ac_cv_sys_largefile_source in #(
24848 no | unknown) ;;
24849 *)
24850 cat >>confdefs.h <<_ACEOF
24851 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24852 _ACEOF
24853 ;;
24854 esac
24855 rm -f conftest*
24856
24857 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24858 # in glibc 2.1.3, but that breaks too many other things.
24859 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24860 if test $ac_cv_sys_largefile_source != unknown; then
24861
24862 cat >>confdefs.h <<\_ACEOF
24863 #define HAVE_FSEEKO 1
24864 _ACEOF
24865
24866 fi
24867
24868 CPPFLAGS="$old_CPPFLAGS"
24869 ac_ext=c
24870 ac_cpp='$CPP $CPPFLAGS'
24871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24874
24875 if test "$ac_cv_sys_largefile_source" != no; then
24876 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24877 fi
24878
24879 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24880 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24881 if test "${ac_cv_c_bigendian+set}" = set; then
24882 echo $ECHO_N "(cached) $ECHO_C" >&6
24883 else
24884 ac_cv_c_bigendian=unknown
24885 # See if sys/param.h defines the BYTE_ORDER macro.
24886 cat >conftest.$ac_ext <<_ACEOF
24887 /* confdefs.h. */
24888 _ACEOF
24889 cat confdefs.h >>conftest.$ac_ext
24890 cat >>conftest.$ac_ext <<_ACEOF
24891 /* end confdefs.h. */
24892 #include <sys/types.h>
24893 #include <sys/param.h>
24894 int
24895 main ()
24896 {
24897
24898 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24899 bogus endian macros
24900 #endif
24901 ;
24902 return 0;
24903 }
24904 _ACEOF
24905 rm -f conftest.$ac_objext
24906 if { (ac_try="$ac_compile"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24910 esac
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_compile") 2>conftest.er1
24913 ac_status=$?
24914 grep -v '^ *+' conftest.er1 >conftest.err
24915 rm -f conftest.er1
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_c_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest.$ac_objext; then
24922 # It does; now see whether it defined to BIG_ENDIAN or not.
24923 cat >conftest.$ac_ext <<_ACEOF
24924 /* confdefs.h. */
24925 _ACEOF
24926 cat confdefs.h >>conftest.$ac_ext
24927 cat >>conftest.$ac_ext <<_ACEOF
24928 /* end confdefs.h. */
24929 #include <sys/types.h>
24930 #include <sys/param.h>
24931 int
24932 main ()
24933 {
24934
24935 #if BYTE_ORDER != BIG_ENDIAN
24936 not big endian
24937 #endif
24938 ;
24939 return 0;
24940 }
24941 _ACEOF
24942 rm -f conftest.$ac_objext
24943 if { (ac_try="$ac_compile"
24944 case "(($ac_try" in
24945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24946 *) ac_try_echo=$ac_try;;
24947 esac
24948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24949 (eval "$ac_compile") 2>conftest.er1
24950 ac_status=$?
24951 grep -v '^ *+' conftest.er1 >conftest.err
24952 rm -f conftest.er1
24953 cat conftest.err >&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); } && {
24956 test -z "$ac_c_werror_flag" ||
24957 test ! -s conftest.err
24958 } && test -s conftest.$ac_objext; then
24959 ac_cv_c_bigendian=yes
24960 else
24961 echo "$as_me: failed program was:" >&5
24962 sed 's/^/| /' conftest.$ac_ext >&5
24963
24964 ac_cv_c_bigendian=no
24965 fi
24966
24967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24968 else
24969 echo "$as_me: failed program was:" >&5
24970 sed 's/^/| /' conftest.$ac_ext >&5
24971
24972
24973 fi
24974
24975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24976 if test $ac_cv_c_bigendian = unknown; then
24977 if test "$cross_compiling" = yes; then
24978 ac_cv_c_bigendian=unknown
24979 else
24980 cat >conftest.$ac_ext <<_ACEOF
24981 /* confdefs.h. */
24982 _ACEOF
24983 cat confdefs.h >>conftest.$ac_ext
24984 cat >>conftest.$ac_ext <<_ACEOF
24985 /* end confdefs.h. */
24986 main () {
24987 /* Are we little or big endian? From Harbison&Steele. */
24988 union
24989 {
24990 long l;
24991 char c[sizeof (long)];
24992 } u;
24993 u.l = 1;
24994 exit (u.c[sizeof (long) - 1] == 1);
24995 }
24996 _ACEOF
24997 rm -f conftest$ac_exeext
24998 if { (ac_try="$ac_link"
24999 case "(($ac_try" in
25000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25001 *) ac_try_echo=$ac_try;;
25002 esac
25003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25004 (eval "$ac_link") 2>&5
25005 ac_status=$?
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25008 { (case "(($ac_try" in
25009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25010 *) ac_try_echo=$ac_try;;
25011 esac
25012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25013 (eval "$ac_try") 2>&5
25014 ac_status=$?
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; }; then
25017 ac_cv_c_bigendian=no
25018 else
25019 echo "$as_me: program exited with status $ac_status" >&5
25020 echo "$as_me: failed program was:" >&5
25021 sed 's/^/| /' conftest.$ac_ext >&5
25022
25023 ( exit $ac_status )
25024 ac_cv_c_bigendian=yes
25025 fi
25026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25027 fi
25028
25029
25030 fi
25031 fi
25032 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25033 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25034 if test $ac_cv_c_bigendian = unknown; then
25035 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25036 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25037 fi
25038 if test $ac_cv_c_bigendian = yes; then
25039 cat >>confdefs.h <<\_ACEOF
25040 #define WORDS_BIGENDIAN 1
25041 _ACEOF
25042
25043 fi
25044
25045
25046
25047
25048 ac_ext=cpp
25049 ac_cpp='$CXXCPP $CPPFLAGS'
25050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25053
25054
25055
25056 for ac_header in iostream
25057 do
25058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25062 echo $ECHO_N "(cached) $ECHO_C" >&6
25063 else
25064 cat >conftest.$ac_ext <<_ACEOF
25065 /* confdefs.h. */
25066 _ACEOF
25067 cat confdefs.h >>conftest.$ac_ext
25068 cat >>conftest.$ac_ext <<_ACEOF
25069 /* end confdefs.h. */
25070
25071
25072 #include <$ac_header>
25073 _ACEOF
25074 rm -f conftest.$ac_objext
25075 if { (ac_try="$ac_compile"
25076 case "(($ac_try" in
25077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25078 *) ac_try_echo=$ac_try;;
25079 esac
25080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25081 (eval "$ac_compile") 2>conftest.er1
25082 ac_status=$?
25083 grep -v '^ *+' conftest.er1 >conftest.err
25084 rm -f conftest.er1
25085 cat conftest.err >&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } && {
25088 test -z "$ac_cxx_werror_flag" ||
25089 test ! -s conftest.err
25090 } && test -s conftest.$ac_objext; then
25091 eval "$as_ac_Header=yes"
25092 else
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.$ac_ext >&5
25095
25096 eval "$as_ac_Header=no"
25097 fi
25098
25099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25100 fi
25101 ac_res=`eval echo '${'$as_ac_Header'}'`
25102 { echo "$as_me:$LINENO: result: $ac_res" >&5
25103 echo "${ECHO_T}$ac_res" >&6; }
25104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25105 cat >>confdefs.h <<_ACEOF
25106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25107 _ACEOF
25108
25109 fi
25110
25111 done
25112
25113
25114 if test "$ac_cv_header_iostream" = "yes" ; then
25115 :
25116 else
25117 cat >>confdefs.h <<\_ACEOF
25118 #define wxUSE_IOSTREAMH 1
25119 _ACEOF
25120
25121 fi
25122
25123 ac_ext=c
25124 ac_cpp='$CPP $CPPFLAGS'
25125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25128
25129
25130
25131
25132 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25133 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25134 if test "${wx_cv_explicit+set}" = set; then
25135 echo $ECHO_N "(cached) $ECHO_C" >&6
25136 else
25137
25138
25139 ac_ext=cpp
25140 ac_cpp='$CXXCPP $CPPFLAGS'
25141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25144
25145
25146 cat >conftest.$ac_ext <<_ACEOF
25147 /* confdefs.h. */
25148 _ACEOF
25149 cat confdefs.h >>conftest.$ac_ext
25150 cat >>conftest.$ac_ext <<_ACEOF
25151 /* end confdefs.h. */
25152
25153 class Foo { public: explicit Foo(int) {} };
25154
25155 int
25156 main ()
25157 {
25158
25159 return 0;
25160
25161 ;
25162 return 0;
25163 }
25164 _ACEOF
25165 rm -f conftest.$ac_objext
25166 if { (ac_try="$ac_compile"
25167 case "(($ac_try" in
25168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25169 *) ac_try_echo=$ac_try;;
25170 esac
25171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25172 (eval "$ac_compile") 2>conftest.er1
25173 ac_status=$?
25174 grep -v '^ *+' conftest.er1 >conftest.err
25175 rm -f conftest.er1
25176 cat conftest.err >&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); } && {
25179 test -z "$ac_cxx_werror_flag" ||
25180 test ! -s conftest.err
25181 } && test -s conftest.$ac_objext; then
25182
25183 cat >conftest.$ac_ext <<_ACEOF
25184 /* confdefs.h. */
25185 _ACEOF
25186 cat confdefs.h >>conftest.$ac_ext
25187 cat >>conftest.$ac_ext <<_ACEOF
25188 /* end confdefs.h. */
25189
25190 class Foo { public: explicit Foo(int) {} };
25191 static void TakeFoo(const Foo& foo) { }
25192
25193 int
25194 main ()
25195 {
25196
25197 TakeFoo(17);
25198 return 0;
25199
25200 ;
25201 return 0;
25202 }
25203 _ACEOF
25204 rm -f conftest.$ac_objext
25205 if { (ac_try="$ac_compile"
25206 case "(($ac_try" in
25207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25208 *) ac_try_echo=$ac_try;;
25209 esac
25210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25211 (eval "$ac_compile") 2>conftest.er1
25212 ac_status=$?
25213 grep -v '^ *+' conftest.er1 >conftest.err
25214 rm -f conftest.er1
25215 cat conftest.err >&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } && {
25218 test -z "$ac_cxx_werror_flag" ||
25219 test ! -s conftest.err
25220 } && test -s conftest.$ac_objext; then
25221 wx_cv_explicit=no
25222 else
25223 echo "$as_me: failed program was:" >&5
25224 sed 's/^/| /' conftest.$ac_ext >&5
25225
25226 wx_cv_explicit=yes
25227
25228 fi
25229
25230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25231
25232 else
25233 echo "$as_me: failed program was:" >&5
25234 sed 's/^/| /' conftest.$ac_ext >&5
25235
25236 wx_cv_explicit=no
25237
25238 fi
25239
25240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25241
25242 ac_ext=c
25243 ac_cpp='$CPP $CPPFLAGS'
25244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25247
25248
25249 fi
25250 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25251 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25252
25253 if test "$wx_cv_explicit" = "yes"; then
25254 cat >>confdefs.h <<\_ACEOF
25255 #define HAVE_EXPLICIT 1
25256 _ACEOF
25257
25258 fi
25259
25260
25261 if test "x$SUNCXX" = xyes; then
25262 CXXFLAGS="-features=tmplife $CXXFLAGS"
25263 fi
25264
25265 if test "x$SUNCC" = xyes; then
25266 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25267 fi
25268
25269 if test "x$SGICC" = "xyes"; then
25270 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25271 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25272 if test "${wx_cv_prog_sgicc744+set}" = set; then
25273 echo $ECHO_N "(cached) $ECHO_C" >&6
25274 else
25275
25276 cat >conftest.$ac_ext <<_ACEOF
25277 /* confdefs.h. */
25278 _ACEOF
25279 cat confdefs.h >>conftest.$ac_ext
25280 cat >>conftest.$ac_ext <<_ACEOF
25281 /* end confdefs.h. */
25282
25283 int
25284 main ()
25285 {
25286
25287 #if _SGI_COMPILER_VERSION >= 744
25288 chock me: mipsPro is 7.4.4 or later
25289 #endif
25290
25291 ;
25292 return 0;
25293 }
25294 _ACEOF
25295 rm -f conftest.$ac_objext
25296 if { (ac_try="$ac_compile"
25297 case "(($ac_try" in
25298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25299 *) ac_try_echo=$ac_try;;
25300 esac
25301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25302 (eval "$ac_compile") 2>conftest.er1
25303 ac_status=$?
25304 grep -v '^ *+' conftest.er1 >conftest.err
25305 rm -f conftest.er1
25306 cat conftest.err >&5
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); } && {
25309 test -z "$ac_c_werror_flag" ||
25310 test ! -s conftest.err
25311 } && test -s conftest.$ac_objext; then
25312 wx_cv_prog_sgicc744=no
25313 else
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25316
25317 wx_cv_prog_sgicc744=yes
25318
25319 fi
25320
25321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25322
25323
25324 fi
25325 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25326 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25327
25328 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25329 CFLAGS="-woff 3970 $CFLAGS"
25330 fi
25331 fi
25332 if test "x$SGICXX" = "xyes"; then
25333 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25334 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25335 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25336 echo $ECHO_N "(cached) $ECHO_C" >&6
25337 else
25338
25339 ac_ext=cpp
25340 ac_cpp='$CXXCPP $CPPFLAGS'
25341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25344
25345 cat >conftest.$ac_ext <<_ACEOF
25346 /* confdefs.h. */
25347 _ACEOF
25348 cat confdefs.h >>conftest.$ac_ext
25349 cat >>conftest.$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25351
25352 int
25353 main ()
25354 {
25355
25356 #if _SGI_COMPILER_VERSION >= 744
25357 chock me: mipsPro is 7.4.4 or later
25358 #endif
25359
25360 ;
25361 return 0;
25362 }
25363 _ACEOF
25364 rm -f conftest.$ac_objext
25365 if { (ac_try="$ac_compile"
25366 case "(($ac_try" in
25367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25368 *) ac_try_echo=$ac_try;;
25369 esac
25370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25371 (eval "$ac_compile") 2>conftest.er1
25372 ac_status=$?
25373 grep -v '^ *+' conftest.er1 >conftest.err
25374 rm -f conftest.er1
25375 cat conftest.err >&5
25376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377 (exit $ac_status); } && {
25378 test -z "$ac_cxx_werror_flag" ||
25379 test ! -s conftest.err
25380 } && test -s conftest.$ac_objext; then
25381 wx_cv_prog_sgicxx744=no
25382 else
25383 echo "$as_me: failed program was:" >&5
25384 sed 's/^/| /' conftest.$ac_ext >&5
25385
25386 wx_cv_prog_sgicxx744=yes
25387
25388 fi
25389
25390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25391 ac_ext=c
25392 ac_cpp='$CPP $CPPFLAGS'
25393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25396
25397
25398
25399 fi
25400 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25401 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25402
25403 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25404 CXXFLAGS="-woff 3970 $CXXFLAGS"
25405 fi
25406 fi
25407
25408 if test "x$HPCC" = "xyes"; then
25409 CFLAGS="+W 2011,2450 $CFLAGS"
25410 fi
25411 if test "x$HPCXX" = "xyes"; then
25412 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25413 fi
25414
25415 if test "x$COMPAQCXX" = "xyes"; then
25416 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25417 fi
25418
25419 ac_ext=cpp
25420 ac_cpp='$CXXCPP $CPPFLAGS'
25421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25424
25425
25426 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25427 if test "$wxUSE_UNICODE" = "yes"; then
25428 std_string="std::wstring"
25429 char_type="wchar_t"
25430 else
25431 std_string="std::string"
25432 char_type="char"
25433 fi
25434
25435 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25436 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25437 if test "${wx_cv_class_stdstring+set}" = set; then
25438 echo $ECHO_N "(cached) $ECHO_C" >&6
25439 else
25440
25441 cat >conftest.$ac_ext <<_ACEOF
25442 /* confdefs.h. */
25443 _ACEOF
25444 cat confdefs.h >>conftest.$ac_ext
25445 cat >>conftest.$ac_ext <<_ACEOF
25446 /* end confdefs.h. */
25447 #include <string>
25448 int
25449 main ()
25450 {
25451 $std_string foo;
25452 ;
25453 return 0;
25454 }
25455 _ACEOF
25456 rm -f conftest.$ac_objext
25457 if { (ac_try="$ac_compile"
25458 case "(($ac_try" in
25459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25460 *) ac_try_echo=$ac_try;;
25461 esac
25462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25463 (eval "$ac_compile") 2>conftest.er1
25464 ac_status=$?
25465 grep -v '^ *+' conftest.er1 >conftest.err
25466 rm -f conftest.er1
25467 cat conftest.err >&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } && {
25470 test -z "$ac_cxx_werror_flag" ||
25471 test ! -s conftest.err
25472 } && test -s conftest.$ac_objext; then
25473 wx_cv_class_stdstring=yes
25474 else
25475 echo "$as_me: failed program was:" >&5
25476 sed 's/^/| /' conftest.$ac_ext >&5
25477
25478 wx_cv_class_stdstring=no
25479
25480 fi
25481
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25483
25484
25485 fi
25486 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25487 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25488
25489 if test "$wx_cv_class_stdstring" = yes; then
25490 if test "$wxUSE_UNICODE" = "yes"; then
25491 cat >>confdefs.h <<\_ACEOF
25492 #define HAVE_STD_WSTRING 1
25493 _ACEOF
25494
25495 fi
25496 else
25497 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25498 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25499 if test "${wx_cv_class_stdbasicstring+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 #ifdef HAVE_WCHAR_H
25511 # ifdef __CYGWIN__
25512 # include <stddef.h>
25513 # endif
25514 # include <wchar.h>
25515 #endif
25516 #ifdef HAVE_STDLIB_H
25517 # include <stdlib.h>
25518 #endif
25519 #include <stdio.h>
25520 #include <string>
25521
25522 int
25523 main ()
25524 {
25525 std::basic_string<$char_type> foo;
25526 const $char_type* dummy = foo.c_str();
25527 ;
25528 return 0;
25529 }
25530 _ACEOF
25531 rm -f conftest.$ac_objext
25532 if { (ac_try="$ac_compile"
25533 case "(($ac_try" in
25534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25535 *) ac_try_echo=$ac_try;;
25536 esac
25537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25538 (eval "$ac_compile") 2>conftest.er1
25539 ac_status=$?
25540 grep -v '^ *+' conftest.er1 >conftest.err
25541 rm -f conftest.er1
25542 cat conftest.err >&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); } && {
25545 test -z "$ac_cxx_werror_flag" ||
25546 test ! -s conftest.err
25547 } && test -s conftest.$ac_objext; then
25548 wx_cv_class_stdbasicstring=yes
25549 else
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.$ac_ext >&5
25552
25553 wx_cv_class_stdbasicstring=no
25554
25555 fi
25556
25557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25558
25559
25560 fi
25561 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25562 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25563
25564 if test "$wx_cv_class_stdbasicstring" != yes; then
25565 if test "$wxUSE_STL" = "yes"; then
25566 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25567 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25568 { (exit 1); exit 1; }; }
25569 elif test "$wxUSE_STD_STRING" = "yes"; then
25570 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25571 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25572 { (exit 1); exit 1; }; }
25573 else
25574 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25575 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25576 wxUSE_STD_STRING=no
25577 fi
25578 fi
25579 fi
25580 fi
25581
25582 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25583 { echo "$as_me:$LINENO: checking for std::istream" >&5
25584 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25585 if test "${ac_cv_type_std__istream+set}" = set; then
25586 echo $ECHO_N "(cached) $ECHO_C" >&6
25587 else
25588 cat >conftest.$ac_ext <<_ACEOF
25589 /* confdefs.h. */
25590 _ACEOF
25591 cat confdefs.h >>conftest.$ac_ext
25592 cat >>conftest.$ac_ext <<_ACEOF
25593 /* end confdefs.h. */
25594 #include <iostream>
25595
25596 typedef std::istream ac__type_new_;
25597 int
25598 main ()
25599 {
25600 if ((ac__type_new_ *) 0)
25601 return 0;
25602 if (sizeof (ac__type_new_))
25603 return 0;
25604 ;
25605 return 0;
25606 }
25607 _ACEOF
25608 rm -f conftest.$ac_objext
25609 if { (ac_try="$ac_compile"
25610 case "(($ac_try" in
25611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25612 *) ac_try_echo=$ac_try;;
25613 esac
25614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25615 (eval "$ac_compile") 2>conftest.er1
25616 ac_status=$?
25617 grep -v '^ *+' conftest.er1 >conftest.err
25618 rm -f conftest.er1
25619 cat conftest.err >&5
25620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25621 (exit $ac_status); } && {
25622 test -z "$ac_cxx_werror_flag" ||
25623 test ! -s conftest.err
25624 } && test -s conftest.$ac_objext; then
25625 ac_cv_type_std__istream=yes
25626 else
25627 echo "$as_me: failed program was:" >&5
25628 sed 's/^/| /' conftest.$ac_ext >&5
25629
25630 ac_cv_type_std__istream=no
25631 fi
25632
25633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25634 fi
25635 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25636 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25637 if test $ac_cv_type_std__istream = yes; then
25638
25639 cat >>confdefs.h <<_ACEOF
25640 #define HAVE_STD__ISTREAM 1
25641 _ACEOF
25642
25643
25644 else
25645 wxUSE_STD_IOSTREAM=no
25646 fi
25647 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25648 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25649 if test "${ac_cv_type_std__ostream+set}" = set; then
25650 echo $ECHO_N "(cached) $ECHO_C" >&6
25651 else
25652 cat >conftest.$ac_ext <<_ACEOF
25653 /* confdefs.h. */
25654 _ACEOF
25655 cat confdefs.h >>conftest.$ac_ext
25656 cat >>conftest.$ac_ext <<_ACEOF
25657 /* end confdefs.h. */
25658 #include <iostream>
25659
25660 typedef std::ostream ac__type_new_;
25661 int
25662 main ()
25663 {
25664 if ((ac__type_new_ *) 0)
25665 return 0;
25666 if (sizeof (ac__type_new_))
25667 return 0;
25668 ;
25669 return 0;
25670 }
25671 _ACEOF
25672 rm -f conftest.$ac_objext
25673 if { (ac_try="$ac_compile"
25674 case "(($ac_try" in
25675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25676 *) ac_try_echo=$ac_try;;
25677 esac
25678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25679 (eval "$ac_compile") 2>conftest.er1
25680 ac_status=$?
25681 grep -v '^ *+' conftest.er1 >conftest.err
25682 rm -f conftest.er1
25683 cat conftest.err >&5
25684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25685 (exit $ac_status); } && {
25686 test -z "$ac_cxx_werror_flag" ||
25687 test ! -s conftest.err
25688 } && test -s conftest.$ac_objext; then
25689 ac_cv_type_std__ostream=yes
25690 else
25691 echo "$as_me: failed program was:" >&5
25692 sed 's/^/| /' conftest.$ac_ext >&5
25693
25694 ac_cv_type_std__ostream=no
25695 fi
25696
25697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25698 fi
25699 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25700 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25701 if test $ac_cv_type_std__ostream = yes; then
25702
25703 cat >>confdefs.h <<_ACEOF
25704 #define HAVE_STD__OSTREAM 1
25705 _ACEOF
25706
25707
25708 else
25709 wxUSE_STD_IOSTREAM=no
25710 fi
25711
25712
25713 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25714 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25715 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25716 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25717 { (exit 1); exit 1; }; }
25718 else
25719 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25720 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25721 fi
25722 fi
25723 fi
25724
25725 if test "$wxUSE_STL" = "yes"; then
25726 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25727 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25728 if test "${wx_cv_lib_stl+set}" = set; then
25729 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 else
25731 cat >conftest.$ac_ext <<_ACEOF
25732 /* confdefs.h. */
25733 _ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737 #include <string>
25738 #include <functional>
25739 #include <algorithm>
25740 #include <vector>
25741 #include <list>
25742 int
25743 main ()
25744 {
25745 std::vector<int> moo;
25746 std::list<int> foo;
25747 std::vector<int>::iterator it =
25748 std::find_if(moo.begin(), moo.end(),
25749 std::bind2nd(std::less<int>(), 3));
25750 ;
25751 return 0;
25752 }
25753 _ACEOF
25754 rm -f conftest.$ac_objext
25755 if { (ac_try="$ac_compile"
25756 case "(($ac_try" in
25757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25758 *) ac_try_echo=$ac_try;;
25759 esac
25760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25761 (eval "$ac_compile") 2>conftest.er1
25762 ac_status=$?
25763 grep -v '^ *+' conftest.er1 >conftest.err
25764 rm -f conftest.er1
25765 cat conftest.err >&5
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); } && {
25768 test -z "$ac_cxx_werror_flag" ||
25769 test ! -s conftest.err
25770 } && test -s conftest.$ac_objext; then
25771 wx_cv_lib_stl=yes
25772 else
25773 echo "$as_me: failed program was:" >&5
25774 sed 's/^/| /' conftest.$ac_ext >&5
25775
25776 wx_cv_lib_stl=no
25777
25778 fi
25779
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25781
25782 fi
25783 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25784 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25785
25786 if test "$wx_cv_lib_stl" != yes; then
25787 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25788 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25789 { (exit 1); exit 1; }; }
25790 fi
25791
25792 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25793 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25794 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25795 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 else
25797 cat >conftest.$ac_ext <<_ACEOF
25798 /* confdefs.h. */
25799 _ACEOF
25800 cat confdefs.h >>conftest.$ac_ext
25801 cat >>conftest.$ac_ext <<_ACEOF
25802 /* end confdefs.h. */
25803 #include <string>
25804 int
25805 main ()
25806 {
25807 std::string foo, bar;
25808 foo.compare(bar);
25809 foo.compare(1, 1, bar);
25810 foo.compare(1, 1, bar, 1, 1);
25811 foo.compare("");
25812 foo.compare(1, 1, "");
25813 foo.compare(1, 1, "", 2);
25814 ;
25815 return 0;
25816 }
25817 _ACEOF
25818 rm -f conftest.$ac_objext
25819 if { (ac_try="$ac_compile"
25820 case "(($ac_try" in
25821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25822 *) ac_try_echo=$ac_try;;
25823 esac
25824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25825 (eval "$ac_compile") 2>conftest.er1
25826 ac_status=$?
25827 grep -v '^ *+' conftest.er1 >conftest.err
25828 rm -f conftest.er1
25829 cat conftest.err >&5
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); } && {
25832 test -z "$ac_cxx_werror_flag" ||
25833 test ! -s conftest.err
25834 } && test -s conftest.$ac_objext; then
25835 wx_cv_func_stdstring_compare=yes
25836 else
25837 echo "$as_me: failed program was:" >&5
25838 sed 's/^/| /' conftest.$ac_ext >&5
25839
25840 wx_cv_func_stdstring_compare=no
25841
25842 fi
25843
25844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25845
25846 fi
25847 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25848 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25849
25850 if test "$wx_cv_func_stdstring_compare" = yes; then
25851 cat >>confdefs.h <<\_ACEOF
25852 #define HAVE_STD_STRING_COMPARE 1
25853 _ACEOF
25854
25855 fi
25856
25857 if test "$wx_cv_class_gnuhashmapset" = yes; then
25858 cat >>confdefs.h <<\_ACEOF
25859 #define HAVE_EXT_HASH_MAP 1
25860 _ACEOF
25861
25862 cat >>confdefs.h <<\_ACEOF
25863 #define HAVE_GNU_CXX_HASH_MAP 1
25864 _ACEOF
25865
25866 fi
25867
25868 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25869 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25870 if test "${ac_cv_header_unordered_map+set}" = set; then
25871 echo $ECHO_N "(cached) $ECHO_C" >&6
25872 else
25873 cat >conftest.$ac_ext <<_ACEOF
25874 /* confdefs.h. */
25875 _ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25879
25880
25881
25882 #include <unordered_map>
25883 _ACEOF
25884 rm -f conftest.$ac_objext
25885 if { (ac_try="$ac_compile"
25886 case "(($ac_try" in
25887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25888 *) ac_try_echo=$ac_try;;
25889 esac
25890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25891 (eval "$ac_compile") 2>conftest.er1
25892 ac_status=$?
25893 grep -v '^ *+' conftest.er1 >conftest.err
25894 rm -f conftest.er1
25895 cat conftest.err >&5
25896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897 (exit $ac_status); } && {
25898 test -z "$ac_cxx_werror_flag" ||
25899 test ! -s conftest.err
25900 } && test -s conftest.$ac_objext; then
25901 ac_cv_header_unordered_map=yes
25902 else
25903 echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.$ac_ext >&5
25905
25906 ac_cv_header_unordered_map=no
25907 fi
25908
25909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25910 fi
25911 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25912 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25913 if test $ac_cv_header_unordered_map = yes; then
25914 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25915 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25916 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25917 echo $ECHO_N "(cached) $ECHO_C" >&6
25918 else
25919 cat >conftest.$ac_ext <<_ACEOF
25920 /* confdefs.h. */
25921 _ACEOF
25922 cat confdefs.h >>conftest.$ac_ext
25923 cat >>conftest.$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925 #include <unordered_map>
25926 #include <unordered_set>
25927 int
25928 main ()
25929 {
25930 std::unordered_map<double*, char*> test1;
25931 std::unordered_set<char*> test2;
25932 ;
25933 return 0;
25934 }
25935 _ACEOF
25936 rm -f conftest.$ac_objext
25937 if { (ac_try="$ac_compile"
25938 case "(($ac_try" in
25939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25940 *) ac_try_echo=$ac_try;;
25941 esac
25942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25943 (eval "$ac_compile") 2>conftest.er1
25944 ac_status=$?
25945 grep -v '^ *+' conftest.er1 >conftest.err
25946 rm -f conftest.er1
25947 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } && {
25950 test -z "$ac_cxx_werror_flag" ||
25951 test ! -s conftest.err
25952 } && test -s conftest.$ac_objext; then
25953 wx_cv_class_stdunorderedmapset=yes
25954 else
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25957
25958 wx_cv_class_stdunorderedmapset=no
25959 fi
25960
25961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25962
25963
25964 fi
25965 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25966 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25967 fi
25968
25969
25970
25971 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25972 cat >>confdefs.h <<\_ACEOF
25973 #define HAVE_STD_UNORDERED_MAP 1
25974 _ACEOF
25975
25976 cat >>confdefs.h <<\_ACEOF
25977 #define HAVE_STD_UNORDERED_SET 1
25978 _ACEOF
25979
25980 else
25981 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25982 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25983 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25985 else
25986 cat >conftest.$ac_ext <<_ACEOF
25987 /* confdefs.h. */
25988 _ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992
25993
25994
25995 #include <tr1/unordered_map>
25996 _ACEOF
25997 rm -f conftest.$ac_objext
25998 if { (ac_try="$ac_compile"
25999 case "(($ac_try" in
26000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26002 esac
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_compile") 2>conftest.er1
26005 ac_status=$?
26006 grep -v '^ *+' conftest.er1 >conftest.err
26007 rm -f conftest.er1
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } && {
26011 test -z "$ac_cxx_werror_flag" ||
26012 test ! -s conftest.err
26013 } && test -s conftest.$ac_objext; then
26014 ac_cv_header_tr1_unordered_map=yes
26015 else
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.$ac_ext >&5
26018
26019 ac_cv_header_tr1_unordered_map=no
26020 fi
26021
26022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26023 fi
26024 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26025 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26026 if test $ac_cv_header_tr1_unordered_map = yes; then
26027 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26028 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26029 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26030 echo $ECHO_N "(cached) $ECHO_C" >&6
26031 else
26032 cat >conftest.$ac_ext <<_ACEOF
26033 /* confdefs.h. */
26034 _ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038 #include <tr1/unordered_map>
26039 #include <tr1/unordered_set>
26040 int
26041 main ()
26042 {
26043 std::tr1::unordered_map<double*, char*> test1;
26044 std::tr1::unordered_set<char*> test2;
26045 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26046 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26047 #endif
26048 ;
26049 return 0;
26050 }
26051 _ACEOF
26052 rm -f conftest.$ac_objext
26053 if { (ac_try="$ac_compile"
26054 case "(($ac_try" in
26055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26056 *) ac_try_echo=$ac_try;;
26057 esac
26058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26059 (eval "$ac_compile") 2>conftest.er1
26060 ac_status=$?
26061 grep -v '^ *+' conftest.er1 >conftest.err
26062 rm -f conftest.er1
26063 cat conftest.err >&5
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); } && {
26066 test -z "$ac_cxx_werror_flag" ||
26067 test ! -s conftest.err
26068 } && test -s conftest.$ac_objext; then
26069 wx_cv_class_tr1unorderedmapset=yes
26070 else
26071 echo "$as_me: failed program was:" >&5
26072 sed 's/^/| /' conftest.$ac_ext >&5
26073
26074 wx_cv_class_tr1unorderedmapset=no
26075 fi
26076
26077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26078
26079
26080 fi
26081 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26082 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26083 fi
26084
26085
26086
26087 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26088 cat >>confdefs.h <<\_ACEOF
26089 #define HAVE_TR1_UNORDERED_MAP 1
26090 _ACEOF
26091
26092 cat >>confdefs.h <<\_ACEOF
26093 #define HAVE_TR1_UNORDERED_SET 1
26094 _ACEOF
26095
26096 else
26097 { echo "$as_me:$LINENO: checking for hash_map" >&5
26098 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26099 if test "${ac_cv_header_hash_map+set}" = set; then
26100 echo $ECHO_N "(cached) $ECHO_C" >&6
26101 else
26102 cat >conftest.$ac_ext <<_ACEOF
26103 /* confdefs.h. */
26104 _ACEOF
26105 cat confdefs.h >>conftest.$ac_ext
26106 cat >>conftest.$ac_ext <<_ACEOF
26107 /* end confdefs.h. */
26108
26109
26110
26111 #include <hash_map>
26112 _ACEOF
26113 rm -f conftest.$ac_objext
26114 if { (ac_try="$ac_compile"
26115 case "(($ac_try" in
26116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26117 *) ac_try_echo=$ac_try;;
26118 esac
26119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26120 (eval "$ac_compile") 2>conftest.er1
26121 ac_status=$?
26122 grep -v '^ *+' conftest.er1 >conftest.err
26123 rm -f conftest.er1
26124 cat conftest.err >&5
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); } && {
26127 test -z "$ac_cxx_werror_flag" ||
26128 test ! -s conftest.err
26129 } && test -s conftest.$ac_objext; then
26130 ac_cv_header_hash_map=yes
26131 else
26132 echo "$as_me: failed program was:" >&5
26133 sed 's/^/| /' conftest.$ac_ext >&5
26134
26135 ac_cv_header_hash_map=no
26136 fi
26137
26138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26139 fi
26140 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26141 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26142 if test $ac_cv_header_hash_map = yes; then
26143 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26144 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26145 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26146 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 else
26148 cat >conftest.$ac_ext <<_ACEOF
26149 /* confdefs.h. */
26150 _ACEOF
26151 cat confdefs.h >>conftest.$ac_ext
26152 cat >>conftest.$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26154 #include <hash_map>
26155 #include <hash_set>
26156 int
26157 main ()
26158 {
26159 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26160 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26161 ;
26162 return 0;
26163 }
26164 _ACEOF
26165 rm -f conftest.$ac_objext
26166 if { (ac_try="$ac_compile"
26167 case "(($ac_try" in
26168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26169 *) ac_try_echo=$ac_try;;
26170 esac
26171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26172 (eval "$ac_compile") 2>conftest.er1
26173 ac_status=$?
26174 grep -v '^ *+' conftest.er1 >conftest.err
26175 rm -f conftest.er1
26176 cat conftest.err >&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); } && {
26179 test -z "$ac_cxx_werror_flag" ||
26180 test ! -s conftest.err
26181 } && test -s conftest.$ac_objext; then
26182 wx_cv_class_stdhashmapset=yes
26183 else
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.$ac_ext >&5
26186
26187 wx_cv_class_stdhashmapset=no
26188 fi
26189
26190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26191
26192
26193 fi
26194 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26195 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26196 fi
26197
26198
26199
26200 if test "$wx_cv_class_stdhashmapset" = yes; then
26201 cat >>confdefs.h <<\_ACEOF
26202 #define HAVE_HASH_MAP 1
26203 _ACEOF
26204
26205 cat >>confdefs.h <<\_ACEOF
26206 #define HAVE_STD_HASH_MAP 1
26207 _ACEOF
26208
26209 fi
26210
26211 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26212 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26213 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 else
26216 cat >conftest.$ac_ext <<_ACEOF
26217 /* confdefs.h. */
26218 _ACEOF
26219 cat confdefs.h >>conftest.$ac_ext
26220 cat >>conftest.$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26222
26223
26224
26225 #include <ext/hash_map>
26226 _ACEOF
26227 rm -f conftest.$ac_objext
26228 if { (ac_try="$ac_compile"
26229 case "(($ac_try" in
26230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26231 *) ac_try_echo=$ac_try;;
26232 esac
26233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26234 (eval "$ac_compile") 2>conftest.er1
26235 ac_status=$?
26236 grep -v '^ *+' conftest.er1 >conftest.err
26237 rm -f conftest.er1
26238 cat conftest.err >&5
26239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240 (exit $ac_status); } && {
26241 test -z "$ac_cxx_werror_flag" ||
26242 test ! -s conftest.err
26243 } && test -s conftest.$ac_objext; then
26244 ac_cv_header_ext_hash_map=yes
26245 else
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.$ac_ext >&5
26248
26249 ac_cv_header_ext_hash_map=no
26250 fi
26251
26252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26253 fi
26254 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26255 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26256 if test $ac_cv_header_ext_hash_map = yes; then
26257 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26258 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26259 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26260 echo $ECHO_N "(cached) $ECHO_C" >&6
26261 else
26262 cat >conftest.$ac_ext <<_ACEOF
26263 /* confdefs.h. */
26264 _ACEOF
26265 cat confdefs.h >>conftest.$ac_ext
26266 cat >>conftest.$ac_ext <<_ACEOF
26267 /* end confdefs.h. */
26268 #include <ext/hash_map>
26269 #include <ext/hash_set>
26270 int
26271 main ()
26272 {
26273 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26274 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26275 ;
26276 return 0;
26277 }
26278 _ACEOF
26279 rm -f conftest.$ac_objext
26280 if { (ac_try="$ac_compile"
26281 case "(($ac_try" in
26282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26283 *) ac_try_echo=$ac_try;;
26284 esac
26285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26286 (eval "$ac_compile") 2>conftest.er1
26287 ac_status=$?
26288 grep -v '^ *+' conftest.er1 >conftest.err
26289 rm -f conftest.er1
26290 cat conftest.err >&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); } && {
26293 test -z "$ac_cxx_werror_flag" ||
26294 test ! -s conftest.err
26295 } && test -s conftest.$ac_objext; then
26296 wx_cv_class_gnuhashmapset=yes
26297 else
26298 echo "$as_me: failed program was:" >&5
26299 sed 's/^/| /' conftest.$ac_ext >&5
26300
26301 wx_cv_class_gnuhashmapset=no
26302 fi
26303
26304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26305
26306
26307 fi
26308 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26309 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26310 fi
26311
26312
26313
26314 fi
26315 fi
26316 fi
26317
26318 ac_ext=cpp
26319 ac_cpp='$CXXCPP $CPPFLAGS'
26320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26323 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26324 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26325 if test -z "$CXXCPP"; then
26326 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26327 echo $ECHO_N "(cached) $ECHO_C" >&6
26328 else
26329 # Double quotes because CXXCPP needs to be expanded
26330 for CXXCPP in "$CXX -E" "/lib/cpp"
26331 do
26332 ac_preproc_ok=false
26333 for ac_cxx_preproc_warn_flag in '' yes
26334 do
26335 # Use a header file that comes with gcc, so configuring glibc
26336 # with a fresh cross-compiler works.
26337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26338 # <limits.h> exists even on freestanding compilers.
26339 # On the NeXT, cc -E runs the code through the compiler's parser,
26340 # not just through cpp. "Syntax error" is here to catch this case.
26341 cat >conftest.$ac_ext <<_ACEOF
26342 /* confdefs.h. */
26343 _ACEOF
26344 cat confdefs.h >>conftest.$ac_ext
26345 cat >>conftest.$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26347 #ifdef __STDC__
26348 # include <limits.h>
26349 #else
26350 # include <assert.h>
26351 #endif
26352 Syntax error
26353 _ACEOF
26354 if { (ac_try="$ac_cpp conftest.$ac_ext"
26355 case "(($ac_try" in
26356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26357 *) ac_try_echo=$ac_try;;
26358 esac
26359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26361 ac_status=$?
26362 grep -v '^ *+' conftest.er1 >conftest.err
26363 rm -f conftest.er1
26364 cat conftest.err >&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); } >/dev/null && {
26367 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26368 test ! -s conftest.err
26369 }; then
26370 :
26371 else
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.$ac_ext >&5
26374
26375 # Broken: fails on valid input.
26376 continue
26377 fi
26378
26379 rm -f conftest.err conftest.$ac_ext
26380
26381 # OK, works on sane cases. Now check whether nonexistent headers
26382 # can be detected and how.
26383 cat >conftest.$ac_ext <<_ACEOF
26384 /* confdefs.h. */
26385 _ACEOF
26386 cat confdefs.h >>conftest.$ac_ext
26387 cat >>conftest.$ac_ext <<_ACEOF
26388 /* end confdefs.h. */
26389 #include <ac_nonexistent.h>
26390 _ACEOF
26391 if { (ac_try="$ac_cpp conftest.$ac_ext"
26392 case "(($ac_try" in
26393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26395 esac
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26398 ac_status=$?
26399 grep -v '^ *+' conftest.er1 >conftest.err
26400 rm -f conftest.er1
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } >/dev/null && {
26404 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26405 test ! -s conftest.err
26406 }; then
26407 # Broken: success on invalid input.
26408 continue
26409 else
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26412
26413 # Passes both tests.
26414 ac_preproc_ok=:
26415 break
26416 fi
26417
26418 rm -f conftest.err conftest.$ac_ext
26419
26420 done
26421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26422 rm -f conftest.err conftest.$ac_ext
26423 if $ac_preproc_ok; then
26424 break
26425 fi
26426
26427 done
26428 ac_cv_prog_CXXCPP=$CXXCPP
26429
26430 fi
26431 CXXCPP=$ac_cv_prog_CXXCPP
26432 else
26433 ac_cv_prog_CXXCPP=$CXXCPP
26434 fi
26435 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26436 echo "${ECHO_T}$CXXCPP" >&6; }
26437 ac_preproc_ok=false
26438 for ac_cxx_preproc_warn_flag in '' yes
26439 do
26440 # Use a header file that comes with gcc, so configuring glibc
26441 # with a fresh cross-compiler works.
26442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26443 # <limits.h> exists even on freestanding compilers.
26444 # On the NeXT, cc -E runs the code through the compiler's parser,
26445 # not just through cpp. "Syntax error" is here to catch this case.
26446 cat >conftest.$ac_ext <<_ACEOF
26447 /* confdefs.h. */
26448 _ACEOF
26449 cat confdefs.h >>conftest.$ac_ext
26450 cat >>conftest.$ac_ext <<_ACEOF
26451 /* end confdefs.h. */
26452 #ifdef __STDC__
26453 # include <limits.h>
26454 #else
26455 # include <assert.h>
26456 #endif
26457 Syntax error
26458 _ACEOF
26459 if { (ac_try="$ac_cpp conftest.$ac_ext"
26460 case "(($ac_try" in
26461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26462 *) ac_try_echo=$ac_try;;
26463 esac
26464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26466 ac_status=$?
26467 grep -v '^ *+' conftest.er1 >conftest.err
26468 rm -f conftest.er1
26469 cat conftest.err >&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } >/dev/null && {
26472 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26473 test ! -s conftest.err
26474 }; then
26475 :
26476 else
26477 echo "$as_me: failed program was:" >&5
26478 sed 's/^/| /' conftest.$ac_ext >&5
26479
26480 # Broken: fails on valid input.
26481 continue
26482 fi
26483
26484 rm -f conftest.err conftest.$ac_ext
26485
26486 # OK, works on sane cases. Now check whether nonexistent headers
26487 # can be detected and how.
26488 cat >conftest.$ac_ext <<_ACEOF
26489 /* confdefs.h. */
26490 _ACEOF
26491 cat confdefs.h >>conftest.$ac_ext
26492 cat >>conftest.$ac_ext <<_ACEOF
26493 /* end confdefs.h. */
26494 #include <ac_nonexistent.h>
26495 _ACEOF
26496 if { (ac_try="$ac_cpp conftest.$ac_ext"
26497 case "(($ac_try" in
26498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26499 *) ac_try_echo=$ac_try;;
26500 esac
26501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26503 ac_status=$?
26504 grep -v '^ *+' conftest.er1 >conftest.err
26505 rm -f conftest.er1
26506 cat conftest.err >&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } >/dev/null && {
26509 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26510 test ! -s conftest.err
26511 }; then
26512 # Broken: success on invalid input.
26513 continue
26514 else
26515 echo "$as_me: failed program was:" >&5
26516 sed 's/^/| /' conftest.$ac_ext >&5
26517
26518 # Passes both tests.
26519 ac_preproc_ok=:
26520 break
26521 fi
26522
26523 rm -f conftest.err conftest.$ac_ext
26524
26525 done
26526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26527 rm -f conftest.err conftest.$ac_ext
26528 if $ac_preproc_ok; then
26529 :
26530 else
26531 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26532 See \`config.log' for more details." >&5
26533 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26534 See \`config.log' for more details." >&2;}
26535 { (exit 1); exit 1; }; }
26536 fi
26537
26538 ac_ext=cpp
26539 ac_cpp='$CXXCPP $CPPFLAGS'
26540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26543
26544
26545
26546
26547 for ac_header in type_traits tr1/type_traits
26548 do
26549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 fi
26556 ac_res=`eval echo '${'$as_ac_Header'}'`
26557 { echo "$as_me:$LINENO: result: $ac_res" >&5
26558 echo "${ECHO_T}$ac_res" >&6; }
26559 else
26560 # Is the header compilable?
26561 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26563 cat >conftest.$ac_ext <<_ACEOF
26564 /* confdefs.h. */
26565 _ACEOF
26566 cat confdefs.h >>conftest.$ac_ext
26567 cat >>conftest.$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26569 $ac_includes_default
26570 #include <$ac_header>
26571 _ACEOF
26572 rm -f conftest.$ac_objext
26573 if { (ac_try="$ac_compile"
26574 case "(($ac_try" in
26575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26576 *) ac_try_echo=$ac_try;;
26577 esac
26578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 (eval "$ac_compile") 2>conftest.er1
26580 ac_status=$?
26581 grep -v '^ *+' conftest.er1 >conftest.err
26582 rm -f conftest.er1
26583 cat conftest.err >&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } && {
26586 test -z "$ac_cxx_werror_flag" ||
26587 test ! -s conftest.err
26588 } && test -s conftest.$ac_objext; then
26589 ac_header_compiler=yes
26590 else
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.$ac_ext >&5
26593
26594 ac_header_compiler=no
26595 fi
26596
26597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26598 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26599 echo "${ECHO_T}$ac_header_compiler" >&6; }
26600
26601 # Is the header present?
26602 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26604 cat >conftest.$ac_ext <<_ACEOF
26605 /* confdefs.h. */
26606 _ACEOF
26607 cat confdefs.h >>conftest.$ac_ext
26608 cat >>conftest.$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26610 #include <$ac_header>
26611 _ACEOF
26612 if { (ac_try="$ac_cpp conftest.$ac_ext"
26613 case "(($ac_try" in
26614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26615 *) ac_try_echo=$ac_try;;
26616 esac
26617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26619 ac_status=$?
26620 grep -v '^ *+' conftest.er1 >conftest.err
26621 rm -f conftest.er1
26622 cat conftest.err >&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } >/dev/null && {
26625 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26626 test ! -s conftest.err
26627 }; then
26628 ac_header_preproc=yes
26629 else
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26632
26633 ac_header_preproc=no
26634 fi
26635
26636 rm -f conftest.err conftest.$ac_ext
26637 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26638 echo "${ECHO_T}$ac_header_preproc" >&6; }
26639
26640 # So? What about this header?
26641 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26642 yes:no: )
26643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26647 ac_header_preproc=yes
26648 ;;
26649 no:yes:* )
26650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26654 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26656 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26657 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26660 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26662 ( cat <<\_ASBOX
26663 ## ----------------------------------------- ##
26664 ## Report this to wx-dev@lists.wxwidgets.org ##
26665 ## ----------------------------------------- ##
26666 _ASBOX
26667 ) | sed "s/^/$as_me: WARNING: /" >&2
26668 ;;
26669 esac
26670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26673 echo $ECHO_N "(cached) $ECHO_C" >&6
26674 else
26675 eval "$as_ac_Header=\$ac_header_preproc"
26676 fi
26677 ac_res=`eval echo '${'$as_ac_Header'}'`
26678 { echo "$as_me:$LINENO: result: $ac_res" >&5
26679 echo "${ECHO_T}$ac_res" >&6; }
26680
26681 fi
26682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26683 cat >>confdefs.h <<_ACEOF
26684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26685 _ACEOF
26686
26687 fi
26688
26689 done
26690
26691
26692
26693
26694 if test -n "$GCC"; then
26695 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26696 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26697 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26699 else
26700
26701 cat >conftest.$ac_ext <<_ACEOF
26702 /* confdefs.h. */
26703 _ACEOF
26704 cat confdefs.h >>conftest.$ac_ext
26705 cat >>conftest.$ac_ext <<_ACEOF
26706 /* end confdefs.h. */
26707
26708 int
26709 main ()
26710 {
26711
26712 unsigned int value=0;
26713 /* wxAtomicInc doesn't use return value here */
26714 __sync_fetch_and_add(&value, 2);
26715 __sync_sub_and_fetch(&value, 1);
26716 /* but wxAtomicDec does, so mimic that: */
26717 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26718
26719 ;
26720 return 0;
26721 }
26722 _ACEOF
26723 rm -f conftest.$ac_objext conftest$ac_exeext
26724 if { (ac_try="$ac_link"
26725 case "(($ac_try" in
26726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26727 *) ac_try_echo=$ac_try;;
26728 esac
26729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26730 (eval "$ac_link") 2>conftest.er1
26731 ac_status=$?
26732 grep -v '^ *+' conftest.er1 >conftest.err
26733 rm -f conftest.er1
26734 cat conftest.err >&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); } && {
26737 test -z "$ac_cxx_werror_flag" ||
26738 test ! -s conftest.err
26739 } && test -s conftest$ac_exeext &&
26740 $as_test_x conftest$ac_exeext; then
26741 wx_cv_cc_gcc_atomic_builtins=yes
26742 else
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26745
26746 wx_cv_cc_gcc_atomic_builtins=no
26747 fi
26748
26749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26750 conftest$ac_exeext conftest.$ac_ext
26751
26752 fi
26753
26754 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26755 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26756 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26757 cat >>confdefs.h <<\_ACEOF
26758 #define HAVE_GCC_ATOMIC_BUILTINS 1
26759 _ACEOF
26760
26761 fi
26762 fi
26763
26764
26765 ac_ext=c
26766 ac_cpp='$CPP $CPPFLAGS'
26767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26770
26771
26772
26773 SEARCH_INCLUDE="\
26774 /usr/local/include \
26775 /usr/local/X11/include \
26776 /usr/local/include/X11 \
26777 /usr/local/X11R7/include \
26778 /usr/local/X11R6/include \
26779 /usr/local/include/X11R7 \
26780 /usr/local/include/X11R6 \
26781 \
26782 /usr/Motif-2.1/include \
26783 /usr/Motif-1.2/include \
26784 /usr/include/Motif1.2 \
26785 \
26786 /usr/dt/include \
26787 /usr/openwin/include \
26788 \
26789 /usr/include/Xm \
26790 \
26791 /usr/X11R7/include \
26792 /usr/X11R6/include \
26793 /usr/X11R6.4/include \
26794 \
26795 /usr/include/X11R7 \
26796 /usr/include/X11R6 \
26797 \
26798 /usr/X11/include \
26799 /usr/include/X11 \
26800 \
26801 /usr/XFree86/include/X11 \
26802 /usr/pkg/include \
26803 \
26804 /usr/local/X1R5/include \
26805 /usr/local/include/X11R5 \
26806 /usr/X11R5/include \
26807 /usr/include/X11R5 \
26808 \
26809 /usr/local/X11R4/include \
26810 /usr/local/include/X11R4 \
26811 /usr/X11R4/include \
26812 /usr/include/X11R4 \
26813 \
26814 /usr/openwin/share/include"
26815
26816 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26817 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26818
26819 case "${host}" in
26820 *-*-irix6* )
26821 if test "${wx_cv_std_libpath+set}" = set; then
26822 echo $ECHO_N "(cached) $ECHO_C" >&6
26823 else
26824
26825 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26826 for e in a so sl dylib dll.a; do
26827 libc="$d/libc.$e"
26828 if test -f $libc; then
26829 save_LIBS="$LIBS"
26830 LIBS="$libc"
26831 cat >conftest.$ac_ext <<_ACEOF
26832 int main() { return 0; }
26833 _ACEOF
26834 rm -f conftest.$ac_objext conftest$ac_exeext
26835 if { (ac_try="$ac_link"
26836 case "(($ac_try" in
26837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26839 esac
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_link") 2>conftest.er1
26842 ac_status=$?
26843 grep -v '^ *+' conftest.er1 >conftest.err
26844 rm -f conftest.er1
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest$ac_exeext &&
26851 $as_test_x conftest$ac_exeext; then
26852 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857
26858 fi
26859
26860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26861 conftest$ac_exeext conftest.$ac_ext
26862 LIBS="$save_LIBS"
26863 if test "x$wx_cv_std_libpath" != "x"; then
26864 break 2
26865 fi
26866 fi
26867 done
26868 done
26869 if test "x$wx_cv_std_libpath" = "x"; then
26870 wx_cv_std_libpath="lib"
26871 fi
26872
26873
26874 fi
26875
26876 ;;
26877
26878 *-*-solaris2* )
26879 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26880 wx_cv_std_libpath="lib/64"
26881 else
26882 wx_cv_std_libpath="lib"
26883 fi
26884 ;;
26885
26886 *-*-linux* )
26887 if test "$ac_cv_sizeof_void_p" = 8 -a \
26888 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26889 wx_cv_std_libpath="lib64"
26890 else
26891 wx_cv_std_libpath="lib"
26892 fi
26893 ;;
26894
26895 *)
26896 wx_cv_std_libpath="lib";
26897 ;;
26898 esac
26899
26900 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26901 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26902
26903 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26904
26905 if test "$build" != "$host" -a "$GCC" = yes; then
26906 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26907 cross_root=`dirname $cross_root`
26908 cross_root=`dirname $cross_root`
26909
26910 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26911 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26912 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26913
26914 if test -z "$PKG_CONFIG_PATH"; then
26915 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26916 export PKG_CONFIG_PATH
26917 fi
26918
26919 if test -z "$x_includes" -o "$x_includes" = NONE; then
26920
26921 ac_find_includes=
26922 for ac_dir in $SEARCH_INCLUDE /usr/include
26923 do
26924 if test -f "$ac_dir/X11/Intrinsic.h"; then
26925 ac_find_includes=$ac_dir
26926 break
26927 fi
26928 done
26929
26930 x_includes=$ac_find_includes
26931 fi
26932 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26933
26934 ac_find_libraries=
26935 for ac_dir in $SEARCH_LIB
26936 do
26937 for ac_extension in a so sl dylib dll.a; do
26938 if test -f "$ac_dir/libXt.$ac_extension"; then
26939 ac_find_libraries=$ac_dir
26940 break 2
26941 fi
26942 done
26943 done
26944
26945 x_libraries=$ac_find_libraries
26946 fi
26947 fi
26948 fi
26949
26950
26951 cat >confcache <<\_ACEOF
26952 # This file is a shell script that caches the results of configure
26953 # tests run on this system so they can be shared between configure
26954 # scripts and configure runs, see configure's option --config-cache.
26955 # It is not useful on other systems. If it contains results you don't
26956 # want to keep, you may remove or edit it.
26957 #
26958 # config.status only pays attention to the cache file if you give it
26959 # the --recheck option to rerun configure.
26960 #
26961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26963 # following values.
26964
26965 _ACEOF
26966
26967 # The following way of writing the cache mishandles newlines in values,
26968 # but we know of no workaround that is simple, portable, and efficient.
26969 # So, we kill variables containing newlines.
26970 # Ultrix sh set writes to stderr and can't be redirected directly,
26971 # and sets the high bit in the cache file unless we assign to the vars.
26972 (
26973 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26974 eval ac_val=\$$ac_var
26975 case $ac_val in #(
26976 *${as_nl}*)
26977 case $ac_var in #(
26978 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26979 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26980 esac
26981 case $ac_var in #(
26982 _ | IFS | as_nl) ;; #(
26983 *) $as_unset $ac_var ;;
26984 esac ;;
26985 esac
26986 done
26987
26988 (set) 2>&1 |
26989 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26990 *${as_nl}ac_space=\ *)
26991 # `set' does not quote correctly, so add quotes (double-quote
26992 # substitution turns \\\\ into \\, and sed turns \\ into \).
26993 sed -n \
26994 "s/'/'\\\\''/g;
26995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26996 ;; #(
26997 *)
26998 # `set' quotes correctly as required by POSIX, so do not add quotes.
26999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27000 ;;
27001 esac |
27002 sort
27003 ) |
27004 sed '
27005 /^ac_cv_env_/b end
27006 t clear
27007 :clear
27008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27009 t end
27010 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27011 :end' >>confcache
27012 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27013 if test -w "$cache_file"; then
27014 test "x$cache_file" != "x/dev/null" &&
27015 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27016 echo "$as_me: updating cache $cache_file" >&6;}
27017 cat confcache >$cache_file
27018 else
27019 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27020 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27021 fi
27022 fi
27023 rm -f confcache
27024
27025 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27026 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27027 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27028 if test "${wx_cv_lib_glibc21+set}" = set; then
27029 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 else
27031
27032 cat >conftest.$ac_ext <<_ACEOF
27033 /* confdefs.h. */
27034 _ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27038 #include <features.h>
27039 int
27040 main ()
27041 {
27042
27043 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27044 not glibc 2.1
27045 #endif
27046
27047 ;
27048 return 0;
27049 }
27050 _ACEOF
27051 rm -f conftest.$ac_objext
27052 if { (ac_try="$ac_compile"
27053 case "(($ac_try" in
27054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27055 *) ac_try_echo=$ac_try;;
27056 esac
27057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27058 (eval "$ac_compile") 2>conftest.er1
27059 ac_status=$?
27060 grep -v '^ *+' conftest.er1 >conftest.err
27061 rm -f conftest.er1
27062 cat conftest.err >&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } && {
27065 test -z "$ac_c_werror_flag" ||
27066 test ! -s conftest.err
27067 } && test -s conftest.$ac_objext; then
27068
27069 wx_cv_lib_glibc21=yes
27070
27071 else
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.$ac_ext >&5
27074
27075
27076 wx_cv_lib_glibc21=no
27077
27078
27079 fi
27080
27081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27082
27083 fi
27084 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27085 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27086 if test "$wx_cv_lib_glibc21" = "yes"; then
27087 cat >>confdefs.h <<\_ACEOF
27088 #define wxHAVE_GLIBC2 1
27089 _ACEOF
27090
27091 fi
27092 fi
27093
27094 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27095 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27096 cat >>confdefs.h <<\_ACEOF
27097 #define _GNU_SOURCE 1
27098 _ACEOF
27099
27100 fi
27101 fi
27102
27103 have_cos=0
27104 have_floor=0
27105
27106 for ac_func in cos
27107 do
27108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27109 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27111 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 else
27114 cat >conftest.$ac_ext <<_ACEOF
27115 /* confdefs.h. */
27116 _ACEOF
27117 cat confdefs.h >>conftest.$ac_ext
27118 cat >>conftest.$ac_ext <<_ACEOF
27119 /* end confdefs.h. */
27120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27122 #define $ac_func innocuous_$ac_func
27123
27124 /* System header to define __stub macros and hopefully few prototypes,
27125 which can conflict with char $ac_func (); below.
27126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27127 <limits.h> exists even on freestanding compilers. */
27128
27129 #ifdef __STDC__
27130 # include <limits.h>
27131 #else
27132 # include <assert.h>
27133 #endif
27134
27135 #undef $ac_func
27136
27137 /* Override any GCC internal prototype to avoid an error.
27138 Use char because int might match the return type of a GCC
27139 builtin and then its argument prototype would still apply. */
27140 #ifdef __cplusplus
27141 extern "C"
27142 #endif
27143 char $ac_func ();
27144 /* The GNU C library defines this for functions which it implements
27145 to always fail with ENOSYS. Some functions are actually named
27146 something starting with __ and the normal name is an alias. */
27147 #if defined __stub_$ac_func || defined __stub___$ac_func
27148 choke me
27149 #endif
27150
27151 int
27152 main ()
27153 {
27154 return $ac_func ();
27155 ;
27156 return 0;
27157 }
27158 _ACEOF
27159 rm -f conftest.$ac_objext conftest$ac_exeext
27160 if { (ac_try="$ac_link"
27161 case "(($ac_try" in
27162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27163 *) ac_try_echo=$ac_try;;
27164 esac
27165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27166 (eval "$ac_link") 2>conftest.er1
27167 ac_status=$?
27168 grep -v '^ *+' conftest.er1 >conftest.err
27169 rm -f conftest.er1
27170 cat conftest.err >&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); } && {
27173 test -z "$ac_c_werror_flag" ||
27174 test ! -s conftest.err
27175 } && test -s conftest$ac_exeext &&
27176 $as_test_x conftest$ac_exeext; then
27177 eval "$as_ac_var=yes"
27178 else
27179 echo "$as_me: failed program was:" >&5
27180 sed 's/^/| /' conftest.$ac_ext >&5
27181
27182 eval "$as_ac_var=no"
27183 fi
27184
27185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27186 conftest$ac_exeext conftest.$ac_ext
27187 fi
27188 ac_res=`eval echo '${'$as_ac_var'}'`
27189 { echo "$as_me:$LINENO: result: $ac_res" >&5
27190 echo "${ECHO_T}$ac_res" >&6; }
27191 if test `eval echo '${'$as_ac_var'}'` = yes; then
27192 cat >>confdefs.h <<_ACEOF
27193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27194 _ACEOF
27195 have_cos=1
27196 fi
27197 done
27198
27199
27200 for ac_func in floor
27201 do
27202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27203 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27205 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27207 else
27208 cat >conftest.$ac_ext <<_ACEOF
27209 /* confdefs.h. */
27210 _ACEOF
27211 cat confdefs.h >>conftest.$ac_ext
27212 cat >>conftest.$ac_ext <<_ACEOF
27213 /* end confdefs.h. */
27214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27216 #define $ac_func innocuous_$ac_func
27217
27218 /* System header to define __stub macros and hopefully few prototypes,
27219 which can conflict with char $ac_func (); below.
27220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27221 <limits.h> exists even on freestanding compilers. */
27222
27223 #ifdef __STDC__
27224 # include <limits.h>
27225 #else
27226 # include <assert.h>
27227 #endif
27228
27229 #undef $ac_func
27230
27231 /* Override any GCC internal prototype to avoid an error.
27232 Use char because int might match the return type of a GCC
27233 builtin and then its argument prototype would still apply. */
27234 #ifdef __cplusplus
27235 extern "C"
27236 #endif
27237 char $ac_func ();
27238 /* The GNU C library defines this for functions which it implements
27239 to always fail with ENOSYS. Some functions are actually named
27240 something starting with __ and the normal name is an alias. */
27241 #if defined __stub_$ac_func || defined __stub___$ac_func
27242 choke me
27243 #endif
27244
27245 int
27246 main ()
27247 {
27248 return $ac_func ();
27249 ;
27250 return 0;
27251 }
27252 _ACEOF
27253 rm -f conftest.$ac_objext conftest$ac_exeext
27254 if { (ac_try="$ac_link"
27255 case "(($ac_try" in
27256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27257 *) ac_try_echo=$ac_try;;
27258 esac
27259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27260 (eval "$ac_link") 2>conftest.er1
27261 ac_status=$?
27262 grep -v '^ *+' conftest.er1 >conftest.err
27263 rm -f conftest.er1
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } && {
27267 test -z "$ac_c_werror_flag" ||
27268 test ! -s conftest.err
27269 } && test -s conftest$ac_exeext &&
27270 $as_test_x conftest$ac_exeext; then
27271 eval "$as_ac_var=yes"
27272 else
27273 echo "$as_me: failed program was:" >&5
27274 sed 's/^/| /' conftest.$ac_ext >&5
27275
27276 eval "$as_ac_var=no"
27277 fi
27278
27279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27280 conftest$ac_exeext conftest.$ac_ext
27281 fi
27282 ac_res=`eval echo '${'$as_ac_var'}'`
27283 { echo "$as_me:$LINENO: result: $ac_res" >&5
27284 echo "${ECHO_T}$ac_res" >&6; }
27285 if test `eval echo '${'$as_ac_var'}'` = yes; then
27286 cat >>confdefs.h <<_ACEOF
27287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27288 _ACEOF
27289 have_floor=1
27290 fi
27291 done
27292
27293 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27294 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27295 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27296 { echo "$as_me:$LINENO: result: yes" >&5
27297 echo "${ECHO_T}yes" >&6; }
27298 else
27299 { echo "$as_me:$LINENO: result: no" >&5
27300 echo "${ECHO_T}no" >&6; }
27301 LIBS="$LIBS -lm"
27302 # use different functions to avoid configure caching
27303 have_sin=0
27304 have_ceil=0
27305
27306 for ac_func in sin
27307 do
27308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27309 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27311 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27312 echo $ECHO_N "(cached) $ECHO_C" >&6
27313 else
27314 cat >conftest.$ac_ext <<_ACEOF
27315 /* confdefs.h. */
27316 _ACEOF
27317 cat confdefs.h >>conftest.$ac_ext
27318 cat >>conftest.$ac_ext <<_ACEOF
27319 /* end confdefs.h. */
27320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27322 #define $ac_func innocuous_$ac_func
27323
27324 /* System header to define __stub macros and hopefully few prototypes,
27325 which can conflict with char $ac_func (); below.
27326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27327 <limits.h> exists even on freestanding compilers. */
27328
27329 #ifdef __STDC__
27330 # include <limits.h>
27331 #else
27332 # include <assert.h>
27333 #endif
27334
27335 #undef $ac_func
27336
27337 /* Override any GCC internal prototype to avoid an error.
27338 Use char because int might match the return type of a GCC
27339 builtin and then its argument prototype would still apply. */
27340 #ifdef __cplusplus
27341 extern "C"
27342 #endif
27343 char $ac_func ();
27344 /* The GNU C library defines this for functions which it implements
27345 to always fail with ENOSYS. Some functions are actually named
27346 something starting with __ and the normal name is an alias. */
27347 #if defined __stub_$ac_func || defined __stub___$ac_func
27348 choke me
27349 #endif
27350
27351 int
27352 main ()
27353 {
27354 return $ac_func ();
27355 ;
27356 return 0;
27357 }
27358 _ACEOF
27359 rm -f conftest.$ac_objext conftest$ac_exeext
27360 if { (ac_try="$ac_link"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27364 esac
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_link") 2>conftest.er1
27367 ac_status=$?
27368 grep -v '^ *+' conftest.er1 >conftest.err
27369 rm -f conftest.er1
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } && {
27373 test -z "$ac_c_werror_flag" ||
27374 test ! -s conftest.err
27375 } && test -s conftest$ac_exeext &&
27376 $as_test_x conftest$ac_exeext; then
27377 eval "$as_ac_var=yes"
27378 else
27379 echo "$as_me: failed program was:" >&5
27380 sed 's/^/| /' conftest.$ac_ext >&5
27381
27382 eval "$as_ac_var=no"
27383 fi
27384
27385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27386 conftest$ac_exeext conftest.$ac_ext
27387 fi
27388 ac_res=`eval echo '${'$as_ac_var'}'`
27389 { echo "$as_me:$LINENO: result: $ac_res" >&5
27390 echo "${ECHO_T}$ac_res" >&6; }
27391 if test `eval echo '${'$as_ac_var'}'` = yes; then
27392 cat >>confdefs.h <<_ACEOF
27393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27394 _ACEOF
27395 have_sin=1
27396 fi
27397 done
27398
27399
27400 for ac_func in ceil
27401 do
27402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27403 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27405 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27407 else
27408 cat >conftest.$ac_ext <<_ACEOF
27409 /* confdefs.h. */
27410 _ACEOF
27411 cat confdefs.h >>conftest.$ac_ext
27412 cat >>conftest.$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27416 #define $ac_func innocuous_$ac_func
27417
27418 /* System header to define __stub macros and hopefully few prototypes,
27419 which can conflict with char $ac_func (); below.
27420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27421 <limits.h> exists even on freestanding compilers. */
27422
27423 #ifdef __STDC__
27424 # include <limits.h>
27425 #else
27426 # include <assert.h>
27427 #endif
27428
27429 #undef $ac_func
27430
27431 /* Override any GCC internal prototype to avoid an error.
27432 Use char because int might match the return type of a GCC
27433 builtin and then its argument prototype would still apply. */
27434 #ifdef __cplusplus
27435 extern "C"
27436 #endif
27437 char $ac_func ();
27438 /* The GNU C library defines this for functions which it implements
27439 to always fail with ENOSYS. Some functions are actually named
27440 something starting with __ and the normal name is an alias. */
27441 #if defined __stub_$ac_func || defined __stub___$ac_func
27442 choke me
27443 #endif
27444
27445 int
27446 main ()
27447 {
27448 return $ac_func ();
27449 ;
27450 return 0;
27451 }
27452 _ACEOF
27453 rm -f conftest.$ac_objext conftest$ac_exeext
27454 if { (ac_try="$ac_link"
27455 case "(($ac_try" in
27456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27457 *) ac_try_echo=$ac_try;;
27458 esac
27459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27460 (eval "$ac_link") 2>conftest.er1
27461 ac_status=$?
27462 grep -v '^ *+' conftest.er1 >conftest.err
27463 rm -f conftest.er1
27464 cat conftest.err >&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); } && {
27467 test -z "$ac_c_werror_flag" ||
27468 test ! -s conftest.err
27469 } && test -s conftest$ac_exeext &&
27470 $as_test_x conftest$ac_exeext; then
27471 eval "$as_ac_var=yes"
27472 else
27473 echo "$as_me: failed program was:" >&5
27474 sed 's/^/| /' conftest.$ac_ext >&5
27475
27476 eval "$as_ac_var=no"
27477 fi
27478
27479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27480 conftest$ac_exeext conftest.$ac_ext
27481 fi
27482 ac_res=`eval echo '${'$as_ac_var'}'`
27483 { echo "$as_me:$LINENO: result: $ac_res" >&5
27484 echo "${ECHO_T}$ac_res" >&6; }
27485 if test `eval echo '${'$as_ac_var'}'` = yes; then
27486 cat >>confdefs.h <<_ACEOF
27487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27488 _ACEOF
27489 have_ceil=1
27490 fi
27491 done
27492
27493 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27494 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27495 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27496 { echo "$as_me:$LINENO: result: yes" >&5
27497 echo "${ECHO_T}yes" >&6; }
27498 else
27499 { echo "$as_me:$LINENO: result: no" >&5
27500 echo "${ECHO_T}no" >&6; }
27501 # not sure we should warn the user, crash, etc.
27502 fi
27503 fi
27504
27505 ac_ext=cpp
27506 ac_cpp='$CXXCPP $CPPFLAGS'
27507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27510
27511 if test "wxUSE_UNICODE" = "yes"; then
27512
27513 for wx_func in wcstoull
27514 do
27515 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27516 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27517 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27518 echo $ECHO_N "(cached) $ECHO_C" >&6
27519 else
27520
27521 cat >conftest.$ac_ext <<_ACEOF
27522
27523 /* confdefs.h. */
27524 _ACEOF
27525 cat confdefs.h >>conftest.$ac_ext
27526 cat >>conftest.$ac_ext <<_ACEOF
27527 /* end confdefs.h. */
27528
27529
27530 $ac_includes_default
27531
27532 int
27533 main ()
27534 {
27535
27536 #ifndef $wx_func
27537 &$wx_func;
27538 #endif
27539
27540
27541 ;
27542 return 0;
27543 }
27544
27545 _ACEOF
27546 rm -f conftest.$ac_objext conftest$ac_exeext
27547 if { (ac_try="$ac_link"
27548 case "(($ac_try" in
27549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27550 *) ac_try_echo=$ac_try;;
27551 esac
27552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27553 (eval "$ac_link") 2>conftest.er1
27554 ac_status=$?
27555 grep -v '^ *+' conftest.er1 >conftest.err
27556 rm -f conftest.er1
27557 cat conftest.err >&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } && {
27560 test -z "$ac_cxx_werror_flag" ||
27561 test ! -s conftest.err
27562 } && test -s conftest$ac_exeext &&
27563 $as_test_x conftest$ac_exeext; then
27564 eval wx_cv_func_$wx_func=yes
27565 else
27566 echo "$as_me: failed program was:" >&5
27567 sed 's/^/| /' conftest.$ac_ext >&5
27568
27569 eval wx_cv_func_$wx_func=no
27570 fi
27571
27572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27573 conftest$ac_exeext conftest.$ac_ext
27574
27575 fi
27576 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27577 { echo "$as_me:$LINENO: result: $ac_res" >&5
27578 echo "${ECHO_T}$ac_res" >&6; }
27579
27580 if eval test \$wx_cv_func_$wx_func = yes
27581 then
27582 cat >>confdefs.h <<_ACEOF
27583 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27584 _ACEOF
27585
27586
27587 else
27588 :
27589
27590 fi
27591 done
27592
27593 else
27594
27595 for wx_func in strtoull
27596 do
27597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27599 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27600 echo $ECHO_N "(cached) $ECHO_C" >&6
27601 else
27602
27603 cat >conftest.$ac_ext <<_ACEOF
27604
27605 /* confdefs.h. */
27606 _ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h. */
27610
27611
27612 $ac_includes_default
27613
27614 int
27615 main ()
27616 {
27617
27618 #ifndef $wx_func
27619 &$wx_func;
27620 #endif
27621
27622
27623 ;
27624 return 0;
27625 }
27626
27627 _ACEOF
27628 rm -f conftest.$ac_objext conftest$ac_exeext
27629 if { (ac_try="$ac_link"
27630 case "(($ac_try" in
27631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27632 *) ac_try_echo=$ac_try;;
27633 esac
27634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27635 (eval "$ac_link") 2>conftest.er1
27636 ac_status=$?
27637 grep -v '^ *+' conftest.er1 >conftest.err
27638 rm -f conftest.er1
27639 cat conftest.err >&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } && {
27642 test -z "$ac_cxx_werror_flag" ||
27643 test ! -s conftest.err
27644 } && test -s conftest$ac_exeext &&
27645 $as_test_x conftest$ac_exeext; then
27646 eval wx_cv_func_$wx_func=yes
27647 else
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.$ac_ext >&5
27650
27651 eval wx_cv_func_$wx_func=no
27652 fi
27653
27654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27655 conftest$ac_exeext conftest.$ac_ext
27656
27657 fi
27658 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27659 { echo "$as_me:$LINENO: result: $ac_res" >&5
27660 echo "${ECHO_T}$ac_res" >&6; }
27661
27662 if eval test \$wx_cv_func_$wx_func = yes
27663 then
27664 cat >>confdefs.h <<_ACEOF
27665 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27666 _ACEOF
27667
27668
27669 else
27670 :
27671
27672 fi
27673 done
27674
27675 fi
27676 ac_ext=c
27677 ac_cpp='$CPP $CPPFLAGS'
27678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27681
27682
27683
27684
27685 if test "$wxUSE_REGEX" != "no"; then
27686 cat >>confdefs.h <<\_ACEOF
27687 #define wxUSE_REGEX 1
27688 _ACEOF
27689
27690
27691 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27692 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27693 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27694 wxUSE_REGEX=builtin
27695 fi
27696
27697 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27698 { echo "$as_me:$LINENO: checking for regex.h" >&5
27699 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27700 if test "${ac_cv_header_regex_h+set}" = set; then
27701 echo $ECHO_N "(cached) $ECHO_C" >&6
27702 else
27703 cat >conftest.$ac_ext <<_ACEOF
27704 /* confdefs.h. */
27705 _ACEOF
27706 cat confdefs.h >>conftest.$ac_ext
27707 cat >>conftest.$ac_ext <<_ACEOF
27708 /* end confdefs.h. */
27709
27710
27711 #include <regex.h>
27712 _ACEOF
27713 rm -f conftest.$ac_objext
27714 if { (ac_try="$ac_compile"
27715 case "(($ac_try" in
27716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27717 *) ac_try_echo=$ac_try;;
27718 esac
27719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27720 (eval "$ac_compile") 2>conftest.er1
27721 ac_status=$?
27722 grep -v '^ *+' conftest.er1 >conftest.err
27723 rm -f conftest.er1
27724 cat conftest.err >&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); } && {
27727 test -z "$ac_c_werror_flag" ||
27728 test ! -s conftest.err
27729 } && test -s conftest.$ac_objext; then
27730 ac_cv_header_regex_h=yes
27731 else
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.$ac_ext >&5
27734
27735 ac_cv_header_regex_h=no
27736 fi
27737
27738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27739 fi
27740 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27741 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27742 if test $ac_cv_header_regex_h = yes; then
27743
27744
27745 for ac_func in regcomp re_search
27746 do
27747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27751 echo $ECHO_N "(cached) $ECHO_C" >&6
27752 else
27753 cat >conftest.$ac_ext <<_ACEOF
27754 /* confdefs.h. */
27755 _ACEOF
27756 cat confdefs.h >>conftest.$ac_ext
27757 cat >>conftest.$ac_ext <<_ACEOF
27758 /* end confdefs.h. */
27759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27761 #define $ac_func innocuous_$ac_func
27762
27763 /* System header to define __stub macros and hopefully few prototypes,
27764 which can conflict with char $ac_func (); below.
27765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27766 <limits.h> exists even on freestanding compilers. */
27767
27768 #ifdef __STDC__
27769 # include <limits.h>
27770 #else
27771 # include <assert.h>
27772 #endif
27773
27774 #undef $ac_func
27775
27776 /* Override any GCC internal prototype to avoid an error.
27777 Use char because int might match the return type of a GCC
27778 builtin and then its argument prototype would still apply. */
27779 #ifdef __cplusplus
27780 extern "C"
27781 #endif
27782 char $ac_func ();
27783 /* The GNU C library defines this for functions which it implements
27784 to always fail with ENOSYS. Some functions are actually named
27785 something starting with __ and the normal name is an alias. */
27786 #if defined __stub_$ac_func || defined __stub___$ac_func
27787 choke me
27788 #endif
27789
27790 int
27791 main ()
27792 {
27793 return $ac_func ();
27794 ;
27795 return 0;
27796 }
27797 _ACEOF
27798 rm -f conftest.$ac_objext conftest$ac_exeext
27799 if { (ac_try="$ac_link"
27800 case "(($ac_try" in
27801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27802 *) ac_try_echo=$ac_try;;
27803 esac
27804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27805 (eval "$ac_link") 2>conftest.er1
27806 ac_status=$?
27807 grep -v '^ *+' conftest.er1 >conftest.err
27808 rm -f conftest.er1
27809 cat conftest.err >&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); } && {
27812 test -z "$ac_c_werror_flag" ||
27813 test ! -s conftest.err
27814 } && test -s conftest$ac_exeext &&
27815 $as_test_x conftest$ac_exeext; then
27816 eval "$as_ac_var=yes"
27817 else
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.$ac_ext >&5
27820
27821 eval "$as_ac_var=no"
27822 fi
27823
27824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27825 conftest$ac_exeext conftest.$ac_ext
27826 fi
27827 ac_res=`eval echo '${'$as_ac_var'}'`
27828 { echo "$as_me:$LINENO: result: $ac_res" >&5
27829 echo "${ECHO_T}$ac_res" >&6; }
27830 if test `eval echo '${'$as_ac_var'}'` = yes; then
27831 cat >>confdefs.h <<_ACEOF
27832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27833 _ACEOF
27834
27835 fi
27836 done
27837
27838 fi
27839
27840
27841
27842 if test "x$ac_cv_func_regcomp" != "xyes"; then
27843 if test "$wxUSE_REGEX" = "sys" ; then
27844 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27845 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27846 { (exit 1); exit 1; }; }
27847 else
27848 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27849 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27850 wxUSE_REGEX=builtin
27851 fi
27852 else
27853 wxUSE_REGEX=sys
27854 cat >>confdefs.h <<\_ACEOF
27855 #define WX_NO_REGEX_ADVANCED 1
27856 _ACEOF
27857
27858 fi
27859 fi
27860 fi
27861
27862
27863 ZLIB_LINK=
27864 if test "$wxUSE_ZLIB" != "no" ; then
27865 cat >>confdefs.h <<\_ACEOF
27866 #define wxUSE_ZLIB 1
27867 _ACEOF
27868
27869
27870 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27871 if test "$USE_DARWIN" = 1; then
27872 system_zlib_h_ok="yes"
27873 else
27874 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27875 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27876 if test "${ac_cv_header_zlib_h+set}" = set; then
27877 echo $ECHO_N "(cached) $ECHO_C" >&6
27878 else
27879 if test "$cross_compiling" = yes; then
27880 unset ac_cv_header_zlib_h
27881
27882 else
27883 cat >conftest.$ac_ext <<_ACEOF
27884 /* confdefs.h. */
27885 _ACEOF
27886 cat confdefs.h >>conftest.$ac_ext
27887 cat >>conftest.$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27889
27890 #include <zlib.h>
27891 #include <stdio.h>
27892
27893 int main()
27894 {
27895 FILE *f=fopen("conftestval", "w");
27896 if (!f) exit(1);
27897 fprintf(f, "%s",
27898 ZLIB_VERSION[0] == '1' &&
27899 (ZLIB_VERSION[2] > '1' ||
27900 (ZLIB_VERSION[2] == '1' &&
27901 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27902 exit(0);
27903 }
27904
27905 _ACEOF
27906 rm -f conftest$ac_exeext
27907 if { (ac_try="$ac_link"
27908 case "(($ac_try" in
27909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27910 *) ac_try_echo=$ac_try;;
27911 esac
27912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27913 (eval "$ac_link") 2>&5
27914 ac_status=$?
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27917 { (case "(($ac_try" in
27918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27919 *) ac_try_echo=$ac_try;;
27920 esac
27921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27922 (eval "$ac_try") 2>&5
27923 ac_status=$?
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); }; }; then
27926 ac_cv_header_zlib_h=`cat conftestval`
27927 else
27928 echo "$as_me: program exited with status $ac_status" >&5
27929 echo "$as_me: failed program was:" >&5
27930 sed 's/^/| /' conftest.$ac_ext >&5
27931
27932 ( exit $ac_status )
27933 ac_cv_header_zlib_h=no
27934 fi
27935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27936 fi
27937
27938
27939
27940 fi
27941 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27942 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27943 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27944 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27945 if test "${ac_cv_header_zlib_h+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 else
27948 cat >conftest.$ac_ext <<_ACEOF
27949 /* confdefs.h. */
27950 _ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27954
27955
27956 #include <zlib.h>
27957 _ACEOF
27958 rm -f conftest.$ac_objext
27959 if { (ac_try="$ac_compile"
27960 case "(($ac_try" in
27961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27962 *) ac_try_echo=$ac_try;;
27963 esac
27964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27965 (eval "$ac_compile") 2>conftest.er1
27966 ac_status=$?
27967 grep -v '^ *+' conftest.er1 >conftest.err
27968 rm -f conftest.er1
27969 cat conftest.err >&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); } && {
27972 test -z "$ac_c_werror_flag" ||
27973 test ! -s conftest.err
27974 } && test -s conftest.$ac_objext; then
27975 ac_cv_header_zlib_h=yes
27976 else
27977 echo "$as_me: failed program was:" >&5
27978 sed 's/^/| /' conftest.$ac_ext >&5
27979
27980 ac_cv_header_zlib_h=no
27981 fi
27982
27983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27984 fi
27985 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27986 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27987
27988
27989
27990 system_zlib_h_ok=$ac_cv_header_zlib_h
27991 fi
27992
27993 if test "$system_zlib_h_ok" = "yes"; then
27994 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27995 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27996 if test "${ac_cv_lib_z_deflate+set}" = set; then
27997 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 else
27999 ac_check_lib_save_LIBS=$LIBS
28000 LIBS="-lz $LIBS"
28001 cat >conftest.$ac_ext <<_ACEOF
28002 /* confdefs.h. */
28003 _ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28007
28008 /* Override any GCC internal prototype to avoid an error.
28009 Use char because int might match the return type of a GCC
28010 builtin and then its argument prototype would still apply. */
28011 #ifdef __cplusplus
28012 extern "C"
28013 #endif
28014 char deflate ();
28015 int
28016 main ()
28017 {
28018 return deflate ();
28019 ;
28020 return 0;
28021 }
28022 _ACEOF
28023 rm -f conftest.$ac_objext conftest$ac_exeext
28024 if { (ac_try="$ac_link"
28025 case "(($ac_try" in
28026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28027 *) ac_try_echo=$ac_try;;
28028 esac
28029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28030 (eval "$ac_link") 2>conftest.er1
28031 ac_status=$?
28032 grep -v '^ *+' conftest.er1 >conftest.err
28033 rm -f conftest.er1
28034 cat conftest.err >&5
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); } && {
28037 test -z "$ac_c_werror_flag" ||
28038 test ! -s conftest.err
28039 } && test -s conftest$ac_exeext &&
28040 $as_test_x conftest$ac_exeext; then
28041 ac_cv_lib_z_deflate=yes
28042 else
28043 echo "$as_me: failed program was:" >&5
28044 sed 's/^/| /' conftest.$ac_ext >&5
28045
28046 ac_cv_lib_z_deflate=no
28047 fi
28048
28049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28050 conftest$ac_exeext conftest.$ac_ext
28051 LIBS=$ac_check_lib_save_LIBS
28052 fi
28053 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28054 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28055 if test $ac_cv_lib_z_deflate = yes; then
28056 ZLIB_LINK=" -lz"
28057 fi
28058
28059 fi
28060
28061 if test "x$ZLIB_LINK" = "x" ; then
28062 if test "$wxUSE_ZLIB" = "sys" ; then
28063 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28064 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28065 { (exit 1); exit 1; }; }
28066 else
28067 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28068 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28069 wxUSE_ZLIB=builtin
28070 fi
28071 else
28072 wxUSE_ZLIB=sys
28073 fi
28074 fi
28075 fi
28076
28077
28078 PNG_LINK=
28079 if test "$wxUSE_LIBPNG" != "no" ; then
28080 cat >>confdefs.h <<\_ACEOF
28081 #define wxUSE_LIBPNG 1
28082 _ACEOF
28083
28084
28085 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28086 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28087 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28088 wxUSE_LIBPNG=sys
28089 fi
28090
28091 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28092 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28093 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28094 wxUSE_LIBPNG=builtin
28095 fi
28096
28097 if test "$wxUSE_MGL" != 1 ; then
28098 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28099 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28100 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28101 if test "${ac_cv_header_png_h+set}" = set; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28103 else
28104 if test "$cross_compiling" = yes; then
28105 unset ac_cv_header_png_h
28106
28107 else
28108 cat >conftest.$ac_ext <<_ACEOF
28109 /* confdefs.h. */
28110 _ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114
28115 #include <png.h>
28116 #include <stdio.h>
28117
28118 int main()
28119 {
28120 FILE *f=fopen("conftestval", "w");
28121 if (!f) exit(1);
28122 fprintf(f, "%s",
28123 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28124 exit(0);
28125 }
28126
28127 _ACEOF
28128 rm -f conftest$ac_exeext
28129 if { (ac_try="$ac_link"
28130 case "(($ac_try" in
28131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28132 *) ac_try_echo=$ac_try;;
28133 esac
28134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28135 (eval "$ac_link") 2>&5
28136 ac_status=$?
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28139 { (case "(($ac_try" in
28140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28141 *) ac_try_echo=$ac_try;;
28142 esac
28143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28144 (eval "$ac_try") 2>&5
28145 ac_status=$?
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; }; then
28148 ac_cv_header_png_h=`cat conftestval`
28149 else
28150 echo "$as_me: program exited with status $ac_status" >&5
28151 echo "$as_me: failed program was:" >&5
28152 sed 's/^/| /' conftest.$ac_ext >&5
28153
28154 ( exit $ac_status )
28155 ac_cv_header_png_h=no
28156 fi
28157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28158 fi
28159
28160
28161
28162 fi
28163 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28164 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28165 { echo "$as_me:$LINENO: checking for png.h" >&5
28166 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28167 if test "${ac_cv_header_png_h+set}" = set; then
28168 echo $ECHO_N "(cached) $ECHO_C" >&6
28169 else
28170 cat >conftest.$ac_ext <<_ACEOF
28171 /* confdefs.h. */
28172 _ACEOF
28173 cat confdefs.h >>conftest.$ac_ext
28174 cat >>conftest.$ac_ext <<_ACEOF
28175 /* end confdefs.h. */
28176
28177
28178 #include <png.h>
28179 _ACEOF
28180 rm -f conftest.$ac_objext
28181 if { (ac_try="$ac_compile"
28182 case "(($ac_try" in
28183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28184 *) ac_try_echo=$ac_try;;
28185 esac
28186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28187 (eval "$ac_compile") 2>conftest.er1
28188 ac_status=$?
28189 grep -v '^ *+' conftest.er1 >conftest.err
28190 rm -f conftest.er1
28191 cat conftest.err >&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); } && {
28194 test -z "$ac_c_werror_flag" ||
28195 test ! -s conftest.err
28196 } && test -s conftest.$ac_objext; then
28197 ac_cv_header_png_h=yes
28198 else
28199 echo "$as_me: failed program was:" >&5
28200 sed 's/^/| /' conftest.$ac_ext >&5
28201
28202 ac_cv_header_png_h=no
28203 fi
28204
28205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28206 fi
28207 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28208 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28209
28210
28211
28212 if test "$ac_cv_header_png_h" = "yes"; then
28213 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28214 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28215 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28216 echo $ECHO_N "(cached) $ECHO_C" >&6
28217 else
28218 ac_check_lib_save_LIBS=$LIBS
28219 LIBS="-lpng -lz -lm $LIBS"
28220 cat >conftest.$ac_ext <<_ACEOF
28221 /* confdefs.h. */
28222 _ACEOF
28223 cat confdefs.h >>conftest.$ac_ext
28224 cat >>conftest.$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28226
28227 /* Override any GCC internal prototype to avoid an error.
28228 Use char because int might match the return type of a GCC
28229 builtin and then its argument prototype would still apply. */
28230 #ifdef __cplusplus
28231 extern "C"
28232 #endif
28233 char png_sig_cmp ();
28234 int
28235 main ()
28236 {
28237 return png_sig_cmp ();
28238 ;
28239 return 0;
28240 }
28241 _ACEOF
28242 rm -f conftest.$ac_objext conftest$ac_exeext
28243 if { (ac_try="$ac_link"
28244 case "(($ac_try" in
28245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28246 *) ac_try_echo=$ac_try;;
28247 esac
28248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249 (eval "$ac_link") 2>conftest.er1
28250 ac_status=$?
28251 grep -v '^ *+' conftest.er1 >conftest.err
28252 rm -f conftest.er1
28253 cat conftest.err >&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } && {
28256 test -z "$ac_c_werror_flag" ||
28257 test ! -s conftest.err
28258 } && test -s conftest$ac_exeext &&
28259 $as_test_x conftest$ac_exeext; then
28260 ac_cv_lib_png_png_sig_cmp=yes
28261 else
28262 echo "$as_me: failed program was:" >&5
28263 sed 's/^/| /' conftest.$ac_ext >&5
28264
28265 ac_cv_lib_png_png_sig_cmp=no
28266 fi
28267
28268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28269 conftest$ac_exeext conftest.$ac_ext
28270 LIBS=$ac_check_lib_save_LIBS
28271 fi
28272 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28273 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28274 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28275 PNG_LINK=" -lpng -lz"
28276 fi
28277
28278 fi
28279
28280 if test "x$PNG_LINK" = "x" ; then
28281 if test "$wxUSE_LIBPNG" = "sys" ; then
28282 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28283 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28284 { (exit 1); exit 1; }; }
28285 else
28286 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28287 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28288 wxUSE_LIBPNG=builtin
28289 fi
28290 else
28291 wxUSE_LIBPNG=sys
28292 fi
28293 fi
28294 fi
28295 fi
28296
28297
28298 JPEG_LINK=
28299 if test "$wxUSE_LIBJPEG" != "no" ; then
28300 cat >>confdefs.h <<\_ACEOF
28301 #define wxUSE_LIBJPEG 1
28302 _ACEOF
28303
28304
28305 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28306 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28307 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28308 wxUSE_LIBJPEG=sys
28309 fi
28310
28311 if test "$wxUSE_MGL" != 1 ; then
28312 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28313 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28314 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28315 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28316 echo $ECHO_N "(cached) $ECHO_C" >&6
28317 else
28318 cat >conftest.$ac_ext <<_ACEOF
28319 /* confdefs.h. */
28320 _ACEOF
28321 cat confdefs.h >>conftest.$ac_ext
28322 cat >>conftest.$ac_ext <<_ACEOF
28323 /* end confdefs.h. */
28324
28325 #undef HAVE_STDLIB_H
28326 #include <stdio.h>
28327 #include <jpeglib.h>
28328
28329 int
28330 main ()
28331 {
28332
28333
28334 ;
28335 return 0;
28336 }
28337 _ACEOF
28338 rm -f conftest.$ac_objext
28339 if { (ac_try="$ac_compile"
28340 case "(($ac_try" in
28341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28342 *) ac_try_echo=$ac_try;;
28343 esac
28344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28345 (eval "$ac_compile") 2>conftest.er1
28346 ac_status=$?
28347 grep -v '^ *+' conftest.er1 >conftest.err
28348 rm -f conftest.er1
28349 cat conftest.err >&5
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); } && {
28352 test -z "$ac_c_werror_flag" ||
28353 test ! -s conftest.err
28354 } && test -s conftest.$ac_objext; then
28355 ac_cv_header_jpeglib_h=yes
28356 else
28357 echo "$as_me: failed program was:" >&5
28358 sed 's/^/| /' conftest.$ac_ext >&5
28359
28360 ac_cv_header_jpeglib_h=no
28361
28362 fi
28363
28364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28365
28366 fi
28367
28368 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28369 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28370
28371 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28372 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28373 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28374 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28375 echo $ECHO_N "(cached) $ECHO_C" >&6
28376 else
28377 ac_check_lib_save_LIBS=$LIBS
28378 LIBS="-ljpeg $LIBS"
28379 cat >conftest.$ac_ext <<_ACEOF
28380 /* confdefs.h. */
28381 _ACEOF
28382 cat confdefs.h >>conftest.$ac_ext
28383 cat >>conftest.$ac_ext <<_ACEOF
28384 /* end confdefs.h. */
28385
28386 /* Override any GCC internal prototype to avoid an error.
28387 Use char because int might match the return type of a GCC
28388 builtin and then its argument prototype would still apply. */
28389 #ifdef __cplusplus
28390 extern "C"
28391 #endif
28392 char jpeg_read_header ();
28393 int
28394 main ()
28395 {
28396 return jpeg_read_header ();
28397 ;
28398 return 0;
28399 }
28400 _ACEOF
28401 rm -f conftest.$ac_objext conftest$ac_exeext
28402 if { (ac_try="$ac_link"
28403 case "(($ac_try" in
28404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28405 *) ac_try_echo=$ac_try;;
28406 esac
28407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28408 (eval "$ac_link") 2>conftest.er1
28409 ac_status=$?
28410 grep -v '^ *+' conftest.er1 >conftest.err
28411 rm -f conftest.er1
28412 cat conftest.err >&5
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); } && {
28415 test -z "$ac_c_werror_flag" ||
28416 test ! -s conftest.err
28417 } && test -s conftest$ac_exeext &&
28418 $as_test_x conftest$ac_exeext; then
28419 ac_cv_lib_jpeg_jpeg_read_header=yes
28420 else
28421 echo "$as_me: failed program was:" >&5
28422 sed 's/^/| /' conftest.$ac_ext >&5
28423
28424 ac_cv_lib_jpeg_jpeg_read_header=no
28425 fi
28426
28427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28428 conftest$ac_exeext conftest.$ac_ext
28429 LIBS=$ac_check_lib_save_LIBS
28430 fi
28431 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28432 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28433 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28434 JPEG_LINK=" -ljpeg"
28435 fi
28436
28437 fi
28438
28439 if test "x$JPEG_LINK" = "x" ; then
28440 if test "$wxUSE_LIBJPEG" = "sys" ; then
28441 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28442 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28443 { (exit 1); exit 1; }; }
28444 else
28445 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28446 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28447 wxUSE_LIBJPEG=builtin
28448 fi
28449 else
28450 wxUSE_LIBJPEG=sys
28451
28452 if test "$wxUSE_MSW" = 1; then
28453 { echo "$as_me:$LINENO: checking for boolean" >&5
28454 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28455 if test "${ac_cv_type_boolean+set}" = set; then
28456 echo $ECHO_N "(cached) $ECHO_C" >&6
28457 else
28458 cat >conftest.$ac_ext <<_ACEOF
28459 /* confdefs.h. */
28460 _ACEOF
28461 cat confdefs.h >>conftest.$ac_ext
28462 cat >>conftest.$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28464 #include <windows.h>
28465
28466 typedef boolean ac__type_new_;
28467 int
28468 main ()
28469 {
28470 if ((ac__type_new_ *) 0)
28471 return 0;
28472 if (sizeof (ac__type_new_))
28473 return 0;
28474 ;
28475 return 0;
28476 }
28477 _ACEOF
28478 rm -f conftest.$ac_objext
28479 if { (ac_try="$ac_compile"
28480 case "(($ac_try" in
28481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28482 *) ac_try_echo=$ac_try;;
28483 esac
28484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28485 (eval "$ac_compile") 2>conftest.er1
28486 ac_status=$?
28487 grep -v '^ *+' conftest.er1 >conftest.err
28488 rm -f conftest.er1
28489 cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } && {
28492 test -z "$ac_c_werror_flag" ||
28493 test ! -s conftest.err
28494 } && test -s conftest.$ac_objext; then
28495 ac_cv_type_boolean=yes
28496 else
28497 echo "$as_me: failed program was:" >&5
28498 sed 's/^/| /' conftest.$ac_ext >&5
28499
28500 ac_cv_type_boolean=no
28501 fi
28502
28503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28504 fi
28505 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28506 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28507 if test $ac_cv_type_boolean = yes; then
28508
28509 cat >>confdefs.h <<_ACEOF
28510 #define HAVE_BOOLEAN 1
28511 _ACEOF
28512
28513
28514 { echo "$as_me:$LINENO: checking for boolean" >&5
28515 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28516 if test "${ac_cv_type_boolean+set}" = set; then
28517 echo $ECHO_N "(cached) $ECHO_C" >&6
28518 else
28519 cat >conftest.$ac_ext <<_ACEOF
28520 /* confdefs.h. */
28521 _ACEOF
28522 cat confdefs.h >>conftest.$ac_ext
28523 cat >>conftest.$ac_ext <<_ACEOF
28524 /* end confdefs.h. */
28525
28526 #undef HAVE_BOOLEAN
28527 #include <stdio.h>
28528 #include <jpeglib.h>
28529
28530
28531 typedef boolean ac__type_new_;
28532 int
28533 main ()
28534 {
28535 if ((ac__type_new_ *) 0)
28536 return 0;
28537 if (sizeof (ac__type_new_))
28538 return 0;
28539 ;
28540 return 0;
28541 }
28542 _ACEOF
28543 rm -f conftest.$ac_objext
28544 if { (ac_try="$ac_compile"
28545 case "(($ac_try" in
28546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28547 *) ac_try_echo=$ac_try;;
28548 esac
28549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28550 (eval "$ac_compile") 2>conftest.er1
28551 ac_status=$?
28552 grep -v '^ *+' conftest.er1 >conftest.err
28553 rm -f conftest.er1
28554 cat conftest.err >&5
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); } && {
28557 test -z "$ac_c_werror_flag" ||
28558 test ! -s conftest.err
28559 } && test -s conftest.$ac_objext; then
28560 ac_cv_type_boolean=yes
28561 else
28562 echo "$as_me: failed program was:" >&5
28563 sed 's/^/| /' conftest.$ac_ext >&5
28564
28565 ac_cv_type_boolean=no
28566 fi
28567
28568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28569 fi
28570 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28571 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28572
28573 # The cast to long int works around a bug in the HP C Compiler
28574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28576 # This bug is HP SR number 8606223364.
28577 { echo "$as_me:$LINENO: checking size of boolean" >&5
28578 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28579 if test "${ac_cv_sizeof_boolean+set}" = set; then
28580 echo $ECHO_N "(cached) $ECHO_C" >&6
28581 else
28582 if test "$cross_compiling" = yes; then
28583 # Depending upon the size, compute the lo and hi bounds.
28584 cat >conftest.$ac_ext <<_ACEOF
28585 /* confdefs.h. */
28586 _ACEOF
28587 cat confdefs.h >>conftest.$ac_ext
28588 cat >>conftest.$ac_ext <<_ACEOF
28589 /* end confdefs.h. */
28590
28591 #undef HAVE_BOOLEAN
28592 #include <stdio.h>
28593 #include <jpeglib.h>
28594
28595
28596 typedef boolean ac__type_sizeof_;
28597 int
28598 main ()
28599 {
28600 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28601 test_array [0] = 0
28602
28603 ;
28604 return 0;
28605 }
28606 _ACEOF
28607 rm -f conftest.$ac_objext
28608 if { (ac_try="$ac_compile"
28609 case "(($ac_try" in
28610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28611 *) ac_try_echo=$ac_try;;
28612 esac
28613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28614 (eval "$ac_compile") 2>conftest.er1
28615 ac_status=$?
28616 grep -v '^ *+' conftest.er1 >conftest.err
28617 rm -f conftest.er1
28618 cat conftest.err >&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); } && {
28621 test -z "$ac_c_werror_flag" ||
28622 test ! -s conftest.err
28623 } && test -s conftest.$ac_objext; then
28624 ac_lo=0 ac_mid=0
28625 while :; do
28626 cat >conftest.$ac_ext <<_ACEOF
28627 /* confdefs.h. */
28628 _ACEOF
28629 cat confdefs.h >>conftest.$ac_ext
28630 cat >>conftest.$ac_ext <<_ACEOF
28631 /* end confdefs.h. */
28632
28633 #undef HAVE_BOOLEAN
28634 #include <stdio.h>
28635 #include <jpeglib.h>
28636
28637
28638 typedef boolean ac__type_sizeof_;
28639 int
28640 main ()
28641 {
28642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28643 test_array [0] = 0
28644
28645 ;
28646 return 0;
28647 }
28648 _ACEOF
28649 rm -f conftest.$ac_objext
28650 if { (ac_try="$ac_compile"
28651 case "(($ac_try" in
28652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28653 *) ac_try_echo=$ac_try;;
28654 esac
28655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28656 (eval "$ac_compile") 2>conftest.er1
28657 ac_status=$?
28658 grep -v '^ *+' conftest.er1 >conftest.err
28659 rm -f conftest.er1
28660 cat conftest.err >&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); } && {
28663 test -z "$ac_c_werror_flag" ||
28664 test ! -s conftest.err
28665 } && test -s conftest.$ac_objext; then
28666 ac_hi=$ac_mid; break
28667 else
28668 echo "$as_me: failed program was:" >&5
28669 sed 's/^/| /' conftest.$ac_ext >&5
28670
28671 ac_lo=`expr $ac_mid + 1`
28672 if test $ac_lo -le $ac_mid; then
28673 ac_lo= ac_hi=
28674 break
28675 fi
28676 ac_mid=`expr 2 '*' $ac_mid + 1`
28677 fi
28678
28679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28680 done
28681 else
28682 echo "$as_me: failed program was:" >&5
28683 sed 's/^/| /' conftest.$ac_ext >&5
28684
28685 cat >conftest.$ac_ext <<_ACEOF
28686 /* confdefs.h. */
28687 _ACEOF
28688 cat confdefs.h >>conftest.$ac_ext
28689 cat >>conftest.$ac_ext <<_ACEOF
28690 /* end confdefs.h. */
28691
28692 #undef HAVE_BOOLEAN
28693 #include <stdio.h>
28694 #include <jpeglib.h>
28695
28696
28697 typedef boolean ac__type_sizeof_;
28698 int
28699 main ()
28700 {
28701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28702 test_array [0] = 0
28703
28704 ;
28705 return 0;
28706 }
28707 _ACEOF
28708 rm -f conftest.$ac_objext
28709 if { (ac_try="$ac_compile"
28710 case "(($ac_try" in
28711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28712 *) ac_try_echo=$ac_try;;
28713 esac
28714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28715 (eval "$ac_compile") 2>conftest.er1
28716 ac_status=$?
28717 grep -v '^ *+' conftest.er1 >conftest.err
28718 rm -f conftest.er1
28719 cat conftest.err >&5
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); } && {
28722 test -z "$ac_c_werror_flag" ||
28723 test ! -s conftest.err
28724 } && test -s conftest.$ac_objext; then
28725 ac_hi=-1 ac_mid=-1
28726 while :; do
28727 cat >conftest.$ac_ext <<_ACEOF
28728 /* confdefs.h. */
28729 _ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733
28734 #undef HAVE_BOOLEAN
28735 #include <stdio.h>
28736 #include <jpeglib.h>
28737
28738
28739 typedef boolean ac__type_sizeof_;
28740 int
28741 main ()
28742 {
28743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28744 test_array [0] = 0
28745
28746 ;
28747 return 0;
28748 }
28749 _ACEOF
28750 rm -f conftest.$ac_objext
28751 if { (ac_try="$ac_compile"
28752 case "(($ac_try" in
28753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28754 *) ac_try_echo=$ac_try;;
28755 esac
28756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28757 (eval "$ac_compile") 2>conftest.er1
28758 ac_status=$?
28759 grep -v '^ *+' conftest.er1 >conftest.err
28760 rm -f conftest.er1
28761 cat conftest.err >&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); } && {
28764 test -z "$ac_c_werror_flag" ||
28765 test ! -s conftest.err
28766 } && test -s conftest.$ac_objext; then
28767 ac_lo=$ac_mid; break
28768 else
28769 echo "$as_me: failed program was:" >&5
28770 sed 's/^/| /' conftest.$ac_ext >&5
28771
28772 ac_hi=`expr '(' $ac_mid ')' - 1`
28773 if test $ac_mid -le $ac_hi; then
28774 ac_lo= ac_hi=
28775 break
28776 fi
28777 ac_mid=`expr 2 '*' $ac_mid`
28778 fi
28779
28780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28781 done
28782 else
28783 echo "$as_me: failed program was:" >&5
28784 sed 's/^/| /' conftest.$ac_ext >&5
28785
28786 ac_lo= ac_hi=
28787 fi
28788
28789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28790 fi
28791
28792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28793 # Binary search between lo and hi bounds.
28794 while test "x$ac_lo" != "x$ac_hi"; do
28795 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28796 cat >conftest.$ac_ext <<_ACEOF
28797 /* confdefs.h. */
28798 _ACEOF
28799 cat confdefs.h >>conftest.$ac_ext
28800 cat >>conftest.$ac_ext <<_ACEOF
28801 /* end confdefs.h. */
28802
28803 #undef HAVE_BOOLEAN
28804 #include <stdio.h>
28805 #include <jpeglib.h>
28806
28807
28808 typedef boolean ac__type_sizeof_;
28809 int
28810 main ()
28811 {
28812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28813 test_array [0] = 0
28814
28815 ;
28816 return 0;
28817 }
28818 _ACEOF
28819 rm -f conftest.$ac_objext
28820 if { (ac_try="$ac_compile"
28821 case "(($ac_try" in
28822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28823 *) ac_try_echo=$ac_try;;
28824 esac
28825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28826 (eval "$ac_compile") 2>conftest.er1
28827 ac_status=$?
28828 grep -v '^ *+' conftest.er1 >conftest.err
28829 rm -f conftest.er1
28830 cat conftest.err >&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); } && {
28833 test -z "$ac_c_werror_flag" ||
28834 test ! -s conftest.err
28835 } && test -s conftest.$ac_objext; then
28836 ac_hi=$ac_mid
28837 else
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.$ac_ext >&5
28840
28841 ac_lo=`expr '(' $ac_mid ')' + 1`
28842 fi
28843
28844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28845 done
28846 case $ac_lo in
28847 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28848 '') if test "$ac_cv_type_boolean" = yes; then
28849 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28850 See \`config.log' for more details." >&5
28851 echo "$as_me: error: cannot compute sizeof (boolean)
28852 See \`config.log' for more details." >&2;}
28853 { (exit 77); exit 77; }; }
28854 else
28855 ac_cv_sizeof_boolean=0
28856 fi ;;
28857 esac
28858 else
28859 cat >conftest.$ac_ext <<_ACEOF
28860 /* confdefs.h. */
28861 _ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28865
28866 #undef HAVE_BOOLEAN
28867 #include <stdio.h>
28868 #include <jpeglib.h>
28869
28870
28871 typedef boolean ac__type_sizeof_;
28872 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28873 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28874 #include <stdio.h>
28875 #include <stdlib.h>
28876 int
28877 main ()
28878 {
28879
28880 FILE *f = fopen ("conftest.val", "w");
28881 if (! f)
28882 return 1;
28883 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28884 {
28885 long int i = longval ();
28886 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28887 return 1;
28888 fprintf (f, "%ld\n", i);
28889 }
28890 else
28891 {
28892 unsigned long int i = ulongval ();
28893 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28894 return 1;
28895 fprintf (f, "%lu\n", i);
28896 }
28897 return ferror (f) || fclose (f) != 0;
28898
28899 ;
28900 return 0;
28901 }
28902 _ACEOF
28903 rm -f conftest$ac_exeext
28904 if { (ac_try="$ac_link"
28905 case "(($ac_try" in
28906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28907 *) ac_try_echo=$ac_try;;
28908 esac
28909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28910 (eval "$ac_link") 2>&5
28911 ac_status=$?
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28914 { (case "(($ac_try" in
28915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28916 *) ac_try_echo=$ac_try;;
28917 esac
28918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28919 (eval "$ac_try") 2>&5
28920 ac_status=$?
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 ac_cv_sizeof_boolean=`cat conftest.val`
28924 else
28925 echo "$as_me: program exited with status $ac_status" >&5
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28928
28929 ( exit $ac_status )
28930 if test "$ac_cv_type_boolean" = yes; then
28931 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28932 See \`config.log' for more details." >&5
28933 echo "$as_me: error: cannot compute sizeof (boolean)
28934 See \`config.log' for more details." >&2;}
28935 { (exit 77); exit 77; }; }
28936 else
28937 ac_cv_sizeof_boolean=0
28938 fi
28939 fi
28940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28941 fi
28942 rm -f conftest.val
28943 fi
28944 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28945 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28946
28947
28948
28949 cat >>confdefs.h <<_ACEOF
28950 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28951 _ACEOF
28952
28953
28954 cat >>confdefs.h <<_ACEOF
28955 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28956 _ACEOF
28957
28958
28959 fi
28960
28961 fi
28962 fi
28963 fi
28964 fi
28965 fi
28966
28967
28968 TIFF_LINK=
28969 TIFF_PREREQ_LINKS=-lm
28970 if test "$wxUSE_LIBTIFF" != "no" ; then
28971 cat >>confdefs.h <<\_ACEOF
28972 #define wxUSE_LIBTIFF 1
28973 _ACEOF
28974
28975
28976 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28977 if test "$wxUSE_LIBJPEG" = "sys"; then
28978 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28979 fi
28980 if test "$wxUSE_ZLIB" = "sys"; then
28981 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28982 fi
28983 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28984 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28985 if test "${ac_cv_header_tiffio_h+set}" = set; then
28986 echo $ECHO_N "(cached) $ECHO_C" >&6
28987 else
28988 cat >conftest.$ac_ext <<_ACEOF
28989 /* confdefs.h. */
28990 _ACEOF
28991 cat confdefs.h >>conftest.$ac_ext
28992 cat >>conftest.$ac_ext <<_ACEOF
28993 /* end confdefs.h. */
28994
28995
28996
28997 #include <tiffio.h>
28998 _ACEOF
28999 rm -f conftest.$ac_objext
29000 if { (ac_try="$ac_compile"
29001 case "(($ac_try" in
29002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29004 esac
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_compile") 2>conftest.er1
29007 ac_status=$?
29008 grep -v '^ *+' conftest.er1 >conftest.err
29009 rm -f conftest.er1
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest.$ac_objext; then
29016 ac_cv_header_tiffio_h=yes
29017 else
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29020
29021 ac_cv_header_tiffio_h=no
29022 fi
29023
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29025 fi
29026 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29027 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29028 if test $ac_cv_header_tiffio_h = yes; then
29029
29030 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29031 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29032 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 else
29035 ac_check_lib_save_LIBS=$LIBS
29036 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29037 cat >conftest.$ac_ext <<_ACEOF
29038 /* confdefs.h. */
29039 _ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29043
29044 /* Override any GCC internal prototype to avoid an error.
29045 Use char because int might match the return type of a GCC
29046 builtin and then its argument prototype would still apply. */
29047 #ifdef __cplusplus
29048 extern "C"
29049 #endif
29050 char TIFFError ();
29051 int
29052 main ()
29053 {
29054 return TIFFError ();
29055 ;
29056 return 0;
29057 }
29058 _ACEOF
29059 rm -f conftest.$ac_objext conftest$ac_exeext
29060 if { (ac_try="$ac_link"
29061 case "(($ac_try" in
29062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29063 *) ac_try_echo=$ac_try;;
29064 esac
29065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29066 (eval "$ac_link") 2>conftest.er1
29067 ac_status=$?
29068 grep -v '^ *+' conftest.er1 >conftest.err
29069 rm -f conftest.er1
29070 cat conftest.err >&5
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); } && {
29073 test -z "$ac_c_werror_flag" ||
29074 test ! -s conftest.err
29075 } && test -s conftest$ac_exeext &&
29076 $as_test_x conftest$ac_exeext; then
29077 ac_cv_lib_tiff_TIFFError=yes
29078 else
29079 echo "$as_me: failed program was:" >&5
29080 sed 's/^/| /' conftest.$ac_ext >&5
29081
29082 ac_cv_lib_tiff_TIFFError=no
29083 fi
29084
29085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29086 conftest$ac_exeext conftest.$ac_ext
29087 LIBS=$ac_check_lib_save_LIBS
29088 fi
29089 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29090 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29091 if test $ac_cv_lib_tiff_TIFFError = yes; then
29092 TIFF_LINK=" -ltiff"
29093 fi
29094
29095
29096 fi
29097
29098
29099
29100 if test "x$TIFF_LINK" = "x" ; then
29101 if test "$wxUSE_LIBTIFF" = "sys" ; then
29102 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29103 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29104 { (exit 1); exit 1; }; }
29105 else
29106 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29107 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29108 wxUSE_LIBTIFF=builtin
29109 fi
29110 else
29111 wxUSE_LIBTIFF=sys
29112 fi
29113 fi
29114 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29115 if test "$wxUSE_LIBJPEG" = "no"; then
29116 ac_configure_args="$ac_configure_args --disable-jpeg"
29117 fi
29118 subdirs="$subdirs src/tiff"
29119
29120 fi
29121 fi
29122
29123
29124 if test "$wxUSE_EXPAT" != "no"; then
29125 wxUSE_XML=yes
29126 cat >>confdefs.h <<\_ACEOF
29127 #define wxUSE_EXPAT 1
29128 _ACEOF
29129
29130 cat >>confdefs.h <<\_ACEOF
29131 #define wxUSE_XML 1
29132 _ACEOF
29133
29134
29135 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29136 { echo "$as_me:$LINENO: checking for expat.h" >&5
29137 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29138 if test "${ac_cv_header_expat_h+set}" = set; then
29139 echo $ECHO_N "(cached) $ECHO_C" >&6
29140 else
29141 cat >conftest.$ac_ext <<_ACEOF
29142 /* confdefs.h. */
29143 _ACEOF
29144 cat confdefs.h >>conftest.$ac_ext
29145 cat >>conftest.$ac_ext <<_ACEOF
29146 /* end confdefs.h. */
29147
29148
29149 #include <expat.h>
29150 _ACEOF
29151 rm -f conftest.$ac_objext
29152 if { (ac_try="$ac_compile"
29153 case "(($ac_try" in
29154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29155 *) ac_try_echo=$ac_try;;
29156 esac
29157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29158 (eval "$ac_compile") 2>conftest.er1
29159 ac_status=$?
29160 grep -v '^ *+' conftest.er1 >conftest.err
29161 rm -f conftest.er1
29162 cat conftest.err >&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } && {
29165 test -z "$ac_c_werror_flag" ||
29166 test ! -s conftest.err
29167 } && test -s conftest.$ac_objext; then
29168 ac_cv_header_expat_h=yes
29169 else
29170 echo "$as_me: failed program was:" >&5
29171 sed 's/^/| /' conftest.$ac_ext >&5
29172
29173 ac_cv_header_expat_h=no
29174 fi
29175
29176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29177 fi
29178 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29179 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29180 if test $ac_cv_header_expat_h = yes; then
29181 found_expat_h=1
29182 fi
29183
29184
29185 if test "x$found_expat_h" = "x1"; then
29186 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29187 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29188 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29189 echo $ECHO_N "(cached) $ECHO_C" >&6
29190 else
29191
29192 ac_ext=cpp
29193 ac_cpp='$CXXCPP $CPPFLAGS'
29194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29197
29198 cat >conftest.$ac_ext <<_ACEOF
29199 /* confdefs.h. */
29200 _ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204 #include <expat.h>
29205 int
29206 main ()
29207 {
29208
29209 ;
29210 return 0;
29211 }
29212 _ACEOF
29213 rm -f conftest.$ac_objext
29214 if { (ac_try="$ac_compile"
29215 case "(($ac_try" in
29216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29217 *) ac_try_echo=$ac_try;;
29218 esac
29219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29220 (eval "$ac_compile") 2>conftest.er1
29221 ac_status=$?
29222 grep -v '^ *+' conftest.er1 >conftest.err
29223 rm -f conftest.er1
29224 cat conftest.err >&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); } && {
29227 test -z "$ac_cxx_werror_flag" ||
29228 test ! -s conftest.err
29229 } && test -s conftest.$ac_objext; then
29230 wx_cv_expat_is_not_broken=yes
29231 else
29232 echo "$as_me: failed program was:" >&5
29233 sed 's/^/| /' conftest.$ac_ext >&5
29234
29235 wx_cv_expat_is_not_broken=no
29236
29237 fi
29238
29239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29240 ac_ext=c
29241 ac_cpp='$CPP $CPPFLAGS'
29242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29245
29246
29247
29248 fi
29249 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29250 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29251 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29252 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29253 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29254 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29255 echo $ECHO_N "(cached) $ECHO_C" >&6
29256 else
29257 ac_check_lib_save_LIBS=$LIBS
29258 LIBS="-lexpat $LIBS"
29259 cat >conftest.$ac_ext <<_ACEOF
29260 /* confdefs.h. */
29261 _ACEOF
29262 cat confdefs.h >>conftest.$ac_ext
29263 cat >>conftest.$ac_ext <<_ACEOF
29264 /* end confdefs.h. */
29265
29266 /* Override any GCC internal prototype to avoid an error.
29267 Use char because int might match the return type of a GCC
29268 builtin and then its argument prototype would still apply. */
29269 #ifdef __cplusplus
29270 extern "C"
29271 #endif
29272 char XML_ParserCreate ();
29273 int
29274 main ()
29275 {
29276 return XML_ParserCreate ();
29277 ;
29278 return 0;
29279 }
29280 _ACEOF
29281 rm -f conftest.$ac_objext conftest$ac_exeext
29282 if { (ac_try="$ac_link"
29283 case "(($ac_try" in
29284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29285 *) ac_try_echo=$ac_try;;
29286 esac
29287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29288 (eval "$ac_link") 2>conftest.er1
29289 ac_status=$?
29290 grep -v '^ *+' conftest.er1 >conftest.err
29291 rm -f conftest.er1
29292 cat conftest.err >&5
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); } && {
29295 test -z "$ac_c_werror_flag" ||
29296 test ! -s conftest.err
29297 } && test -s conftest$ac_exeext &&
29298 $as_test_x conftest$ac_exeext; then
29299 ac_cv_lib_expat_XML_ParserCreate=yes
29300 else
29301 echo "$as_me: failed program was:" >&5
29302 sed 's/^/| /' conftest.$ac_ext >&5
29303
29304 ac_cv_lib_expat_XML_ParserCreate=no
29305 fi
29306
29307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29308 conftest$ac_exeext conftest.$ac_ext
29309 LIBS=$ac_check_lib_save_LIBS
29310 fi
29311 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29312 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29313 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29314 EXPAT_LINK=" -lexpat"
29315 fi
29316
29317 fi
29318 fi
29319 if test "x$EXPAT_LINK" = "x" ; then
29320 if test "$wxUSE_EXPAT" = "sys" ; then
29321 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29322 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29323 { (exit 1); exit 1; }; }
29324 else
29325 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29326 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29327 wxUSE_EXPAT=builtin
29328 fi
29329 else
29330 wxUSE_EXPAT=sys
29331 fi
29332 fi
29333 if test "$wxUSE_EXPAT" = "builtin" ; then
29334 subdirs="$subdirs src/expat"
29335
29336 fi
29337 fi
29338
29339
29340
29341 if test "$wxUSE_LIBMSPACK" != "no"; then
29342 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29343 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29344 if test "${ac_cv_header_mspack_h+set}" = set; then
29345 echo $ECHO_N "(cached) $ECHO_C" >&6
29346 else
29347 cat >conftest.$ac_ext <<_ACEOF
29348 /* confdefs.h. */
29349 _ACEOF
29350 cat confdefs.h >>conftest.$ac_ext
29351 cat >>conftest.$ac_ext <<_ACEOF
29352 /* end confdefs.h. */
29353
29354
29355 #include <mspack.h>
29356 _ACEOF
29357 rm -f conftest.$ac_objext
29358 if { (ac_try="$ac_compile"
29359 case "(($ac_try" in
29360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29361 *) ac_try_echo=$ac_try;;
29362 esac
29363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29364 (eval "$ac_compile") 2>conftest.er1
29365 ac_status=$?
29366 grep -v '^ *+' conftest.er1 >conftest.err
29367 rm -f conftest.er1
29368 cat conftest.err >&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } && {
29371 test -z "$ac_c_werror_flag" ||
29372 test ! -s conftest.err
29373 } && test -s conftest.$ac_objext; then
29374 ac_cv_header_mspack_h=yes
29375 else
29376 echo "$as_me: failed program was:" >&5
29377 sed 's/^/| /' conftest.$ac_ext >&5
29378
29379 ac_cv_header_mspack_h=no
29380 fi
29381
29382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29383 fi
29384 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29385 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29386 if test $ac_cv_header_mspack_h = yes; then
29387 found_mspack_h=1
29388 fi
29389
29390
29391 if test "x$found_mspack_h" = "x1"; then
29392 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29393 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29394 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29395 echo $ECHO_N "(cached) $ECHO_C" >&6
29396 else
29397 ac_check_lib_save_LIBS=$LIBS
29398 LIBS="-lmspack $LIBS"
29399 cat >conftest.$ac_ext <<_ACEOF
29400 /* confdefs.h. */
29401 _ACEOF
29402 cat confdefs.h >>conftest.$ac_ext
29403 cat >>conftest.$ac_ext <<_ACEOF
29404 /* end confdefs.h. */
29405
29406 /* Override any GCC internal prototype to avoid an error.
29407 Use char because int might match the return type of a GCC
29408 builtin and then its argument prototype would still apply. */
29409 #ifdef __cplusplus
29410 extern "C"
29411 #endif
29412 char mspack_create_chm_decompressor ();
29413 int
29414 main ()
29415 {
29416 return mspack_create_chm_decompressor ();
29417 ;
29418 return 0;
29419 }
29420 _ACEOF
29421 rm -f conftest.$ac_objext conftest$ac_exeext
29422 if { (ac_try="$ac_link"
29423 case "(($ac_try" in
29424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29425 *) ac_try_echo=$ac_try;;
29426 esac
29427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29428 (eval "$ac_link") 2>conftest.er1
29429 ac_status=$?
29430 grep -v '^ *+' conftest.er1 >conftest.err
29431 rm -f conftest.er1
29432 cat conftest.err >&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); } && {
29435 test -z "$ac_c_werror_flag" ||
29436 test ! -s conftest.err
29437 } && test -s conftest$ac_exeext &&
29438 $as_test_x conftest$ac_exeext; then
29439 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29440 else
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.$ac_ext >&5
29443
29444 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29445 fi
29446
29447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29448 conftest$ac_exeext conftest.$ac_ext
29449 LIBS=$ac_check_lib_save_LIBS
29450 fi
29451 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29452 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29453 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29454 MSPACK_LINK=" -lmspack"
29455 fi
29456
29457 fi
29458 if test "x$MSPACK_LINK" = "x" ; then
29459 wxUSE_LIBMSPACK=no
29460 fi
29461 fi
29462
29463 if test "$wxUSE_LIBMSPACK" != "no"; then
29464 cat >>confdefs.h <<\_ACEOF
29465 #define wxUSE_LIBMSPACK 1
29466 _ACEOF
29467
29468 fi
29469
29470
29471
29472 AFMINSTALL=
29473 WIN32INSTALL=
29474
29475 TOOLKIT=
29476 TOOLKIT_INCLUDE=
29477 WIDGET_SET=
29478
29479 if test "$USE_WIN32" = 1 ; then
29480
29481 for ac_header in w32api.h
29482 do
29483 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29484 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 else
29489 cat >conftest.$ac_ext <<_ACEOF
29490 /* confdefs.h. */
29491 _ACEOF
29492 cat confdefs.h >>conftest.$ac_ext
29493 cat >>conftest.$ac_ext <<_ACEOF
29494 /* end confdefs.h. */
29495
29496
29497 #include <$ac_header>
29498 _ACEOF
29499 rm -f conftest.$ac_objext
29500 if { (ac_try="$ac_compile"
29501 case "(($ac_try" in
29502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29503 *) ac_try_echo=$ac_try;;
29504 esac
29505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29506 (eval "$ac_compile") 2>conftest.er1
29507 ac_status=$?
29508 grep -v '^ *+' conftest.er1 >conftest.err
29509 rm -f conftest.er1
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } && {
29513 test -z "$ac_c_werror_flag" ||
29514 test ! -s conftest.err
29515 } && test -s conftest.$ac_objext; then
29516 eval "$as_ac_Header=yes"
29517 else
29518 echo "$as_me: failed program was:" >&5
29519 sed 's/^/| /' conftest.$ac_ext >&5
29520
29521 eval "$as_ac_Header=no"
29522 fi
29523
29524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29525 fi
29526 ac_res=`eval echo '${'$as_ac_Header'}'`
29527 { echo "$as_me:$LINENO: result: $ac_res" >&5
29528 echo "${ECHO_T}$ac_res" >&6; }
29529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29530 cat >>confdefs.h <<_ACEOF
29531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29532 _ACEOF
29533
29534 fi
29535
29536 done
29537
29538 { echo "$as_me:$LINENO: checking for windows.h" >&5
29539 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29540 if test "${ac_cv_header_windows_h+set}" = set; then
29541 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 else
29543 cat >conftest.$ac_ext <<_ACEOF
29544 /* confdefs.h. */
29545 _ACEOF
29546 cat confdefs.h >>conftest.$ac_ext
29547 cat >>conftest.$ac_ext <<_ACEOF
29548 /* end confdefs.h. */
29549
29550
29551 #include <windows.h>
29552 _ACEOF
29553 rm -f conftest.$ac_objext
29554 if { (ac_try="$ac_compile"
29555 case "(($ac_try" in
29556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29557 *) ac_try_echo=$ac_try;;
29558 esac
29559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_compile") 2>conftest.er1
29561 ac_status=$?
29562 grep -v '^ *+' conftest.er1 >conftest.err
29563 rm -f conftest.er1
29564 cat conftest.err >&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); } && {
29567 test -z "$ac_c_werror_flag" ||
29568 test ! -s conftest.err
29569 } && test -s conftest.$ac_objext; then
29570 ac_cv_header_windows_h=yes
29571 else
29572 echo "$as_me: failed program was:" >&5
29573 sed 's/^/| /' conftest.$ac_ext >&5
29574
29575 ac_cv_header_windows_h=no
29576 fi
29577
29578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29579 fi
29580 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29581 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29582 if test $ac_cv_header_windows_h = yes; then
29583 :
29584 else
29585
29586 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29587 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29588 { (exit 1); exit 1; }; }
29589
29590 fi
29591
29592
29593
29594 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29595 case "${host}" in
29596 x86_64-*-mingw32* )
29597 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29598 ;;
29599 esac
29600 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29601 LIBS="$LIBS -loleacc"
29602 fi
29603
29604 case "${host}" in
29605 *-*-cygwin* )
29606 LIBS="$LIBS -lkernel32 -luser32"
29607 esac
29608
29609 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29610 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29611
29612 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29613
29614 WIN32INSTALL=win32install
29615
29616 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29617 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29618 if test "${ac_cv_header_pbt_h+set}" = set; then
29619 echo $ECHO_N "(cached) $ECHO_C" >&6
29620 else
29621 cat >conftest.$ac_ext <<_ACEOF
29622 /* confdefs.h. */
29623 _ACEOF
29624 cat confdefs.h >>conftest.$ac_ext
29625 cat >>conftest.$ac_ext <<_ACEOF
29626 /* end confdefs.h. */
29627
29628
29629 #include <pbt.h>
29630 _ACEOF
29631 rm -f conftest.$ac_objext
29632 if { (ac_try="$ac_compile"
29633 case "(($ac_try" in
29634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29635 *) ac_try_echo=$ac_try;;
29636 esac
29637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29638 (eval "$ac_compile") 2>conftest.er1
29639 ac_status=$?
29640 grep -v '^ *+' conftest.er1 >conftest.err
29641 rm -f conftest.er1
29642 cat conftest.err >&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); } && {
29645 test -z "$ac_c_werror_flag" ||
29646 test ! -s conftest.err
29647 } && test -s conftest.$ac_objext; then
29648 ac_cv_header_pbt_h=yes
29649 else
29650 echo "$as_me: failed program was:" >&5
29651 sed 's/^/| /' conftest.$ac_ext >&5
29652
29653 ac_cv_header_pbt_h=no
29654 fi
29655
29656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29657 fi
29658 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29659 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29660 if test $ac_cv_header_pbt_h = yes; then
29661 :
29662 else
29663 cat >>confdefs.h <<\_ACEOF
29664 #define NEED_PBT_H 1
29665 _ACEOF
29666
29667 fi
29668
29669
29670 fi
29671
29672 if test "$wxUSE_GUI" = "yes"; then
29673 USE_GUI=1
29674
29675 GUI_TK_LIBRARY=
29676
29677 WXGTK12=
29678 WXGTK127=
29679 WXGTK2=
29680 WXGPE=
29681
29682 if test "$wxUSE_OLD_COCOA" = 1 ; then
29683 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29684 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29685 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29686 wxUSE_PRINTING_ARCHITECTURE=no
29687 fi
29688 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29689 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29690 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29691 wxUSE_DRAG_AND_DROP=no
29692 fi
29693 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29694 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29695 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29696 wxUSE_DRAGIMAGE=no
29697 fi
29698 fi
29699
29700 if test "$wxUSE_MSW" = 1 ; then
29701 TOOLKIT=MSW
29702 GUIDIST=MSW_DIST
29703
29704 case "${host}" in
29705 *-*-mingw32* )
29706 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29707 esac
29708 fi
29709
29710 if test "$wxUSE_GTK" = 1; then
29711 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29712 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29713
29714 gtk_version_cached=1
29715 if test "${wx_cv_lib_gtk+set}" = set; then
29716 echo $ECHO_N "(cached) $ECHO_C" >&6
29717 else
29718
29719 gtk_version_cached=0
29720 { echo "$as_me:$LINENO: result: " >&5
29721 echo "${ECHO_T}" >&6; }
29722
29723 GTK_MODULES=
29724 if test "$wxUSE_THREADS" = "yes"; then
29725 GTK_MODULES=gthread
29726 fi
29727
29728 wx_cv_lib_gtk=
29729 if test "x$wxGTK_VERSION" != "x1"
29730 then
29731 case "${host}" in
29732 *-*-solaris2* )
29733 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29734 enable_gtktest=no
29735 fi
29736 esac
29737
29738 # Check whether --enable-gtktest was given.
29739 if test "${enable_gtktest+set}" = set; then
29740 enableval=$enable_gtktest;
29741 else
29742 enable_gtktest=yes
29743 fi
29744
29745
29746 pkg_config_args=gtk+-2.0
29747 for module in . $GTK_MODULES
29748 do
29749 case "$module" in
29750 gthread)
29751 pkg_config_args="$pkg_config_args gthread-2.0"
29752 ;;
29753 esac
29754 done
29755
29756 no_gtk=""
29757
29758 # Extract the first word of "pkg-config", so it can be a program name with args.
29759 set dummy pkg-config; ac_word=$2
29760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29763 echo $ECHO_N "(cached) $ECHO_C" >&6
29764 else
29765 case $PKG_CONFIG in
29766 [\\/]* | ?:[\\/]*)
29767 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29768 ;;
29769 *)
29770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29771 for as_dir in $PATH
29772 do
29773 IFS=$as_save_IFS
29774 test -z "$as_dir" && as_dir=.
29775 for ac_exec_ext in '' $ac_executable_extensions; do
29776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29777 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29779 break 2
29780 fi
29781 done
29782 done
29783 IFS=$as_save_IFS
29784
29785 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29786 ;;
29787 esac
29788 fi
29789 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29790 if test -n "$PKG_CONFIG"; then
29791 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29792 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29793 else
29794 { echo "$as_me:$LINENO: result: no" >&5
29795 echo "${ECHO_T}no" >&6; }
29796 fi
29797
29798
29799
29800 if test x$PKG_CONFIG != xno ; then
29801 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29802 :
29803 else
29804 echo "*** pkg-config too old; version 0.7 or better required."
29805 no_gtk=yes
29806 PKG_CONFIG=no
29807 fi
29808 else
29809 no_gtk=yes
29810 fi
29811
29812 min_gtk_version=2.4.0
29813 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29814 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29815
29816 if test x$PKG_CONFIG != xno ; then
29817 ## don't try to run the test against uninstalled libtool libs
29818 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29819 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29820 enable_gtktest=no
29821 fi
29822
29823 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29824 :
29825 else
29826 no_gtk=yes
29827 fi
29828 fi
29829
29830 if test x"$no_gtk" = x ; then
29831 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29832 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29833 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29835 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29837 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29839 if test "x$enable_gtktest" = "xyes" ; then
29840 ac_save_CFLAGS="$CFLAGS"
29841 ac_save_LIBS="$LIBS"
29842 CFLAGS="$CFLAGS $GTK_CFLAGS"
29843 LIBS="$GTK_LIBS $LIBS"
29844 rm -f conf.gtktest
29845 if test "$cross_compiling" = yes; then
29846 echo $ac_n "cross compiling; assumed OK... $ac_c"
29847 else
29848 cat >conftest.$ac_ext <<_ACEOF
29849 /* confdefs.h. */
29850 _ACEOF
29851 cat confdefs.h >>conftest.$ac_ext
29852 cat >>conftest.$ac_ext <<_ACEOF
29853 /* end confdefs.h. */
29854
29855 #include <gtk/gtk.h>
29856 #include <stdio.h>
29857 #include <stdlib.h>
29858
29859 int
29860 main ()
29861 {
29862 int major, minor, micro;
29863 char *tmp_version;
29864
29865 system ("touch conf.gtktest");
29866
29867 /* HP/UX 9 (%@#!) writes to sscanf strings */
29868 tmp_version = g_strdup("$min_gtk_version");
29869 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29870 printf("%s, bad version string\n", "$min_gtk_version");
29871 exit(1);
29872 }
29873
29874 if ((gtk_major_version != $gtk_config_major_version) ||
29875 (gtk_minor_version != $gtk_config_minor_version) ||
29876 (gtk_micro_version != $gtk_config_micro_version))
29877 {
29878 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29879 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29880 gtk_major_version, gtk_minor_version, gtk_micro_version);
29881 printf ("*** was found! If pkg-config was correct, then it is best\n");
29882 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29883 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29884 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29885 printf("*** required on your system.\n");
29886 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29887 printf("*** to point to the correct configuration files\n");
29888 }
29889 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29890 (gtk_minor_version != GTK_MINOR_VERSION) ||
29891 (gtk_micro_version != GTK_MICRO_VERSION))
29892 {
29893 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29894 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29895 printf("*** library (version %d.%d.%d)\n",
29896 gtk_major_version, gtk_minor_version, gtk_micro_version);
29897 }
29898 else
29899 {
29900 if ((gtk_major_version > major) ||
29901 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29902 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29903 {
29904 return 0;
29905 }
29906 else
29907 {
29908 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29909 gtk_major_version, gtk_minor_version, gtk_micro_version);
29910 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29911 major, minor, micro);
29912 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29913 printf("***\n");
29914 printf("*** If you have already installed a sufficiently new version, this error\n");
29915 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29916 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29917 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29918 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29919 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29920 printf("*** so that the correct libraries are found at run-time))\n");
29921 }
29922 }
29923 return 1;
29924 }
29925
29926 _ACEOF
29927 rm -f conftest$ac_exeext
29928 if { (ac_try="$ac_link"
29929 case "(($ac_try" in
29930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29931 *) ac_try_echo=$ac_try;;
29932 esac
29933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29934 (eval "$ac_link") 2>&5
29935 ac_status=$?
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29938 { (case "(($ac_try" in
29939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29940 *) ac_try_echo=$ac_try;;
29941 esac
29942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29943 (eval "$ac_try") 2>&5
29944 ac_status=$?
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); }; }; then
29947 :
29948 else
29949 echo "$as_me: program exited with status $ac_status" >&5
29950 echo "$as_me: failed program was:" >&5
29951 sed 's/^/| /' conftest.$ac_ext >&5
29952
29953 ( exit $ac_status )
29954 no_gtk=yes
29955 fi
29956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29957 fi
29958
29959
29960 CFLAGS="$ac_save_CFLAGS"
29961 LIBS="$ac_save_LIBS"
29962 fi
29963 fi
29964 if test "x$no_gtk" = x ; then
29965 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29966 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29967 wx_cv_lib_gtk=2.0
29968 else
29969 { echo "$as_me:$LINENO: result: no" >&5
29970 echo "${ECHO_T}no" >&6; }
29971 if test "$PKG_CONFIG" = "no" ; then
29972 echo "*** A new enough version of pkg-config was not found."
29973 echo "*** See http://pkgconfig.sourceforge.net"
29974 else
29975 if test -f conf.gtktest ; then
29976 :
29977 else
29978 echo "*** Could not run GTK+ test program, checking why..."
29979 ac_save_CFLAGS="$CFLAGS"
29980 ac_save_LIBS="$LIBS"
29981 CFLAGS="$CFLAGS $GTK_CFLAGS"
29982 LIBS="$LIBS $GTK_LIBS"
29983 cat >conftest.$ac_ext <<_ACEOF
29984 /* confdefs.h. */
29985 _ACEOF
29986 cat confdefs.h >>conftest.$ac_ext
29987 cat >>conftest.$ac_ext <<_ACEOF
29988 /* end confdefs.h. */
29989
29990 #include <gtk/gtk.h>
29991 #include <stdio.h>
29992
29993 int
29994 main ()
29995 {
29996 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29997 ;
29998 return 0;
29999 }
30000 _ACEOF
30001 rm -f conftest.$ac_objext conftest$ac_exeext
30002 if { (ac_try="$ac_link"
30003 case "(($ac_try" in
30004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30005 *) ac_try_echo=$ac_try;;
30006 esac
30007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30008 (eval "$ac_link") 2>conftest.er1
30009 ac_status=$?
30010 grep -v '^ *+' conftest.er1 >conftest.err
30011 rm -f conftest.er1
30012 cat conftest.err >&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } && {
30015 test -z "$ac_c_werror_flag" ||
30016 test ! -s conftest.err
30017 } && test -s conftest$ac_exeext &&
30018 $as_test_x conftest$ac_exeext; then
30019 echo "*** The test program compiled, but did not run. This usually means"
30020 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30021 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30022 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30023 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30024 echo "*** is required on your system"
30025 echo "***"
30026 echo "*** If you have an old version installed, it is best to remove it, although"
30027 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30028 else
30029 echo "$as_me: failed program was:" >&5
30030 sed 's/^/| /' conftest.$ac_ext >&5
30031
30032 echo "*** The test program failed to compile or link. See the file config.log for the"
30033 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30034 fi
30035
30036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30037 conftest$ac_exeext conftest.$ac_ext
30038 CFLAGS="$ac_save_CFLAGS"
30039 LIBS="$ac_save_LIBS"
30040 fi
30041 fi
30042 GTK_CFLAGS=""
30043 GTK_LIBS=""
30044 :
30045 fi
30046
30047
30048 rm -f conf.gtktest
30049
30050
30051 GTK_LIBS="$GTK_LIBS -lX11"
30052 fi
30053
30054 if test -z "$wx_cv_lib_gtk"; then
30055 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30056
30057 # Check whether --with-gtk-prefix was given.
30058 if test "${with_gtk_prefix+set}" = set; then
30059 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30060 else
30061 gtk_config_prefix=""
30062 fi
30063
30064
30065 # Check whether --with-gtk-exec-prefix was given.
30066 if test "${with_gtk_exec_prefix+set}" = set; then
30067 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30068 else
30069 gtk_config_exec_prefix=""
30070 fi
30071
30072 # Check whether --enable-gtktest was given.
30073 if test "${enable_gtktest+set}" = set; then
30074 enableval=$enable_gtktest;
30075 else
30076 enable_gtktest=yes
30077 fi
30078
30079
30080 for module in . $GTK_MODULES
30081 do
30082 case "$module" in
30083 gthread)
30084 gtk_config_args="$gtk_config_args gthread"
30085 ;;
30086 esac
30087 done
30088
30089 if test x$gtk_config_exec_prefix != x ; then
30090 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30091 if test x${GTK_CONFIG+set} != xset ; then
30092 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30093 fi
30094 fi
30095 if test x$gtk_config_prefix != x ; then
30096 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30097 if test x${GTK_CONFIG+set} != xset ; then
30098 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30099 fi
30100 fi
30101
30102 # Extract the first word of "gtk-config", so it can be a program name with args.
30103 set dummy gtk-config; ac_word=$2
30104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30106 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30107 echo $ECHO_N "(cached) $ECHO_C" >&6
30108 else
30109 case $GTK_CONFIG in
30110 [\\/]* | ?:[\\/]*)
30111 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30112 ;;
30113 *)
30114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30115 for as_dir in $PATH
30116 do
30117 IFS=$as_save_IFS
30118 test -z "$as_dir" && as_dir=.
30119 for ac_exec_ext in '' $ac_executable_extensions; do
30120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30121 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30123 break 2
30124 fi
30125 done
30126 done
30127 IFS=$as_save_IFS
30128
30129 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30130 ;;
30131 esac
30132 fi
30133 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30134 if test -n "$GTK_CONFIG"; then
30135 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30136 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30137 else
30138 { echo "$as_me:$LINENO: result: no" >&5
30139 echo "${ECHO_T}no" >&6; }
30140 fi
30141
30142
30143 min_gtk_version=1.2.7
30144 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30145 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30146 no_gtk=""
30147 if test "$GTK_CONFIG" = "no" ; then
30148 no_gtk=yes
30149 else
30150 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30151 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30152 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30153 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30154 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30155 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30156 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30158 if test "x$enable_gtktest" = "xyes" ; then
30159 ac_save_CFLAGS="$CFLAGS"
30160 ac_save_LIBS="$LIBS"
30161 CFLAGS="$CFLAGS $GTK_CFLAGS"
30162 LIBS="$GTK_LIBS $LIBS"
30163 rm -f conf.gtktest
30164 if test "$cross_compiling" = yes; then
30165 echo $ac_n "cross compiling; assumed OK... $ac_c"
30166 else
30167 cat >conftest.$ac_ext <<_ACEOF
30168 /* confdefs.h. */
30169 _ACEOF
30170 cat confdefs.h >>conftest.$ac_ext
30171 cat >>conftest.$ac_ext <<_ACEOF
30172 /* end confdefs.h. */
30173
30174 #include <gtk/gtk.h>
30175 #include <stdio.h>
30176 #include <stdlib.h>
30177
30178 int
30179 main ()
30180 {
30181 int major, minor, micro;
30182 char *tmp_version;
30183
30184 system ("touch conf.gtktest");
30185
30186 /* HP/UX 9 (%@#!) writes to sscanf strings */
30187 tmp_version = g_strdup("$min_gtk_version");
30188 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30189 printf("%s, bad version string\n", "$min_gtk_version");
30190 exit(1);
30191 }
30192
30193 if ((gtk_major_version != $gtk_config_major_version) ||
30194 (gtk_minor_version != $gtk_config_minor_version) ||
30195 (gtk_micro_version != $gtk_config_micro_version))
30196 {
30197 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30198 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30199 gtk_major_version, gtk_minor_version, gtk_micro_version);
30200 printf ("*** was found! If gtk-config was correct, then it is best\n");
30201 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30202 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30203 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30204 printf("*** required on your system.\n");
30205 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30206 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30207 printf("*** before re-running configure\n");
30208 }
30209 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30210 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30211 (gtk_minor_version != GTK_MINOR_VERSION) ||
30212 (gtk_micro_version != GTK_MICRO_VERSION))
30213 {
30214 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30215 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30216 printf("*** library (version %d.%d.%d)\n",
30217 gtk_major_version, gtk_minor_version, gtk_micro_version);
30218 }
30219 #endif /* defined (GTK_MAJOR_VERSION) ... */
30220 else
30221 {
30222 if ((gtk_major_version > major) ||
30223 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30224 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30225 {
30226 return 0;
30227 }
30228 else
30229 {
30230 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30231 gtk_major_version, gtk_minor_version, gtk_micro_version);
30232 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30233 major, minor, micro);
30234 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30235 printf("***\n");
30236 printf("*** If you have already installed a sufficiently new version, this error\n");
30237 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30238 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30239 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30240 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30241 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30242 printf("*** so that the correct libraries are found at run-time))\n");
30243 }
30244 }
30245 return 1;
30246 }
30247
30248 _ACEOF
30249 rm -f conftest$ac_exeext
30250 if { (ac_try="$ac_link"
30251 case "(($ac_try" in
30252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30253 *) ac_try_echo=$ac_try;;
30254 esac
30255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30256 (eval "$ac_link") 2>&5
30257 ac_status=$?
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30260 { (case "(($ac_try" in
30261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30262 *) ac_try_echo=$ac_try;;
30263 esac
30264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30265 (eval "$ac_try") 2>&5
30266 ac_status=$?
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; }; then
30269 :
30270 else
30271 echo "$as_me: program exited with status $ac_status" >&5
30272 echo "$as_me: failed program was:" >&5
30273 sed 's/^/| /' conftest.$ac_ext >&5
30274
30275 ( exit $ac_status )
30276 no_gtk=yes
30277 fi
30278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30279 fi
30280
30281
30282 CFLAGS="$ac_save_CFLAGS"
30283 LIBS="$ac_save_LIBS"
30284 fi
30285 fi
30286 if test "x$no_gtk" = x ; then
30287 { echo "$as_me:$LINENO: result: yes" >&5
30288 echo "${ECHO_T}yes" >&6; }
30289 wx_cv_lib_gtk=1.2.7
30290 else
30291 { echo "$as_me:$LINENO: result: no" >&5
30292 echo "${ECHO_T}no" >&6; }
30293 if test "$GTK_CONFIG" = "no" ; then
30294 echo "*** The gtk-config script installed by GTK could not be found"
30295 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30296 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30297 echo "*** full path to gtk-config."
30298 else
30299 if test -f conf.gtktest ; then
30300 :
30301 else
30302 echo "*** Could not run GTK test program, checking why..."
30303 CFLAGS="$CFLAGS $GTK_CFLAGS"
30304 LIBS="$LIBS $GTK_LIBS"
30305 cat >conftest.$ac_ext <<_ACEOF
30306 /* confdefs.h. */
30307 _ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30311
30312 #include <gtk/gtk.h>
30313 #include <stdio.h>
30314
30315 int
30316 main ()
30317 {
30318 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30319 ;
30320 return 0;
30321 }
30322 _ACEOF
30323 rm -f conftest.$ac_objext conftest$ac_exeext
30324 if { (ac_try="$ac_link"
30325 case "(($ac_try" in
30326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30327 *) ac_try_echo=$ac_try;;
30328 esac
30329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30330 (eval "$ac_link") 2>conftest.er1
30331 ac_status=$?
30332 grep -v '^ *+' conftest.er1 >conftest.err
30333 rm -f conftest.er1
30334 cat conftest.err >&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); } && {
30337 test -z "$ac_c_werror_flag" ||
30338 test ! -s conftest.err
30339 } && test -s conftest$ac_exeext &&
30340 $as_test_x conftest$ac_exeext; then
30341 echo "*** The test program compiled, but did not run. This usually means"
30342 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30343 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30344 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30345 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30346 echo "*** is required on your system"
30347 echo "***"
30348 echo "*** If you have an old version installed, it is best to remove it, although"
30349 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30350 echo "***"
30351 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30352 echo "*** came with the system with the command"
30353 echo "***"
30354 echo "*** rpm --erase --nodeps gtk gtk-devel"
30355 else
30356 echo "$as_me: failed program was:" >&5
30357 sed 's/^/| /' conftest.$ac_ext >&5
30358
30359 echo "*** The test program failed to compile or link. See the file config.log for the"
30360 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30361 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30362 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30363 fi
30364
30365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30366 conftest$ac_exeext conftest.$ac_ext
30367 CFLAGS="$ac_save_CFLAGS"
30368 LIBS="$ac_save_LIBS"
30369 fi
30370 fi
30371 GTK_CFLAGS=""
30372 GTK_LIBS=""
30373 :
30374 fi
30375
30376
30377 rm -f conf.gtktest
30378
30379
30380 if test -z "$wx_cv_lib_gtk"; then
30381
30382 # Check whether --with-gtk-prefix was given.
30383 if test "${with_gtk_prefix+set}" = set; then
30384 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30385 else
30386 gtk_config_prefix=""
30387 fi
30388
30389
30390 # Check whether --with-gtk-exec-prefix was given.
30391 if test "${with_gtk_exec_prefix+set}" = set; then
30392 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30393 else
30394 gtk_config_exec_prefix=""
30395 fi
30396
30397 # Check whether --enable-gtktest was given.
30398 if test "${enable_gtktest+set}" = set; then
30399 enableval=$enable_gtktest;
30400 else
30401 enable_gtktest=yes
30402 fi
30403
30404
30405 for module in . $GTK_MODULES
30406 do
30407 case "$module" in
30408 gthread)
30409 gtk_config_args="$gtk_config_args gthread"
30410 ;;
30411 esac
30412 done
30413
30414 if test x$gtk_config_exec_prefix != x ; then
30415 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30416 if test x${GTK_CONFIG+set} != xset ; then
30417 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30418 fi
30419 fi
30420 if test x$gtk_config_prefix != x ; then
30421 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30422 if test x${GTK_CONFIG+set} != xset ; then
30423 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30424 fi
30425 fi
30426
30427 # Extract the first word of "gtk-config", so it can be a program name with args.
30428 set dummy gtk-config; ac_word=$2
30429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30431 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30432 echo $ECHO_N "(cached) $ECHO_C" >&6
30433 else
30434 case $GTK_CONFIG in
30435 [\\/]* | ?:[\\/]*)
30436 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30437 ;;
30438 *)
30439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30440 for as_dir in $PATH
30441 do
30442 IFS=$as_save_IFS
30443 test -z "$as_dir" && as_dir=.
30444 for ac_exec_ext in '' $ac_executable_extensions; do
30445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30446 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30448 break 2
30449 fi
30450 done
30451 done
30452 IFS=$as_save_IFS
30453
30454 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30455 ;;
30456 esac
30457 fi
30458 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30459 if test -n "$GTK_CONFIG"; then
30460 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30461 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30462 else
30463 { echo "$as_me:$LINENO: result: no" >&5
30464 echo "${ECHO_T}no" >&6; }
30465 fi
30466
30467
30468 min_gtk_version=1.2.3
30469 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30470 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30471 no_gtk=""
30472 if test "$GTK_CONFIG" = "no" ; then
30473 no_gtk=yes
30474 else
30475 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30476 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30477 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30479 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30481 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30483 if test "x$enable_gtktest" = "xyes" ; then
30484 ac_save_CFLAGS="$CFLAGS"
30485 ac_save_LIBS="$LIBS"
30486 CFLAGS="$CFLAGS $GTK_CFLAGS"
30487 LIBS="$GTK_LIBS $LIBS"
30488 rm -f conf.gtktest
30489 if test "$cross_compiling" = yes; then
30490 echo $ac_n "cross compiling; assumed OK... $ac_c"
30491 else
30492 cat >conftest.$ac_ext <<_ACEOF
30493 /* confdefs.h. */
30494 _ACEOF
30495 cat confdefs.h >>conftest.$ac_ext
30496 cat >>conftest.$ac_ext <<_ACEOF
30497 /* end confdefs.h. */
30498
30499 #include <gtk/gtk.h>
30500 #include <stdio.h>
30501 #include <stdlib.h>
30502
30503 int
30504 main ()
30505 {
30506 int major, minor, micro;
30507 char *tmp_version;
30508
30509 system ("touch conf.gtktest");
30510
30511 /* HP/UX 9 (%@#!) writes to sscanf strings */
30512 tmp_version = g_strdup("$min_gtk_version");
30513 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30514 printf("%s, bad version string\n", "$min_gtk_version");
30515 exit(1);
30516 }
30517
30518 if ((gtk_major_version != $gtk_config_major_version) ||
30519 (gtk_minor_version != $gtk_config_minor_version) ||
30520 (gtk_micro_version != $gtk_config_micro_version))
30521 {
30522 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30523 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30524 gtk_major_version, gtk_minor_version, gtk_micro_version);
30525 printf ("*** was found! If gtk-config was correct, then it is best\n");
30526 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30527 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30528 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30529 printf("*** required on your system.\n");
30530 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30531 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30532 printf("*** before re-running configure\n");
30533 }
30534 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30535 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30536 (gtk_minor_version != GTK_MINOR_VERSION) ||
30537 (gtk_micro_version != GTK_MICRO_VERSION))
30538 {
30539 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30540 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30541 printf("*** library (version %d.%d.%d)\n",
30542 gtk_major_version, gtk_minor_version, gtk_micro_version);
30543 }
30544 #endif /* defined (GTK_MAJOR_VERSION) ... */
30545 else
30546 {
30547 if ((gtk_major_version > major) ||
30548 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30549 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30550 {
30551 return 0;
30552 }
30553 else
30554 {
30555 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30556 gtk_major_version, gtk_minor_version, gtk_micro_version);
30557 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30558 major, minor, micro);
30559 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30560 printf("***\n");
30561 printf("*** If you have already installed a sufficiently new version, this error\n");
30562 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30563 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30564 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30565 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30566 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30567 printf("*** so that the correct libraries are found at run-time))\n");
30568 }
30569 }
30570 return 1;
30571 }
30572
30573 _ACEOF
30574 rm -f conftest$ac_exeext
30575 if { (ac_try="$ac_link"
30576 case "(($ac_try" in
30577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30578 *) ac_try_echo=$ac_try;;
30579 esac
30580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30581 (eval "$ac_link") 2>&5
30582 ac_status=$?
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30585 { (case "(($ac_try" in
30586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30587 *) ac_try_echo=$ac_try;;
30588 esac
30589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30590 (eval "$ac_try") 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30594 :
30595 else
30596 echo "$as_me: program exited with status $ac_status" >&5
30597 echo "$as_me: failed program was:" >&5
30598 sed 's/^/| /' conftest.$ac_ext >&5
30599
30600 ( exit $ac_status )
30601 no_gtk=yes
30602 fi
30603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30604 fi
30605
30606
30607 CFLAGS="$ac_save_CFLAGS"
30608 LIBS="$ac_save_LIBS"
30609 fi
30610 fi
30611 if test "x$no_gtk" = x ; then
30612 { echo "$as_me:$LINENO: result: yes" >&5
30613 echo "${ECHO_T}yes" >&6; }
30614 wx_cv_lib_gtk=1.2.3
30615 else
30616 { echo "$as_me:$LINENO: result: no" >&5
30617 echo "${ECHO_T}no" >&6; }
30618 if test "$GTK_CONFIG" = "no" ; then
30619 echo "*** The gtk-config script installed by GTK could not be found"
30620 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30621 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30622 echo "*** full path to gtk-config."
30623 else
30624 if test -f conf.gtktest ; then
30625 :
30626 else
30627 echo "*** Could not run GTK test program, checking why..."
30628 CFLAGS="$CFLAGS $GTK_CFLAGS"
30629 LIBS="$LIBS $GTK_LIBS"
30630 cat >conftest.$ac_ext <<_ACEOF
30631 /* confdefs.h. */
30632 _ACEOF
30633 cat confdefs.h >>conftest.$ac_ext
30634 cat >>conftest.$ac_ext <<_ACEOF
30635 /* end confdefs.h. */
30636
30637 #include <gtk/gtk.h>
30638 #include <stdio.h>
30639
30640 int
30641 main ()
30642 {
30643 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30644 ;
30645 return 0;
30646 }
30647 _ACEOF
30648 rm -f conftest.$ac_objext conftest$ac_exeext
30649 if { (ac_try="$ac_link"
30650 case "(($ac_try" in
30651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30652 *) ac_try_echo=$ac_try;;
30653 esac
30654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30655 (eval "$ac_link") 2>conftest.er1
30656 ac_status=$?
30657 grep -v '^ *+' conftest.er1 >conftest.err
30658 rm -f conftest.er1
30659 cat conftest.err >&5
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); } && {
30662 test -z "$ac_c_werror_flag" ||
30663 test ! -s conftest.err
30664 } && test -s conftest$ac_exeext &&
30665 $as_test_x conftest$ac_exeext; then
30666 echo "*** The test program compiled, but did not run. This usually means"
30667 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30668 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30669 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30670 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30671 echo "*** is required on your system"
30672 echo "***"
30673 echo "*** If you have an old version installed, it is best to remove it, although"
30674 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30675 echo "***"
30676 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30677 echo "*** came with the system with the command"
30678 echo "***"
30679 echo "*** rpm --erase --nodeps gtk gtk-devel"
30680 else
30681 echo "$as_me: failed program was:" >&5
30682 sed 's/^/| /' conftest.$ac_ext >&5
30683
30684 echo "*** The test program failed to compile or link. See the file config.log for the"
30685 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30686 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30687 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30688 fi
30689
30690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30691 conftest$ac_exeext conftest.$ac_ext
30692 CFLAGS="$ac_save_CFLAGS"
30693 LIBS="$ac_save_LIBS"
30694 fi
30695 fi
30696 GTK_CFLAGS=""
30697 GTK_LIBS=""
30698 :
30699 fi
30700
30701
30702 rm -f conf.gtktest
30703
30704 fi
30705 fi
30706 fi
30707
30708 if test -z "$wx_cv_lib_gtk"; then
30709 wx_cv_lib_gtk=none
30710 else
30711 wx_cv_cflags_gtk=$GTK_CFLAGS
30712 wx_cv_libs_gtk=$GTK_LIBS
30713 fi
30714
30715
30716 fi
30717
30718
30719 if test "$gtk_version_cached" = 1; then
30720 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30721 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30722 fi
30723
30724 case "$wx_cv_lib_gtk" in
30725 2.0) WXGTK2=1
30726 TOOLKIT_VERSION=2
30727 ;;
30728 1.2.7) WXGTK127=1
30729 WXGTK12=1
30730 ;;
30731 1.2.3) WXGTK12=1
30732 ;;
30733 *) { { echo "$as_me:$LINENO: error:
30734 The development files for GTK+ were not found. For GTK+ 2, please
30735 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30736 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30737 and that the version is 1.2.3 or above. Also check that the
30738 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30739 --libs' are in the LD_LIBRARY_PATH or equivalent.
30740 " >&5
30741 echo "$as_me: error:
30742 The development files for GTK+ were not found. For GTK+ 2, please
30743 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30744 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30745 and that the version is 1.2.3 or above. Also check that the
30746 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30747 --libs' are in the LD_LIBRARY_PATH or equivalent.
30748 " >&2;}
30749 { (exit 1); exit 1; }; }
30750 ;;
30751 esac
30752
30753 if test "$WXGTK2" = 1; then
30754 save_CFLAGS="$CFLAGS"
30755 save_LIBS="$LIBS"
30756 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30757 LIBS="$LIBS $wx_cv_libs_gtk"
30758
30759 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30760 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30761 cat >conftest.$ac_ext <<_ACEOF
30762 /* confdefs.h. */
30763 _ACEOF
30764 cat confdefs.h >>conftest.$ac_ext
30765 cat >>conftest.$ac_ext <<_ACEOF
30766 /* end confdefs.h. */
30767
30768 #include <gtk/gtk.h>
30769
30770 int
30771 main ()
30772 {
30773
30774 #if !GTK_CHECK_VERSION(2,18,0)
30775 Not GTK+ 2.18
30776 #endif
30777
30778 ;
30779 return 0;
30780 }
30781 _ACEOF
30782 rm -f conftest.$ac_objext
30783 if { (ac_try="$ac_compile"
30784 case "(($ac_try" in
30785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30787 esac
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_compile") 2>conftest.er1
30790 ac_status=$?
30791 grep -v '^ *+' conftest.er1 >conftest.err
30792 rm -f conftest.er1
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest.$ac_objext; then
30799
30800 cat >>confdefs.h <<\_ACEOF
30801 #define __WXGTK218__ 1
30802 _ACEOF
30803
30804 cat >>confdefs.h <<\_ACEOF
30805 #define __WXGTK210__ 1
30806 _ACEOF
30807
30808 cat >>confdefs.h <<\_ACEOF
30809 #define __WXGTK26__ 1
30810 _ACEOF
30811
30812 { echo "$as_me:$LINENO: result: yes" >&5
30813 echo "${ECHO_T}yes" >&6; }
30814 ac_wxgtk218=1
30815
30816 else
30817 echo "$as_me: failed program was:" >&5
30818 sed 's/^/| /' conftest.$ac_ext >&5
30819
30820
30821 { echo "$as_me:$LINENO: result: no" >&5
30822 echo "${ECHO_T}no" >&6; }
30823 ac_wxgtk218=0
30824
30825 fi
30826
30827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30828
30829 if test "$ac_wxgtk218" = 0; then
30830 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30831 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30832 cat >conftest.$ac_ext <<_ACEOF
30833 /* confdefs.h. */
30834 _ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30838
30839 #include <gtk/gtk.h>
30840
30841 int
30842 main ()
30843 {
30844
30845 #if !GTK_CHECK_VERSION(2,10,0)
30846 Not GTK+ 2.10
30847 #endif
30848
30849 ;
30850 return 0;
30851 }
30852 _ACEOF
30853 rm -f conftest.$ac_objext
30854 if { (ac_try="$ac_compile"
30855 case "(($ac_try" in
30856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30857 *) ac_try_echo=$ac_try;;
30858 esac
30859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30860 (eval "$ac_compile") 2>conftest.er1
30861 ac_status=$?
30862 grep -v '^ *+' conftest.er1 >conftest.err
30863 rm -f conftest.er1
30864 cat conftest.err >&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); } && {
30867 test -z "$ac_c_werror_flag" ||
30868 test ! -s conftest.err
30869 } && test -s conftest.$ac_objext; then
30870
30871 cat >>confdefs.h <<\_ACEOF
30872 #define __WXGTK210__ 1
30873 _ACEOF
30874
30875 cat >>confdefs.h <<\_ACEOF
30876 #define __WXGTK26__ 1
30877 _ACEOF
30878
30879 { echo "$as_me:$LINENO: result: yes" >&5
30880 echo "${ECHO_T}yes" >&6; }
30881 ac_wxgtk210=1
30882
30883 else
30884 echo "$as_me: failed program was:" >&5
30885 sed 's/^/| /' conftest.$ac_ext >&5
30886
30887
30888 { echo "$as_me:$LINENO: result: no" >&5
30889 echo "${ECHO_T}no" >&6; }
30890 ac_wxgtk210=0
30891
30892 fi
30893
30894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30895
30896 if test "$ac_wxgtk210" = 0; then
30897 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30898 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30899 cat >conftest.$ac_ext <<_ACEOF
30900 /* confdefs.h. */
30901 _ACEOF
30902 cat confdefs.h >>conftest.$ac_ext
30903 cat >>conftest.$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30905
30906 #include <gtk/gtk.h>
30907
30908 int
30909 main ()
30910 {
30911
30912 #if !GTK_CHECK_VERSION(2,6,0)
30913 Not GTK+ 2.6
30914 #endif
30915
30916 ;
30917 return 0;
30918 }
30919 _ACEOF
30920 rm -f conftest.$ac_objext
30921 if { (ac_try="$ac_compile"
30922 case "(($ac_try" in
30923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30924 *) ac_try_echo=$ac_try;;
30925 esac
30926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30927 (eval "$ac_compile") 2>conftest.er1
30928 ac_status=$?
30929 grep -v '^ *+' conftest.er1 >conftest.err
30930 rm -f conftest.er1
30931 cat conftest.err >&5
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); } && {
30934 test -z "$ac_c_werror_flag" ||
30935 test ! -s conftest.err
30936 } && test -s conftest.$ac_objext; then
30937
30938 cat >>confdefs.h <<\_ACEOF
30939 #define __WXGTK26__ 1
30940 _ACEOF
30941
30942 { echo "$as_me:$LINENO: result: yes" >&5
30943 echo "${ECHO_T}yes" >&6; }
30944 ac_wxgtk26=1
30945
30946 else
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30949
30950
30951 { echo "$as_me:$LINENO: result: no" >&5
30952 echo "${ECHO_T}no" >&6; }
30953 ac_wxgtk26=0
30954
30955 fi
30956
30957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30958 fi
30959 fi
30960
30961 CFLAGS="$save_CFLAGS"
30962 LIBS="$save_LIBS"
30963 else
30964 if test "$wxUSE_UNICODE" = "yes"; then
30965 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30966 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30967 wxUSE_UNICODE=no
30968 fi
30969
30970 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30971 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30972 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30973 echo $ECHO_N "(cached) $ECHO_C" >&6
30974 else
30975 ac_check_lib_save_LIBS=$LIBS
30976 LIBS="-lgdk $LIBS"
30977 cat >conftest.$ac_ext <<_ACEOF
30978 /* confdefs.h. */
30979 _ACEOF
30980 cat confdefs.h >>conftest.$ac_ext
30981 cat >>conftest.$ac_ext <<_ACEOF
30982 /* end confdefs.h. */
30983
30984 /* Override any GCC internal prototype to avoid an error.
30985 Use char because int might match the return type of a GCC
30986 builtin and then its argument prototype would still apply. */
30987 #ifdef __cplusplus
30988 extern "C"
30989 #endif
30990 char gdk_im_open ();
30991 int
30992 main ()
30993 {
30994 return gdk_im_open ();
30995 ;
30996 return 0;
30997 }
30998 _ACEOF
30999 rm -f conftest.$ac_objext conftest$ac_exeext
31000 if { (ac_try="$ac_link"
31001 case "(($ac_try" in
31002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31003 *) ac_try_echo=$ac_try;;
31004 esac
31005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31006 (eval "$ac_link") 2>conftest.er1
31007 ac_status=$?
31008 grep -v '^ *+' conftest.er1 >conftest.err
31009 rm -f conftest.er1
31010 cat conftest.err >&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); } && {
31013 test -z "$ac_c_werror_flag" ||
31014 test ! -s conftest.err
31015 } && test -s conftest$ac_exeext &&
31016 $as_test_x conftest$ac_exeext; then
31017 ac_cv_lib_gdk_gdk_im_open=yes
31018 else
31019 echo "$as_me: failed program was:" >&5
31020 sed 's/^/| /' conftest.$ac_ext >&5
31021
31022 ac_cv_lib_gdk_gdk_im_open=no
31023 fi
31024
31025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31026 conftest$ac_exeext conftest.$ac_ext
31027 LIBS=$ac_check_lib_save_LIBS
31028 fi
31029 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31030 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31031 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31032 cat >>confdefs.h <<\_ACEOF
31033 #define HAVE_XIM 1
31034 _ACEOF
31035
31036 fi
31037
31038
31039 if test "$USE_DARWIN" != 1; then
31040
31041 for ac_func in poll
31042 do
31043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31044 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31046 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31047 echo $ECHO_N "(cached) $ECHO_C" >&6
31048 else
31049 cat >conftest.$ac_ext <<_ACEOF
31050 /* confdefs.h. */
31051 _ACEOF
31052 cat confdefs.h >>conftest.$ac_ext
31053 cat >>conftest.$ac_ext <<_ACEOF
31054 /* end confdefs.h. */
31055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31057 #define $ac_func innocuous_$ac_func
31058
31059 /* System header to define __stub macros and hopefully few prototypes,
31060 which can conflict with char $ac_func (); below.
31061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31062 <limits.h> exists even on freestanding compilers. */
31063
31064 #ifdef __STDC__
31065 # include <limits.h>
31066 #else
31067 # include <assert.h>
31068 #endif
31069
31070 #undef $ac_func
31071
31072 /* Override any GCC internal prototype to avoid an error.
31073 Use char because int might match the return type of a GCC
31074 builtin and then its argument prototype would still apply. */
31075 #ifdef __cplusplus
31076 extern "C"
31077 #endif
31078 char $ac_func ();
31079 /* The GNU C library defines this for functions which it implements
31080 to always fail with ENOSYS. Some functions are actually named
31081 something starting with __ and the normal name is an alias. */
31082 #if defined __stub_$ac_func || defined __stub___$ac_func
31083 choke me
31084 #endif
31085
31086 int
31087 main ()
31088 {
31089 return $ac_func ();
31090 ;
31091 return 0;
31092 }
31093 _ACEOF
31094 rm -f conftest.$ac_objext conftest$ac_exeext
31095 if { (ac_try="$ac_link"
31096 case "(($ac_try" in
31097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31098 *) ac_try_echo=$ac_try;;
31099 esac
31100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31101 (eval "$ac_link") 2>conftest.er1
31102 ac_status=$?
31103 grep -v '^ *+' conftest.er1 >conftest.err
31104 rm -f conftest.er1
31105 cat conftest.err >&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); } && {
31108 test -z "$ac_c_werror_flag" ||
31109 test ! -s conftest.err
31110 } && test -s conftest$ac_exeext &&
31111 $as_test_x conftest$ac_exeext; then
31112 eval "$as_ac_var=yes"
31113 else
31114 echo "$as_me: failed program was:" >&5
31115 sed 's/^/| /' conftest.$ac_ext >&5
31116
31117 eval "$as_ac_var=no"
31118 fi
31119
31120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31121 conftest$ac_exeext conftest.$ac_ext
31122 fi
31123 ac_res=`eval echo '${'$as_ac_var'}'`
31124 { echo "$as_me:$LINENO: result: $ac_res" >&5
31125 echo "${ECHO_T}$ac_res" >&6; }
31126 if test `eval echo '${'$as_ac_var'}'` = yes; then
31127 cat >>confdefs.h <<_ACEOF
31128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31129 _ACEOF
31130
31131 fi
31132 done
31133
31134 fi
31135 fi
31136
31137 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31138 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31139
31140 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31141
31142 AFMINSTALL=afminstall
31143 TOOLKIT=GTK
31144 GUIDIST=GTK_DIST
31145
31146 if test "$wxUSE_GPE" = "yes"; then
31147 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31148 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31149
31150 ac_find_libraries=
31151 for ac_dir in $SEARCH_LIB
31152 do
31153 for ac_extension in a so sl dylib dll.a; do
31154 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31155 ac_find_libraries=$ac_dir
31156 break 2
31157 fi
31158 done
31159 done
31160
31161 if test "$ac_find_libraries" != "" ; then
31162
31163 if test "$ac_find_libraries" = "default location"; then
31164 ac_path_to_link=""
31165 else
31166 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31167 result=$?
31168 if test $result = 0; then
31169 ac_path_to_link=""
31170 else
31171 ac_path_to_link=" -L$ac_find_libraries"
31172 fi
31173 fi
31174
31175 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31176 WXGPE=1
31177 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31178 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31179 else
31180 { echo "$as_me:$LINENO: result: not found" >&5
31181 echo "${ECHO_T}not found" >&6; }
31182 fi
31183
31184 fi
31185 fi
31186
31187 if test "$wxUSE_MGL" = 1; then
31188 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31189 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31190 if test "x$MGL_ROOT" = x ; then
31191 { echo "$as_me:$LINENO: result: not found" >&5
31192 echo "${ECHO_T}not found" >&6; }
31193 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31194 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31195 { (exit 1); exit 1; }; }
31196 else
31197 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31198 echo "${ECHO_T}$MGL_ROOT" >&6; }
31199 fi
31200
31201 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31202 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31203 case "${host}" in
31204 *-*-linux* )
31205 if test "x$wxUSE_SHARED" = xyes ; then
31206 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31207 else
31208 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31209 fi
31210 ;;
31211 *-pc-msdosdjgpp )
31212 mgl_os_candidates="dos32/dj2"
31213 ;;
31214 *)
31215 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31216 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31217 { (exit 1); exit 1; }; }
31218 esac
31219
31220 mgl_lib_type=""
31221 mgl_os=""
31222
31223 for mgl_os_i in $mgl_os_candidates ; do
31224 if test "x$mgl_os" = x ; then
31225 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31226 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31227 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31228 mgl_lib_type=debug
31229 mgl_os=$mgl_os_i
31230 fi
31231 fi
31232 if test "x$mgl_lib_type" = x ; then
31233 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31234 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31235 mgl_lib_type=release
31236 mgl_os=$mgl_os_i
31237 fi
31238 fi
31239 fi
31240 done
31241
31242 if test "x$mgl_os" = x ; then
31243 { echo "$as_me:$LINENO: result: not found" >&5
31244 echo "${ECHO_T}not found" >&6; }
31245 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31246 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31247 { (exit 1); exit 1; }; }
31248 fi
31249 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31250 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31251
31252 wxUSE_UNIVERSAL="yes"
31253
31254 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31255 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31256
31257 AFMINSTALL=afminstall
31258 TOOLKIT=MGL
31259 GUIDIST=MGL_DIST
31260 fi
31261
31262 if test "$wxUSE_DFB" = 1; then
31263
31264
31265 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31266 if test -n "$ac_tool_prefix"; then
31267 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31268 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31271 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31272 echo $ECHO_N "(cached) $ECHO_C" >&6
31273 else
31274 case $PKG_CONFIG in
31275 [\\/]* | ?:[\\/]*)
31276 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31277 ;;
31278 *)
31279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31280 for as_dir in $PATH
31281 do
31282 IFS=$as_save_IFS
31283 test -z "$as_dir" && as_dir=.
31284 for ac_exec_ext in '' $ac_executable_extensions; do
31285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31286 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31288 break 2
31289 fi
31290 done
31291 done
31292 IFS=$as_save_IFS
31293
31294 ;;
31295 esac
31296 fi
31297 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31298 if test -n "$PKG_CONFIG"; then
31299 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31300 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31301 else
31302 { echo "$as_me:$LINENO: result: no" >&5
31303 echo "${ECHO_T}no" >&6; }
31304 fi
31305
31306
31307 fi
31308 if test -z "$ac_cv_path_PKG_CONFIG"; then
31309 ac_pt_PKG_CONFIG=$PKG_CONFIG
31310 # Extract the first word of "pkg-config", so it can be a program name with args.
31311 set dummy pkg-config; ac_word=$2
31312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31314 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31315 echo $ECHO_N "(cached) $ECHO_C" >&6
31316 else
31317 case $ac_pt_PKG_CONFIG in
31318 [\\/]* | ?:[\\/]*)
31319 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31320 ;;
31321 *)
31322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31323 for as_dir in $PATH
31324 do
31325 IFS=$as_save_IFS
31326 test -z "$as_dir" && as_dir=.
31327 for ac_exec_ext in '' $ac_executable_extensions; do
31328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31329 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31331 break 2
31332 fi
31333 done
31334 done
31335 IFS=$as_save_IFS
31336
31337 ;;
31338 esac
31339 fi
31340 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31341 if test -n "$ac_pt_PKG_CONFIG"; then
31342 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31343 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31344 else
31345 { echo "$as_me:$LINENO: result: no" >&5
31346 echo "${ECHO_T}no" >&6; }
31347 fi
31348
31349 if test "x$ac_pt_PKG_CONFIG" = x; then
31350 PKG_CONFIG=""
31351 else
31352 case $cross_compiling:$ac_tool_warned in
31353 yes:)
31354 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31355 whose name does not start with the host triplet. If you think this
31356 configuration is useful to you, please write to autoconf@gnu.org." >&5
31357 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31358 whose name does not start with the host triplet. If you think this
31359 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31360 ac_tool_warned=yes ;;
31361 esac
31362 PKG_CONFIG=$ac_pt_PKG_CONFIG
31363 fi
31364 else
31365 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31366 fi
31367
31368 fi
31369 if test -n "$PKG_CONFIG"; then
31370 _pkg_min_version=0.9.0
31371 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31372 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31373 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31374 { echo "$as_me:$LINENO: result: yes" >&5
31375 echo "${ECHO_T}yes" >&6; }
31376 else
31377 { echo "$as_me:$LINENO: result: no" >&5
31378 echo "${ECHO_T}no" >&6; }
31379 PKG_CONFIG=""
31380 fi
31381
31382 fi
31383
31384
31385 pkg_failed=no
31386 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31387 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31388
31389 if test -n "$PKG_CONFIG"; then
31390 if test -n "$DIRECTFB_CFLAGS"; then
31391 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31392 else
31393 if test -n "$PKG_CONFIG" && \
31394 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31395 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31396 ac_status=$?
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); }; then
31399 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31400 else
31401 pkg_failed=yes
31402 fi
31403 fi
31404 else
31405 pkg_failed=untried
31406 fi
31407 if test -n "$PKG_CONFIG"; then
31408 if test -n "$DIRECTFB_LIBS"; then
31409 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31410 else
31411 if test -n "$PKG_CONFIG" && \
31412 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31413 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31414 ac_status=$?
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); }; then
31417 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31418 else
31419 pkg_failed=yes
31420 fi
31421 fi
31422 else
31423 pkg_failed=untried
31424 fi
31425
31426
31427
31428 if test $pkg_failed = yes; then
31429
31430 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31431 _pkg_short_errors_supported=yes
31432 else
31433 _pkg_short_errors_supported=no
31434 fi
31435 if test $_pkg_short_errors_supported = yes; then
31436 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31437 else
31438 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31439 fi
31440 # Put the nasty error message in config.log where it belongs
31441 echo "$DIRECTFB_PKG_ERRORS" >&5
31442
31443
31444 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31445 echo "$as_me: error: DirectFB not found." >&2;}
31446 { (exit 1); exit 1; }; }
31447
31448
31449 elif test $pkg_failed = untried; then
31450
31451 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31452 echo "$as_me: error: DirectFB not found." >&2;}
31453 { (exit 1); exit 1; }; }
31454
31455
31456 else
31457 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31458 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31459 { echo "$as_me:$LINENO: result: yes" >&5
31460 echo "${ECHO_T}yes" >&6; }
31461
31462 wxUSE_UNIVERSAL="yes"
31463 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31464 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31465 TOOLKIT=DFB
31466 GUIDIST=DFB_DIST
31467
31468 fi
31469 fi
31470
31471 if test "$wxUSE_MICROWIN" = 1; then
31472 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31473 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31474 if test "x$MICROWINDOWS" = x ; then
31475 { echo "$as_me:$LINENO: result: not found" >&5
31476 echo "${ECHO_T}not found" >&6; }
31477 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31478 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31479 { (exit 1); exit 1; }; }
31480 else
31481 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31482 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31483 fi
31484
31485 if test -f $MICROWINDOWS/lib/libmwin.a; then
31486 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31487 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31488 else
31489 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31490 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31491 { (exit 1); exit 1; }; }
31492 fi
31493
31494 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31495 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31496
31497 wxUSE_UNIVERSAL="yes"
31498
31499 AFMINSTALL=afminstall
31500 TOOLKIT=MICROWIN
31501 GUIDIST=MICROWIN_DIST
31502
31503 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31504 fi
31505
31506 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31507 { echo "$as_me:$LINENO: checking for X" >&5
31508 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31509
31510
31511 # Check whether --with-x was given.
31512 if test "${with_x+set}" = set; then
31513 withval=$with_x;
31514 fi
31515
31516 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31517 if test "x$with_x" = xno; then
31518 # The user explicitly disabled X.
31519 have_x=disabled
31520 else
31521 case $x_includes,$x_libraries in #(
31522 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31523 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31524 { (exit 1); exit 1; }; };; #(
31525 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31527 else
31528 # One or both of the vars are not set, and there is no cached value.
31529 ac_x_includes=no ac_x_libraries=no
31530 rm -f -r conftest.dir
31531 if mkdir conftest.dir; then
31532 cd conftest.dir
31533 cat >Imakefile <<'_ACEOF'
31534 incroot:
31535 @echo incroot='${INCROOT}'
31536 usrlibdir:
31537 @echo usrlibdir='${USRLIBDIR}'
31538 libdir:
31539 @echo libdir='${LIBDIR}'
31540 _ACEOF
31541 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31542 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31543 for ac_var in incroot usrlibdir libdir; do
31544 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31545 done
31546 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31547 for ac_extension in a so sl; do
31548 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31549 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31550 ac_im_usrlibdir=$ac_im_libdir; break
31551 fi
31552 done
31553 # Screen out bogus values from the imake configuration. They are
31554 # bogus both because they are the default anyway, and because
31555 # using them would break gcc on systems where it needs fixed includes.
31556 case $ac_im_incroot in
31557 /usr/include) ac_x_includes= ;;
31558 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31559 esac
31560 case $ac_im_usrlibdir in
31561 /usr/lib | /lib) ;;
31562 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31563 esac
31564 fi
31565 cd ..
31566 rm -f -r conftest.dir
31567 fi
31568
31569 # Standard set of common directories for X headers.
31570 # Check X11 before X11Rn because it is often a symlink to the current release.
31571 ac_x_header_dirs='
31572 /usr/X11/include
31573 /usr/X11R6/include
31574 /usr/X11R5/include
31575 /usr/X11R4/include
31576
31577 /usr/include/X11
31578 /usr/include/X11R6
31579 /usr/include/X11R5
31580 /usr/include/X11R4
31581
31582 /usr/local/X11/include
31583 /usr/local/X11R6/include
31584 /usr/local/X11R5/include
31585 /usr/local/X11R4/include
31586
31587 /usr/local/include/X11
31588 /usr/local/include/X11R6
31589 /usr/local/include/X11R5
31590 /usr/local/include/X11R4
31591
31592 /usr/X386/include
31593 /usr/x386/include
31594 /usr/XFree86/include/X11
31595
31596 /usr/include
31597 /usr/local/include
31598 /usr/unsupported/include
31599 /usr/athena/include
31600 /usr/local/x11r5/include
31601 /usr/lpp/Xamples/include
31602
31603 /usr/openwin/include
31604 /usr/openwin/share/include'
31605
31606 if test "$ac_x_includes" = no; then
31607 # Guess where to find include files, by looking for Xlib.h.
31608 # First, try using that file with no special directory specified.
31609 cat >conftest.$ac_ext <<_ACEOF
31610 /* confdefs.h. */
31611 _ACEOF
31612 cat confdefs.h >>conftest.$ac_ext
31613 cat >>conftest.$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31615 #include <X11/Xlib.h>
31616 _ACEOF
31617 if { (ac_try="$ac_cpp conftest.$ac_ext"
31618 case "(($ac_try" in
31619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31620 *) ac_try_echo=$ac_try;;
31621 esac
31622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31624 ac_status=$?
31625 grep -v '^ *+' conftest.er1 >conftest.err
31626 rm -f conftest.er1
31627 cat conftest.err >&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } >/dev/null && {
31630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31631 test ! -s conftest.err
31632 }; then
31633 # We can compile using X headers with no special include directory.
31634 ac_x_includes=
31635 else
31636 echo "$as_me: failed program was:" >&5
31637 sed 's/^/| /' conftest.$ac_ext >&5
31638
31639 for ac_dir in $ac_x_header_dirs; do
31640 if test -r "$ac_dir/X11/Xlib.h"; then
31641 ac_x_includes=$ac_dir
31642 break
31643 fi
31644 done
31645 fi
31646
31647 rm -f conftest.err conftest.$ac_ext
31648 fi # $ac_x_includes = no
31649
31650 if test "$ac_x_libraries" = no; then
31651 # Check for the libraries.
31652 # See if we find them without any special options.
31653 # Don't add to $LIBS permanently.
31654 ac_save_LIBS=$LIBS
31655 LIBS="-lX11 $LIBS"
31656 cat >conftest.$ac_ext <<_ACEOF
31657 /* confdefs.h. */
31658 _ACEOF
31659 cat confdefs.h >>conftest.$ac_ext
31660 cat >>conftest.$ac_ext <<_ACEOF
31661 /* end confdefs.h. */
31662 #include <X11/Xlib.h>
31663 int
31664 main ()
31665 {
31666 XrmInitialize ()
31667 ;
31668 return 0;
31669 }
31670 _ACEOF
31671 rm -f conftest.$ac_objext conftest$ac_exeext
31672 if { (ac_try="$ac_link"
31673 case "(($ac_try" in
31674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31675 *) ac_try_echo=$ac_try;;
31676 esac
31677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31678 (eval "$ac_link") 2>conftest.er1
31679 ac_status=$?
31680 grep -v '^ *+' conftest.er1 >conftest.err
31681 rm -f conftest.er1
31682 cat conftest.err >&5
31683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31684 (exit $ac_status); } && {
31685 test -z "$ac_c_werror_flag" ||
31686 test ! -s conftest.err
31687 } && test -s conftest$ac_exeext &&
31688 $as_test_x conftest$ac_exeext; then
31689 LIBS=$ac_save_LIBS
31690 # We can link X programs with no special library path.
31691 ac_x_libraries=
31692 else
31693 echo "$as_me: failed program was:" >&5
31694 sed 's/^/| /' conftest.$ac_ext >&5
31695
31696 LIBS=$ac_save_LIBS
31697 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31698 do
31699 # Don't even attempt the hair of trying to link an X program!
31700 for ac_extension in a so sl; do
31701 if test -r "$ac_dir/libX11.$ac_extension"; then
31702 ac_x_libraries=$ac_dir
31703 break 2
31704 fi
31705 done
31706 done
31707 fi
31708
31709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31710 conftest$ac_exeext conftest.$ac_ext
31711 fi # $ac_x_libraries = no
31712
31713 case $ac_x_includes,$ac_x_libraries in #(
31714 no,* | *,no | *\'*)
31715 # Didn't find X, or a directory has "'" in its name.
31716 ac_cv_have_x="have_x=no";; #(
31717 *)
31718 # Record where we found X for the cache.
31719 ac_cv_have_x="have_x=yes\
31720 ac_x_includes='$ac_x_includes'\
31721 ac_x_libraries='$ac_x_libraries'"
31722 esac
31723 fi
31724 ;; #(
31725 *) have_x=yes;;
31726 esac
31727 eval "$ac_cv_have_x"
31728 fi # $with_x != no
31729
31730 if test "$have_x" != yes; then
31731 { echo "$as_me:$LINENO: result: $have_x" >&5
31732 echo "${ECHO_T}$have_x" >&6; }
31733 no_x=yes
31734 else
31735 # If each of the values was on the command line, it overrides each guess.
31736 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31737 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31738 # Update the cache value to reflect the command line values.
31739 ac_cv_have_x="have_x=yes\
31740 ac_x_includes='$x_includes'\
31741 ac_x_libraries='$x_libraries'"
31742 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31743 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31744 fi
31745
31746 if test "$no_x" = yes; then
31747 # Not all programs may use this symbol, but it does not hurt to define it.
31748
31749 cat >>confdefs.h <<\_ACEOF
31750 #define X_DISPLAY_MISSING 1
31751 _ACEOF
31752
31753 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31754 else
31755 if test -n "$x_includes"; then
31756 X_CFLAGS="$X_CFLAGS -I$x_includes"
31757 fi
31758
31759 # It would also be nice to do this for all -L options, not just this one.
31760 if test -n "$x_libraries"; then
31761 X_LIBS="$X_LIBS -L$x_libraries"
31762 # For Solaris; some versions of Sun CC require a space after -R and
31763 # others require no space. Words are not sufficient . . . .
31764 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31765 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31766 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31767 ac_xsave_c_werror_flag=$ac_c_werror_flag
31768 ac_c_werror_flag=yes
31769 cat >conftest.$ac_ext <<_ACEOF
31770 /* confdefs.h. */
31771 _ACEOF
31772 cat confdefs.h >>conftest.$ac_ext
31773 cat >>conftest.$ac_ext <<_ACEOF
31774 /* end confdefs.h. */
31775
31776 int
31777 main ()
31778 {
31779
31780 ;
31781 return 0;
31782 }
31783 _ACEOF
31784 rm -f conftest.$ac_objext conftest$ac_exeext
31785 if { (ac_try="$ac_link"
31786 case "(($ac_try" in
31787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31789 esac
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_link") 2>conftest.er1
31792 ac_status=$?
31793 grep -v '^ *+' conftest.er1 >conftest.err
31794 rm -f conftest.er1
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } && {
31798 test -z "$ac_c_werror_flag" ||
31799 test ! -s conftest.err
31800 } && test -s conftest$ac_exeext &&
31801 $as_test_x conftest$ac_exeext; then
31802 { echo "$as_me:$LINENO: result: no" >&5
31803 echo "${ECHO_T}no" >&6; }
31804 X_LIBS="$X_LIBS -R$x_libraries"
31805 else
31806 echo "$as_me: failed program was:" >&5
31807 sed 's/^/| /' conftest.$ac_ext >&5
31808
31809 LIBS="$ac_xsave_LIBS -R $x_libraries"
31810 cat >conftest.$ac_ext <<_ACEOF
31811 /* confdefs.h. */
31812 _ACEOF
31813 cat confdefs.h >>conftest.$ac_ext
31814 cat >>conftest.$ac_ext <<_ACEOF
31815 /* end confdefs.h. */
31816
31817 int
31818 main ()
31819 {
31820
31821 ;
31822 return 0;
31823 }
31824 _ACEOF
31825 rm -f conftest.$ac_objext conftest$ac_exeext
31826 if { (ac_try="$ac_link"
31827 case "(($ac_try" in
31828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31829 *) ac_try_echo=$ac_try;;
31830 esac
31831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31832 (eval "$ac_link") 2>conftest.er1
31833 ac_status=$?
31834 grep -v '^ *+' conftest.er1 >conftest.err
31835 rm -f conftest.er1
31836 cat conftest.err >&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } && {
31839 test -z "$ac_c_werror_flag" ||
31840 test ! -s conftest.err
31841 } && test -s conftest$ac_exeext &&
31842 $as_test_x conftest$ac_exeext; then
31843 { echo "$as_me:$LINENO: result: yes" >&5
31844 echo "${ECHO_T}yes" >&6; }
31845 X_LIBS="$X_LIBS -R $x_libraries"
31846 else
31847 echo "$as_me: failed program was:" >&5
31848 sed 's/^/| /' conftest.$ac_ext >&5
31849
31850 { echo "$as_me:$LINENO: result: neither works" >&5
31851 echo "${ECHO_T}neither works" >&6; }
31852 fi
31853
31854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31855 conftest$ac_exeext conftest.$ac_ext
31856 fi
31857
31858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31859 conftest$ac_exeext conftest.$ac_ext
31860 ac_c_werror_flag=$ac_xsave_c_werror_flag
31861 LIBS=$ac_xsave_LIBS
31862 fi
31863
31864 # Check for system-dependent libraries X programs must link with.
31865 # Do this before checking for the system-independent R6 libraries
31866 # (-lICE), since we may need -lsocket or whatever for X linking.
31867
31868 if test "$ISC" = yes; then
31869 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31870 else
31871 # Martyn Johnson says this is needed for Ultrix, if the X
31872 # libraries were built with DECnet support. And Karl Berry says
31873 # the Alpha needs dnet_stub (dnet does not exist).
31874 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31875 cat >conftest.$ac_ext <<_ACEOF
31876 /* confdefs.h. */
31877 _ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31881
31882 /* Override any GCC internal prototype to avoid an error.
31883 Use char because int might match the return type of a GCC
31884 builtin and then its argument prototype would still apply. */
31885 #ifdef __cplusplus
31886 extern "C"
31887 #endif
31888 char XOpenDisplay ();
31889 int
31890 main ()
31891 {
31892 return XOpenDisplay ();
31893 ;
31894 return 0;
31895 }
31896 _ACEOF
31897 rm -f conftest.$ac_objext conftest$ac_exeext
31898 if { (ac_try="$ac_link"
31899 case "(($ac_try" in
31900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31901 *) ac_try_echo=$ac_try;;
31902 esac
31903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31904 (eval "$ac_link") 2>conftest.er1
31905 ac_status=$?
31906 grep -v '^ *+' conftest.er1 >conftest.err
31907 rm -f conftest.er1
31908 cat conftest.err >&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } && {
31911 test -z "$ac_c_werror_flag" ||
31912 test ! -s conftest.err
31913 } && test -s conftest$ac_exeext &&
31914 $as_test_x conftest$ac_exeext; then
31915 :
31916 else
31917 echo "$as_me: failed program was:" >&5
31918 sed 's/^/| /' conftest.$ac_ext >&5
31919
31920 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31921 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31922 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31923 echo $ECHO_N "(cached) $ECHO_C" >&6
31924 else
31925 ac_check_lib_save_LIBS=$LIBS
31926 LIBS="-ldnet $LIBS"
31927 cat >conftest.$ac_ext <<_ACEOF
31928 /* confdefs.h. */
31929 _ACEOF
31930 cat confdefs.h >>conftest.$ac_ext
31931 cat >>conftest.$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31933
31934 /* Override any GCC internal prototype to avoid an error.
31935 Use char because int might match the return type of a GCC
31936 builtin and then its argument prototype would still apply. */
31937 #ifdef __cplusplus
31938 extern "C"
31939 #endif
31940 char dnet_ntoa ();
31941 int
31942 main ()
31943 {
31944 return dnet_ntoa ();
31945 ;
31946 return 0;
31947 }
31948 _ACEOF
31949 rm -f conftest.$ac_objext conftest$ac_exeext
31950 if { (ac_try="$ac_link"
31951 case "(($ac_try" in
31952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31953 *) ac_try_echo=$ac_try;;
31954 esac
31955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31956 (eval "$ac_link") 2>conftest.er1
31957 ac_status=$?
31958 grep -v '^ *+' conftest.er1 >conftest.err
31959 rm -f conftest.er1
31960 cat conftest.err >&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); } && {
31963 test -z "$ac_c_werror_flag" ||
31964 test ! -s conftest.err
31965 } && test -s conftest$ac_exeext &&
31966 $as_test_x conftest$ac_exeext; then
31967 ac_cv_lib_dnet_dnet_ntoa=yes
31968 else
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.$ac_ext >&5
31971
31972 ac_cv_lib_dnet_dnet_ntoa=no
31973 fi
31974
31975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31976 conftest$ac_exeext conftest.$ac_ext
31977 LIBS=$ac_check_lib_save_LIBS
31978 fi
31979 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31980 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31981 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31982 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31983 fi
31984
31985 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31986 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31987 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31988 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31989 echo $ECHO_N "(cached) $ECHO_C" >&6
31990 else
31991 ac_check_lib_save_LIBS=$LIBS
31992 LIBS="-ldnet_stub $LIBS"
31993 cat >conftest.$ac_ext <<_ACEOF
31994 /* confdefs.h. */
31995 _ACEOF
31996 cat confdefs.h >>conftest.$ac_ext
31997 cat >>conftest.$ac_ext <<_ACEOF
31998 /* end confdefs.h. */
31999
32000 /* Override any GCC internal prototype to avoid an error.
32001 Use char because int might match the return type of a GCC
32002 builtin and then its argument prototype would still apply. */
32003 #ifdef __cplusplus
32004 extern "C"
32005 #endif
32006 char dnet_ntoa ();
32007 int
32008 main ()
32009 {
32010 return dnet_ntoa ();
32011 ;
32012 return 0;
32013 }
32014 _ACEOF
32015 rm -f conftest.$ac_objext conftest$ac_exeext
32016 if { (ac_try="$ac_link"
32017 case "(($ac_try" in
32018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32019 *) ac_try_echo=$ac_try;;
32020 esac
32021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32022 (eval "$ac_link") 2>conftest.er1
32023 ac_status=$?
32024 grep -v '^ *+' conftest.er1 >conftest.err
32025 rm -f conftest.er1
32026 cat conftest.err >&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); } && {
32029 test -z "$ac_c_werror_flag" ||
32030 test ! -s conftest.err
32031 } && test -s conftest$ac_exeext &&
32032 $as_test_x conftest$ac_exeext; then
32033 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32034 else
32035 echo "$as_me: failed program was:" >&5
32036 sed 's/^/| /' conftest.$ac_ext >&5
32037
32038 ac_cv_lib_dnet_stub_dnet_ntoa=no
32039 fi
32040
32041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32042 conftest$ac_exeext conftest.$ac_ext
32043 LIBS=$ac_check_lib_save_LIBS
32044 fi
32045 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32046 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32047 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32048 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32049 fi
32050
32051 fi
32052 fi
32053
32054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32055 conftest$ac_exeext conftest.$ac_ext
32056 LIBS="$ac_xsave_LIBS"
32057
32058 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32059 # to get the SysV transport functions.
32060 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32061 # needs -lnsl.
32062 # The nsl library prevents programs from opening the X display
32063 # on Irix 5.2, according to T.E. Dickey.
32064 # The functions gethostbyname, getservbyname, and inet_addr are
32065 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32066 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32067 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32068 if test "${ac_cv_func_gethostbyname+set}" = set; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32070 else
32071 cat >conftest.$ac_ext <<_ACEOF
32072 /* confdefs.h. */
32073 _ACEOF
32074 cat confdefs.h >>conftest.$ac_ext
32075 cat >>conftest.$ac_ext <<_ACEOF
32076 /* end confdefs.h. */
32077 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32079 #define gethostbyname innocuous_gethostbyname
32080
32081 /* System header to define __stub macros and hopefully few prototypes,
32082 which can conflict with char gethostbyname (); below.
32083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32084 <limits.h> exists even on freestanding compilers. */
32085
32086 #ifdef __STDC__
32087 # include <limits.h>
32088 #else
32089 # include <assert.h>
32090 #endif
32091
32092 #undef gethostbyname
32093
32094 /* Override any GCC internal prototype to avoid an error.
32095 Use char because int might match the return type of a GCC
32096 builtin and then its argument prototype would still apply. */
32097 #ifdef __cplusplus
32098 extern "C"
32099 #endif
32100 char gethostbyname ();
32101 /* The GNU C library defines this for functions which it implements
32102 to always fail with ENOSYS. Some functions are actually named
32103 something starting with __ and the normal name is an alias. */
32104 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32105 choke me
32106 #endif
32107
32108 int
32109 main ()
32110 {
32111 return gethostbyname ();
32112 ;
32113 return 0;
32114 }
32115 _ACEOF
32116 rm -f conftest.$ac_objext conftest$ac_exeext
32117 if { (ac_try="$ac_link"
32118 case "(($ac_try" in
32119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32120 *) ac_try_echo=$ac_try;;
32121 esac
32122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32123 (eval "$ac_link") 2>conftest.er1
32124 ac_status=$?
32125 grep -v '^ *+' conftest.er1 >conftest.err
32126 rm -f conftest.er1
32127 cat conftest.err >&5
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); } && {
32130 test -z "$ac_c_werror_flag" ||
32131 test ! -s conftest.err
32132 } && test -s conftest$ac_exeext &&
32133 $as_test_x conftest$ac_exeext; then
32134 ac_cv_func_gethostbyname=yes
32135 else
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.$ac_ext >&5
32138
32139 ac_cv_func_gethostbyname=no
32140 fi
32141
32142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32143 conftest$ac_exeext conftest.$ac_ext
32144 fi
32145 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32146 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32147
32148 if test $ac_cv_func_gethostbyname = no; then
32149 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32150 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32151 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32152 echo $ECHO_N "(cached) $ECHO_C" >&6
32153 else
32154 ac_check_lib_save_LIBS=$LIBS
32155 LIBS="-lnsl $LIBS"
32156 cat >conftest.$ac_ext <<_ACEOF
32157 /* confdefs.h. */
32158 _ACEOF
32159 cat confdefs.h >>conftest.$ac_ext
32160 cat >>conftest.$ac_ext <<_ACEOF
32161 /* end confdefs.h. */
32162
32163 /* Override any GCC internal prototype to avoid an error.
32164 Use char because int might match the return type of a GCC
32165 builtin and then its argument prototype would still apply. */
32166 #ifdef __cplusplus
32167 extern "C"
32168 #endif
32169 char gethostbyname ();
32170 int
32171 main ()
32172 {
32173 return gethostbyname ();
32174 ;
32175 return 0;
32176 }
32177 _ACEOF
32178 rm -f conftest.$ac_objext conftest$ac_exeext
32179 if { (ac_try="$ac_link"
32180 case "(($ac_try" in
32181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32182 *) ac_try_echo=$ac_try;;
32183 esac
32184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32185 (eval "$ac_link") 2>conftest.er1
32186 ac_status=$?
32187 grep -v '^ *+' conftest.er1 >conftest.err
32188 rm -f conftest.er1
32189 cat conftest.err >&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } && {
32192 test -z "$ac_c_werror_flag" ||
32193 test ! -s conftest.err
32194 } && test -s conftest$ac_exeext &&
32195 $as_test_x conftest$ac_exeext; then
32196 ac_cv_lib_nsl_gethostbyname=yes
32197 else
32198 echo "$as_me: failed program was:" >&5
32199 sed 's/^/| /' conftest.$ac_ext >&5
32200
32201 ac_cv_lib_nsl_gethostbyname=no
32202 fi
32203
32204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32205 conftest$ac_exeext conftest.$ac_ext
32206 LIBS=$ac_check_lib_save_LIBS
32207 fi
32208 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32209 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32210 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32211 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32212 fi
32213
32214 if test $ac_cv_lib_nsl_gethostbyname = no; then
32215 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32216 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32217 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32218 echo $ECHO_N "(cached) $ECHO_C" >&6
32219 else
32220 ac_check_lib_save_LIBS=$LIBS
32221 LIBS="-lbsd $LIBS"
32222 cat >conftest.$ac_ext <<_ACEOF
32223 /* confdefs.h. */
32224 _ACEOF
32225 cat confdefs.h >>conftest.$ac_ext
32226 cat >>conftest.$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32228
32229 /* Override any GCC internal prototype to avoid an error.
32230 Use char because int might match the return type of a GCC
32231 builtin and then its argument prototype would still apply. */
32232 #ifdef __cplusplus
32233 extern "C"
32234 #endif
32235 char gethostbyname ();
32236 int
32237 main ()
32238 {
32239 return gethostbyname ();
32240 ;
32241 return 0;
32242 }
32243 _ACEOF
32244 rm -f conftest.$ac_objext conftest$ac_exeext
32245 if { (ac_try="$ac_link"
32246 case "(($ac_try" in
32247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32248 *) ac_try_echo=$ac_try;;
32249 esac
32250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32251 (eval "$ac_link") 2>conftest.er1
32252 ac_status=$?
32253 grep -v '^ *+' conftest.er1 >conftest.err
32254 rm -f conftest.er1
32255 cat conftest.err >&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } && {
32258 test -z "$ac_c_werror_flag" ||
32259 test ! -s conftest.err
32260 } && test -s conftest$ac_exeext &&
32261 $as_test_x conftest$ac_exeext; then
32262 ac_cv_lib_bsd_gethostbyname=yes
32263 else
32264 echo "$as_me: failed program was:" >&5
32265 sed 's/^/| /' conftest.$ac_ext >&5
32266
32267 ac_cv_lib_bsd_gethostbyname=no
32268 fi
32269
32270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32271 conftest$ac_exeext conftest.$ac_ext
32272 LIBS=$ac_check_lib_save_LIBS
32273 fi
32274 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32275 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32276 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32277 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32278 fi
32279
32280 fi
32281 fi
32282
32283 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32284 # socket/setsockopt and other routines are undefined under SCO ODT
32285 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32286 # on later versions), says Simon Leinen: it contains gethostby*
32287 # variants that don't use the name server (or something). -lsocket
32288 # must be given before -lnsl if both are needed. We assume that
32289 # if connect needs -lnsl, so does gethostbyname.
32290 { echo "$as_me:$LINENO: checking for connect" >&5
32291 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32292 if test "${ac_cv_func_connect+set}" = set; then
32293 echo $ECHO_N "(cached) $ECHO_C" >&6
32294 else
32295 cat >conftest.$ac_ext <<_ACEOF
32296 /* confdefs.h. */
32297 _ACEOF
32298 cat confdefs.h >>conftest.$ac_ext
32299 cat >>conftest.$ac_ext <<_ACEOF
32300 /* end confdefs.h. */
32301 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32303 #define connect innocuous_connect
32304
32305 /* System header to define __stub macros and hopefully few prototypes,
32306 which can conflict with char connect (); below.
32307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32308 <limits.h> exists even on freestanding compilers. */
32309
32310 #ifdef __STDC__
32311 # include <limits.h>
32312 #else
32313 # include <assert.h>
32314 #endif
32315
32316 #undef connect
32317
32318 /* Override any GCC internal prototype to avoid an error.
32319 Use char because int might match the return type of a GCC
32320 builtin and then its argument prototype would still apply. */
32321 #ifdef __cplusplus
32322 extern "C"
32323 #endif
32324 char connect ();
32325 /* The GNU C library defines this for functions which it implements
32326 to always fail with ENOSYS. Some functions are actually named
32327 something starting with __ and the normal name is an alias. */
32328 #if defined __stub_connect || defined __stub___connect
32329 choke me
32330 #endif
32331
32332 int
32333 main ()
32334 {
32335 return connect ();
32336 ;
32337 return 0;
32338 }
32339 _ACEOF
32340 rm -f conftest.$ac_objext conftest$ac_exeext
32341 if { (ac_try="$ac_link"
32342 case "(($ac_try" in
32343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32344 *) ac_try_echo=$ac_try;;
32345 esac
32346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32347 (eval "$ac_link") 2>conftest.er1
32348 ac_status=$?
32349 grep -v '^ *+' conftest.er1 >conftest.err
32350 rm -f conftest.er1
32351 cat conftest.err >&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } && {
32354 test -z "$ac_c_werror_flag" ||
32355 test ! -s conftest.err
32356 } && test -s conftest$ac_exeext &&
32357 $as_test_x conftest$ac_exeext; then
32358 ac_cv_func_connect=yes
32359 else
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.$ac_ext >&5
32362
32363 ac_cv_func_connect=no
32364 fi
32365
32366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32367 conftest$ac_exeext conftest.$ac_ext
32368 fi
32369 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32370 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32371
32372 if test $ac_cv_func_connect = no; then
32373 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32374 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32375 if test "${ac_cv_lib_socket_connect+set}" = set; then
32376 echo $ECHO_N "(cached) $ECHO_C" >&6
32377 else
32378 ac_check_lib_save_LIBS=$LIBS
32379 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32380 cat >conftest.$ac_ext <<_ACEOF
32381 /* confdefs.h. */
32382 _ACEOF
32383 cat confdefs.h >>conftest.$ac_ext
32384 cat >>conftest.$ac_ext <<_ACEOF
32385 /* end confdefs.h. */
32386
32387 /* Override any GCC internal prototype to avoid an error.
32388 Use char because int might match the return type of a GCC
32389 builtin and then its argument prototype would still apply. */
32390 #ifdef __cplusplus
32391 extern "C"
32392 #endif
32393 char connect ();
32394 int
32395 main ()
32396 {
32397 return connect ();
32398 ;
32399 return 0;
32400 }
32401 _ACEOF
32402 rm -f conftest.$ac_objext conftest$ac_exeext
32403 if { (ac_try="$ac_link"
32404 case "(($ac_try" in
32405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32406 *) ac_try_echo=$ac_try;;
32407 esac
32408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32409 (eval "$ac_link") 2>conftest.er1
32410 ac_status=$?
32411 grep -v '^ *+' conftest.er1 >conftest.err
32412 rm -f conftest.er1
32413 cat conftest.err >&5
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); } && {
32416 test -z "$ac_c_werror_flag" ||
32417 test ! -s conftest.err
32418 } && test -s conftest$ac_exeext &&
32419 $as_test_x conftest$ac_exeext; then
32420 ac_cv_lib_socket_connect=yes
32421 else
32422 echo "$as_me: failed program was:" >&5
32423 sed 's/^/| /' conftest.$ac_ext >&5
32424
32425 ac_cv_lib_socket_connect=no
32426 fi
32427
32428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32429 conftest$ac_exeext conftest.$ac_ext
32430 LIBS=$ac_check_lib_save_LIBS
32431 fi
32432 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32433 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32434 if test $ac_cv_lib_socket_connect = yes; then
32435 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32436 fi
32437
32438 fi
32439
32440 # Guillermo Gomez says -lposix is necessary on A/UX.
32441 { echo "$as_me:$LINENO: checking for remove" >&5
32442 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32443 if test "${ac_cv_func_remove+set}" = set; then
32444 echo $ECHO_N "(cached) $ECHO_C" >&6
32445 else
32446 cat >conftest.$ac_ext <<_ACEOF
32447 /* confdefs.h. */
32448 _ACEOF
32449 cat confdefs.h >>conftest.$ac_ext
32450 cat >>conftest.$ac_ext <<_ACEOF
32451 /* end confdefs.h. */
32452 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32454 #define remove innocuous_remove
32455
32456 /* System header to define __stub macros and hopefully few prototypes,
32457 which can conflict with char remove (); below.
32458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32459 <limits.h> exists even on freestanding compilers. */
32460
32461 #ifdef __STDC__
32462 # include <limits.h>
32463 #else
32464 # include <assert.h>
32465 #endif
32466
32467 #undef remove
32468
32469 /* Override any GCC internal prototype to avoid an error.
32470 Use char because int might match the return type of a GCC
32471 builtin and then its argument prototype would still apply. */
32472 #ifdef __cplusplus
32473 extern "C"
32474 #endif
32475 char remove ();
32476 /* The GNU C library defines this for functions which it implements
32477 to always fail with ENOSYS. Some functions are actually named
32478 something starting with __ and the normal name is an alias. */
32479 #if defined __stub_remove || defined __stub___remove
32480 choke me
32481 #endif
32482
32483 int
32484 main ()
32485 {
32486 return remove ();
32487 ;
32488 return 0;
32489 }
32490 _ACEOF
32491 rm -f conftest.$ac_objext conftest$ac_exeext
32492 if { (ac_try="$ac_link"
32493 case "(($ac_try" in
32494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32495 *) ac_try_echo=$ac_try;;
32496 esac
32497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32498 (eval "$ac_link") 2>conftest.er1
32499 ac_status=$?
32500 grep -v '^ *+' conftest.er1 >conftest.err
32501 rm -f conftest.er1
32502 cat conftest.err >&5
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); } && {
32505 test -z "$ac_c_werror_flag" ||
32506 test ! -s conftest.err
32507 } && test -s conftest$ac_exeext &&
32508 $as_test_x conftest$ac_exeext; then
32509 ac_cv_func_remove=yes
32510 else
32511 echo "$as_me: failed program was:" >&5
32512 sed 's/^/| /' conftest.$ac_ext >&5
32513
32514 ac_cv_func_remove=no
32515 fi
32516
32517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32518 conftest$ac_exeext conftest.$ac_ext
32519 fi
32520 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32521 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32522
32523 if test $ac_cv_func_remove = no; then
32524 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32525 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32526 if test "${ac_cv_lib_posix_remove+set}" = set; then
32527 echo $ECHO_N "(cached) $ECHO_C" >&6
32528 else
32529 ac_check_lib_save_LIBS=$LIBS
32530 LIBS="-lposix $LIBS"
32531 cat >conftest.$ac_ext <<_ACEOF
32532 /* confdefs.h. */
32533 _ACEOF
32534 cat confdefs.h >>conftest.$ac_ext
32535 cat >>conftest.$ac_ext <<_ACEOF
32536 /* end confdefs.h. */
32537
32538 /* Override any GCC internal prototype to avoid an error.
32539 Use char because int might match the return type of a GCC
32540 builtin and then its argument prototype would still apply. */
32541 #ifdef __cplusplus
32542 extern "C"
32543 #endif
32544 char remove ();
32545 int
32546 main ()
32547 {
32548 return remove ();
32549 ;
32550 return 0;
32551 }
32552 _ACEOF
32553 rm -f conftest.$ac_objext conftest$ac_exeext
32554 if { (ac_try="$ac_link"
32555 case "(($ac_try" in
32556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32557 *) ac_try_echo=$ac_try;;
32558 esac
32559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32560 (eval "$ac_link") 2>conftest.er1
32561 ac_status=$?
32562 grep -v '^ *+' conftest.er1 >conftest.err
32563 rm -f conftest.er1
32564 cat conftest.err >&5
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); } && {
32567 test -z "$ac_c_werror_flag" ||
32568 test ! -s conftest.err
32569 } && test -s conftest$ac_exeext &&
32570 $as_test_x conftest$ac_exeext; then
32571 ac_cv_lib_posix_remove=yes
32572 else
32573 echo "$as_me: failed program was:" >&5
32574 sed 's/^/| /' conftest.$ac_ext >&5
32575
32576 ac_cv_lib_posix_remove=no
32577 fi
32578
32579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32580 conftest$ac_exeext conftest.$ac_ext
32581 LIBS=$ac_check_lib_save_LIBS
32582 fi
32583 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32584 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32585 if test $ac_cv_lib_posix_remove = yes; then
32586 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32587 fi
32588
32589 fi
32590
32591 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32592 { echo "$as_me:$LINENO: checking for shmat" >&5
32593 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32594 if test "${ac_cv_func_shmat+set}" = set; then
32595 echo $ECHO_N "(cached) $ECHO_C" >&6
32596 else
32597 cat >conftest.$ac_ext <<_ACEOF
32598 /* confdefs.h. */
32599 _ACEOF
32600 cat confdefs.h >>conftest.$ac_ext
32601 cat >>conftest.$ac_ext <<_ACEOF
32602 /* end confdefs.h. */
32603 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32605 #define shmat innocuous_shmat
32606
32607 /* System header to define __stub macros and hopefully few prototypes,
32608 which can conflict with char shmat (); below.
32609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32610 <limits.h> exists even on freestanding compilers. */
32611
32612 #ifdef __STDC__
32613 # include <limits.h>
32614 #else
32615 # include <assert.h>
32616 #endif
32617
32618 #undef shmat
32619
32620 /* Override any GCC internal prototype to avoid an error.
32621 Use char because int might match the return type of a GCC
32622 builtin and then its argument prototype would still apply. */
32623 #ifdef __cplusplus
32624 extern "C"
32625 #endif
32626 char shmat ();
32627 /* The GNU C library defines this for functions which it implements
32628 to always fail with ENOSYS. Some functions are actually named
32629 something starting with __ and the normal name is an alias. */
32630 #if defined __stub_shmat || defined __stub___shmat
32631 choke me
32632 #endif
32633
32634 int
32635 main ()
32636 {
32637 return shmat ();
32638 ;
32639 return 0;
32640 }
32641 _ACEOF
32642 rm -f conftest.$ac_objext conftest$ac_exeext
32643 if { (ac_try="$ac_link"
32644 case "(($ac_try" in
32645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32646 *) ac_try_echo=$ac_try;;
32647 esac
32648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32649 (eval "$ac_link") 2>conftest.er1
32650 ac_status=$?
32651 grep -v '^ *+' conftest.er1 >conftest.err
32652 rm -f conftest.er1
32653 cat conftest.err >&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } && {
32656 test -z "$ac_c_werror_flag" ||
32657 test ! -s conftest.err
32658 } && test -s conftest$ac_exeext &&
32659 $as_test_x conftest$ac_exeext; then
32660 ac_cv_func_shmat=yes
32661 else
32662 echo "$as_me: failed program was:" >&5
32663 sed 's/^/| /' conftest.$ac_ext >&5
32664
32665 ac_cv_func_shmat=no
32666 fi
32667
32668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32669 conftest$ac_exeext conftest.$ac_ext
32670 fi
32671 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32672 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32673
32674 if test $ac_cv_func_shmat = no; then
32675 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32676 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32677 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32678 echo $ECHO_N "(cached) $ECHO_C" >&6
32679 else
32680 ac_check_lib_save_LIBS=$LIBS
32681 LIBS="-lipc $LIBS"
32682 cat >conftest.$ac_ext <<_ACEOF
32683 /* confdefs.h. */
32684 _ACEOF
32685 cat confdefs.h >>conftest.$ac_ext
32686 cat >>conftest.$ac_ext <<_ACEOF
32687 /* end confdefs.h. */
32688
32689 /* Override any GCC internal prototype to avoid an error.
32690 Use char because int might match the return type of a GCC
32691 builtin and then its argument prototype would still apply. */
32692 #ifdef __cplusplus
32693 extern "C"
32694 #endif
32695 char shmat ();
32696 int
32697 main ()
32698 {
32699 return shmat ();
32700 ;
32701 return 0;
32702 }
32703 _ACEOF
32704 rm -f conftest.$ac_objext conftest$ac_exeext
32705 if { (ac_try="$ac_link"
32706 case "(($ac_try" in
32707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32708 *) ac_try_echo=$ac_try;;
32709 esac
32710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32711 (eval "$ac_link") 2>conftest.er1
32712 ac_status=$?
32713 grep -v '^ *+' conftest.er1 >conftest.err
32714 rm -f conftest.er1
32715 cat conftest.err >&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } && {
32718 test -z "$ac_c_werror_flag" ||
32719 test ! -s conftest.err
32720 } && test -s conftest$ac_exeext &&
32721 $as_test_x conftest$ac_exeext; then
32722 ac_cv_lib_ipc_shmat=yes
32723 else
32724 echo "$as_me: failed program was:" >&5
32725 sed 's/^/| /' conftest.$ac_ext >&5
32726
32727 ac_cv_lib_ipc_shmat=no
32728 fi
32729
32730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32731 conftest$ac_exeext conftest.$ac_ext
32732 LIBS=$ac_check_lib_save_LIBS
32733 fi
32734 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32735 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32736 if test $ac_cv_lib_ipc_shmat = yes; then
32737 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32738 fi
32739
32740 fi
32741 fi
32742
32743 # Check for libraries that X11R6 Xt/Xaw programs need.
32744 ac_save_LDFLAGS=$LDFLAGS
32745 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32746 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32747 # check for ICE first), but we must link in the order -lSM -lICE or
32748 # we get undefined symbols. So assume we have SM if we have ICE.
32749 # These have to be linked with before -lX11, unlike the other
32750 # libraries we check for below, so use a different variable.
32751 # John Interrante, Karl Berry
32752 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32753 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32754 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32755 echo $ECHO_N "(cached) $ECHO_C" >&6
32756 else
32757 ac_check_lib_save_LIBS=$LIBS
32758 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32759 cat >conftest.$ac_ext <<_ACEOF
32760 /* confdefs.h. */
32761 _ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32765
32766 /* Override any GCC internal prototype to avoid an error.
32767 Use char because int might match the return type of a GCC
32768 builtin and then its argument prototype would still apply. */
32769 #ifdef __cplusplus
32770 extern "C"
32771 #endif
32772 char IceConnectionNumber ();
32773 int
32774 main ()
32775 {
32776 return IceConnectionNumber ();
32777 ;
32778 return 0;
32779 }
32780 _ACEOF
32781 rm -f conftest.$ac_objext conftest$ac_exeext
32782 if { (ac_try="$ac_link"
32783 case "(($ac_try" in
32784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32785 *) ac_try_echo=$ac_try;;
32786 esac
32787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32788 (eval "$ac_link") 2>conftest.er1
32789 ac_status=$?
32790 grep -v '^ *+' conftest.er1 >conftest.err
32791 rm -f conftest.er1
32792 cat conftest.err >&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); } && {
32795 test -z "$ac_c_werror_flag" ||
32796 test ! -s conftest.err
32797 } && test -s conftest$ac_exeext &&
32798 $as_test_x conftest$ac_exeext; then
32799 ac_cv_lib_ICE_IceConnectionNumber=yes
32800 else
32801 echo "$as_me: failed program was:" >&5
32802 sed 's/^/| /' conftest.$ac_ext >&5
32803
32804 ac_cv_lib_ICE_IceConnectionNumber=no
32805 fi
32806
32807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32808 conftest$ac_exeext conftest.$ac_ext
32809 LIBS=$ac_check_lib_save_LIBS
32810 fi
32811 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32812 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32813 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32814 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32815 fi
32816
32817 LDFLAGS=$ac_save_LDFLAGS
32818
32819 fi
32820
32821
32822 if test "$no_x" = "yes"; then
32823 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32824 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32825 { (exit 1); exit 1; }; }
32826 fi
32827
32828 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32829 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32830 AFMINSTALL=afminstall
32831 COMPILED_X_PROGRAM=0
32832
32833 fi
32834
32835 if test "$wxUSE_X11" = 1; then
32836 if test "$wxUSE_NANOX" = "yes"; then
32837 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32838 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32839 if test "x$MICROWIN" = x ; then
32840 { echo "$as_me:$LINENO: result: not found" >&5
32841 echo "${ECHO_T}not found" >&6; }
32842 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32843 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32844 { (exit 1); exit 1; }; }
32845 else
32846 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32847 echo "${ECHO_T}$MICROWIN" >&6; }
32848 cat >>confdefs.h <<\_ACEOF
32849 #define wxUSE_NANOX 1
32850 _ACEOF
32851
32852 fi
32853 fi
32854
32855 if test "$wxUSE_UNICODE" = "yes"; then
32856
32857
32858 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32859 if test -n "$ac_tool_prefix"; then
32860 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32861 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32864 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32865 echo $ECHO_N "(cached) $ECHO_C" >&6
32866 else
32867 case $PKG_CONFIG in
32868 [\\/]* | ?:[\\/]*)
32869 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32870 ;;
32871 *)
32872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32873 for as_dir in $PATH
32874 do
32875 IFS=$as_save_IFS
32876 test -z "$as_dir" && as_dir=.
32877 for ac_exec_ext in '' $ac_executable_extensions; do
32878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32879 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32881 break 2
32882 fi
32883 done
32884 done
32885 IFS=$as_save_IFS
32886
32887 ;;
32888 esac
32889 fi
32890 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32891 if test -n "$PKG_CONFIG"; then
32892 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32893 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32894 else
32895 { echo "$as_me:$LINENO: result: no" >&5
32896 echo "${ECHO_T}no" >&6; }
32897 fi
32898
32899
32900 fi
32901 if test -z "$ac_cv_path_PKG_CONFIG"; then
32902 ac_pt_PKG_CONFIG=$PKG_CONFIG
32903 # Extract the first word of "pkg-config", so it can be a program name with args.
32904 set dummy pkg-config; ac_word=$2
32905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32907 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32909 else
32910 case $ac_pt_PKG_CONFIG in
32911 [\\/]* | ?:[\\/]*)
32912 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32913 ;;
32914 *)
32915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32916 for as_dir in $PATH
32917 do
32918 IFS=$as_save_IFS
32919 test -z "$as_dir" && as_dir=.
32920 for ac_exec_ext in '' $ac_executable_extensions; do
32921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32922 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32924 break 2
32925 fi
32926 done
32927 done
32928 IFS=$as_save_IFS
32929
32930 ;;
32931 esac
32932 fi
32933 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32934 if test -n "$ac_pt_PKG_CONFIG"; then
32935 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32936 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32937 else
32938 { echo "$as_me:$LINENO: result: no" >&5
32939 echo "${ECHO_T}no" >&6; }
32940 fi
32941
32942 if test "x$ac_pt_PKG_CONFIG" = x; then
32943 PKG_CONFIG=""
32944 else
32945 case $cross_compiling:$ac_tool_warned in
32946 yes:)
32947 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32948 whose name does not start with the host triplet. If you think this
32949 configuration is useful to you, please write to autoconf@gnu.org." >&5
32950 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32951 whose name does not start with the host triplet. If you think this
32952 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32953 ac_tool_warned=yes ;;
32954 esac
32955 PKG_CONFIG=$ac_pt_PKG_CONFIG
32956 fi
32957 else
32958 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32959 fi
32960
32961 fi
32962 if test -n "$PKG_CONFIG"; then
32963 _pkg_min_version=0.9.0
32964 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32965 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32966 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32967 { echo "$as_me:$LINENO: result: yes" >&5
32968 echo "${ECHO_T}yes" >&6; }
32969 else
32970 { echo "$as_me:$LINENO: result: no" >&5
32971 echo "${ECHO_T}no" >&6; }
32972 PKG_CONFIG=""
32973 fi
32974
32975 fi
32976
32977
32978 pkg_failed=no
32979 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32980 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32981
32982 if test -n "$PKG_CONFIG"; then
32983 if test -n "$PANGOX_CFLAGS"; then
32984 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32985 else
32986 if test -n "$PKG_CONFIG" && \
32987 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32988 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32989 ac_status=$?
32990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32991 (exit $ac_status); }; then
32992 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32993 else
32994 pkg_failed=yes
32995 fi
32996 fi
32997 else
32998 pkg_failed=untried
32999 fi
33000 if test -n "$PKG_CONFIG"; then
33001 if test -n "$PANGOX_LIBS"; then
33002 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33003 else
33004 if test -n "$PKG_CONFIG" && \
33005 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33006 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33007 ac_status=$?
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); }; then
33010 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33011 else
33012 pkg_failed=yes
33013 fi
33014 fi
33015 else
33016 pkg_failed=untried
33017 fi
33018
33019
33020
33021 if test $pkg_failed = yes; then
33022
33023 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33024 _pkg_short_errors_supported=yes
33025 else
33026 _pkg_short_errors_supported=no
33027 fi
33028 if test $_pkg_short_errors_supported = yes; then
33029 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33030 else
33031 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33032 fi
33033 # Put the nasty error message in config.log where it belongs
33034 echo "$PANGOX_PKG_ERRORS" >&5
33035
33036
33037 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33038 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33039 { (exit 1); exit 1; }; }
33040
33041
33042 elif test $pkg_failed = untried; then
33043
33044 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33045 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33046 { (exit 1); exit 1; }; }
33047
33048
33049 else
33050 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33051 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33052 { echo "$as_me:$LINENO: result: yes" >&5
33053 echo "${ECHO_T}yes" >&6; }
33054
33055 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33056 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33057 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33058
33059 fi
33060
33061 pkg_failed=no
33062 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33063 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33064
33065 if test -n "$PKG_CONFIG"; then
33066 if test -n "$PANGOFT2_CFLAGS"; then
33067 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33068 else
33069 if test -n "$PKG_CONFIG" && \
33070 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33071 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33072 ac_status=$?
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); }; then
33075 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33076 else
33077 pkg_failed=yes
33078 fi
33079 fi
33080 else
33081 pkg_failed=untried
33082 fi
33083 if test -n "$PKG_CONFIG"; then
33084 if test -n "$PANGOFT2_LIBS"; then
33085 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33086 else
33087 if test -n "$PKG_CONFIG" && \
33088 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33089 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33090 ac_status=$?
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); }; then
33093 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33094 else
33095 pkg_failed=yes
33096 fi
33097 fi
33098 else
33099 pkg_failed=untried
33100 fi
33101
33102
33103
33104 if test $pkg_failed = yes; then
33105
33106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33107 _pkg_short_errors_supported=yes
33108 else
33109 _pkg_short_errors_supported=no
33110 fi
33111 if test $_pkg_short_errors_supported = yes; then
33112 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33113 else
33114 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33115 fi
33116 # Put the nasty error message in config.log where it belongs
33117 echo "$PANGOFT2_PKG_ERRORS" >&5
33118
33119
33120 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33121 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33122 wxUSE_PRINTING_ARCHITECTURE="no"
33123
33124
33125 elif test $pkg_failed = untried; then
33126
33127 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33128 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33129 wxUSE_PRINTING_ARCHITECTURE="no"
33130
33131
33132 else
33133 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33134 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33135 { echo "$as_me:$LINENO: result: yes" >&5
33136 echo "${ECHO_T}yes" >&6; }
33137
33138 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33139 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33140 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33141
33142 fi
33143
33144 pkg_failed=no
33145 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33146 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33147
33148 if test -n "$PKG_CONFIG"; then
33149 if test -n "$PANGOXFT_CFLAGS"; then
33150 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33151 else
33152 if test -n "$PKG_CONFIG" && \
33153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33154 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33155 ac_status=$?
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); }; then
33158 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33159 else
33160 pkg_failed=yes
33161 fi
33162 fi
33163 else
33164 pkg_failed=untried
33165 fi
33166 if test -n "$PKG_CONFIG"; then
33167 if test -n "$PANGOXFT_LIBS"; then
33168 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33169 else
33170 if test -n "$PKG_CONFIG" && \
33171 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33172 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33173 ac_status=$?
33174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175 (exit $ac_status); }; then
33176 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33177 else
33178 pkg_failed=yes
33179 fi
33180 fi
33181 else
33182 pkg_failed=untried
33183 fi
33184
33185
33186
33187 if test $pkg_failed = yes; then
33188
33189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33190 _pkg_short_errors_supported=yes
33191 else
33192 _pkg_short_errors_supported=no
33193 fi
33194 if test $_pkg_short_errors_supported = yes; then
33195 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33196 else
33197 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33198 fi
33199 # Put the nasty error message in config.log where it belongs
33200 echo "$PANGOXFT_PKG_ERRORS" >&5
33201
33202
33203 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33204 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33205
33206
33207 elif test $pkg_failed = untried; then
33208
33209 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33210 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33211
33212
33213 else
33214 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33215 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33216 { echo "$as_me:$LINENO: result: yes" >&5
33217 echo "${ECHO_T}yes" >&6; }
33218
33219 cat >>confdefs.h <<\_ACEOF
33220 #define HAVE_PANGO_XFT 1
33221 _ACEOF
33222
33223 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33224 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33225 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33226
33227 fi
33228 save_LIBS="$LIBS"
33229 LIBS="$LIBS $PANGOX_LIBS"
33230
33231 for ac_func in pango_font_family_is_monospace
33232 do
33233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33234 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33236 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33237 echo $ECHO_N "(cached) $ECHO_C" >&6
33238 else
33239 cat >conftest.$ac_ext <<_ACEOF
33240 /* confdefs.h. */
33241 _ACEOF
33242 cat confdefs.h >>conftest.$ac_ext
33243 cat >>conftest.$ac_ext <<_ACEOF
33244 /* end confdefs.h. */
33245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33247 #define $ac_func innocuous_$ac_func
33248
33249 /* System header to define __stub macros and hopefully few prototypes,
33250 which can conflict with char $ac_func (); below.
33251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33252 <limits.h> exists even on freestanding compilers. */
33253
33254 #ifdef __STDC__
33255 # include <limits.h>
33256 #else
33257 # include <assert.h>
33258 #endif
33259
33260 #undef $ac_func
33261
33262 /* Override any GCC internal prototype to avoid an error.
33263 Use char because int might match the return type of a GCC
33264 builtin and then its argument prototype would still apply. */
33265 #ifdef __cplusplus
33266 extern "C"
33267 #endif
33268 char $ac_func ();
33269 /* The GNU C library defines this for functions which it implements
33270 to always fail with ENOSYS. Some functions are actually named
33271 something starting with __ and the normal name is an alias. */
33272 #if defined __stub_$ac_func || defined __stub___$ac_func
33273 choke me
33274 #endif
33275
33276 int
33277 main ()
33278 {
33279 return $ac_func ();
33280 ;
33281 return 0;
33282 }
33283 _ACEOF
33284 rm -f conftest.$ac_objext conftest$ac_exeext
33285 if { (ac_try="$ac_link"
33286 case "(($ac_try" in
33287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33288 *) ac_try_echo=$ac_try;;
33289 esac
33290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33291 (eval "$ac_link") 2>conftest.er1
33292 ac_status=$?
33293 grep -v '^ *+' conftest.er1 >conftest.err
33294 rm -f conftest.er1
33295 cat conftest.err >&5
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); } && {
33298 test -z "$ac_c_werror_flag" ||
33299 test ! -s conftest.err
33300 } && test -s conftest$ac_exeext &&
33301 $as_test_x conftest$ac_exeext; then
33302 eval "$as_ac_var=yes"
33303 else
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.$ac_ext >&5
33306
33307 eval "$as_ac_var=no"
33308 fi
33309
33310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33311 conftest$ac_exeext conftest.$ac_ext
33312 fi
33313 ac_res=`eval echo '${'$as_ac_var'}'`
33314 { echo "$as_me:$LINENO: result: $ac_res" >&5
33315 echo "${ECHO_T}$ac_res" >&6; }
33316 if test `eval echo '${'$as_ac_var'}'` = yes; then
33317 cat >>confdefs.h <<_ACEOF
33318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33319 _ACEOF
33320
33321 fi
33322 done
33323
33324 LIBS="$save_LIBS"
33325 fi
33326
33327 wxUSE_UNIVERSAL="yes"
33328
33329 if test "$wxUSE_NANOX" = "yes"; then
33330 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33331 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"
33332 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33333 else
33334 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33335 fi
33336
33337 TOOLKIT=X11
33338 GUIDIST=X11_DIST
33339 fi
33340
33341 if test "$wxUSE_MOTIF" = 1; then
33342 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33343 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33344
33345 ac_find_includes=
33346 for ac_dir in $SEARCH_INCLUDE /usr/include
33347 do
33348 if test -f "$ac_dir/Xm/Xm.h"; then
33349 ac_find_includes=$ac_dir
33350 break
33351 fi
33352 done
33353
33354 if test "$ac_find_includes" != "" ; then
33355 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33356 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33357
33358 if test "x$ac_find_includes" = "x/usr/include"; then
33359 ac_path_to_include=""
33360 else
33361 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33362 result=$?
33363 if test $result = 0; then
33364 ac_path_to_include=""
33365 else
33366 ac_path_to_include=" -I$ac_find_includes"
33367 fi
33368 fi
33369
33370 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33371 else
33372 save_CFLAGS=$CFLAGS
33373 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33374
33375 cat >conftest.$ac_ext <<_ACEOF
33376 /* confdefs.h. */
33377 _ACEOF
33378 cat confdefs.h >>conftest.$ac_ext
33379 cat >>conftest.$ac_ext <<_ACEOF
33380 /* end confdefs.h. */
33381
33382 #include <Xm/Xm.h>
33383
33384 int
33385 main ()
33386 {
33387
33388 int version;
33389 version = xmUseVersion;
33390
33391 ;
33392 return 0;
33393 }
33394 _ACEOF
33395 rm -f conftest.$ac_objext
33396 if { (ac_try="$ac_compile"
33397 case "(($ac_try" in
33398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33399 *) ac_try_echo=$ac_try;;
33400 esac
33401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33402 (eval "$ac_compile") 2>conftest.er1
33403 ac_status=$?
33404 grep -v '^ *+' conftest.er1 >conftest.err
33405 rm -f conftest.er1
33406 cat conftest.err >&5
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } && {
33409 test -z "$ac_c_werror_flag" ||
33410 test ! -s conftest.err
33411 } && test -s conftest.$ac_objext; then
33412
33413 { echo "$as_me:$LINENO: result: found in default search path" >&5
33414 echo "${ECHO_T}found in default search path" >&6; }
33415 COMPILED_X_PROGRAM=1
33416
33417 else
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.$ac_ext >&5
33420
33421
33422 { echo "$as_me:$LINENO: result: no" >&5
33423 echo "${ECHO_T}no" >&6; }
33424 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33425 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33426 { (exit 1); exit 1; }; }
33427
33428
33429 fi
33430
33431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33432
33433 CFLAGS=$save_CFLAGS
33434 fi
33435
33436
33437 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33438 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33439
33440 ac_find_libraries=
33441 for ac_dir in $SEARCH_LIB
33442 do
33443 for ac_extension in a so sl dylib dll.a; do
33444 if test -f "$ac_dir/libXm.$ac_extension"; then
33445 ac_find_libraries=$ac_dir
33446 break 2
33447 fi
33448 done
33449 done
33450
33451
33452 if test "x$ac_find_libraries" != "x" ; then
33453 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33454 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33455
33456
33457 if test "$ac_find_libraries" = "default location"; then
33458 ac_path_to_link=""
33459 else
33460 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33461 result=$?
33462 if test $result = 0; then
33463 ac_path_to_link=""
33464 else
33465 ac_path_to_link=" -L$ac_find_libraries"
33466 fi
33467 fi
33468
33469 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33470 else
33471 save_CFLAGS=$CFLAGS
33472 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33473 save_LIBS="$LIBS"
33474 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33475
33476 cat >conftest.$ac_ext <<_ACEOF
33477 /* confdefs.h. */
33478 _ACEOF
33479 cat confdefs.h >>conftest.$ac_ext
33480 cat >>conftest.$ac_ext <<_ACEOF
33481 /* end confdefs.h. */
33482
33483 #include <Xm/Xm.h>
33484
33485 int
33486 main ()
33487 {
33488
33489 int version;
33490 version = xmUseVersion;
33491
33492 ;
33493 return 0;
33494 }
33495 _ACEOF
33496 rm -f conftest.$ac_objext conftest$ac_exeext
33497 if { (ac_try="$ac_link"
33498 case "(($ac_try" in
33499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33500 *) ac_try_echo=$ac_try;;
33501 esac
33502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33503 (eval "$ac_link") 2>conftest.er1
33504 ac_status=$?
33505 grep -v '^ *+' conftest.er1 >conftest.err
33506 rm -f conftest.er1
33507 cat conftest.err >&5
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); } && {
33510 test -z "$ac_c_werror_flag" ||
33511 test ! -s conftest.err
33512 } && test -s conftest$ac_exeext &&
33513 $as_test_x conftest$ac_exeext; then
33514
33515 { echo "$as_me:$LINENO: result: found in default search path" >&5
33516 echo "${ECHO_T}found in default search path" >&6; }
33517 COMPILED_X_PROGRAM=1
33518
33519 else
33520 echo "$as_me: failed program was:" >&5
33521 sed 's/^/| /' conftest.$ac_ext >&5
33522
33523
33524 { echo "$as_me:$LINENO: result: no" >&5
33525 echo "${ECHO_T}no" >&6; }
33526 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33527 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33528 { (exit 1); exit 1; }; }
33529
33530
33531 fi
33532
33533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33534 conftest$ac_exeext conftest.$ac_ext
33535
33536 CFLAGS=$save_CFLAGS
33537 LIBS="$save_LIBS"
33538 fi
33539
33540 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33541 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33542 libp_link=""
33543 libsm_ice_link=""
33544 libs_found=0
33545 for libp in "" " -lXp"; do
33546 if test "$libs_found" = 0; then
33547 for libsm_ice in "" " -lSM -lICE"; do
33548 if test "$libs_found" = 0; then
33549 save_LIBS="$LIBS"
33550 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33551 save_CFLAGS=$CFLAGS
33552 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33553
33554 cat >conftest.$ac_ext <<_ACEOF
33555 /* confdefs.h. */
33556 _ACEOF
33557 cat confdefs.h >>conftest.$ac_ext
33558 cat >>conftest.$ac_ext <<_ACEOF
33559 /* end confdefs.h. */
33560
33561 #include <Xm/Xm.h>
33562 #include <Xm/List.h>
33563
33564 int
33565 main ()
33566 {
33567
33568 XmString string = NULL;
33569 Widget w = NULL;
33570 int position = 0;
33571 XmListAddItem(w, string, position);
33572
33573 ;
33574 return 0;
33575 }
33576 _ACEOF
33577 rm -f conftest.$ac_objext conftest$ac_exeext
33578 if { (ac_try="$ac_link"
33579 case "(($ac_try" in
33580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33581 *) ac_try_echo=$ac_try;;
33582 esac
33583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33584 (eval "$ac_link") 2>conftest.er1
33585 ac_status=$?
33586 grep -v '^ *+' conftest.er1 >conftest.err
33587 rm -f conftest.er1
33588 cat conftest.err >&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } && {
33591 test -z "$ac_c_werror_flag" ||
33592 test ! -s conftest.err
33593 } && test -s conftest$ac_exeext &&
33594 $as_test_x conftest$ac_exeext; then
33595
33596 libp_link="$libp"
33597 libsm_ice_link="$libsm_ice"
33598 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33599 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33600 libs_found=1
33601
33602 else
33603 echo "$as_me: failed program was:" >&5
33604 sed 's/^/| /' conftest.$ac_ext >&5
33605
33606
33607
33608 fi
33609
33610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33611 conftest$ac_exeext conftest.$ac_ext
33612
33613 LIBS="$save_LIBS"
33614 CFLAGS=$save_CFLAGS
33615 fi
33616 done
33617 fi
33618 done
33619
33620 if test "$libs_found" = 0; then
33621 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33622 echo "${ECHO_T}can't find the right libraries" >&6; }
33623 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33624 echo "$as_me: error: can't link a simple motif program" >&2;}
33625 { (exit 1); exit 1; }; }
33626 fi
33627
33628 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33629 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33630 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33631 echo $ECHO_N "(cached) $ECHO_C" >&6
33632 else
33633 ac_check_lib_save_LIBS=$LIBS
33634 LIBS="-lSgm $LIBS"
33635 cat >conftest.$ac_ext <<_ACEOF
33636 /* confdefs.h. */
33637 _ACEOF
33638 cat confdefs.h >>conftest.$ac_ext
33639 cat >>conftest.$ac_ext <<_ACEOF
33640 /* end confdefs.h. */
33641
33642 /* Override any GCC internal prototype to avoid an error.
33643 Use char because int might match the return type of a GCC
33644 builtin and then its argument prototype would still apply. */
33645 #ifdef __cplusplus
33646 extern "C"
33647 #endif
33648 char SgCreateList ();
33649 int
33650 main ()
33651 {
33652 return SgCreateList ();
33653 ;
33654 return 0;
33655 }
33656 _ACEOF
33657 rm -f conftest.$ac_objext conftest$ac_exeext
33658 if { (ac_try="$ac_link"
33659 case "(($ac_try" in
33660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33661 *) ac_try_echo=$ac_try;;
33662 esac
33663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33664 (eval "$ac_link") 2>conftest.er1
33665 ac_status=$?
33666 grep -v '^ *+' conftest.er1 >conftest.err
33667 rm -f conftest.er1
33668 cat conftest.err >&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); } && {
33671 test -z "$ac_c_werror_flag" ||
33672 test ! -s conftest.err
33673 } && test -s conftest$ac_exeext &&
33674 $as_test_x conftest$ac_exeext; then
33675 ac_cv_lib_Sgm_SgCreateList=yes
33676 else
33677 echo "$as_me: failed program was:" >&5
33678 sed 's/^/| /' conftest.$ac_ext >&5
33679
33680 ac_cv_lib_Sgm_SgCreateList=no
33681 fi
33682
33683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33684 conftest$ac_exeext conftest.$ac_ext
33685 LIBS=$ac_check_lib_save_LIBS
33686 fi
33687 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33688 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33689 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33690 libsgm_link=" -lSgm"
33691 fi
33692
33693
33694 save_CFLAGS=$CFLAGS
33695 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33696
33697 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33698 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33699 if test "${wx_cv_lib_motif2+set}" = set; then
33700 echo $ECHO_N "(cached) $ECHO_C" >&6
33701 else
33702 cat >conftest.$ac_ext <<_ACEOF
33703 /* confdefs.h. */
33704 _ACEOF
33705 cat confdefs.h >>conftest.$ac_ext
33706 cat >>conftest.$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33708
33709 #include <Xm/Xm.h>
33710
33711 int
33712 main ()
33713 {
33714
33715 #if XmVersion < 2000
33716 Not Motif 2
33717 #endif
33718
33719 ;
33720 return 0;
33721 }
33722 _ACEOF
33723 rm -f conftest.$ac_objext
33724 if { (ac_try="$ac_compile"
33725 case "(($ac_try" in
33726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33727 *) ac_try_echo=$ac_try;;
33728 esac
33729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33730 (eval "$ac_compile") 2>conftest.er1
33731 ac_status=$?
33732 grep -v '^ *+' conftest.er1 >conftest.err
33733 rm -f conftest.er1
33734 cat conftest.err >&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); } && {
33737 test -z "$ac_c_werror_flag" ||
33738 test ! -s conftest.err
33739 } && test -s conftest.$ac_objext; then
33740 wx_cv_lib_motif2="yes"
33741 else
33742 echo "$as_me: failed program was:" >&5
33743 sed 's/^/| /' conftest.$ac_ext >&5
33744
33745 wx_cv_lib_motif2="no"
33746 fi
33747
33748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33749 fi
33750 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33751 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33752 if test "$wx_cv_lib_motif2" = "yes"; then
33753 cat >>confdefs.h <<\_ACEOF
33754 #define __WXMOTIF20__ 1
33755 _ACEOF
33756
33757 else
33758 cat >>confdefs.h <<\_ACEOF
33759 #define __WXMOTIF20__ 0
33760 _ACEOF
33761
33762 fi
33763
33764 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33765 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33766 if test "${wx_cv_lib_lesstif+set}" = set; then
33767 echo $ECHO_N "(cached) $ECHO_C" >&6
33768 else
33769 cat >conftest.$ac_ext <<_ACEOF
33770 /* confdefs.h. */
33771 _ACEOF
33772 cat confdefs.h >>conftest.$ac_ext
33773 cat >>conftest.$ac_ext <<_ACEOF
33774 /* end confdefs.h. */
33775
33776 #include <Xm/Xm.h>
33777
33778 int
33779 main ()
33780 {
33781
33782 #if !defined(LesstifVersion) || LesstifVersion <= 0
33783 Not Lesstif
33784 #endif
33785
33786 ;
33787 return 0;
33788 }
33789 _ACEOF
33790 rm -f conftest.$ac_objext
33791 if { (ac_try="$ac_compile"
33792 case "(($ac_try" in
33793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33794 *) ac_try_echo=$ac_try;;
33795 esac
33796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33797 (eval "$ac_compile") 2>conftest.er1
33798 ac_status=$?
33799 grep -v '^ *+' conftest.er1 >conftest.err
33800 rm -f conftest.er1
33801 cat conftest.err >&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); } && {
33804 test -z "$ac_c_werror_flag" ||
33805 test ! -s conftest.err
33806 } && test -s conftest.$ac_objext; then
33807 wx_cv_lib_lesstif="yes"
33808 else
33809 echo "$as_me: failed program was:" >&5
33810 sed 's/^/| /' conftest.$ac_ext >&5
33811
33812 wx_cv_lib_lesstif="no"
33813 fi
33814
33815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33816
33817 fi
33818 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33819 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33820 if test "$wx_cv_lib_lesstif" = "yes"; then
33821 cat >>confdefs.h <<\_ACEOF
33822 #define __WXLESSTIF__ 1
33823 _ACEOF
33824
33825 else
33826 cat >>confdefs.h <<\_ACEOF
33827 #define __WXLESSTIF__ 0
33828 _ACEOF
33829
33830 fi
33831
33832 CFLAGS=$save_CFLAGS
33833
33834 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33835 TOOLKIT=MOTIF
33836 GUIDIST=MOTIF_DIST
33837 fi
33838
33839 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33840 if test "$wxUSE_LIBXPM" = "sys"; then
33841 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33842 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33843
33844 ac_find_libraries=
33845 for ac_dir in $SEARCH_LIB
33846 do
33847 for ac_extension in a so sl dylib dll.a; do
33848 if test -f "$ac_dir/libXpm.$ac_extension"; then
33849 ac_find_libraries=$ac_dir
33850 break 2
33851 fi
33852 done
33853 done
33854
33855 if test "$ac_find_libraries" != "" ; then
33856
33857 if test "$ac_find_libraries" = "default location"; then
33858 ac_path_to_link=""
33859 else
33860 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33861 result=$?
33862 if test $result = 0; then
33863 ac_path_to_link=""
33864 else
33865 ac_path_to_link=" -L$ac_find_libraries"
33866 fi
33867 fi
33868
33869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33870 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33871 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33872
33873 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33874 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33875 if test "${wx_cv_x11_xpm_h+set}" = set; then
33876 echo $ECHO_N "(cached) $ECHO_C" >&6
33877 else
33878
33879 save_CFLAGS=$CFLAGS
33880 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33881
33882 cat >conftest.$ac_ext <<_ACEOF
33883 /* confdefs.h. */
33884 _ACEOF
33885 cat confdefs.h >>conftest.$ac_ext
33886 cat >>conftest.$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33888
33889 #include <X11/xpm.h>
33890
33891 int
33892 main ()
33893 {
33894
33895 int version;
33896 version = XpmLibraryVersion();
33897
33898 ;
33899 return 0;
33900 }
33901 _ACEOF
33902 rm -f conftest.$ac_objext
33903 if { (ac_try="$ac_compile"
33904 case "(($ac_try" in
33905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33906 *) ac_try_echo=$ac_try;;
33907 esac
33908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33909 (eval "$ac_compile") 2>conftest.er1
33910 ac_status=$?
33911 grep -v '^ *+' conftest.er1 >conftest.err
33912 rm -f conftest.er1
33913 cat conftest.err >&5
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); } && {
33916 test -z "$ac_c_werror_flag" ||
33917 test ! -s conftest.err
33918 } && test -s conftest.$ac_objext; then
33919 wx_cv_x11_xpm_h=yes
33920 else
33921 echo "$as_me: failed program was:" >&5
33922 sed 's/^/| /' conftest.$ac_ext >&5
33923
33924 wx_cv_x11_xpm_h=no
33925
33926 fi
33927
33928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33929
33930 CFLAGS=$save_CFLAGS
33931
33932
33933 fi
33934 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33935 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33936
33937 if test $wx_cv_x11_xpm_h = "yes"; then
33938 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33939 cat >>confdefs.h <<\_ACEOF
33940 #define wxHAVE_LIB_XPM 1
33941 _ACEOF
33942
33943 else
33944 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33945 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33946 fi
33947 fi
33948
33949 fi
33950
33951 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33952 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33953 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33954 echo $ECHO_N "(cached) $ECHO_C" >&6
33955 else
33956 ac_check_lib_save_LIBS=$LIBS
33957 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33958 cat >conftest.$ac_ext <<_ACEOF
33959 /* confdefs.h. */
33960 _ACEOF
33961 cat confdefs.h >>conftest.$ac_ext
33962 cat >>conftest.$ac_ext <<_ACEOF
33963 /* end confdefs.h. */
33964
33965 /* Override any GCC internal prototype to avoid an error.
33966 Use char because int might match the return type of a GCC
33967 builtin and then its argument prototype would still apply. */
33968 #ifdef __cplusplus
33969 extern "C"
33970 #endif
33971 char XShapeQueryExtension ();
33972 int
33973 main ()
33974 {
33975 return XShapeQueryExtension ();
33976 ;
33977 return 0;
33978 }
33979 _ACEOF
33980 rm -f conftest.$ac_objext conftest$ac_exeext
33981 if { (ac_try="$ac_link"
33982 case "(($ac_try" in
33983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33984 *) ac_try_echo=$ac_try;;
33985 esac
33986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33987 (eval "$ac_link") 2>conftest.er1
33988 ac_status=$?
33989 grep -v '^ *+' conftest.er1 >conftest.err
33990 rm -f conftest.er1
33991 cat conftest.err >&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); } && {
33994 test -z "$ac_c_werror_flag" ||
33995 test ! -s conftest.err
33996 } && test -s conftest$ac_exeext &&
33997 $as_test_x conftest$ac_exeext; then
33998 ac_cv_lib_Xext_XShapeQueryExtension=yes
33999 else
34000 echo "$as_me: failed program was:" >&5
34001 sed 's/^/| /' conftest.$ac_ext >&5
34002
34003 ac_cv_lib_Xext_XShapeQueryExtension=no
34004 fi
34005
34006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34007 conftest$ac_exeext conftest.$ac_ext
34008 LIBS=$ac_check_lib_save_LIBS
34009 fi
34010 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34011 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34012 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34013
34014 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34015 wxHAVE_XEXT_LIB=1
34016
34017 fi
34018
34019
34020 if test "$wxHAVE_XEXT_LIB" = 1; then
34021 save_CFLAGS="$CFLAGS"
34022 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34023
34024 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34025 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34026 cat >conftest.$ac_ext <<_ACEOF
34027 /* confdefs.h. */
34028 _ACEOF
34029 cat confdefs.h >>conftest.$ac_ext
34030 cat >>conftest.$ac_ext <<_ACEOF
34031 /* end confdefs.h. */
34032
34033 #include <X11/Xlib.h>
34034 #include <X11/extensions/shape.h>
34035
34036 int
34037 main ()
34038 {
34039
34040 int dummy1, dummy2;
34041 XShapeQueryExtension((Display*)NULL,
34042 (int*)NULL, (int*)NULL);
34043
34044 ;
34045 return 0;
34046 }
34047 _ACEOF
34048 rm -f conftest.$ac_objext
34049 if { (ac_try="$ac_compile"
34050 case "(($ac_try" in
34051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34052 *) ac_try_echo=$ac_try;;
34053 esac
34054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34055 (eval "$ac_compile") 2>conftest.er1
34056 ac_status=$?
34057 grep -v '^ *+' conftest.er1 >conftest.err
34058 rm -f conftest.er1
34059 cat conftest.err >&5
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); } && {
34062 test -z "$ac_c_werror_flag" ||
34063 test ! -s conftest.err
34064 } && test -s conftest.$ac_objext; then
34065
34066 cat >>confdefs.h <<\_ACEOF
34067 #define HAVE_XSHAPE 1
34068 _ACEOF
34069
34070 { echo "$as_me:$LINENO: result: found" >&5
34071 echo "${ECHO_T}found" >&6; }
34072
34073 else
34074 echo "$as_me: failed program was:" >&5
34075 sed 's/^/| /' conftest.$ac_ext >&5
34076
34077
34078 { echo "$as_me:$LINENO: result: not found" >&5
34079 echo "${ECHO_T}not found" >&6; }
34080
34081 fi
34082
34083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34084 CFLAGS="$save_CFLAGS"
34085
34086 fi
34087 fi
34088
34089 if test "$wxUSE_OSX_CARBON" = 1; then
34090 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34091 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34092 if test "$GCC" = yes; then
34093 { echo "$as_me:$LINENO: result: gcc" >&5
34094 echo "${ECHO_T}gcc" >&6; }
34095 CPPFLAGS_PASCAL="-fpascal-strings"
34096 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34097 { echo "$as_me:$LINENO: result: xlc" >&5
34098 echo "${ECHO_T}xlc" >&6; }
34099 CPPFLAGS_PASCAL="-qmacpstr"
34100 else
34101 { echo "$as_me:$LINENO: result: none" >&5
34102 echo "${ECHO_T}none" >&6; }
34103 fi
34104
34105 if test "x$wxUSE_UNIX" = "xyes"; then
34106 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34107 else
34108 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34109 fi
34110
34111 TOOLKIT=OSX_CARBON
34112 GUIDIST=OSX_CARBON_DIST
34113 WXBASEPORT="_carbon"
34114
34115 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34116 fi
34117
34118 if test "$wxUSE_OSX_COCOA" = 1; then
34119 TOOLKIT=OSX_COCOA
34120 GUIDIST=OSX_COCOA_DIST
34121
34122 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34123 fi
34124
34125 if test "$wxUSE_OSX_IPHONE" = 1; then
34126 TOOLKIT=OSX_IPHONE
34127 fi
34128
34129 if test "$wxUSE_OLD_COCOA" = 1; then
34130 TOOLKIT=COCOA
34131 GUIDIST=COCOA_DIST
34132 fi
34133
34134 if test "$wxUSE_PM" = 1; then
34135 TOOLKIT=PM
34136 GUIDIST=PM_DIST
34137 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34138 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34139 if test "${wx_cv_spbcdata+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34141 else
34142
34143 cat >conftest.$ac_ext <<_ACEOF
34144 /* confdefs.h. */
34145 _ACEOF
34146 cat confdefs.h >>conftest.$ac_ext
34147 cat >>conftest.$ac_ext <<_ACEOF
34148 /* end confdefs.h. */
34149
34150 #define INCL_PM
34151 #include <os2.h>
34152
34153 int
34154 main ()
34155 {
34156
34157 SPBCDATA test;
34158
34159 ;
34160 return 0;
34161 }
34162 _ACEOF
34163 rm -f conftest.$ac_objext
34164 if { (ac_try="$ac_compile"
34165 case "(($ac_try" in
34166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34167 *) ac_try_echo=$ac_try;;
34168 esac
34169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34170 (eval "$ac_compile") 2>conftest.er1
34171 ac_status=$?
34172 grep -v '^ *+' conftest.er1 >conftest.err
34173 rm -f conftest.er1
34174 cat conftest.err >&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); } && {
34177 test -z "$ac_c_werror_flag" ||
34178 test ! -s conftest.err
34179 } && test -s conftest.$ac_objext; then
34180 wx_cv_spbcdata=yes
34181 else
34182 echo "$as_me: failed program was:" >&5
34183 sed 's/^/| /' conftest.$ac_ext >&5
34184
34185 wx_cv_spbcdata=no
34186
34187 fi
34188
34189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34190
34191
34192 fi
34193 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34194 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34195
34196 if test $wx_cv_spbcdata = "yes"; then
34197 cat >>confdefs.h <<\_ACEOF
34198 #define HAVE_SPBCDATA 1
34199 _ACEOF
34200
34201 fi
34202 fi
34203
34204 if test "$TOOLKIT" = "PM" ; then
34205 TOOLKIT_DIR="os2"
34206 else
34207 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34208 fi
34209
34210 if test "$wxUSE_UNIVERSAL" = "yes"; then
34211 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34212 WIDGET_SET=univ
34213 fi
34214
34215 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34216 DISTDIR="wx\$(TOOLKIT)"
34217 else
34218 USE_GUI=0
34219
34220 TOOLKIT_DIR="base"
34221
34222 if test "$USE_WIN32" = 1 ; then
34223 TOOLKIT="MSW"
34224 fi
34225
34226 GUIDIST="BASE_DIST"
34227 DISTDIR="wxBase"
34228 fi
34229
34230
34231
34232 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34233 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34234 wxUSE_UNICODE_UTF8=yes
34235 elif test "$USE_OS2" = 1 ; then
34236 wxUSE_UNICODE_UTF8=yes
34237 else
34238 wxUSE_UNICODE_UTF8=no
34239 fi
34240 fi
34241
34242
34243 if test "$wxUSE_GUI" = "yes"; then
34244 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34245
34246 for ac_header in X11/Xlib.h
34247 do
34248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34249 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34252 echo $ECHO_N "(cached) $ECHO_C" >&6
34253 else
34254 cat >conftest.$ac_ext <<_ACEOF
34255 /* confdefs.h. */
34256 _ACEOF
34257 cat confdefs.h >>conftest.$ac_ext
34258 cat >>conftest.$ac_ext <<_ACEOF
34259 /* end confdefs.h. */
34260
34261
34262 #include <$ac_header>
34263 _ACEOF
34264 rm -f conftest.$ac_objext
34265 if { (ac_try="$ac_compile"
34266 case "(($ac_try" in
34267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34268 *) ac_try_echo=$ac_try;;
34269 esac
34270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34271 (eval "$ac_compile") 2>conftest.er1
34272 ac_status=$?
34273 grep -v '^ *+' conftest.er1 >conftest.err
34274 rm -f conftest.er1
34275 cat conftest.err >&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); } && {
34278 test -z "$ac_c_werror_flag" ||
34279 test ! -s conftest.err
34280 } && test -s conftest.$ac_objext; then
34281 eval "$as_ac_Header=yes"
34282 else
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34285
34286 eval "$as_ac_Header=no"
34287 fi
34288
34289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34290 fi
34291 ac_res=`eval echo '${'$as_ac_Header'}'`
34292 { echo "$as_me:$LINENO: result: $ac_res" >&5
34293 echo "${ECHO_T}$ac_res" >&6; }
34294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34295 cat >>confdefs.h <<_ACEOF
34296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34297 _ACEOF
34298
34299 fi
34300
34301 done
34302
34303
34304 for ac_header in X11/XKBlib.h
34305 do
34306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34310 echo $ECHO_N "(cached) $ECHO_C" >&6
34311 else
34312 cat >conftest.$ac_ext <<_ACEOF
34313 /* confdefs.h. */
34314 _ACEOF
34315 cat confdefs.h >>conftest.$ac_ext
34316 cat >>conftest.$ac_ext <<_ACEOF
34317 /* end confdefs.h. */
34318
34319 #if HAVE_X11_XLIB_H
34320 #include <X11/Xlib.h>
34321 #endif
34322
34323
34324 #include <$ac_header>
34325 _ACEOF
34326 rm -f conftest.$ac_objext
34327 if { (ac_try="$ac_compile"
34328 case "(($ac_try" in
34329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34330 *) ac_try_echo=$ac_try;;
34331 esac
34332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34333 (eval "$ac_compile") 2>conftest.er1
34334 ac_status=$?
34335 grep -v '^ *+' conftest.er1 >conftest.err
34336 rm -f conftest.er1
34337 cat conftest.err >&5
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); } && {
34340 test -z "$ac_c_werror_flag" ||
34341 test ! -s conftest.err
34342 } && test -s conftest.$ac_objext; then
34343 eval "$as_ac_Header=yes"
34344 else
34345 echo "$as_me: failed program was:" >&5
34346 sed 's/^/| /' conftest.$ac_ext >&5
34347
34348 eval "$as_ac_Header=no"
34349 fi
34350
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352 fi
34353 ac_res=`eval echo '${'$as_ac_Header'}'`
34354 { echo "$as_me:$LINENO: result: $ac_res" >&5
34355 echo "${ECHO_T}$ac_res" >&6; }
34356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34357 cat >>confdefs.h <<_ACEOF
34358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34359 _ACEOF
34360
34361 fi
34362
34363 done
34364
34365 fi
34366 fi
34367
34368
34369
34370 USE_XINERAMA=0
34371 if test "$wxUSE_DISPLAY" = "yes"; then
34372 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34373 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34374 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34375
34376 ac_find_libraries=
34377 for ac_dir in $SEARCH_LIB
34378 do
34379 for ac_extension in a so sl dylib dll.a; do
34380 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34381 ac_find_libraries=$ac_dir
34382 break 2
34383 fi
34384 done
34385 done
34386
34387 if test "$ac_find_libraries" != "" ; then
34388
34389 if test "$ac_find_libraries" = "default location"; then
34390 ac_path_to_link=""
34391 else
34392 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34393 result=$?
34394 if test $result = 0; then
34395 ac_path_to_link=""
34396 else
34397 ac_path_to_link=" -L$ac_find_libraries"
34398 fi
34399 fi
34400
34401 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34402 LDFLAGS="$LDFLAGS $ac_path_to_link"
34403 fi
34404 USE_XINERAMA=1
34405 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34406 { echo "$as_me:$LINENO: result: yes" >&5
34407 echo "${ECHO_T}yes" >&6; }
34408 else
34409 { echo "$as_me:$LINENO: result: no" >&5
34410 echo "${ECHO_T}no" >&6; }
34411 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34412 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34413 wxUSE_DISPLAY="no"
34414 fi
34415 elif test "$wxUSE_MSW" = 1; then
34416 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34417 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34418 if test "${ac_cv_header_ddraw_h+set}" = set; then
34419 echo $ECHO_N "(cached) $ECHO_C" >&6
34420 else
34421 cat >conftest.$ac_ext <<_ACEOF
34422 /* confdefs.h. */
34423 _ACEOF
34424 cat confdefs.h >>conftest.$ac_ext
34425 cat >>conftest.$ac_ext <<_ACEOF
34426 /* end confdefs.h. */
34427 #include <windows.h>
34428
34429 #include <ddraw.h>
34430 _ACEOF
34431 rm -f conftest.$ac_objext
34432 if { (ac_try="$ac_compile"
34433 case "(($ac_try" in
34434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34435 *) ac_try_echo=$ac_try;;
34436 esac
34437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34438 (eval "$ac_compile") 2>conftest.er1
34439 ac_status=$?
34440 grep -v '^ *+' conftest.er1 >conftest.err
34441 rm -f conftest.er1
34442 cat conftest.err >&5
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); } && {
34445 test -z "$ac_c_werror_flag" ||
34446 test ! -s conftest.err
34447 } && test -s conftest.$ac_objext; then
34448 ac_cv_header_ddraw_h=yes
34449 else
34450 echo "$as_me: failed program was:" >&5
34451 sed 's/^/| /' conftest.$ac_ext >&5
34452
34453 ac_cv_header_ddraw_h=no
34454 fi
34455
34456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34457 fi
34458 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34459 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34460
34461
34462 fi
34463 fi
34464
34465 if test "$wxUSE_DISPLAY" = "yes"; then
34466 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34467 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34468 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34469
34470 ac_find_libraries=
34471 for ac_dir in $SEARCH_LIB
34472 do
34473 for ac_extension in a so sl dylib dll.a; do
34474 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34475 ac_find_libraries=$ac_dir
34476 break 2
34477 fi
34478 done
34479 done
34480
34481 if test "$ac_find_libraries" != "" ; then
34482 { echo "$as_me:$LINENO: result: yes" >&5
34483 echo "${ECHO_T}yes" >&6; }
34484
34485 for ac_header in X11/extensions/xf86vmode.h
34486 do
34487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34491 echo $ECHO_N "(cached) $ECHO_C" >&6
34492 else
34493 cat >conftest.$ac_ext <<_ACEOF
34494 /* confdefs.h. */
34495 _ACEOF
34496 cat confdefs.h >>conftest.$ac_ext
34497 cat >>conftest.$ac_ext <<_ACEOF
34498 /* end confdefs.h. */
34499
34500 #if HAVE_X11_XLIB_H
34501 #include <X11/Xlib.h>
34502 #endif
34503
34504
34505 #include <$ac_header>
34506 _ACEOF
34507 rm -f conftest.$ac_objext
34508 if { (ac_try="$ac_compile"
34509 case "(($ac_try" in
34510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34511 *) ac_try_echo=$ac_try;;
34512 esac
34513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34514 (eval "$ac_compile") 2>conftest.er1
34515 ac_status=$?
34516 grep -v '^ *+' conftest.er1 >conftest.err
34517 rm -f conftest.er1
34518 cat conftest.err >&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } && {
34521 test -z "$ac_c_werror_flag" ||
34522 test ! -s conftest.err
34523 } && test -s conftest.$ac_objext; then
34524 eval "$as_ac_Header=yes"
34525 else
34526 echo "$as_me: failed program was:" >&5
34527 sed 's/^/| /' conftest.$ac_ext >&5
34528
34529 eval "$as_ac_Header=no"
34530 fi
34531
34532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533 fi
34534 ac_res=`eval echo '${'$as_ac_Header'}'`
34535 { echo "$as_me:$LINENO: result: $ac_res" >&5
34536 echo "${ECHO_T}$ac_res" >&6; }
34537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34538 cat >>confdefs.h <<_ACEOF
34539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34540 _ACEOF
34541
34542 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34543
34544 fi
34545
34546 done
34547
34548 else
34549 { echo "$as_me:$LINENO: result: no" >&5
34550 echo "${ECHO_T}no" >&6; }
34551 fi
34552 fi
34553 fi
34554
34555 if test "$wxUSE_DETECT_SM" = "yes"; then
34556 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34557 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34558 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34559
34560 ac_find_libraries=
34561 for ac_dir in $SEARCH_LIB
34562 do
34563 for ac_extension in a so sl dylib dll.a; do
34564 if test -f "$ac_dir/libSM.$ac_extension"; then
34565 ac_find_libraries=$ac_dir
34566 break 2
34567 fi
34568 done
34569 done
34570
34571 if test "$ac_find_libraries" != "" ; then
34572
34573 if test "$ac_find_libraries" = "default location"; then
34574 ac_path_to_link=""
34575 else
34576 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34577 result=$?
34578 if test $result = 0; then
34579 ac_path_to_link=""
34580 else
34581 ac_path_to_link=" -L$ac_find_libraries"
34582 fi
34583 fi
34584
34585 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34586 LDFLAGS="$LDFLAGS $ac_path_to_link"
34587 fi
34588 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34589 { echo "$as_me:$LINENO: result: yes" >&5
34590 echo "${ECHO_T}yes" >&6; }
34591 else
34592 { echo "$as_me:$LINENO: result: no" >&5
34593 echo "${ECHO_T}no" >&6; }
34594 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34595 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34596 wxUSE_DETECT_SM="no"
34597 fi
34598 else
34599 wxUSE_DETECT_SM="no"
34600 fi
34601 fi
34602
34603
34604
34605 USE_OPENGL=0
34606 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34607
34608
34609 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34610 OPENGL_LIBS="-framework OpenGL -framework AGL"
34611 elif test "$wxUSE_MSW" = 1; then
34612 OPENGL_LIBS="-lopengl32 -lglu32"
34613 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34614
34615 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34616 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34617
34618 ac_find_includes=
34619 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34620 do
34621 if test -f "$ac_dir/GL/gl.h"; then
34622 ac_find_includes=$ac_dir
34623 break
34624 fi
34625 done
34626
34627 if test "$ac_find_includes" != "" ; then
34628 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34629 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34630
34631 if test "x$ac_find_includes" = "x/usr/include"; then
34632 ac_path_to_include=""
34633 else
34634 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34635 result=$?
34636 if test $result = 0; then
34637 ac_path_to_include=""
34638 else
34639 ac_path_to_include=" -I$ac_find_includes"
34640 fi
34641 fi
34642
34643 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34644 else
34645 { echo "$as_me:$LINENO: result: not found" >&5
34646 echo "${ECHO_T}not found" >&6; }
34647 fi
34648
34649 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34650 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34651 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34652 echo $ECHO_N "(cached) $ECHO_C" >&6
34653 else
34654 cat >conftest.$ac_ext <<_ACEOF
34655 /* confdefs.h. */
34656 _ACEOF
34657 cat confdefs.h >>conftest.$ac_ext
34658 cat >>conftest.$ac_ext <<_ACEOF
34659 /* end confdefs.h. */
34660
34661
34662 #include <GL/gl.h>
34663 _ACEOF
34664 rm -f conftest.$ac_objext
34665 if { (ac_try="$ac_compile"
34666 case "(($ac_try" in
34667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34668 *) ac_try_echo=$ac_try;;
34669 esac
34670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34671 (eval "$ac_compile") 2>conftest.er1
34672 ac_status=$?
34673 grep -v '^ *+' conftest.er1 >conftest.err
34674 rm -f conftest.er1
34675 cat conftest.err >&5
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); } && {
34678 test -z "$ac_c_werror_flag" ||
34679 test ! -s conftest.err
34680 } && test -s conftest.$ac_objext; then
34681 ac_cv_header_GL_gl_h=yes
34682 else
34683 echo "$as_me: failed program was:" >&5
34684 sed 's/^/| /' conftest.$ac_ext >&5
34685
34686 ac_cv_header_GL_gl_h=no
34687 fi
34688
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34690 fi
34691 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34692 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34693 if test $ac_cv_header_GL_gl_h = yes; then
34694
34695 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34696 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34697 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34698 echo $ECHO_N "(cached) $ECHO_C" >&6
34699 else
34700 cat >conftest.$ac_ext <<_ACEOF
34701 /* confdefs.h. */
34702 _ACEOF
34703 cat confdefs.h >>conftest.$ac_ext
34704 cat >>conftest.$ac_ext <<_ACEOF
34705 /* end confdefs.h. */
34706
34707
34708 #include <GL/glu.h>
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_header_GL_glu_h=yes
34728 else
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34731
34732 ac_cv_header_GL_glu_h=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_header_GL_glu_h" >&5
34738 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34739 if test $ac_cv_header_GL_glu_h = yes; then
34740
34741 found_gl=0
34742
34743 { echo "$as_me:$LINENO: checking for -lGL" >&5
34744 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34745
34746 ac_find_libraries=
34747 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34748 do
34749 for ac_extension in a so sl dylib dll.a; do
34750 if test -f "$ac_dir/libGL.$ac_extension"; then
34751 ac_find_libraries=$ac_dir
34752 break 2
34753 fi
34754 done
34755 done
34756
34757 if test "$ac_find_libraries" != "" ; then
34758 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34759 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34760
34761
34762 if test "$ac_find_libraries" = "default location"; then
34763 ac_path_to_link=""
34764 else
34765 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34766 result=$?
34767 if test $result = 0; then
34768 ac_path_to_link=""
34769 else
34770 ac_path_to_link=" -L$ac_find_libraries"
34771 fi
34772 fi
34773
34774 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34775 LDFLAGS_GL="$ac_path_to_link"
34776 fi
34777
34778 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34779 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34780
34781 ac_find_libraries=
34782 for ac_dir in $SEARCH_LIB
34783 do
34784 for ac_extension in a so sl dylib dll.a; do
34785 if test -f "$ac_dir/libGLU.$ac_extension"; then
34786 ac_find_libraries=$ac_dir
34787 break 2
34788 fi
34789 done
34790 done
34791
34792 if test "$ac_find_libraries" != "" ; then
34793
34794 if test "$ac_find_libraries" = "default location"; then
34795 ac_path_to_link=""
34796 else
34797 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34798 result=$?
34799 if test $result = 0; then
34800 ac_path_to_link=""
34801 else
34802 ac_path_to_link=" -L$ac_find_libraries"
34803 fi
34804 fi
34805
34806 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34807 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34808 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34809 fi
34810
34811 found_gl=1
34812 OPENGL_LIBS="-lGL -lGLU"
34813 { echo "$as_me:$LINENO: result: yes" >&5
34814 echo "${ECHO_T}yes" >&6; }
34815 else
34816 { echo "$as_me:$LINENO: result: no" >&5
34817 echo "${ECHO_T}no" >&6; }
34818 fi
34819 else
34820 { echo "$as_me:$LINENO: result: no" >&5
34821 echo "${ECHO_T}no" >&6; }
34822 fi
34823
34824 if test "$found_gl" != 1; then
34825 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34826 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34827
34828 ac_find_libraries=
34829 for ac_dir in $SEARCH_LIB
34830 do
34831 for ac_extension in a so sl dylib dll.a; do
34832 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34833 ac_find_libraries=$ac_dir
34834 break 2
34835 fi
34836 done
34837 done
34838
34839 if test "$ac_find_libraries" != "" ; then
34840
34841 if test "$ac_find_libraries" = "default location"; then
34842 ac_path_to_link=""
34843 else
34844 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34845 result=$?
34846 if test $result = 0; then
34847 ac_path_to_link=""
34848 else
34849 ac_path_to_link=" -L$ac_find_libraries"
34850 fi
34851 fi
34852
34853 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34854 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34855 { echo "$as_me:$LINENO: result: yes" >&5
34856 echo "${ECHO_T}yes" >&6; }
34857 else
34858 { echo "$as_me:$LINENO: result: no" >&5
34859 echo "${ECHO_T}no" >&6; }
34860 fi
34861 fi
34862
34863 fi
34864
34865
34866
34867 fi
34868
34869
34870
34871 if test "x$OPENGL_LIBS" = "x"; then
34872 if test "$wxUSE_OPENGL" = "yes"; then
34873 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34874 echo "$as_me: error: OpenGL libraries not available" >&2;}
34875 { (exit 1); exit 1; }; }
34876 else
34877 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34878 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34879 wxUSE_OPENGL=no
34880 USE_OPENGL=0
34881 fi
34882 fi
34883 else
34884 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34885 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34886 wxUSE_OPENGL="no"
34887 fi
34888
34889 if test "$wxUSE_OPENGL" = "auto"; then
34890 wxUSE_OPENGL=yes
34891 fi
34892
34893 if test "$wxUSE_OPENGL" = "yes"; then
34894 USE_OPENGL=1
34895 cat >>confdefs.h <<\_ACEOF
34896 #define wxUSE_OPENGL 1
34897 _ACEOF
34898
34899 cat >>confdefs.h <<\_ACEOF
34900 #define wxUSE_GLCANVAS 1
34901 _ACEOF
34902
34903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34904 fi
34905 fi
34906
34907
34908 if test -n "$TOOLKIT" ; then
34909 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34910 fi
34911
34912
34913
34914 if test "$wxUSE_SHARED" = "yes"; then
34915 case "${host}" in
34916 *-pc-msdosdjgpp )
34917 wxUSE_SHARED=no
34918 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34919 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34920 ;;
34921 esac
34922 fi
34923
34924 if test "$wxUSE_SHARED" = "yes"; then
34925
34926
34927 case "${host}" in
34928 *-*-cygwin* | *-*-mingw* )
34929 wx_cv_version_script=no
34930 ;;
34931
34932 *)
34933 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34934 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34935 if test "${wx_cv_version_script+set}" = set; then
34936 echo $ECHO_N "(cached) $ECHO_C" >&6
34937 else
34938
34939 echo "VER_1 { *; };" >conftest.sym
34940 echo "int main() { return 0; }" >conftest.cpp
34941
34942 if { ac_try='
34943 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34944 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34946 (eval $ac_try) 2>&5
34947 ac_status=$?
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; } ; then
34950 if test -s conftest.stderr ; then
34951 wx_cv_version_script=no
34952 else
34953 wx_cv_version_script=yes
34954 fi
34955 else
34956 wx_cv_version_script=no
34957 fi
34958
34959 if test $wx_cv_version_script = yes
34960 then
34961 echo "struct B { virtual ~B() { } }; \
34962 struct D : public B { }; \
34963 void F() { D d; }" > conftest.cpp
34964
34965 if { ac_try='
34966 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34967 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34970 ac_status=$?
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; } &&
34973 { ac_try='
34974 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34975 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34977 (eval $ac_try) 2>&5
34978 ac_status=$?
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); }; }
34981 then
34982 if { ac_try='
34983 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34984 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34986 (eval $ac_try) 2>&5
34987 ac_status=$?
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); }; }
34990 then
34991 wx_cv_version_script=yes
34992 else
34993 wx_cv_version_script=no
34994 fi
34995 fi
34996 fi
34997
34998 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34999 rm -f conftest1.output conftest2.output conftest3.output
35000
35001 fi
35002 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35003 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35004
35005 if test $wx_cv_version_script = yes ; then
35006 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35007 fi
35008 ;;
35009 esac
35010
35011
35012 if test "$wxUSE_VISIBILITY" != "no"; then
35013
35014
35015 if test -n "$GCC"; then
35016 CFLAGS_VISIBILITY="-fvisibility=hidden"
35017 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35018 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35019 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35020 if test "${wx_cv_cc_visibility+set}" = set; then
35021 echo $ECHO_N "(cached) $ECHO_C" >&6
35022 else
35023
35024 wx_save_CXXFLAGS="$CXXFLAGS"
35025 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35026 ac_ext=cpp
35027 ac_cpp='$CXXCPP $CPPFLAGS'
35028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35031
35032 cat >conftest.$ac_ext <<_ACEOF
35033 /* confdefs.h. */
35034 _ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35038
35039 /* we need gcc >= 4.0, older versions with visibility support
35040 didn't have class visibility: */
35041 #if defined(__GNUC__) && __GNUC__ < 4
35042 error this gcc is too old;
35043 #endif
35044
35045 /* visibility only makes sense for ELF shared libs: */
35046 #if !defined(__ELF__) && !defined(__APPLE__)
35047 error this platform has no visibility;
35048 #endif
35049
35050 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35051 #if defined(__clang__)
35052 clang compiler is still broken w.r.t. visibility;
35053 #endif
35054
35055 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35056 extern __attribute__((__visibility__("default"))) int exportedvar;
35057 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35058 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35059 class __attribute__((__visibility__("default"))) Foo {
35060 Foo() {}
35061 };
35062
35063 int
35064 main ()
35065 {
35066
35067 ;
35068 return 0;
35069 }
35070 _ACEOF
35071 rm -f conftest.$ac_objext
35072 if { (ac_try="$ac_compile"
35073 case "(($ac_try" in
35074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35075 *) ac_try_echo=$ac_try;;
35076 esac
35077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35078 (eval "$ac_compile") 2>conftest.er1
35079 ac_status=$?
35080 grep -v '^ *+' conftest.er1 >conftest.err
35081 rm -f conftest.er1
35082 cat conftest.err >&5
35083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084 (exit $ac_status); } && {
35085 test -z "$ac_cxx_werror_flag" ||
35086 test ! -s conftest.err
35087 } && test -s conftest.$ac_objext; then
35088 wx_cv_cc_visibility=yes
35089 else
35090 echo "$as_me: failed program was:" >&5
35091 sed 's/^/| /' conftest.$ac_ext >&5
35092
35093 wx_cv_cc_visibility=no
35094 fi
35095
35096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35097 ac_ext=c
35098 ac_cpp='$CPP $CPPFLAGS'
35099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35102
35103 CXXFLAGS="$wx_save_CXXFLAGS"
35104 fi
35105
35106 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35107 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35108 if test $wx_cv_cc_visibility = yes; then
35109 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35110 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35111 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35112 echo $ECHO_N "(cached) $ECHO_C" >&6
35113 else
35114
35115 wx_save_CXXFLAGS="$CXXFLAGS"
35116 wx_save_LDFLAGS="$LDFLAGS"
35117 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35118 LDFLAGS="$LDFLAGS -shared -fPIC"
35119 ac_ext=cpp
35120 ac_cpp='$CXXCPP $CPPFLAGS'
35121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35124
35125 cat >conftest.$ac_ext <<_ACEOF
35126 /* confdefs.h. */
35127 _ACEOF
35128 cat confdefs.h >>conftest.$ac_ext
35129 cat >>conftest.$ac_ext <<_ACEOF
35130 /* end confdefs.h. */
35131
35132 #include <string>
35133
35134 int
35135 main ()
35136 {
35137
35138 std::string s("hello");
35139 return s.length();
35140
35141 ;
35142 return 0;
35143 }
35144 _ACEOF
35145 rm -f conftest.$ac_objext conftest$ac_exeext
35146 if { (ac_try="$ac_link"
35147 case "(($ac_try" in
35148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35149 *) ac_try_echo=$ac_try;;
35150 esac
35151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35152 (eval "$ac_link") 2>conftest.er1
35153 ac_status=$?
35154 grep -v '^ *+' conftest.er1 >conftest.err
35155 rm -f conftest.er1
35156 cat conftest.err >&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } && {
35159 test -z "$ac_cxx_werror_flag" ||
35160 test ! -s conftest.err
35161 } && test -s conftest$ac_exeext &&
35162 $as_test_x conftest$ac_exeext; then
35163 wx_cv_cc_broken_libstdcxx_visibility=no
35164 else
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35167
35168 wx_cv_cc_broken_libstdcxx_visibility=yes
35169 fi
35170
35171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35172 conftest$ac_exeext conftest.$ac_ext
35173 ac_ext=c
35174 ac_cpp='$CPP $CPPFLAGS'
35175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35178
35179 CXXFLAGS="$wx_save_CXXFLAGS"
35180 LDFLAGS="$wx_save_LDFLAGS"
35181 fi
35182
35183 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35184 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35185
35186 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35187 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35188 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35189 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35190 echo $ECHO_N "(cached) $ECHO_C" >&6
35191 else
35192
35193 ac_ext=cpp
35194 ac_cpp='$CXXCPP $CPPFLAGS'
35195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35198
35199 cat >conftest.$ac_ext <<_ACEOF
35200 /* confdefs.h. */
35201 _ACEOF
35202 cat confdefs.h >>conftest.$ac_ext
35203 cat >>conftest.$ac_ext <<_ACEOF
35204 /* end confdefs.h. */
35205
35206 #pragma GCC visibility push(default)
35207 #include <string>
35208 #pragma GCC visibility pop
35209
35210 int
35211 main ()
35212 {
35213
35214 std::string s("hello");
35215 return s.length();
35216
35217 ;
35218 return 0;
35219 }
35220 _ACEOF
35221 rm -f conftest.$ac_objext conftest$ac_exeext
35222 if { (ac_try="$ac_link"
35223 case "(($ac_try" in
35224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35225 *) ac_try_echo=$ac_try;;
35226 esac
35227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35228 (eval "$ac_link") 2>conftest.er1
35229 ac_status=$?
35230 grep -v '^ *+' conftest.er1 >conftest.err
35231 rm -f conftest.er1
35232 cat conftest.err >&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); } && {
35235 test -z "$ac_cxx_werror_flag" ||
35236 test ! -s conftest.err
35237 } && test -s conftest$ac_exeext &&
35238 $as_test_x conftest$ac_exeext; then
35239 wx_cv_cc_visibility_workaround=no
35240 else
35241 echo "$as_me: failed program was:" >&5
35242 sed 's/^/| /' conftest.$ac_ext >&5
35243
35244 wx_cv_cc_visibility_workaround=yes
35245 fi
35246
35247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35248 conftest$ac_exeext conftest.$ac_ext
35249 ac_ext=c
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35254
35255
35256 fi
35257
35258 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35259 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35260
35261 if test $wx_cv_cc_visibility_workaround = no; then
35262 wx_cv_cc_visibility=no
35263 fi
35264 fi
35265 fi
35266
35267 if test $wx_cv_cc_visibility = yes; then
35268 cat >>confdefs.h <<\_ACEOF
35269 #define HAVE_VISIBILITY 1
35270 _ACEOF
35271
35272 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35273 cat >>confdefs.h <<\_ACEOF
35274 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35275 _ACEOF
35276
35277 fi
35278 else
35279 CFLAGS_VISIBILITY=""
35280 CXXFLAGS_VISIBILITY=""
35281 fi
35282
35283
35284 fi
35285
35286 fi
35287
35288 if test "x$SUNCXX" = xyes; then
35289 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35290 WXCONFIG_RPATH="-R\$libdir"
35291 else
35292 case "${host}" in
35293 *-*-linux* | *-*-gnu* )
35294 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35295 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35296 ;;
35297
35298 *-*-solaris2* )
35299
35300 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35301
35302 saveLdflags="$LDFLAGS"
35303 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35304 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35305 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35306 cat >conftest.$ac_ext <<_ACEOF
35307 /* confdefs.h. */
35308 _ACEOF
35309 cat confdefs.h >>conftest.$ac_ext
35310 cat >>conftest.$ac_ext <<_ACEOF
35311 /* end confdefs.h. */
35312
35313 int
35314 main ()
35315 {
35316
35317 ;
35318 return 0;
35319 }
35320 _ACEOF
35321 rm -f conftest.$ac_objext conftest$ac_exeext
35322 if { (ac_try="$ac_link"
35323 case "(($ac_try" in
35324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35325 *) ac_try_echo=$ac_try;;
35326 esac
35327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35328 (eval "$ac_link") 2>conftest.er1
35329 ac_status=$?
35330 grep -v '^ *+' conftest.er1 >conftest.err
35331 rm -f conftest.er1
35332 cat conftest.err >&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } && {
35335 test -z "$ac_c_werror_flag" ||
35336 test ! -s conftest.err
35337 } && test -s conftest$ac_exeext &&
35338 $as_test_x conftest$ac_exeext; then
35339
35340 { echo "$as_me:$LINENO: result: yes" >&5
35341 echo "${ECHO_T}yes" >&6; }
35342 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35343 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35344
35345 else
35346 echo "$as_me: failed program was:" >&5
35347 sed 's/^/| /' conftest.$ac_ext >&5
35348
35349
35350 { echo "$as_me:$LINENO: result: no" >&5
35351 echo "${ECHO_T}no" >&6; }
35352 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35353 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35354 LDFLAGS="$saveLdflags -Wl,-R,/"
35355 cat >conftest.$ac_ext <<_ACEOF
35356 /* confdefs.h. */
35357 _ACEOF
35358 cat confdefs.h >>conftest.$ac_ext
35359 cat >>conftest.$ac_ext <<_ACEOF
35360 /* end confdefs.h. */
35361
35362 int
35363 main ()
35364 {
35365
35366 ;
35367 return 0;
35368 }
35369 _ACEOF
35370 rm -f conftest.$ac_objext conftest$ac_exeext
35371 if { (ac_try="$ac_link"
35372 case "(($ac_try" in
35373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35374 *) ac_try_echo=$ac_try;;
35375 esac
35376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35377 (eval "$ac_link") 2>conftest.er1
35378 ac_status=$?
35379 grep -v '^ *+' conftest.er1 >conftest.err
35380 rm -f conftest.er1
35381 cat conftest.err >&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } && {
35384 test -z "$ac_c_werror_flag" ||
35385 test ! -s conftest.err
35386 } && test -s conftest$ac_exeext &&
35387 $as_test_x conftest$ac_exeext; then
35388
35389 { echo "$as_me:$LINENO: result: yes" >&5
35390 echo "${ECHO_T}yes" >&6; }
35391 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35392 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35393
35394 else
35395 echo "$as_me: failed program was:" >&5
35396 sed 's/^/| /' conftest.$ac_ext >&5
35397
35398
35399 { echo "$as_me:$LINENO: result: no" >&5
35400 echo "${ECHO_T}no" >&6; }
35401
35402 fi
35403
35404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35405 conftest$ac_exeext conftest.$ac_ext
35406
35407 fi
35408
35409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35410 conftest$ac_exeext conftest.$ac_ext
35411 LDFLAGS="$saveLdflags"
35412 ;;
35413
35414 *-*-darwin* )
35415 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35416 if test "$install_name_tool" -a -x "$install_name_tool"; then
35417 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35418 cat <<EOF >change-install-names
35419 #!/bin/sh
35420 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35421 for i in \${libnames} ; do
35422 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35423 for dep in \${libnames} ; do
35424 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35425 done
35426 done
35427 EOF
35428 chmod +x change-install-names
35429 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35430 fi
35431
35432 HEADER_PAD_OPTION="-headerpad_max_install_names"
35433 ;;
35434
35435 *-*-cygwin* | *-*-mingw32* )
35436 ;;
35437
35438 *-*-hpux* )
35439 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35440 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35441 ;;
35442
35443 esac
35444 fi
35445
35446 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35447
35448 if test $wxUSE_RPATH = "no"; then
35449 SAMPLES_RPATH_FLAG=''
35450 DYLIB_PATH_POSTLINK=''
35451 WXCONFIG_RPATH=''
35452 fi
35453
35454 SHARED=1
35455
35456 else
35457
35458 config_linkage_component="-static"
35459 SHARED=0
35460
35461 fi
35462
35463
35464 UNICODE=0
35465 lib_unicode_suffix=
35466 WX_CHARTYPE="ansi"
35467 if test "$wxUSE_UNICODE" = "yes"; then
35468 lib_unicode_suffix=u
35469 WX_CHARTYPE="unicode"
35470 UNICODE=1
35471 fi
35472
35473 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35474 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35475
35476 DEBUG_INFO=0
35477 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35478 DEBUG_INFO=1
35479 fi
35480
35481 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35482
35483 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35484
35485 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35486
35487
35488 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35489 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35490 else
35491 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35492 fi
35493 if test "${TOOLKIT_DIR}" = "os2"; then
35494 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35495 else
35496 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35497 fi
35498
35499
35500
35501 if test "$wxUSE_OLD_COCOA" = 1; then
35502
35503 ac_ext=c
35504 ac_cpp='$CPP $CPPFLAGS'
35505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35508
35509 ac_ext=m
35510
35511 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35512 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35513 cat >conftest.$ac_ext <<_ACEOF
35514 /* confdefs.h. */
35515 _ACEOF
35516 cat confdefs.h >>conftest.$ac_ext
35517 cat >>conftest.$ac_ext <<_ACEOF
35518 /* end confdefs.h. */
35519 #include <AppKit/NSEvent.h>
35520 #include <CoreFoundation/CoreFoundation.h>
35521
35522 int
35523 main ()
35524 {
35525
35526 ;
35527 return 0;
35528 }
35529 _ACEOF
35530 rm -f conftest.$ac_objext
35531 if { (ac_try="$ac_compile"
35532 case "(($ac_try" in
35533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35534 *) ac_try_echo=$ac_try;;
35535 esac
35536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35537 (eval "$ac_compile") 2>conftest.er1
35538 ac_status=$?
35539 grep -v '^ *+' conftest.er1 >conftest.err
35540 rm -f conftest.er1
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } && {
35544 test -z "$ac_c_werror_flag" ||
35545 test ! -s conftest.err
35546 } && test -s conftest.$ac_objext; then
35547 { echo "$as_me:$LINENO: result: no" >&5
35548 echo "${ECHO_T}no" >&6; }
35549 else
35550 echo "$as_me: failed program was:" >&5
35551 sed 's/^/| /' conftest.$ac_ext >&5
35552
35553 { echo "$as_me:$LINENO: result: yes" >&5
35554 echo "${ECHO_T}yes" >&6; }
35555 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35556 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35557 cat >conftest.$ac_ext <<_ACEOF
35558 /* confdefs.h. */
35559 _ACEOF
35560 cat confdefs.h >>conftest.$ac_ext
35561 cat >>conftest.$ac_ext <<_ACEOF
35562 /* end confdefs.h. */
35563 #define __Point__ 1
35564 #include <AppKit/NSEvent.h>
35565 #include <CoreFoundation/CoreFoundation.h>
35566
35567 int
35568 main ()
35569 {
35570
35571 ;
35572 return 0;
35573 }
35574 _ACEOF
35575 rm -f conftest.$ac_objext
35576 if { (ac_try="$ac_compile"
35577 case "(($ac_try" in
35578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35579 *) ac_try_echo=$ac_try;;
35580 esac
35581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35582 (eval "$ac_compile") 2>conftest.er1
35583 ac_status=$?
35584 grep -v '^ *+' conftest.er1 >conftest.err
35585 rm -f conftest.er1
35586 cat conftest.err >&5
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); } && {
35589 test -z "$ac_c_werror_flag" ||
35590 test ! -s conftest.err
35591 } && test -s conftest.$ac_objext; then
35592 { echo "$as_me:$LINENO: result: yes" >&5
35593 echo "${ECHO_T}yes" >&6; }
35594 cat >>confdefs.h <<\_ACEOF
35595 #define __Point__ 1
35596 _ACEOF
35597
35598
35599 else
35600 echo "$as_me: failed program was:" >&5
35601 sed 's/^/| /' conftest.$ac_ext >&5
35602
35603 { { echo "$as_me:$LINENO: error: no
35604 See \`config.log' for more details." >&5
35605 echo "$as_me: error: no
35606 See \`config.log' for more details." >&2;}
35607 { (exit 1); exit 1; }; }
35608
35609 fi
35610
35611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35612
35613 fi
35614
35615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35616 ac_ext=c
35617 ac_cpp='$CPP $CPPFLAGS'
35618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35621
35622 fi
35623
35624
35625 { echo "$as_me:$LINENO: checking for mode_t" >&5
35626 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35627 if test "${ac_cv_type_mode_t+set}" = set; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35629 else
35630 cat >conftest.$ac_ext <<_ACEOF
35631 /* confdefs.h. */
35632 _ACEOF
35633 cat confdefs.h >>conftest.$ac_ext
35634 cat >>conftest.$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35636 $ac_includes_default
35637 typedef mode_t ac__type_new_;
35638 int
35639 main ()
35640 {
35641 if ((ac__type_new_ *) 0)
35642 return 0;
35643 if (sizeof (ac__type_new_))
35644 return 0;
35645 ;
35646 return 0;
35647 }
35648 _ACEOF
35649 rm -f conftest.$ac_objext
35650 if { (ac_try="$ac_compile"
35651 case "(($ac_try" in
35652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35653 *) ac_try_echo=$ac_try;;
35654 esac
35655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35656 (eval "$ac_compile") 2>conftest.er1
35657 ac_status=$?
35658 grep -v '^ *+' conftest.er1 >conftest.err
35659 rm -f conftest.er1
35660 cat conftest.err >&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } && {
35663 test -z "$ac_c_werror_flag" ||
35664 test ! -s conftest.err
35665 } && test -s conftest.$ac_objext; then
35666 ac_cv_type_mode_t=yes
35667 else
35668 echo "$as_me: failed program was:" >&5
35669 sed 's/^/| /' conftest.$ac_ext >&5
35670
35671 ac_cv_type_mode_t=no
35672 fi
35673
35674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35675 fi
35676 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35677 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35678 if test $ac_cv_type_mode_t = yes; then
35679 :
35680 else
35681
35682 cat >>confdefs.h <<_ACEOF
35683 #define mode_t int
35684 _ACEOF
35685
35686 fi
35687
35688 { echo "$as_me:$LINENO: checking for off_t" >&5
35689 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35690 if test "${ac_cv_type_off_t+set}" = set; then
35691 echo $ECHO_N "(cached) $ECHO_C" >&6
35692 else
35693 cat >conftest.$ac_ext <<_ACEOF
35694 /* confdefs.h. */
35695 _ACEOF
35696 cat confdefs.h >>conftest.$ac_ext
35697 cat >>conftest.$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35699 $ac_includes_default
35700 typedef off_t ac__type_new_;
35701 int
35702 main ()
35703 {
35704 if ((ac__type_new_ *) 0)
35705 return 0;
35706 if (sizeof (ac__type_new_))
35707 return 0;
35708 ;
35709 return 0;
35710 }
35711 _ACEOF
35712 rm -f conftest.$ac_objext
35713 if { (ac_try="$ac_compile"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35717 esac
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_compile") 2>conftest.er1
35720 ac_status=$?
35721 grep -v '^ *+' conftest.er1 >conftest.err
35722 rm -f conftest.er1
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_c_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest.$ac_objext; then
35729 ac_cv_type_off_t=yes
35730 else
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.$ac_ext >&5
35733
35734 ac_cv_type_off_t=no
35735 fi
35736
35737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35738 fi
35739 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35740 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35741 if test $ac_cv_type_off_t = yes; then
35742 :
35743 else
35744
35745 cat >>confdefs.h <<_ACEOF
35746 #define off_t long int
35747 _ACEOF
35748
35749 fi
35750
35751 { echo "$as_me:$LINENO: checking for pid_t" >&5
35752 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35753 if test "${ac_cv_type_pid_t+set}" = set; then
35754 echo $ECHO_N "(cached) $ECHO_C" >&6
35755 else
35756 cat >conftest.$ac_ext <<_ACEOF
35757 /* confdefs.h. */
35758 _ACEOF
35759 cat confdefs.h >>conftest.$ac_ext
35760 cat >>conftest.$ac_ext <<_ACEOF
35761 /* end confdefs.h. */
35762 $ac_includes_default
35763 typedef pid_t ac__type_new_;
35764 int
35765 main ()
35766 {
35767 if ((ac__type_new_ *) 0)
35768 return 0;
35769 if (sizeof (ac__type_new_))
35770 return 0;
35771 ;
35772 return 0;
35773 }
35774 _ACEOF
35775 rm -f conftest.$ac_objext
35776 if { (ac_try="$ac_compile"
35777 case "(($ac_try" in
35778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35779 *) ac_try_echo=$ac_try;;
35780 esac
35781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35782 (eval "$ac_compile") 2>conftest.er1
35783 ac_status=$?
35784 grep -v '^ *+' conftest.er1 >conftest.err
35785 rm -f conftest.er1
35786 cat conftest.err >&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } && {
35789 test -z "$ac_c_werror_flag" ||
35790 test ! -s conftest.err
35791 } && test -s conftest.$ac_objext; then
35792 ac_cv_type_pid_t=yes
35793 else
35794 echo "$as_me: failed program was:" >&5
35795 sed 's/^/| /' conftest.$ac_ext >&5
35796
35797 ac_cv_type_pid_t=no
35798 fi
35799
35800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35801 fi
35802 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35803 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35804 if test $ac_cv_type_pid_t = yes; then
35805 :
35806 else
35807
35808 cat >>confdefs.h <<_ACEOF
35809 #define pid_t int
35810 _ACEOF
35811
35812 fi
35813
35814 { echo "$as_me:$LINENO: checking for size_t" >&5
35815 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35816 if test "${ac_cv_type_size_t+set}" = set; then
35817 echo $ECHO_N "(cached) $ECHO_C" >&6
35818 else
35819 cat >conftest.$ac_ext <<_ACEOF
35820 /* confdefs.h. */
35821 _ACEOF
35822 cat confdefs.h >>conftest.$ac_ext
35823 cat >>conftest.$ac_ext <<_ACEOF
35824 /* end confdefs.h. */
35825 $ac_includes_default
35826 typedef size_t ac__type_new_;
35827 int
35828 main ()
35829 {
35830 if ((ac__type_new_ *) 0)
35831 return 0;
35832 if (sizeof (ac__type_new_))
35833 return 0;
35834 ;
35835 return 0;
35836 }
35837 _ACEOF
35838 rm -f conftest.$ac_objext
35839 if { (ac_try="$ac_compile"
35840 case "(($ac_try" in
35841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35842 *) ac_try_echo=$ac_try;;
35843 esac
35844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35845 (eval "$ac_compile") 2>conftest.er1
35846 ac_status=$?
35847 grep -v '^ *+' conftest.er1 >conftest.err
35848 rm -f conftest.er1
35849 cat conftest.err >&5
35850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35851 (exit $ac_status); } && {
35852 test -z "$ac_c_werror_flag" ||
35853 test ! -s conftest.err
35854 } && test -s conftest.$ac_objext; then
35855 ac_cv_type_size_t=yes
35856 else
35857 echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.$ac_ext >&5
35859
35860 ac_cv_type_size_t=no
35861 fi
35862
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35864 fi
35865 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35866 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35867 if test $ac_cv_type_size_t = yes; then
35868 :
35869 else
35870
35871 cat >>confdefs.h <<_ACEOF
35872 #define size_t unsigned int
35873 _ACEOF
35874
35875 fi
35876
35877
35878 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35879 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35880 if test "${ac_cv_type_ssize_t+set}" = set; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 else
35883 cat >conftest.$ac_ext <<_ACEOF
35884 /* confdefs.h. */
35885 _ACEOF
35886 cat confdefs.h >>conftest.$ac_ext
35887 cat >>conftest.$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35889 $ac_includes_default
35890 typedef ssize_t ac__type_new_;
35891 int
35892 main ()
35893 {
35894 if ((ac__type_new_ *) 0)
35895 return 0;
35896 if (sizeof (ac__type_new_))
35897 return 0;
35898 ;
35899 return 0;
35900 }
35901 _ACEOF
35902 rm -f conftest.$ac_objext
35903 if { (ac_try="$ac_compile"
35904 case "(($ac_try" in
35905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35906 *) ac_try_echo=$ac_try;;
35907 esac
35908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35909 (eval "$ac_compile") 2>conftest.er1
35910 ac_status=$?
35911 grep -v '^ *+' conftest.er1 >conftest.err
35912 rm -f conftest.er1
35913 cat conftest.err >&5
35914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35915 (exit $ac_status); } && {
35916 test -z "$ac_c_werror_flag" ||
35917 test ! -s conftest.err
35918 } && test -s conftest.$ac_objext; then
35919 ac_cv_type_ssize_t=yes
35920 else
35921 echo "$as_me: failed program was:" >&5
35922 sed 's/^/| /' conftest.$ac_ext >&5
35923
35924 ac_cv_type_ssize_t=no
35925 fi
35926
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928 fi
35929 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35930 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35931 if test $ac_cv_type_ssize_t = yes; then
35932
35933 cat >>confdefs.h <<_ACEOF
35934 #define HAVE_SSIZE_T 1
35935 _ACEOF
35936
35937
35938 fi
35939
35940
35941 ac_ext=cpp
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35947 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35948 if test "${wx_cv_size_t_is_uint+set}" = set; then
35949 echo $ECHO_N "(cached) $ECHO_C" >&6
35950 else
35951
35952 cat >conftest.$ac_ext <<_ACEOF
35953 /* confdefs.h. */
35954 _ACEOF
35955 cat confdefs.h >>conftest.$ac_ext
35956 cat >>conftest.$ac_ext <<_ACEOF
35957 /* end confdefs.h. */
35958 #include <stddef.h>
35959 int
35960 main ()
35961 {
35962
35963 return 0; }
35964
35965 struct Foo { void foo(size_t); void foo(unsigned int); };
35966
35967 int bar() {
35968
35969 ;
35970 return 0;
35971 }
35972 _ACEOF
35973 rm -f conftest.$ac_objext
35974 if { (ac_try="$ac_compile"
35975 case "(($ac_try" in
35976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35977 *) ac_try_echo=$ac_try;;
35978 esac
35979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35980 (eval "$ac_compile") 2>conftest.er1
35981 ac_status=$?
35982 grep -v '^ *+' conftest.er1 >conftest.err
35983 rm -f conftest.er1
35984 cat conftest.err >&5
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); } && {
35987 test -z "$ac_cxx_werror_flag" ||
35988 test ! -s conftest.err
35989 } && test -s conftest.$ac_objext; then
35990 wx_cv_size_t_is_uint=no
35991 else
35992 echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.$ac_ext >&5
35994
35995 wx_cv_size_t_is_uint=yes
35996
35997 fi
35998
35999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36000
36001
36002 fi
36003 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36004 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36005
36006 if test "$wx_cv_size_t_is_uint" = "yes"; then
36007 cat >>confdefs.h <<\_ACEOF
36008 #define wxSIZE_T_IS_UINT 1
36009 _ACEOF
36010
36011 else
36012 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36013 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36014 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36015 echo $ECHO_N "(cached) $ECHO_C" >&6
36016 else
36017 cat >conftest.$ac_ext <<_ACEOF
36018 /* confdefs.h. */
36019 _ACEOF
36020 cat confdefs.h >>conftest.$ac_ext
36021 cat >>conftest.$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36023 #include <stddef.h>
36024 int
36025 main ()
36026 {
36027
36028 return 0; }
36029
36030 struct Foo { void foo(size_t); void foo(unsigned long); };
36031
36032 int bar() {
36033
36034 ;
36035 return 0;
36036 }
36037 _ACEOF
36038 rm -f conftest.$ac_objext
36039 if { (ac_try="$ac_compile"
36040 case "(($ac_try" in
36041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36042 *) ac_try_echo=$ac_try;;
36043 esac
36044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36045 (eval "$ac_compile") 2>conftest.er1
36046 ac_status=$?
36047 grep -v '^ *+' conftest.er1 >conftest.err
36048 rm -f conftest.er1
36049 cat conftest.err >&5
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); } && {
36052 test -z "$ac_cxx_werror_flag" ||
36053 test ! -s conftest.err
36054 } && test -s conftest.$ac_objext; then
36055 wx_cv_size_t_is_ulong=no
36056 else
36057 echo "$as_me: failed program was:" >&5
36058 sed 's/^/| /' conftest.$ac_ext >&5
36059
36060 wx_cv_size_t_is_ulong=yes
36061
36062 fi
36063
36064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36065
36066 fi
36067 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36068 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36069
36070 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36071 cat >>confdefs.h <<\_ACEOF
36072 #define wxSIZE_T_IS_ULONG 1
36073 _ACEOF
36074
36075 fi
36076 fi
36077
36078 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36079 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36080 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36081 echo $ECHO_N "(cached) $ECHO_C" >&6
36082 else
36083 cat >conftest.$ac_ext <<_ACEOF
36084 /* confdefs.h. */
36085 _ACEOF
36086 cat confdefs.h >>conftest.$ac_ext
36087 cat >>conftest.$ac_ext <<_ACEOF
36088 /* end confdefs.h. */
36089 #include <wchar.h>
36090 int
36091 main ()
36092 {
36093
36094 return 0; }
36095
36096 struct Foo { void foo(wchar_t);
36097 void foo(unsigned short);
36098 void foo(unsigned int);
36099 void foo(unsigned long); };
36100
36101 int bar() {
36102
36103 ;
36104 return 0;
36105 }
36106 _ACEOF
36107 rm -f conftest.$ac_objext
36108 if { (ac_try="$ac_compile"
36109 case "(($ac_try" in
36110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36111 *) ac_try_echo=$ac_try;;
36112 esac
36113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36114 (eval "$ac_compile") 2>conftest.er1
36115 ac_status=$?
36116 grep -v '^ *+' conftest.er1 >conftest.err
36117 rm -f conftest.er1
36118 cat conftest.err >&5
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); } && {
36121 test -z "$ac_cxx_werror_flag" ||
36122 test ! -s conftest.err
36123 } && test -s conftest.$ac_objext; then
36124 wx_cv_wchar_t_is_separate_type=yes
36125 else
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.$ac_ext >&5
36128
36129 wx_cv_wchar_t_is_separate_type=no
36130
36131 fi
36132
36133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36134
36135 fi
36136 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36137 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36138
36139 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36140 cat >>confdefs.h <<\_ACEOF
36141 #define wxWCHAR_T_IS_REAL_TYPE 1
36142 _ACEOF
36143
36144 else
36145 cat >>confdefs.h <<\_ACEOF
36146 #define wxWCHAR_T_IS_REAL_TYPE 0
36147 _ACEOF
36148
36149 fi
36150
36151 ac_ext=c
36152 ac_cpp='$CPP $CPPFLAGS'
36153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36156
36157
36158 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36159 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36160 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36161 echo $ECHO_N "(cached) $ECHO_C" >&6
36162 else
36163
36164 cat >conftest.$ac_ext <<_ACEOF
36165 /* confdefs.h. */
36166 _ACEOF
36167 cat confdefs.h >>conftest.$ac_ext
36168 cat >>conftest.$ac_ext <<_ACEOF
36169 /* end confdefs.h. */
36170 #include <pwd.h>
36171 int
36172 main ()
36173 {
36174
36175 char *p;
36176 struct passwd *pw;
36177 p = pw->pw_gecos;
36178
36179 ;
36180 return 0;
36181 }
36182 _ACEOF
36183 rm -f conftest.$ac_objext
36184 if { (ac_try="$ac_compile"
36185 case "(($ac_try" in
36186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36187 *) ac_try_echo=$ac_try;;
36188 esac
36189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36190 (eval "$ac_compile") 2>conftest.er1
36191 ac_status=$?
36192 grep -v '^ *+' conftest.er1 >conftest.err
36193 rm -f conftest.er1
36194 cat conftest.err >&5
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); } && {
36197 test -z "$ac_c_werror_flag" ||
36198 test ! -s conftest.err
36199 } && test -s conftest.$ac_objext; then
36200
36201 wx_cv_struct_pw_gecos=yes
36202
36203 else
36204 echo "$as_me: failed program was:" >&5
36205 sed 's/^/| /' conftest.$ac_ext >&5
36206
36207
36208 wx_cv_struct_pw_gecos=no
36209
36210
36211 fi
36212
36213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36214
36215
36216 fi
36217 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36218 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36219
36220 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36221 cat >>confdefs.h <<\_ACEOF
36222 #define HAVE_PW_GECOS 1
36223 _ACEOF
36224
36225 fi
36226
36227
36228 WCSLEN_FOUND=0
36229 WCHAR_LINK=
36230
36231 for ac_func in wcslen
36232 do
36233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36234 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36236 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36237 echo $ECHO_N "(cached) $ECHO_C" >&6
36238 else
36239 cat >conftest.$ac_ext <<_ACEOF
36240 /* confdefs.h. */
36241 _ACEOF
36242 cat confdefs.h >>conftest.$ac_ext
36243 cat >>conftest.$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36247 #define $ac_func innocuous_$ac_func
36248
36249 /* System header to define __stub macros and hopefully few prototypes,
36250 which can conflict with char $ac_func (); below.
36251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36252 <limits.h> exists even on freestanding compilers. */
36253
36254 #ifdef __STDC__
36255 # include <limits.h>
36256 #else
36257 # include <assert.h>
36258 #endif
36259
36260 #undef $ac_func
36261
36262 /* Override any GCC internal prototype to avoid an error.
36263 Use char because int might match the return type of a GCC
36264 builtin and then its argument prototype would still apply. */
36265 #ifdef __cplusplus
36266 extern "C"
36267 #endif
36268 char $ac_func ();
36269 /* The GNU C library defines this for functions which it implements
36270 to always fail with ENOSYS. Some functions are actually named
36271 something starting with __ and the normal name is an alias. */
36272 #if defined __stub_$ac_func || defined __stub___$ac_func
36273 choke me
36274 #endif
36275
36276 int
36277 main ()
36278 {
36279 return $ac_func ();
36280 ;
36281 return 0;
36282 }
36283 _ACEOF
36284 rm -f conftest.$ac_objext conftest$ac_exeext
36285 if { (ac_try="$ac_link"
36286 case "(($ac_try" in
36287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36288 *) ac_try_echo=$ac_try;;
36289 esac
36290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36291 (eval "$ac_link") 2>conftest.er1
36292 ac_status=$?
36293 grep -v '^ *+' conftest.er1 >conftest.err
36294 rm -f conftest.er1
36295 cat conftest.err >&5
36296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36297 (exit $ac_status); } && {
36298 test -z "$ac_c_werror_flag" ||
36299 test ! -s conftest.err
36300 } && test -s conftest$ac_exeext &&
36301 $as_test_x conftest$ac_exeext; then
36302 eval "$as_ac_var=yes"
36303 else
36304 echo "$as_me: failed program was:" >&5
36305 sed 's/^/| /' conftest.$ac_ext >&5
36306
36307 eval "$as_ac_var=no"
36308 fi
36309
36310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36311 conftest$ac_exeext conftest.$ac_ext
36312 fi
36313 ac_res=`eval echo '${'$as_ac_var'}'`
36314 { echo "$as_me:$LINENO: result: $ac_res" >&5
36315 echo "${ECHO_T}$ac_res" >&6; }
36316 if test `eval echo '${'$as_ac_var'}'` = yes; then
36317 cat >>confdefs.h <<_ACEOF
36318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36319 _ACEOF
36320 WCSLEN_FOUND=1
36321 fi
36322 done
36323
36324
36325 if test "$WCSLEN_FOUND" = 0; then
36326 if test "$TOOLKIT" = "MSW"; then
36327 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36328 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36329 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36330 echo $ECHO_N "(cached) $ECHO_C" >&6
36331 else
36332 ac_check_lib_save_LIBS=$LIBS
36333 LIBS="-lmsvcrt $LIBS"
36334 cat >conftest.$ac_ext <<_ACEOF
36335 /* confdefs.h. */
36336 _ACEOF
36337 cat confdefs.h >>conftest.$ac_ext
36338 cat >>conftest.$ac_ext <<_ACEOF
36339 /* end confdefs.h. */
36340
36341 /* Override any GCC internal prototype to avoid an error.
36342 Use char because int might match the return type of a GCC
36343 builtin and then its argument prototype would still apply. */
36344 #ifdef __cplusplus
36345 extern "C"
36346 #endif
36347 char wcslen ();
36348 int
36349 main ()
36350 {
36351 return wcslen ();
36352 ;
36353 return 0;
36354 }
36355 _ACEOF
36356 rm -f conftest.$ac_objext conftest$ac_exeext
36357 if { (ac_try="$ac_link"
36358 case "(($ac_try" in
36359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36360 *) ac_try_echo=$ac_try;;
36361 esac
36362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36363 (eval "$ac_link") 2>conftest.er1
36364 ac_status=$?
36365 grep -v '^ *+' conftest.er1 >conftest.err
36366 rm -f conftest.er1
36367 cat conftest.err >&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } && {
36370 test -z "$ac_c_werror_flag" ||
36371 test ! -s conftest.err
36372 } && test -s conftest$ac_exeext &&
36373 $as_test_x conftest$ac_exeext; then
36374 ac_cv_lib_msvcrt_wcslen=yes
36375 else
36376 echo "$as_me: failed program was:" >&5
36377 sed 's/^/| /' conftest.$ac_ext >&5
36378
36379 ac_cv_lib_msvcrt_wcslen=no
36380 fi
36381
36382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36383 conftest$ac_exeext conftest.$ac_ext
36384 LIBS=$ac_check_lib_save_LIBS
36385 fi
36386 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36387 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36388 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36389 WCHAR_OK=1
36390 fi
36391
36392 else
36393 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36394 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36395 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36398 ac_check_lib_save_LIBS=$LIBS
36399 LIBS="-lw $LIBS"
36400 cat >conftest.$ac_ext <<_ACEOF
36401 /* confdefs.h. */
36402 _ACEOF
36403 cat confdefs.h >>conftest.$ac_ext
36404 cat >>conftest.$ac_ext <<_ACEOF
36405 /* end confdefs.h. */
36406
36407 /* Override any GCC internal prototype to avoid an error.
36408 Use char because int might match the return type of a GCC
36409 builtin and then its argument prototype would still apply. */
36410 #ifdef __cplusplus
36411 extern "C"
36412 #endif
36413 char wcslen ();
36414 int
36415 main ()
36416 {
36417 return wcslen ();
36418 ;
36419 return 0;
36420 }
36421 _ACEOF
36422 rm -f conftest.$ac_objext conftest$ac_exeext
36423 if { (ac_try="$ac_link"
36424 case "(($ac_try" in
36425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36426 *) ac_try_echo=$ac_try;;
36427 esac
36428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36429 (eval "$ac_link") 2>conftest.er1
36430 ac_status=$?
36431 grep -v '^ *+' conftest.er1 >conftest.err
36432 rm -f conftest.er1
36433 cat conftest.err >&5
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); } && {
36436 test -z "$ac_c_werror_flag" ||
36437 test ! -s conftest.err
36438 } && test -s conftest$ac_exeext &&
36439 $as_test_x conftest$ac_exeext; then
36440 ac_cv_lib_w_wcslen=yes
36441 else
36442 echo "$as_me: failed program was:" >&5
36443 sed 's/^/| /' conftest.$ac_ext >&5
36444
36445 ac_cv_lib_w_wcslen=no
36446 fi
36447
36448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36449 conftest$ac_exeext conftest.$ac_ext
36450 LIBS=$ac_check_lib_save_LIBS
36451 fi
36452 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36453 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36454 if test $ac_cv_lib_w_wcslen = yes; then
36455
36456 WCHAR_LINK=" -lw"
36457 WCSLEN_FOUND=1
36458
36459 fi
36460
36461 fi
36462 fi
36463
36464 if test "$WCSLEN_FOUND" = 1; then
36465 cat >>confdefs.h <<\_ACEOF
36466 #define HAVE_WCSLEN 1
36467 _ACEOF
36468
36469 fi
36470
36471
36472
36473
36474
36475
36476
36477 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36478 do
36479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36483 echo $ECHO_N "(cached) $ECHO_C" >&6
36484 else
36485 cat >conftest.$ac_ext <<_ACEOF
36486 /* confdefs.h. */
36487 _ACEOF
36488 cat confdefs.h >>conftest.$ac_ext
36489 cat >>conftest.$ac_ext <<_ACEOF
36490 /* end confdefs.h. */
36491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36493 #define $ac_func innocuous_$ac_func
36494
36495 /* System header to define __stub macros and hopefully few prototypes,
36496 which can conflict with char $ac_func (); below.
36497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36498 <limits.h> exists even on freestanding compilers. */
36499
36500 #ifdef __STDC__
36501 # include <limits.h>
36502 #else
36503 # include <assert.h>
36504 #endif
36505
36506 #undef $ac_func
36507
36508 /* Override any GCC internal prototype to avoid an error.
36509 Use char because int might match the return type of a GCC
36510 builtin and then its argument prototype would still apply. */
36511 #ifdef __cplusplus
36512 extern "C"
36513 #endif
36514 char $ac_func ();
36515 /* The GNU C library defines this for functions which it implements
36516 to always fail with ENOSYS. Some functions are actually named
36517 something starting with __ and the normal name is an alias. */
36518 #if defined __stub_$ac_func || defined __stub___$ac_func
36519 choke me
36520 #endif
36521
36522 int
36523 main ()
36524 {
36525 return $ac_func ();
36526 ;
36527 return 0;
36528 }
36529 _ACEOF
36530 rm -f conftest.$ac_objext conftest$ac_exeext
36531 if { (ac_try="$ac_link"
36532 case "(($ac_try" in
36533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36534 *) ac_try_echo=$ac_try;;
36535 esac
36536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36537 (eval "$ac_link") 2>conftest.er1
36538 ac_status=$?
36539 grep -v '^ *+' conftest.er1 >conftest.err
36540 rm -f conftest.er1
36541 cat conftest.err >&5
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); } && {
36544 test -z "$ac_c_werror_flag" ||
36545 test ! -s conftest.err
36546 } && test -s conftest$ac_exeext &&
36547 $as_test_x conftest$ac_exeext; then
36548 eval "$as_ac_var=yes"
36549 else
36550 echo "$as_me: failed program was:" >&5
36551 sed 's/^/| /' conftest.$ac_ext >&5
36552
36553 eval "$as_ac_var=no"
36554 fi
36555
36556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36557 conftest$ac_exeext conftest.$ac_ext
36558 fi
36559 ac_res=`eval echo '${'$as_ac_var'}'`
36560 { echo "$as_me:$LINENO: result: $ac_res" >&5
36561 echo "${ECHO_T}$ac_res" >&6; }
36562 if test `eval echo '${'$as_ac_var'}'` = yes; then
36563 cat >>confdefs.h <<_ACEOF
36564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36565 _ACEOF
36566
36567 fi
36568 done
36569
36570
36571 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36572 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36573 fi
36574
36575 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36576 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36577 if test "${ac_cv_type_mbstate_t+set}" = set; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36579 else
36580 cat >conftest.$ac_ext <<_ACEOF
36581 /* confdefs.h. */
36582 _ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 #include <wchar.h>
36587
36588 typedef mbstate_t ac__type_new_;
36589 int
36590 main ()
36591 {
36592 if ((ac__type_new_ *) 0)
36593 return 0;
36594 if (sizeof (ac__type_new_))
36595 return 0;
36596 ;
36597 return 0;
36598 }
36599 _ACEOF
36600 rm -f conftest.$ac_objext
36601 if { (ac_try="$ac_compile"
36602 case "(($ac_try" in
36603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36604 *) ac_try_echo=$ac_try;;
36605 esac
36606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36607 (eval "$ac_compile") 2>conftest.er1
36608 ac_status=$?
36609 grep -v '^ *+' conftest.er1 >conftest.err
36610 rm -f conftest.er1
36611 cat conftest.err >&5
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); } && {
36614 test -z "$ac_c_werror_flag" ||
36615 test ! -s conftest.err
36616 } && test -s conftest.$ac_objext; then
36617 ac_cv_type_mbstate_t=yes
36618 else
36619 echo "$as_me: failed program was:" >&5
36620 sed 's/^/| /' conftest.$ac_ext >&5
36621
36622 ac_cv_type_mbstate_t=no
36623 fi
36624
36625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36626 fi
36627 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36628 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36629 if test $ac_cv_type_mbstate_t = yes; then
36630
36631 cat >>confdefs.h <<_ACEOF
36632 #define HAVE_MBSTATE_T 1
36633 _ACEOF
36634
36635
36636 for ac_func in wcsrtombs
36637 do
36638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36642 echo $ECHO_N "(cached) $ECHO_C" >&6
36643 else
36644 cat >conftest.$ac_ext <<_ACEOF
36645 /* confdefs.h. */
36646 _ACEOF
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36652 #define $ac_func innocuous_$ac_func
36653
36654 /* System header to define __stub macros and hopefully few prototypes,
36655 which can conflict with char $ac_func (); below.
36656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36657 <limits.h> exists even on freestanding compilers. */
36658
36659 #ifdef __STDC__
36660 # include <limits.h>
36661 #else
36662 # include <assert.h>
36663 #endif
36664
36665 #undef $ac_func
36666
36667 /* Override any GCC internal prototype to avoid an error.
36668 Use char because int might match the return type of a GCC
36669 builtin and then its argument prototype would still apply. */
36670 #ifdef __cplusplus
36671 extern "C"
36672 #endif
36673 char $ac_func ();
36674 /* The GNU C library defines this for functions which it implements
36675 to always fail with ENOSYS. Some functions are actually named
36676 something starting with __ and the normal name is an alias. */
36677 #if defined __stub_$ac_func || defined __stub___$ac_func
36678 choke me
36679 #endif
36680
36681 int
36682 main ()
36683 {
36684 return $ac_func ();
36685 ;
36686 return 0;
36687 }
36688 _ACEOF
36689 rm -f conftest.$ac_objext conftest$ac_exeext
36690 if { (ac_try="$ac_link"
36691 case "(($ac_try" in
36692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36693 *) ac_try_echo=$ac_try;;
36694 esac
36695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 (eval "$ac_link") 2>conftest.er1
36697 ac_status=$?
36698 grep -v '^ *+' conftest.er1 >conftest.err
36699 rm -f conftest.er1
36700 cat conftest.err >&5
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); } && {
36703 test -z "$ac_c_werror_flag" ||
36704 test ! -s conftest.err
36705 } && test -s conftest$ac_exeext &&
36706 $as_test_x conftest$ac_exeext; then
36707 eval "$as_ac_var=yes"
36708 else
36709 echo "$as_me: failed program was:" >&5
36710 sed 's/^/| /' conftest.$ac_ext >&5
36711
36712 eval "$as_ac_var=no"
36713 fi
36714
36715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36716 conftest$ac_exeext conftest.$ac_ext
36717 fi
36718 ac_res=`eval echo '${'$as_ac_var'}'`
36719 { echo "$as_me:$LINENO: result: $ac_res" >&5
36720 echo "${ECHO_T}$ac_res" >&6; }
36721 if test `eval echo '${'$as_ac_var'}'` = yes; then
36722 cat >>confdefs.h <<_ACEOF
36723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36724 _ACEOF
36725
36726 fi
36727 done
36728
36729 fi
36730
36731
36732
36733
36734
36735 for ac_func in snprintf vsnprintf vsscanf
36736 do
36737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 else
36743 cat >conftest.$ac_ext <<_ACEOF
36744 /* confdefs.h. */
36745 _ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36751 #define $ac_func innocuous_$ac_func
36752
36753 /* System header to define __stub macros and hopefully few prototypes,
36754 which can conflict with char $ac_func (); below.
36755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36756 <limits.h> exists even on freestanding compilers. */
36757
36758 #ifdef __STDC__
36759 # include <limits.h>
36760 #else
36761 # include <assert.h>
36762 #endif
36763
36764 #undef $ac_func
36765
36766 /* Override any GCC internal prototype to avoid an error.
36767 Use char because int might match the return type of a GCC
36768 builtin and then its argument prototype would still apply. */
36769 #ifdef __cplusplus
36770 extern "C"
36771 #endif
36772 char $ac_func ();
36773 /* The GNU C library defines this for functions which it implements
36774 to always fail with ENOSYS. Some functions are actually named
36775 something starting with __ and the normal name is an alias. */
36776 #if defined __stub_$ac_func || defined __stub___$ac_func
36777 choke me
36778 #endif
36779
36780 int
36781 main ()
36782 {
36783 return $ac_func ();
36784 ;
36785 return 0;
36786 }
36787 _ACEOF
36788 rm -f conftest.$ac_objext conftest$ac_exeext
36789 if { (ac_try="$ac_link"
36790 case "(($ac_try" in
36791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36792 *) ac_try_echo=$ac_try;;
36793 esac
36794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36795 (eval "$ac_link") 2>conftest.er1
36796 ac_status=$?
36797 grep -v '^ *+' conftest.er1 >conftest.err
36798 rm -f conftest.er1
36799 cat conftest.err >&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } && {
36802 test -z "$ac_c_werror_flag" ||
36803 test ! -s conftest.err
36804 } && test -s conftest$ac_exeext &&
36805 $as_test_x conftest$ac_exeext; then
36806 eval "$as_ac_var=yes"
36807 else
36808 echo "$as_me: failed program was:" >&5
36809 sed 's/^/| /' conftest.$ac_ext >&5
36810
36811 eval "$as_ac_var=no"
36812 fi
36813
36814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36815 conftest$ac_exeext conftest.$ac_ext
36816 fi
36817 ac_res=`eval echo '${'$as_ac_var'}'`
36818 { echo "$as_me:$LINENO: result: $ac_res" >&5
36819 echo "${ECHO_T}$ac_res" >&6; }
36820 if test `eval echo '${'$as_ac_var'}'` = yes; then
36821 cat >>confdefs.h <<_ACEOF
36822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36823 _ACEOF
36824
36825 fi
36826 done
36827
36828
36829 ac_ext=cpp
36830 ac_cpp='$CXXCPP $CPPFLAGS'
36831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36834
36835 if test "$ac_cv_func_vsnprintf" = "yes"; then
36836 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36837 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36838 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36839 echo $ECHO_N "(cached) $ECHO_C" >&6
36840 else
36841
36842 cat >conftest.$ac_ext <<_ACEOF
36843 /* confdefs.h. */
36844 _ACEOF
36845 cat confdefs.h >>conftest.$ac_ext
36846 cat >>conftest.$ac_ext <<_ACEOF
36847 /* end confdefs.h. */
36848
36849 #include <stdio.h>
36850 #include <stdarg.h>
36851 #ifdef __MSL__
36852 #if __MSL__ >= 0x6000
36853 namespace std {}
36854 using namespace std;
36855 #endif
36856 #endif
36857
36858 int
36859 main ()
36860 {
36861
36862 char *buf;
36863 va_list ap;
36864 vsnprintf(buf, 10u, "%s", ap);
36865
36866 ;
36867 return 0;
36868 }
36869 _ACEOF
36870 rm -f conftest.$ac_objext
36871 if { (ac_try="$ac_compile"
36872 case "(($ac_try" in
36873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36874 *) ac_try_echo=$ac_try;;
36875 esac
36876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36877 (eval "$ac_compile") 2>conftest.er1
36878 ac_status=$?
36879 grep -v '^ *+' conftest.er1 >conftest.err
36880 rm -f conftest.er1
36881 cat conftest.err >&5
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); } && {
36884 test -z "$ac_cxx_werror_flag" ||
36885 test ! -s conftest.err
36886 } && test -s conftest.$ac_objext; then
36887 wx_cv_func_vsnprintf_decl=yes
36888 else
36889 echo "$as_me: failed program was:" >&5
36890 sed 's/^/| /' conftest.$ac_ext >&5
36891
36892 wx_cv_func_vsnprintf_decl=no
36893
36894 fi
36895
36896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36897
36898
36899 fi
36900 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36901 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36902
36903 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36904 cat >>confdefs.h <<\_ACEOF
36905 #define HAVE_VSNPRINTF_DECL 1
36906 _ACEOF
36907
36908
36909 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36910 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36911 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 else
36914
36915 cat >conftest.$ac_ext <<_ACEOF
36916 /* confdefs.h. */
36917 _ACEOF
36918 cat confdefs.h >>conftest.$ac_ext
36919 cat >>conftest.$ac_ext <<_ACEOF
36920 /* end confdefs.h. */
36921
36922 #include <stdio.h>
36923 #include <stdarg.h>
36924 #ifdef __MSL__
36925 #if __MSL__ >= 0x6000
36926 namespace std {}
36927 using namespace std;
36928 #endif
36929 #endif
36930
36931 int
36932 main ()
36933 {
36934
36935 char *buf;
36936 va_list ap;
36937 const char *fmt = "%s";
36938 vsnprintf(buf, 10u, fmt, ap);
36939
36940 ;
36941 return 0;
36942 }
36943 _ACEOF
36944 rm -f conftest.$ac_objext
36945 if { (ac_try="$ac_compile"
36946 case "(($ac_try" in
36947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36948 *) ac_try_echo=$ac_try;;
36949 esac
36950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36951 (eval "$ac_compile") 2>conftest.er1
36952 ac_status=$?
36953 grep -v '^ *+' conftest.er1 >conftest.err
36954 rm -f conftest.er1
36955 cat conftest.err >&5
36956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957 (exit $ac_status); } && {
36958 test -z "$ac_cxx_werror_flag" ||
36959 test ! -s conftest.err
36960 } && test -s conftest.$ac_objext; then
36961 wx_cv_func_broken_vsnprintf_decl=no
36962 else
36963 echo "$as_me: failed program was:" >&5
36964 sed 's/^/| /' conftest.$ac_ext >&5
36965
36966 wx_cv_func_broken_vsnprintf_decl=yes
36967
36968 fi
36969
36970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36971
36972
36973 fi
36974 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36975 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36976
36977 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36978 cat >>confdefs.h <<\_ACEOF
36979 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36980 _ACEOF
36981
36982 fi
36983 fi
36984 fi
36985
36986 if test "$ac_cv_func_snprintf" = "yes"; then
36987 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36988 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36989 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36990 echo $ECHO_N "(cached) $ECHO_C" >&6
36991 else
36992
36993 cat >conftest.$ac_ext <<_ACEOF
36994 /* confdefs.h. */
36995 _ACEOF
36996 cat confdefs.h >>conftest.$ac_ext
36997 cat >>conftest.$ac_ext <<_ACEOF
36998 /* end confdefs.h. */
36999
37000 #include <stdio.h>
37001 #include <stdarg.h>
37002 #ifdef __MSL__
37003 #if __MSL__ >= 0x6000
37004 namespace std {}
37005 using namespace std;
37006 #endif
37007 #endif
37008
37009 int
37010 main ()
37011 {
37012
37013 char *buf;
37014 snprintf(buf, 10u, "%s", "wx");
37015
37016 ;
37017 return 0;
37018 }
37019 _ACEOF
37020 rm -f conftest.$ac_objext
37021 if { (ac_try="$ac_compile"
37022 case "(($ac_try" in
37023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37024 *) ac_try_echo=$ac_try;;
37025 esac
37026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37027 (eval "$ac_compile") 2>conftest.er1
37028 ac_status=$?
37029 grep -v '^ *+' conftest.er1 >conftest.err
37030 rm -f conftest.er1
37031 cat conftest.err >&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } && {
37034 test -z "$ac_cxx_werror_flag" ||
37035 test ! -s conftest.err
37036 } && test -s conftest.$ac_objext; then
37037 wx_cv_func_snprintf_decl=yes
37038 else
37039 echo "$as_me: failed program was:" >&5
37040 sed 's/^/| /' conftest.$ac_ext >&5
37041
37042 wx_cv_func_snprintf_decl=no
37043
37044 fi
37045
37046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37047
37048
37049 fi
37050 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37051 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37052
37053 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37054 cat >>confdefs.h <<\_ACEOF
37055 #define HAVE_SNPRINTF_DECL 1
37056 _ACEOF
37057
37058 fi
37059
37060 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37061
37062 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37063 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37064 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37065 echo $ECHO_N "(cached) $ECHO_C" >&6
37066 else
37067
37068 if test "$cross_compiling" = yes; then
37069
37070 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37071 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37072 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37073 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37074 wx_cv_func_snprintf_pos_params=no
37075
37076
37077 else
37078 cat >conftest.$ac_ext <<_ACEOF
37079 /* confdefs.h. */
37080 _ACEOF
37081 cat confdefs.h >>conftest.$ac_ext
37082 cat >>conftest.$ac_ext <<_ACEOF
37083 /* end confdefs.h. */
37084
37085 #include <stdio.h>
37086
37087 int main (void)
37088 {
37089 char buffer[128];
37090 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37091 if (strcmp ("2 3 1", buffer) == 0)
37092 exit (0);
37093 exit (1);
37094 }
37095
37096 _ACEOF
37097 rm -f conftest$ac_exeext
37098 if { (ac_try="$ac_link"
37099 case "(($ac_try" in
37100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37101 *) ac_try_echo=$ac_try;;
37102 esac
37103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37104 (eval "$ac_link") 2>&5
37105 ac_status=$?
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37108 { (case "(($ac_try" in
37109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37110 *) ac_try_echo=$ac_try;;
37111 esac
37112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37113 (eval "$ac_try") 2>&5
37114 ac_status=$?
37115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116 (exit $ac_status); }; }; then
37117 wx_cv_func_snprintf_pos_params=no
37118 else
37119 echo "$as_me: program exited with status $ac_status" >&5
37120 echo "$as_me: failed program was:" >&5
37121 sed 's/^/| /' conftest.$ac_ext >&5
37122
37123 ( exit $ac_status )
37124 wx_cv_func_snprintf_pos_params=yes
37125 fi
37126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37127 fi
37128
37129
37130
37131
37132 fi
37133 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37134 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37135
37136 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37137 cat >>confdefs.h <<\_ACEOF
37138 #define HAVE_UNIX98_PRINTF 1
37139 _ACEOF
37140
37141 fi
37142 fi
37143 fi
37144
37145 if test "$ac_cv_func_vsscanf" = "yes"; then
37146 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37147 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37148 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37149 echo $ECHO_N "(cached) $ECHO_C" >&6
37150 else
37151
37152 cat >conftest.$ac_ext <<_ACEOF
37153 /* confdefs.h. */
37154 _ACEOF
37155 cat confdefs.h >>conftest.$ac_ext
37156 cat >>conftest.$ac_ext <<_ACEOF
37157 /* end confdefs.h. */
37158
37159 #include <stdio.h>
37160 #include <stdarg.h>
37161 #ifdef __MSL__
37162 #if __MSL__ >= 0x6000
37163 namespace std {}
37164 using namespace std;
37165 #endif
37166 #endif
37167
37168 int
37169 main ()
37170 {
37171
37172 char *buf;
37173 va_list args;
37174 vsscanf(buf, "%s", args);
37175
37176 ;
37177 return 0;
37178 }
37179 _ACEOF
37180 rm -f conftest.$ac_objext
37181 if { (ac_try="$ac_compile"
37182 case "(($ac_try" in
37183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37184 *) ac_try_echo=$ac_try;;
37185 esac
37186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37187 (eval "$ac_compile") 2>conftest.er1
37188 ac_status=$?
37189 grep -v '^ *+' conftest.er1 >conftest.err
37190 rm -f conftest.er1
37191 cat conftest.err >&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); } && {
37194 test -z "$ac_cxx_werror_flag" ||
37195 test ! -s conftest.err
37196 } && test -s conftest.$ac_objext; then
37197 wx_cv_func_vsscanf_decl=yes
37198 else
37199 echo "$as_me: failed program was:" >&5
37200 sed 's/^/| /' conftest.$ac_ext >&5
37201
37202 wx_cv_func_vsscanf_decl=no
37203
37204 fi
37205
37206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37207
37208
37209 fi
37210 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37211 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37212
37213 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37214 cat >>confdefs.h <<\_ACEOF
37215 #define HAVE_VSSCANF_DECL 1
37216 _ACEOF
37217
37218 fi
37219 fi
37220 ac_ext=c
37221 ac_cpp='$CPP $CPPFLAGS'
37222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37225
37226
37227 if test "$wxUSE_UNICODE" = yes; then
37228
37229 wchar_headers="#include <stdio.h>
37230 #include <wchar.h>"
37231 case "${host}" in
37232 *-*-solaris2* )
37233
37234 for ac_header in widec.h
37235 do
37236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37240 echo $ECHO_N "(cached) $ECHO_C" >&6
37241 else
37242 cat >conftest.$ac_ext <<_ACEOF
37243 /* confdefs.h. */
37244 _ACEOF
37245 cat confdefs.h >>conftest.$ac_ext
37246 cat >>conftest.$ac_ext <<_ACEOF
37247 /* end confdefs.h. */
37248 $ac_includes_default
37249
37250 #include <$ac_header>
37251 _ACEOF
37252 rm -f conftest.$ac_objext
37253 if { (ac_try="$ac_compile"
37254 case "(($ac_try" in
37255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37256 *) ac_try_echo=$ac_try;;
37257 esac
37258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37259 (eval "$ac_compile") 2>conftest.er1
37260 ac_status=$?
37261 grep -v '^ *+' conftest.er1 >conftest.err
37262 rm -f conftest.er1
37263 cat conftest.err >&5
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); } && {
37266 test -z "$ac_c_werror_flag" ||
37267 test ! -s conftest.err
37268 } && test -s conftest.$ac_objext; then
37269 eval "$as_ac_Header=yes"
37270 else
37271 echo "$as_me: failed program was:" >&5
37272 sed 's/^/| /' conftest.$ac_ext >&5
37273
37274 eval "$as_ac_Header=no"
37275 fi
37276
37277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37278 fi
37279 ac_res=`eval echo '${'$as_ac_Header'}'`
37280 { echo "$as_me:$LINENO: result: $ac_res" >&5
37281 echo "${ECHO_T}$ac_res" >&6; }
37282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37283 cat >>confdefs.h <<_ACEOF
37284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37285 _ACEOF
37286
37287 fi
37288
37289 done
37290
37291 if test "$ac_cv_header_widec_h" = "yes"; then
37292 wchar_headers="$wchar_headers
37293 #include <widec.h>"
37294 fi
37295 esac
37296
37297
37298 for wx_func in putws fputws wprintf vswprintf vswscanf
37299 do
37300 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37301 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37302 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37303 echo $ECHO_N "(cached) $ECHO_C" >&6
37304 else
37305
37306 cat >conftest.$ac_ext <<_ACEOF
37307
37308 /* confdefs.h. */
37309 _ACEOF
37310 cat confdefs.h >>conftest.$ac_ext
37311 cat >>conftest.$ac_ext <<_ACEOF
37312 /* end confdefs.h. */
37313
37314 $wchar_headers
37315 $ac_includes_default
37316
37317 int
37318 main ()
37319 {
37320
37321 #ifndef $wx_func
37322 &$wx_func;
37323 #endif
37324
37325
37326 ;
37327 return 0;
37328 }
37329
37330 _ACEOF
37331 rm -f conftest.$ac_objext conftest$ac_exeext
37332 if { (ac_try="$ac_link"
37333 case "(($ac_try" in
37334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37335 *) ac_try_echo=$ac_try;;
37336 esac
37337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37338 (eval "$ac_link") 2>conftest.er1
37339 ac_status=$?
37340 grep -v '^ *+' conftest.er1 >conftest.err
37341 rm -f conftest.er1
37342 cat conftest.err >&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); } && {
37345 test -z "$ac_c_werror_flag" ||
37346 test ! -s conftest.err
37347 } && test -s conftest$ac_exeext &&
37348 $as_test_x conftest$ac_exeext; then
37349 eval wx_cv_func_$wx_func=yes
37350 else
37351 echo "$as_me: failed program was:" >&5
37352 sed 's/^/| /' conftest.$ac_ext >&5
37353
37354 eval wx_cv_func_$wx_func=no
37355 fi
37356
37357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37358 conftest$ac_exeext conftest.$ac_ext
37359
37360 fi
37361 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37362 { echo "$as_me:$LINENO: result: $ac_res" >&5
37363 echo "${ECHO_T}$ac_res" >&6; }
37364
37365 if eval test \$wx_cv_func_$wx_func = yes
37366 then
37367 cat >>confdefs.h <<_ACEOF
37368 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37369 _ACEOF
37370
37371
37372 else
37373 :
37374
37375 fi
37376 done
37377
37378
37379 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37380 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37381 cat >conftest.$ac_ext <<_ACEOF
37382 /* confdefs.h. */
37383 _ACEOF
37384 cat confdefs.h >>conftest.$ac_ext
37385 cat >>conftest.$ac_ext <<_ACEOF
37386 /* end confdefs.h. */
37387 #include <wchar.h>
37388 int
37389 main ()
37390 {
37391 &_vsnwprintf;
37392 ;
37393 return 0;
37394 }
37395 _ACEOF
37396 rm -f conftest.$ac_objext
37397 if { (ac_try="$ac_compile"
37398 case "(($ac_try" in
37399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37400 *) ac_try_echo=$ac_try;;
37401 esac
37402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37403 (eval "$ac_compile") 2>conftest.er1
37404 ac_status=$?
37405 grep -v '^ *+' conftest.er1 >conftest.err
37406 rm -f conftest.er1
37407 cat conftest.err >&5
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); } && {
37410 test -z "$ac_c_werror_flag" ||
37411 test ! -s conftest.err
37412 } && test -s conftest.$ac_objext; then
37413 { echo "$as_me:$LINENO: result: yes" >&5
37414 echo "${ECHO_T}yes" >&6; }
37415 cat >>confdefs.h <<\_ACEOF
37416 #define HAVE__VSNWPRINTF 1
37417 _ACEOF
37418
37419 else
37420 echo "$as_me: failed program was:" >&5
37421 sed 's/^/| /' conftest.$ac_ext >&5
37422
37423 { echo "$as_me:$LINENO: result: no" >&5
37424 echo "${ECHO_T}no" >&6; }
37425 fi
37426
37427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37428 fi
37429
37430 if test "$wxUSE_FILE" = "yes"; then
37431
37432 for wx_func in fsync
37433 do
37434 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37435 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37436 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37437 echo $ECHO_N "(cached) $ECHO_C" >&6
37438 else
37439
37440 cat >conftest.$ac_ext <<_ACEOF
37441
37442 /* confdefs.h. */
37443 _ACEOF
37444 cat confdefs.h >>conftest.$ac_ext
37445 cat >>conftest.$ac_ext <<_ACEOF
37446 /* end confdefs.h. */
37447
37448
37449 $ac_includes_default
37450
37451 int
37452 main ()
37453 {
37454
37455 #ifndef $wx_func
37456 &$wx_func;
37457 #endif
37458
37459
37460 ;
37461 return 0;
37462 }
37463
37464 _ACEOF
37465 rm -f conftest.$ac_objext conftest$ac_exeext
37466 if { (ac_try="$ac_link"
37467 case "(($ac_try" in
37468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37469 *) ac_try_echo=$ac_try;;
37470 esac
37471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37472 (eval "$ac_link") 2>conftest.er1
37473 ac_status=$?
37474 grep -v '^ *+' conftest.er1 >conftest.err
37475 rm -f conftest.er1
37476 cat conftest.err >&5
37477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37478 (exit $ac_status); } && {
37479 test -z "$ac_c_werror_flag" ||
37480 test ! -s conftest.err
37481 } && test -s conftest$ac_exeext &&
37482 $as_test_x conftest$ac_exeext; then
37483 eval wx_cv_func_$wx_func=yes
37484 else
37485 echo "$as_me: failed program was:" >&5
37486 sed 's/^/| /' conftest.$ac_ext >&5
37487
37488 eval wx_cv_func_$wx_func=no
37489 fi
37490
37491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37492 conftest$ac_exeext conftest.$ac_ext
37493
37494 fi
37495 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37496 { echo "$as_me:$LINENO: result: $ac_res" >&5
37497 echo "${ECHO_T}$ac_res" >&6; }
37498
37499 if eval test \$wx_cv_func_$wx_func = yes
37500 then
37501 cat >>confdefs.h <<_ACEOF
37502 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37503 _ACEOF
37504
37505
37506 else
37507 :
37508
37509 fi
37510 done
37511
37512 fi
37513
37514 ac_ext=cpp
37515 ac_cpp='$CXXCPP $CPPFLAGS'
37516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37519
37520
37521 for wx_func in round
37522 do
37523 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37524 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37525 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37526 echo $ECHO_N "(cached) $ECHO_C" >&6
37527 else
37528
37529 cat >conftest.$ac_ext <<_ACEOF
37530
37531 /* confdefs.h. */
37532 _ACEOF
37533 cat confdefs.h >>conftest.$ac_ext
37534 cat >>conftest.$ac_ext <<_ACEOF
37535 /* end confdefs.h. */
37536
37537 #include <math.h>
37538 $ac_includes_default
37539
37540 int
37541 main ()
37542 {
37543
37544 #ifndef $wx_func
37545 &$wx_func;
37546 #endif
37547
37548
37549 ;
37550 return 0;
37551 }
37552
37553 _ACEOF
37554 rm -f conftest.$ac_objext conftest$ac_exeext
37555 if { (ac_try="$ac_link"
37556 case "(($ac_try" in
37557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37558 *) ac_try_echo=$ac_try;;
37559 esac
37560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37561 (eval "$ac_link") 2>conftest.er1
37562 ac_status=$?
37563 grep -v '^ *+' conftest.er1 >conftest.err
37564 rm -f conftest.er1
37565 cat conftest.err >&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); } && {
37568 test -z "$ac_cxx_werror_flag" ||
37569 test ! -s conftest.err
37570 } && test -s conftest$ac_exeext &&
37571 $as_test_x conftest$ac_exeext; then
37572 eval wx_cv_func_$wx_func=yes
37573 else
37574 echo "$as_me: failed program was:" >&5
37575 sed 's/^/| /' conftest.$ac_ext >&5
37576
37577 eval wx_cv_func_$wx_func=no
37578 fi
37579
37580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37581 conftest$ac_exeext conftest.$ac_ext
37582
37583 fi
37584 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37585 { echo "$as_me:$LINENO: result: $ac_res" >&5
37586 echo "${ECHO_T}$ac_res" >&6; }
37587
37588 if eval test \$wx_cv_func_$wx_func = yes
37589 then
37590 cat >>confdefs.h <<_ACEOF
37591 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37592 _ACEOF
37593
37594
37595 else
37596 :
37597
37598 fi
37599 done
37600
37601 ac_ext=c
37602 ac_cpp='$CPP $CPPFLAGS'
37603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37606
37607
37608 if test "$TOOLKIT" != "MSW"; then
37609
37610 if test "$wxUSE_LIBICONV" != "no" ; then
37611
37612
37613
37614 # Check whether --with-libiconv-prefix was given.
37615 if test "${with_libiconv_prefix+set}" = set; then
37616 withval=$with_libiconv_prefix;
37617 for dir in `echo "$withval" | tr : ' '`; do
37618 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37619 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37620 done
37621
37622 fi
37623
37624
37625 { echo "$as_me:$LINENO: checking for iconv" >&5
37626 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37627 if test "${am_cv_func_iconv+set}" = set; then
37628 echo $ECHO_N "(cached) $ECHO_C" >&6
37629 else
37630
37631 am_cv_func_iconv="no, consider installing GNU libiconv"
37632 am_cv_lib_iconv=no
37633 cat >conftest.$ac_ext <<_ACEOF
37634 /* confdefs.h. */
37635 _ACEOF
37636 cat confdefs.h >>conftest.$ac_ext
37637 cat >>conftest.$ac_ext <<_ACEOF
37638 /* end confdefs.h. */
37639 #include <stdlib.h>
37640 #include <iconv.h>
37641 int
37642 main ()
37643 {
37644 iconv_t cd = iconv_open("","");
37645 iconv(cd,NULL,NULL,NULL,NULL);
37646 iconv_close(cd);
37647 ;
37648 return 0;
37649 }
37650 _ACEOF
37651 rm -f conftest.$ac_objext conftest$ac_exeext
37652 if { (ac_try="$ac_link"
37653 case "(($ac_try" in
37654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37655 *) ac_try_echo=$ac_try;;
37656 esac
37657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37658 (eval "$ac_link") 2>conftest.er1
37659 ac_status=$?
37660 grep -v '^ *+' conftest.er1 >conftest.err
37661 rm -f conftest.er1
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } && {
37665 test -z "$ac_c_werror_flag" ||
37666 test ! -s conftest.err
37667 } && test -s conftest$ac_exeext &&
37668 $as_test_x conftest$ac_exeext; then
37669 am_cv_func_iconv=yes
37670 else
37671 echo "$as_me: failed program was:" >&5
37672 sed 's/^/| /' conftest.$ac_ext >&5
37673
37674
37675 fi
37676
37677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37678 conftest$ac_exeext conftest.$ac_ext
37679 if test "$am_cv_func_iconv" != yes; then
37680 am_save_LIBS="$LIBS"
37681 LIBS="$LIBS -liconv"
37682 cat >conftest.$ac_ext <<_ACEOF
37683 /* confdefs.h. */
37684 _ACEOF
37685 cat confdefs.h >>conftest.$ac_ext
37686 cat >>conftest.$ac_ext <<_ACEOF
37687 /* end confdefs.h. */
37688 #include <stdlib.h>
37689 #include <iconv.h>
37690 int
37691 main ()
37692 {
37693 iconv_t cd = iconv_open("","");
37694 iconv(cd,NULL,NULL,NULL,NULL);
37695 iconv_close(cd);
37696 ;
37697 return 0;
37698 }
37699 _ACEOF
37700 rm -f conftest.$ac_objext conftest$ac_exeext
37701 if { (ac_try="$ac_link"
37702 case "(($ac_try" in
37703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37704 *) ac_try_echo=$ac_try;;
37705 esac
37706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37707 (eval "$ac_link") 2>conftest.er1
37708 ac_status=$?
37709 grep -v '^ *+' conftest.er1 >conftest.err
37710 rm -f conftest.er1
37711 cat conftest.err >&5
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); } && {
37714 test -z "$ac_c_werror_flag" ||
37715 test ! -s conftest.err
37716 } && test -s conftest$ac_exeext &&
37717 $as_test_x conftest$ac_exeext; then
37718 am_cv_lib_iconv=yes
37719 am_cv_func_iconv=yes
37720 else
37721 echo "$as_me: failed program was:" >&5
37722 sed 's/^/| /' conftest.$ac_ext >&5
37723
37724
37725 fi
37726
37727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37728 conftest$ac_exeext conftest.$ac_ext
37729 LIBS="$am_save_LIBS"
37730 fi
37731
37732 fi
37733 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37734 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37735 if test "$am_cv_func_iconv" = yes; then
37736
37737 cat >>confdefs.h <<\_ACEOF
37738 #define HAVE_ICONV 1
37739 _ACEOF
37740
37741 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37742 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37743 if test "${wx_cv_func_iconv_const+set}" = set; then
37744 echo $ECHO_N "(cached) $ECHO_C" >&6
37745 else
37746 cat >conftest.$ac_ext <<_ACEOF
37747 /* confdefs.h. */
37748 _ACEOF
37749 cat confdefs.h >>conftest.$ac_ext
37750 cat >>conftest.$ac_ext <<_ACEOF
37751 /* end confdefs.h. */
37752
37753 #include <stdlib.h>
37754 #include <iconv.h>
37755 extern
37756 #ifdef __cplusplus
37757 "C"
37758 #endif
37759 #if defined(__STDC__) || defined(__cplusplus)
37760 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37761 #else
37762 size_t iconv();
37763 #endif
37764
37765 int
37766 main ()
37767 {
37768
37769 ;
37770 return 0;
37771 }
37772 _ACEOF
37773 rm -f conftest.$ac_objext
37774 if { (ac_try="$ac_compile"
37775 case "(($ac_try" in
37776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37777 *) ac_try_echo=$ac_try;;
37778 esac
37779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37780 (eval "$ac_compile") 2>conftest.er1
37781 ac_status=$?
37782 grep -v '^ *+' conftest.er1 >conftest.err
37783 rm -f conftest.er1
37784 cat conftest.err >&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); } && {
37787 test -z "$ac_c_werror_flag" ||
37788 test ! -s conftest.err
37789 } && test -s conftest.$ac_objext; then
37790 wx_cv_func_iconv_const="no"
37791 else
37792 echo "$as_me: failed program was:" >&5
37793 sed 's/^/| /' conftest.$ac_ext >&5
37794
37795 wx_cv_func_iconv_const="yes"
37796
37797 fi
37798
37799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37800
37801 fi
37802 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37803 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37804
37805 iconv_const=
37806 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37807 iconv_const="const"
37808 fi
37809
37810
37811 cat >>confdefs.h <<_ACEOF
37812 #define ICONV_CONST $iconv_const
37813 _ACEOF
37814
37815 fi
37816 LIBICONV=
37817 if test "$am_cv_lib_iconv" = yes; then
37818 LIBICONV="-liconv"
37819 fi
37820
37821
37822 LIBS="$LIBICONV $LIBS"
37823 fi
37824
37825 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37826
37827 for ac_func in sigaction
37828 do
37829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37830 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37832 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37833 echo $ECHO_N "(cached) $ECHO_C" >&6
37834 else
37835 cat >conftest.$ac_ext <<_ACEOF
37836 /* confdefs.h. */
37837 _ACEOF
37838 cat confdefs.h >>conftest.$ac_ext
37839 cat >>conftest.$ac_ext <<_ACEOF
37840 /* end confdefs.h. */
37841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37843 #define $ac_func innocuous_$ac_func
37844
37845 /* System header to define __stub macros and hopefully few prototypes,
37846 which can conflict with char $ac_func (); below.
37847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37848 <limits.h> exists even on freestanding compilers. */
37849
37850 #ifdef __STDC__
37851 # include <limits.h>
37852 #else
37853 # include <assert.h>
37854 #endif
37855
37856 #undef $ac_func
37857
37858 /* Override any GCC internal prototype to avoid an error.
37859 Use char because int might match the return type of a GCC
37860 builtin and then its argument prototype would still apply. */
37861 #ifdef __cplusplus
37862 extern "C"
37863 #endif
37864 char $ac_func ();
37865 /* The GNU C library defines this for functions which it implements
37866 to always fail with ENOSYS. Some functions are actually named
37867 something starting with __ and the normal name is an alias. */
37868 #if defined __stub_$ac_func || defined __stub___$ac_func
37869 choke me
37870 #endif
37871
37872 int
37873 main ()
37874 {
37875 return $ac_func ();
37876 ;
37877 return 0;
37878 }
37879 _ACEOF
37880 rm -f conftest.$ac_objext conftest$ac_exeext
37881 if { (ac_try="$ac_link"
37882 case "(($ac_try" in
37883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37884 *) ac_try_echo=$ac_try;;
37885 esac
37886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37887 (eval "$ac_link") 2>conftest.er1
37888 ac_status=$?
37889 grep -v '^ *+' conftest.er1 >conftest.err
37890 rm -f conftest.er1
37891 cat conftest.err >&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); } && {
37894 test -z "$ac_c_werror_flag" ||
37895 test ! -s conftest.err
37896 } && test -s conftest$ac_exeext &&
37897 $as_test_x conftest$ac_exeext; then
37898 eval "$as_ac_var=yes"
37899 else
37900 echo "$as_me: failed program was:" >&5
37901 sed 's/^/| /' conftest.$ac_ext >&5
37902
37903 eval "$as_ac_var=no"
37904 fi
37905
37906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37907 conftest$ac_exeext conftest.$ac_ext
37908 fi
37909 ac_res=`eval echo '${'$as_ac_var'}'`
37910 { echo "$as_me:$LINENO: result: $ac_res" >&5
37911 echo "${ECHO_T}$ac_res" >&6; }
37912 if test `eval echo '${'$as_ac_var'}'` = yes; then
37913 cat >>confdefs.h <<_ACEOF
37914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37915 _ACEOF
37916
37917 fi
37918 done
37919
37920
37921 if test "$ac_cv_func_sigaction" = "no"; then
37922 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37923 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37924 wxUSE_ON_FATAL_EXCEPTION=no
37925 fi
37926
37927 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37928 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37929 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37930 if test "${wx_cv_type_sa_handler+set}" = set; then
37931 echo $ECHO_N "(cached) $ECHO_C" >&6
37932 else
37933
37934 ac_ext=cpp
37935 ac_cpp='$CXXCPP $CPPFLAGS'
37936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37939
37940 cat >conftest.$ac_ext <<_ACEOF
37941 /* confdefs.h. */
37942 _ACEOF
37943 cat confdefs.h >>conftest.$ac_ext
37944 cat >>conftest.$ac_ext <<_ACEOF
37945 /* end confdefs.h. */
37946 #include <signal.h>
37947 int
37948 main ()
37949 {
37950
37951 extern void testSigHandler(int);
37952
37953 struct sigaction sa;
37954 sa.sa_handler = testSigHandler;
37955
37956 ;
37957 return 0;
37958 }
37959 _ACEOF
37960 rm -f conftest.$ac_objext
37961 if { (ac_try="$ac_compile"
37962 case "(($ac_try" in
37963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37964 *) ac_try_echo=$ac_try;;
37965 esac
37966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37967 (eval "$ac_compile") 2>conftest.er1
37968 ac_status=$?
37969 grep -v '^ *+' conftest.er1 >conftest.err
37970 rm -f conftest.er1
37971 cat conftest.err >&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); } && {
37974 test -z "$ac_cxx_werror_flag" ||
37975 test ! -s conftest.err
37976 } && test -s conftest.$ac_objext; then
37977
37978 wx_cv_type_sa_handler=int
37979
37980 else
37981 echo "$as_me: failed program was:" >&5
37982 sed 's/^/| /' conftest.$ac_ext >&5
37983
37984
37985 wx_cv_type_sa_handler=void
37986
37987 fi
37988
37989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37990 ac_ext=c
37991 ac_cpp='$CPP $CPPFLAGS'
37992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37995
37996
37997 fi
37998 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37999 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38000
38001 cat >>confdefs.h <<_ACEOF
38002 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38003 _ACEOF
38004
38005 fi
38006 fi
38007
38008 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38009 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38010 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38011 if test "${wx_cv_func_backtrace+set}" = set; then
38012 echo $ECHO_N "(cached) $ECHO_C" >&6
38013 else
38014
38015 ac_ext=cpp
38016 ac_cpp='$CXXCPP $CPPFLAGS'
38017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38020
38021 cat >conftest.$ac_ext <<_ACEOF
38022 /* confdefs.h. */
38023 _ACEOF
38024 cat confdefs.h >>conftest.$ac_ext
38025 cat >>conftest.$ac_ext <<_ACEOF
38026 /* end confdefs.h. */
38027 #include <execinfo.h>
38028 int
38029 main ()
38030 {
38031
38032 void *trace[1];
38033 char **messages;
38034
38035 backtrace(trace, 1);
38036 messages = backtrace_symbols(trace, 1);
38037
38038 ;
38039 return 0;
38040 }
38041 _ACEOF
38042 rm -f conftest.$ac_objext
38043 if { (ac_try="$ac_compile"
38044 case "(($ac_try" in
38045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38046 *) ac_try_echo=$ac_try;;
38047 esac
38048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38049 (eval "$ac_compile") 2>conftest.er1
38050 ac_status=$?
38051 grep -v '^ *+' conftest.er1 >conftest.err
38052 rm -f conftest.er1
38053 cat conftest.err >&5
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); } && {
38056 test -z "$ac_cxx_werror_flag" ||
38057 test ! -s conftest.err
38058 } && test -s conftest.$ac_objext; then
38059 wx_cv_func_backtrace=yes
38060 else
38061 echo "$as_me: failed program was:" >&5
38062 sed 's/^/| /' conftest.$ac_ext >&5
38063
38064 wx_cv_func_backtrace=no
38065
38066 fi
38067
38068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38069 ac_ext=c
38070 ac_cpp='$CPP $CPPFLAGS'
38071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38074
38075
38076
38077 fi
38078 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38079 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38080
38081
38082 if test "$wx_cv_func_backtrace" = "no"; then
38083 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38084 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38085 wxUSE_STACKWALKER=no
38086 else
38087 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38088 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38089 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38090 echo $ECHO_N "(cached) $ECHO_C" >&6
38091 else
38092
38093 ac_ext=cpp
38094 ac_cpp='$CXXCPP $CPPFLAGS'
38095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38098
38099 cat >conftest.$ac_ext <<_ACEOF
38100 /* confdefs.h. */
38101 _ACEOF
38102 cat confdefs.h >>conftest.$ac_ext
38103 cat >>conftest.$ac_ext <<_ACEOF
38104 /* end confdefs.h. */
38105 #include <cxxabi.h>
38106 int
38107 main ()
38108 {
38109
38110 int rc;
38111 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38112
38113 ;
38114 return 0;
38115 }
38116 _ACEOF
38117 rm -f conftest.$ac_objext conftest$ac_exeext
38118 if { (ac_try="$ac_link"
38119 case "(($ac_try" in
38120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38121 *) ac_try_echo=$ac_try;;
38122 esac
38123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38124 (eval "$ac_link") 2>conftest.er1
38125 ac_status=$?
38126 grep -v '^ *+' conftest.er1 >conftest.err
38127 rm -f conftest.er1
38128 cat conftest.err >&5
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); } && {
38131 test -z "$ac_cxx_werror_flag" ||
38132 test ! -s conftest.err
38133 } && test -s conftest$ac_exeext &&
38134 $as_test_x conftest$ac_exeext; then
38135 wx_cv_func_cxa_demangle=yes
38136 else
38137 echo "$as_me: failed program was:" >&5
38138 sed 's/^/| /' conftest.$ac_ext >&5
38139
38140 wx_cv_func_cxa_demangle=no
38141
38142 fi
38143
38144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38145 conftest$ac_exeext conftest.$ac_ext
38146 ac_ext=c
38147 ac_cpp='$CPP $CPPFLAGS'
38148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38151
38152
38153
38154 fi
38155 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38156 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38157
38158 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38159 cat >>confdefs.h <<\_ACEOF
38160 #define HAVE_CXA_DEMANGLE 1
38161 _ACEOF
38162
38163 fi
38164 fi
38165 fi
38166
38167 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38168 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38169 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38170 wxUSE_STACKWALKER=no
38171 fi
38172
38173
38174
38175
38176 for ac_func in mkstemp mktemp
38177 do
38178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38179 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38181 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38182 echo $ECHO_N "(cached) $ECHO_C" >&6
38183 else
38184 cat >conftest.$ac_ext <<_ACEOF
38185 /* confdefs.h. */
38186 _ACEOF
38187 cat confdefs.h >>conftest.$ac_ext
38188 cat >>conftest.$ac_ext <<_ACEOF
38189 /* end confdefs.h. */
38190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38192 #define $ac_func innocuous_$ac_func
38193
38194 /* System header to define __stub macros and hopefully few prototypes,
38195 which can conflict with char $ac_func (); below.
38196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38197 <limits.h> exists even on freestanding compilers. */
38198
38199 #ifdef __STDC__
38200 # include <limits.h>
38201 #else
38202 # include <assert.h>
38203 #endif
38204
38205 #undef $ac_func
38206
38207 /* Override any GCC internal prototype to avoid an error.
38208 Use char because int might match the return type of a GCC
38209 builtin and then its argument prototype would still apply. */
38210 #ifdef __cplusplus
38211 extern "C"
38212 #endif
38213 char $ac_func ();
38214 /* The GNU C library defines this for functions which it implements
38215 to always fail with ENOSYS. Some functions are actually named
38216 something starting with __ and the normal name is an alias. */
38217 #if defined __stub_$ac_func || defined __stub___$ac_func
38218 choke me
38219 #endif
38220
38221 int
38222 main ()
38223 {
38224 return $ac_func ();
38225 ;
38226 return 0;
38227 }
38228 _ACEOF
38229 rm -f conftest.$ac_objext conftest$ac_exeext
38230 if { (ac_try="$ac_link"
38231 case "(($ac_try" in
38232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38233 *) ac_try_echo=$ac_try;;
38234 esac
38235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38236 (eval "$ac_link") 2>conftest.er1
38237 ac_status=$?
38238 grep -v '^ *+' conftest.er1 >conftest.err
38239 rm -f conftest.er1
38240 cat conftest.err >&5
38241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38242 (exit $ac_status); } && {
38243 test -z "$ac_c_werror_flag" ||
38244 test ! -s conftest.err
38245 } && test -s conftest$ac_exeext &&
38246 $as_test_x conftest$ac_exeext; then
38247 eval "$as_ac_var=yes"
38248 else
38249 echo "$as_me: failed program was:" >&5
38250 sed 's/^/| /' conftest.$ac_ext >&5
38251
38252 eval "$as_ac_var=no"
38253 fi
38254
38255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38256 conftest$ac_exeext conftest.$ac_ext
38257 fi
38258 ac_res=`eval echo '${'$as_ac_var'}'`
38259 { echo "$as_me:$LINENO: result: $ac_res" >&5
38260 echo "${ECHO_T}$ac_res" >&6; }
38261 if test `eval echo '${'$as_ac_var'}'` = yes; then
38262 cat >>confdefs.h <<_ACEOF
38263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38264 _ACEOF
38265 break
38266 fi
38267 done
38268
38269
38270 { echo "$as_me:$LINENO: checking for statfs" >&5
38271 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38272 if test "${wx_cv_func_statfs+set}" = set; then
38273 echo $ECHO_N "(cached) $ECHO_C" >&6
38274 else
38275 cat >conftest.$ac_ext <<_ACEOF
38276 /* confdefs.h. */
38277 _ACEOF
38278 cat confdefs.h >>conftest.$ac_ext
38279 cat >>conftest.$ac_ext <<_ACEOF
38280 /* end confdefs.h. */
38281
38282 #if defined(__BSD__)
38283 #include <sys/param.h>
38284 #include <sys/mount.h>
38285 #else
38286 #include <sys/vfs.h>
38287 #endif
38288
38289 int
38290 main ()
38291 {
38292
38293 long l;
38294 struct statfs fs;
38295 statfs("/", &fs);
38296 l = fs.f_bsize;
38297 l += fs.f_blocks;
38298 l += fs.f_bavail;
38299
38300 ;
38301 return 0;
38302 }
38303 _ACEOF
38304 rm -f conftest.$ac_objext
38305 if { (ac_try="$ac_compile"
38306 case "(($ac_try" in
38307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38308 *) ac_try_echo=$ac_try;;
38309 esac
38310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38311 (eval "$ac_compile") 2>conftest.er1
38312 ac_status=$?
38313 grep -v '^ *+' conftest.er1 >conftest.err
38314 rm -f conftest.er1
38315 cat conftest.err >&5
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); } && {
38318 test -z "$ac_c_werror_flag" ||
38319 test ! -s conftest.err
38320 } && test -s conftest.$ac_objext; then
38321 wx_cv_func_statfs=yes
38322 else
38323 echo "$as_me: failed program was:" >&5
38324 sed 's/^/| /' conftest.$ac_ext >&5
38325
38326 wx_cv_func_statfs=no
38327
38328 fi
38329
38330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38331
38332 fi
38333 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38334 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38335
38336 if test "$wx_cv_func_statfs" = "yes"; then
38337 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38338 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38339 if test "${wx_cv_func_statfs_decl+set}" = set; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 else
38342 ac_ext=cpp
38343 ac_cpp='$CXXCPP $CPPFLAGS'
38344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38347
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
38355 #if defined(__BSD__)
38356 #include <sys/param.h>
38357 #include <sys/mount.h>
38358 #else
38359 #include <sys/vfs.h>
38360 #endif
38361
38362 int
38363 main ()
38364 {
38365
38366 struct statfs fs;
38367 statfs("", &fs);
38368
38369 ;
38370 return 0;
38371 }
38372 _ACEOF
38373 rm -f conftest.$ac_objext
38374 if { (ac_try="$ac_compile"
38375 case "(($ac_try" in
38376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38377 *) ac_try_echo=$ac_try;;
38378 esac
38379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38380 (eval "$ac_compile") 2>conftest.er1
38381 ac_status=$?
38382 grep -v '^ *+' conftest.er1 >conftest.err
38383 rm -f conftest.er1
38384 cat conftest.err >&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); } && {
38387 test -z "$ac_cxx_werror_flag" ||
38388 test ! -s conftest.err
38389 } && test -s conftest.$ac_objext; then
38390 wx_cv_func_statfs_decl=yes
38391 else
38392 echo "$as_me: failed program was:" >&5
38393 sed 's/^/| /' conftest.$ac_ext >&5
38394
38395 wx_cv_func_statfs_decl=no
38396
38397 fi
38398
38399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38400 ac_ext=c
38401 ac_cpp='$CPP $CPPFLAGS'
38402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38405
38406
38407 fi
38408 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38409 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38410
38411 if test "$wx_cv_func_statfs_decl" = "yes"; then
38412 cat >>confdefs.h <<\_ACEOF
38413 #define HAVE_STATFS_DECL 1
38414 _ACEOF
38415
38416 fi
38417
38418 wx_cv_type_statvfs_t="struct statfs"
38419 cat >>confdefs.h <<\_ACEOF
38420 #define HAVE_STATFS 1
38421 _ACEOF
38422
38423 else
38424 { echo "$as_me:$LINENO: checking for statvfs" >&5
38425 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38426 if test "${wx_cv_func_statvfs+set}" = set; then
38427 echo $ECHO_N "(cached) $ECHO_C" >&6
38428 else
38429 cat >conftest.$ac_ext <<_ACEOF
38430 /* confdefs.h. */
38431 _ACEOF
38432 cat confdefs.h >>conftest.$ac_ext
38433 cat >>conftest.$ac_ext <<_ACEOF
38434 /* end confdefs.h. */
38435
38436 #include <stddef.h>
38437 #include <sys/statvfs.h>
38438
38439 int
38440 main ()
38441 {
38442
38443 statvfs("/", NULL);
38444
38445 ;
38446 return 0;
38447 }
38448 _ACEOF
38449 rm -f conftest.$ac_objext
38450 if { (ac_try="$ac_compile"
38451 case "(($ac_try" in
38452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38453 *) ac_try_echo=$ac_try;;
38454 esac
38455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38456 (eval "$ac_compile") 2>conftest.er1
38457 ac_status=$?
38458 grep -v '^ *+' conftest.er1 >conftest.err
38459 rm -f conftest.er1
38460 cat conftest.err >&5
38461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38462 (exit $ac_status); } && {
38463 test -z "$ac_c_werror_flag" ||
38464 test ! -s conftest.err
38465 } && test -s conftest.$ac_objext; then
38466 wx_cv_func_statvfs=yes
38467 else
38468 echo "$as_me: failed program was:" >&5
38469 sed 's/^/| /' conftest.$ac_ext >&5
38470
38471 wx_cv_func_statvfs=no
38472
38473 fi
38474
38475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38476
38477 fi
38478 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38479 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38480
38481 if test "$wx_cv_func_statvfs" = "yes"; then
38482 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38483 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38484 if test "${wx_cv_type_statvfs_t+set}" = set; then
38485 echo $ECHO_N "(cached) $ECHO_C" >&6
38486 else
38487 ac_ext=cpp
38488 ac_cpp='$CXXCPP $CPPFLAGS'
38489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38492
38493 cat >conftest.$ac_ext <<_ACEOF
38494 /* confdefs.h. */
38495 _ACEOF
38496 cat confdefs.h >>conftest.$ac_ext
38497 cat >>conftest.$ac_ext <<_ACEOF
38498 /* end confdefs.h. */
38499
38500 #include <sys/statvfs.h>
38501
38502 int
38503 main ()
38504 {
38505
38506 long l;
38507 statvfs_t fs;
38508 statvfs("/", &fs);
38509 l = fs.f_bsize;
38510 l += fs.f_blocks;
38511 l += fs.f_bavail;
38512
38513 ;
38514 return 0;
38515 }
38516 _ACEOF
38517 rm -f conftest.$ac_objext
38518 if { (ac_try="$ac_compile"
38519 case "(($ac_try" in
38520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38521 *) ac_try_echo=$ac_try;;
38522 esac
38523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38524 (eval "$ac_compile") 2>conftest.er1
38525 ac_status=$?
38526 grep -v '^ *+' conftest.er1 >conftest.err
38527 rm -f conftest.er1
38528 cat conftest.err >&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); } && {
38531 test -z "$ac_cxx_werror_flag" ||
38532 test ! -s conftest.err
38533 } && test -s conftest.$ac_objext; then
38534 wx_cv_type_statvfs_t=statvfs_t
38535 else
38536 echo "$as_me: failed program was:" >&5
38537 sed 's/^/| /' conftest.$ac_ext >&5
38538
38539
38540 cat >conftest.$ac_ext <<_ACEOF
38541 /* confdefs.h. */
38542 _ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546
38547 #include <sys/statvfs.h>
38548
38549 int
38550 main ()
38551 {
38552
38553 long l;
38554 struct statvfs fs;
38555 statvfs("/", &fs);
38556 l = fs.f_bsize;
38557 l += fs.f_blocks;
38558 l += fs.f_bavail;
38559
38560 ;
38561 return 0;
38562 }
38563 _ACEOF
38564 rm -f conftest.$ac_objext
38565 if { (ac_try="$ac_compile"
38566 case "(($ac_try" in
38567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38568 *) ac_try_echo=$ac_try;;
38569 esac
38570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38571 (eval "$ac_compile") 2>conftest.er1
38572 ac_status=$?
38573 grep -v '^ *+' conftest.er1 >conftest.err
38574 rm -f conftest.er1
38575 cat conftest.err >&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } && {
38578 test -z "$ac_cxx_werror_flag" ||
38579 test ! -s conftest.err
38580 } && test -s conftest.$ac_objext; then
38581 wx_cv_type_statvfs_t="struct statvfs"
38582 else
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38585
38586 wx_cv_type_statvfs_t="unknown"
38587
38588 fi
38589
38590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38591
38592
38593 fi
38594
38595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38596 ac_ext=c
38597 ac_cpp='$CPP $CPPFLAGS'
38598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38601
38602
38603 fi
38604 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38605 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38606
38607 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38608 cat >>confdefs.h <<\_ACEOF
38609 #define HAVE_STATVFS 1
38610 _ACEOF
38611
38612 fi
38613 else
38614 wx_cv_type_statvfs_t="unknown"
38615 fi
38616 fi
38617
38618 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38619 cat >>confdefs.h <<_ACEOF
38620 #define WX_STATFS_T $wx_cv_type_statvfs_t
38621 _ACEOF
38622
38623 else
38624 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38625 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38626 fi
38627
38628 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38629
38630
38631 for ac_func in fcntl flock
38632 do
38633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38637 echo $ECHO_N "(cached) $ECHO_C" >&6
38638 else
38639 cat >conftest.$ac_ext <<_ACEOF
38640 /* confdefs.h. */
38641 _ACEOF
38642 cat confdefs.h >>conftest.$ac_ext
38643 cat >>conftest.$ac_ext <<_ACEOF
38644 /* end confdefs.h. */
38645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38647 #define $ac_func innocuous_$ac_func
38648
38649 /* System header to define __stub macros and hopefully few prototypes,
38650 which can conflict with char $ac_func (); below.
38651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38652 <limits.h> exists even on freestanding compilers. */
38653
38654 #ifdef __STDC__
38655 # include <limits.h>
38656 #else
38657 # include <assert.h>
38658 #endif
38659
38660 #undef $ac_func
38661
38662 /* Override any GCC internal prototype to avoid an error.
38663 Use char because int might match the return type of a GCC
38664 builtin and then its argument prototype would still apply. */
38665 #ifdef __cplusplus
38666 extern "C"
38667 #endif
38668 char $ac_func ();
38669 /* The GNU C library defines this for functions which it implements
38670 to always fail with ENOSYS. Some functions are actually named
38671 something starting with __ and the normal name is an alias. */
38672 #if defined __stub_$ac_func || defined __stub___$ac_func
38673 choke me
38674 #endif
38675
38676 int
38677 main ()
38678 {
38679 return $ac_func ();
38680 ;
38681 return 0;
38682 }
38683 _ACEOF
38684 rm -f conftest.$ac_objext conftest$ac_exeext
38685 if { (ac_try="$ac_link"
38686 case "(($ac_try" in
38687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38688 *) ac_try_echo=$ac_try;;
38689 esac
38690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38691 (eval "$ac_link") 2>conftest.er1
38692 ac_status=$?
38693 grep -v '^ *+' conftest.er1 >conftest.err
38694 rm -f conftest.er1
38695 cat conftest.err >&5
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); } && {
38698 test -z "$ac_c_werror_flag" ||
38699 test ! -s conftest.err
38700 } && test -s conftest$ac_exeext &&
38701 $as_test_x conftest$ac_exeext; then
38702 eval "$as_ac_var=yes"
38703 else
38704 echo "$as_me: failed program was:" >&5
38705 sed 's/^/| /' conftest.$ac_ext >&5
38706
38707 eval "$as_ac_var=no"
38708 fi
38709
38710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38711 conftest$ac_exeext conftest.$ac_ext
38712 fi
38713 ac_res=`eval echo '${'$as_ac_var'}'`
38714 { echo "$as_me:$LINENO: result: $ac_res" >&5
38715 echo "${ECHO_T}$ac_res" >&6; }
38716 if test `eval echo '${'$as_ac_var'}'` = yes; then
38717 cat >>confdefs.h <<_ACEOF
38718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38719 _ACEOF
38720 break
38721 fi
38722 done
38723
38724
38725 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38726 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38727 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38728 wxUSE_SNGLINST_CHECKER=no
38729 fi
38730 fi
38731
38732
38733
38734 for ac_func in setenv putenv
38735 do
38736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38740 echo $ECHO_N "(cached) $ECHO_C" >&6
38741 else
38742 cat >conftest.$ac_ext <<_ACEOF
38743 /* confdefs.h. */
38744 _ACEOF
38745 cat confdefs.h >>conftest.$ac_ext
38746 cat >>conftest.$ac_ext <<_ACEOF
38747 /* end confdefs.h. */
38748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38750 #define $ac_func innocuous_$ac_func
38751
38752 /* System header to define __stub macros and hopefully few prototypes,
38753 which can conflict with char $ac_func (); below.
38754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38755 <limits.h> exists even on freestanding compilers. */
38756
38757 #ifdef __STDC__
38758 # include <limits.h>
38759 #else
38760 # include <assert.h>
38761 #endif
38762
38763 #undef $ac_func
38764
38765 /* Override any GCC internal prototype to avoid an error.
38766 Use char because int might match the return type of a GCC
38767 builtin and then its argument prototype would still apply. */
38768 #ifdef __cplusplus
38769 extern "C"
38770 #endif
38771 char $ac_func ();
38772 /* The GNU C library defines this for functions which it implements
38773 to always fail with ENOSYS. Some functions are actually named
38774 something starting with __ and the normal name is an alias. */
38775 #if defined __stub_$ac_func || defined __stub___$ac_func
38776 choke me
38777 #endif
38778
38779 int
38780 main ()
38781 {
38782 return $ac_func ();
38783 ;
38784 return 0;
38785 }
38786 _ACEOF
38787 rm -f conftest.$ac_objext conftest$ac_exeext
38788 if { (ac_try="$ac_link"
38789 case "(($ac_try" in
38790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38791 *) ac_try_echo=$ac_try;;
38792 esac
38793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38794 (eval "$ac_link") 2>conftest.er1
38795 ac_status=$?
38796 grep -v '^ *+' conftest.er1 >conftest.err
38797 rm -f conftest.er1
38798 cat conftest.err >&5
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); } && {
38801 test -z "$ac_c_werror_flag" ||
38802 test ! -s conftest.err
38803 } && test -s conftest$ac_exeext &&
38804 $as_test_x conftest$ac_exeext; then
38805 eval "$as_ac_var=yes"
38806 else
38807 echo "$as_me: failed program was:" >&5
38808 sed 's/^/| /' conftest.$ac_ext >&5
38809
38810 eval "$as_ac_var=no"
38811 fi
38812
38813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38814 conftest$ac_exeext conftest.$ac_ext
38815 fi
38816 ac_res=`eval echo '${'$as_ac_var'}'`
38817 { echo "$as_me:$LINENO: result: $ac_res" >&5
38818 echo "${ECHO_T}$ac_res" >&6; }
38819 if test `eval echo '${'$as_ac_var'}'` = yes; then
38820 cat >>confdefs.h <<_ACEOF
38821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38822 _ACEOF
38823 break
38824 fi
38825 done
38826
38827 if test "$ac_cv_func_setenv" = "yes"; then
38828
38829 for ac_func in unsetenv
38830 do
38831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38835 echo $ECHO_N "(cached) $ECHO_C" >&6
38836 else
38837 cat >conftest.$ac_ext <<_ACEOF
38838 /* confdefs.h. */
38839 _ACEOF
38840 cat confdefs.h >>conftest.$ac_ext
38841 cat >>conftest.$ac_ext <<_ACEOF
38842 /* end confdefs.h. */
38843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38845 #define $ac_func innocuous_$ac_func
38846
38847 /* System header to define __stub macros and hopefully few prototypes,
38848 which can conflict with char $ac_func (); below.
38849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38850 <limits.h> exists even on freestanding compilers. */
38851
38852 #ifdef __STDC__
38853 # include <limits.h>
38854 #else
38855 # include <assert.h>
38856 #endif
38857
38858 #undef $ac_func
38859
38860 /* Override any GCC internal prototype to avoid an error.
38861 Use char because int might match the return type of a GCC
38862 builtin and then its argument prototype would still apply. */
38863 #ifdef __cplusplus
38864 extern "C"
38865 #endif
38866 char $ac_func ();
38867 /* The GNU C library defines this for functions which it implements
38868 to always fail with ENOSYS. Some functions are actually named
38869 something starting with __ and the normal name is an alias. */
38870 #if defined __stub_$ac_func || defined __stub___$ac_func
38871 choke me
38872 #endif
38873
38874 int
38875 main ()
38876 {
38877 return $ac_func ();
38878 ;
38879 return 0;
38880 }
38881 _ACEOF
38882 rm -f conftest.$ac_objext conftest$ac_exeext
38883 if { (ac_try="$ac_link"
38884 case "(($ac_try" in
38885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38886 *) ac_try_echo=$ac_try;;
38887 esac
38888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38889 (eval "$ac_link") 2>conftest.er1
38890 ac_status=$?
38891 grep -v '^ *+' conftest.er1 >conftest.err
38892 rm -f conftest.er1
38893 cat conftest.err >&5
38894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895 (exit $ac_status); } && {
38896 test -z "$ac_c_werror_flag" ||
38897 test ! -s conftest.err
38898 } && test -s conftest$ac_exeext &&
38899 $as_test_x conftest$ac_exeext; then
38900 eval "$as_ac_var=yes"
38901 else
38902 echo "$as_me: failed program was:" >&5
38903 sed 's/^/| /' conftest.$ac_ext >&5
38904
38905 eval "$as_ac_var=no"
38906 fi
38907
38908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38909 conftest$ac_exeext conftest.$ac_ext
38910 fi
38911 ac_res=`eval echo '${'$as_ac_var'}'`
38912 { echo "$as_me:$LINENO: result: $ac_res" >&5
38913 echo "${ECHO_T}$ac_res" >&6; }
38914 if test `eval echo '${'$as_ac_var'}'` = yes; then
38915 cat >>confdefs.h <<_ACEOF
38916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38917 _ACEOF
38918
38919 fi
38920 done
38921
38922 fi
38923
38924 HAVE_SOME_SLEEP_FUNC=0
38925 if test "$USE_BEOS" = 1; then
38926 cat >>confdefs.h <<\_ACEOF
38927 #define HAVE_SLEEP 1
38928 _ACEOF
38929
38930 HAVE_SOME_SLEEP_FUNC=1
38931 fi
38932
38933 if test "$USE_DARWIN" = 1; then
38934 cat >>confdefs.h <<\_ACEOF
38935 #define HAVE_USLEEP 1
38936 _ACEOF
38937
38938 HAVE_SOME_SLEEP_FUNC=1
38939 fi
38940
38941 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38942 POSIX4_LINK=
38943
38944 for ac_func in nanosleep
38945 do
38946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38950 echo $ECHO_N "(cached) $ECHO_C" >&6
38951 else
38952 cat >conftest.$ac_ext <<_ACEOF
38953 /* confdefs.h. */
38954 _ACEOF
38955 cat confdefs.h >>conftest.$ac_ext
38956 cat >>conftest.$ac_ext <<_ACEOF
38957 /* end confdefs.h. */
38958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38960 #define $ac_func innocuous_$ac_func
38961
38962 /* System header to define __stub macros and hopefully few prototypes,
38963 which can conflict with char $ac_func (); below.
38964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38965 <limits.h> exists even on freestanding compilers. */
38966
38967 #ifdef __STDC__
38968 # include <limits.h>
38969 #else
38970 # include <assert.h>
38971 #endif
38972
38973 #undef $ac_func
38974
38975 /* Override any GCC internal prototype to avoid an error.
38976 Use char because int might match the return type of a GCC
38977 builtin and then its argument prototype would still apply. */
38978 #ifdef __cplusplus
38979 extern "C"
38980 #endif
38981 char $ac_func ();
38982 /* The GNU C library defines this for functions which it implements
38983 to always fail with ENOSYS. Some functions are actually named
38984 something starting with __ and the normal name is an alias. */
38985 #if defined __stub_$ac_func || defined __stub___$ac_func
38986 choke me
38987 #endif
38988
38989 int
38990 main ()
38991 {
38992 return $ac_func ();
38993 ;
38994 return 0;
38995 }
38996 _ACEOF
38997 rm -f conftest.$ac_objext conftest$ac_exeext
38998 if { (ac_try="$ac_link"
38999 case "(($ac_try" in
39000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39001 *) ac_try_echo=$ac_try;;
39002 esac
39003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39004 (eval "$ac_link") 2>conftest.er1
39005 ac_status=$?
39006 grep -v '^ *+' conftest.er1 >conftest.err
39007 rm -f conftest.er1
39008 cat conftest.err >&5
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); } && {
39011 test -z "$ac_c_werror_flag" ||
39012 test ! -s conftest.err
39013 } && test -s conftest$ac_exeext &&
39014 $as_test_x conftest$ac_exeext; then
39015 eval "$as_ac_var=yes"
39016 else
39017 echo "$as_me: failed program was:" >&5
39018 sed 's/^/| /' conftest.$ac_ext >&5
39019
39020 eval "$as_ac_var=no"
39021 fi
39022
39023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39024 conftest$ac_exeext conftest.$ac_ext
39025 fi
39026 ac_res=`eval echo '${'$as_ac_var'}'`
39027 { echo "$as_me:$LINENO: result: $ac_res" >&5
39028 echo "${ECHO_T}$ac_res" >&6; }
39029 if test `eval echo '${'$as_ac_var'}'` = yes; then
39030 cat >>confdefs.h <<_ACEOF
39031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39032 _ACEOF
39033 cat >>confdefs.h <<\_ACEOF
39034 #define HAVE_NANOSLEEP 1
39035 _ACEOF
39036
39037 else
39038
39039 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39040 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39041 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39042 echo $ECHO_N "(cached) $ECHO_C" >&6
39043 else
39044 ac_check_lib_save_LIBS=$LIBS
39045 LIBS="-lposix4 $LIBS"
39046 cat >conftest.$ac_ext <<_ACEOF
39047 /* confdefs.h. */
39048 _ACEOF
39049 cat confdefs.h >>conftest.$ac_ext
39050 cat >>conftest.$ac_ext <<_ACEOF
39051 /* end confdefs.h. */
39052
39053 /* Override any GCC internal prototype to avoid an error.
39054 Use char because int might match the return type of a GCC
39055 builtin and then its argument prototype would still apply. */
39056 #ifdef __cplusplus
39057 extern "C"
39058 #endif
39059 char nanosleep ();
39060 int
39061 main ()
39062 {
39063 return nanosleep ();
39064 ;
39065 return 0;
39066 }
39067 _ACEOF
39068 rm -f conftest.$ac_objext conftest$ac_exeext
39069 if { (ac_try="$ac_link"
39070 case "(($ac_try" in
39071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39072 *) ac_try_echo=$ac_try;;
39073 esac
39074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39075 (eval "$ac_link") 2>conftest.er1
39076 ac_status=$?
39077 grep -v '^ *+' conftest.er1 >conftest.err
39078 rm -f conftest.er1
39079 cat conftest.err >&5
39080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39081 (exit $ac_status); } && {
39082 test -z "$ac_c_werror_flag" ||
39083 test ! -s conftest.err
39084 } && test -s conftest$ac_exeext &&
39085 $as_test_x conftest$ac_exeext; then
39086 ac_cv_lib_posix4_nanosleep=yes
39087 else
39088 echo "$as_me: failed program was:" >&5
39089 sed 's/^/| /' conftest.$ac_ext >&5
39090
39091 ac_cv_lib_posix4_nanosleep=no
39092 fi
39093
39094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39095 conftest$ac_exeext conftest.$ac_ext
39096 LIBS=$ac_check_lib_save_LIBS
39097 fi
39098 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39099 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39100 if test $ac_cv_lib_posix4_nanosleep = yes; then
39101
39102 cat >>confdefs.h <<\_ACEOF
39103 #define HAVE_NANOSLEEP 1
39104 _ACEOF
39105
39106 POSIX4_LINK=" -lposix4"
39107
39108 else
39109
39110
39111 for wx_func in usleep
39112 do
39113 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39114 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39115 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39116 echo $ECHO_N "(cached) $ECHO_C" >&6
39117 else
39118
39119 cat >conftest.$ac_ext <<_ACEOF
39120
39121 /* confdefs.h. */
39122 _ACEOF
39123 cat confdefs.h >>conftest.$ac_ext
39124 cat >>conftest.$ac_ext <<_ACEOF
39125 /* end confdefs.h. */
39126
39127
39128 $ac_includes_default
39129
39130 int
39131 main ()
39132 {
39133
39134 #ifndef $wx_func
39135 &$wx_func;
39136 #endif
39137
39138
39139 ;
39140 return 0;
39141 }
39142
39143 _ACEOF
39144 rm -f conftest.$ac_objext conftest$ac_exeext
39145 if { (ac_try="$ac_link"
39146 case "(($ac_try" in
39147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39148 *) ac_try_echo=$ac_try;;
39149 esac
39150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39151 (eval "$ac_link") 2>conftest.er1
39152 ac_status=$?
39153 grep -v '^ *+' conftest.er1 >conftest.err
39154 rm -f conftest.er1
39155 cat conftest.err >&5
39156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157 (exit $ac_status); } && {
39158 test -z "$ac_c_werror_flag" ||
39159 test ! -s conftest.err
39160 } && test -s conftest$ac_exeext &&
39161 $as_test_x conftest$ac_exeext; then
39162 eval wx_cv_func_$wx_func=yes
39163 else
39164 echo "$as_me: failed program was:" >&5
39165 sed 's/^/| /' conftest.$ac_ext >&5
39166
39167 eval wx_cv_func_$wx_func=no
39168 fi
39169
39170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39171 conftest$ac_exeext conftest.$ac_ext
39172
39173 fi
39174 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39175 { echo "$as_me:$LINENO: result: $ac_res" >&5
39176 echo "${ECHO_T}$ac_res" >&6; }
39177
39178 if eval test \$wx_cv_func_$wx_func = yes
39179 then
39180 cat >>confdefs.h <<_ACEOF
39181 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39182 _ACEOF
39183
39184
39185 else
39186 :
39187 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39188 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39189
39190 fi
39191 done
39192
39193
39194
39195 fi
39196
39197
39198
39199 fi
39200 done
39201
39202 fi
39203
39204
39205 for wx_func in uname
39206 do
39207 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39208 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39209 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39210 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 else
39212
39213 cat >conftest.$ac_ext <<_ACEOF
39214
39215 /* confdefs.h. */
39216 _ACEOF
39217 cat confdefs.h >>conftest.$ac_ext
39218 cat >>conftest.$ac_ext <<_ACEOF
39219 /* end confdefs.h. */
39220
39221 #include <sys/utsname.h>
39222 $ac_includes_default
39223
39224 int
39225 main ()
39226 {
39227
39228 #ifndef $wx_func
39229 &$wx_func;
39230 #endif
39231
39232
39233 ;
39234 return 0;
39235 }
39236
39237 _ACEOF
39238 rm -f conftest.$ac_objext conftest$ac_exeext
39239 if { (ac_try="$ac_link"
39240 case "(($ac_try" in
39241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39242 *) ac_try_echo=$ac_try;;
39243 esac
39244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39245 (eval "$ac_link") 2>conftest.er1
39246 ac_status=$?
39247 grep -v '^ *+' conftest.er1 >conftest.err
39248 rm -f conftest.er1
39249 cat conftest.err >&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); } && {
39252 test -z "$ac_c_werror_flag" ||
39253 test ! -s conftest.err
39254 } && test -s conftest$ac_exeext &&
39255 $as_test_x conftest$ac_exeext; then
39256 eval wx_cv_func_$wx_func=yes
39257 else
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.$ac_ext >&5
39260
39261 eval wx_cv_func_$wx_func=no
39262 fi
39263
39264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39265 conftest$ac_exeext conftest.$ac_ext
39266
39267 fi
39268 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39269 { echo "$as_me:$LINENO: result: $ac_res" >&5
39270 echo "${ECHO_T}$ac_res" >&6; }
39271
39272 if eval test \$wx_cv_func_$wx_func = yes
39273 then
39274 cat >>confdefs.h <<_ACEOF
39275 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39276 _ACEOF
39277
39278
39279 else
39280 :
39281
39282 fi
39283 done
39284
39285 if test "$wx_cv_func_uname" != yes; then
39286
39287 for wx_func in gethostname
39288 do
39289 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39290 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39291 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39292 echo $ECHO_N "(cached) $ECHO_C" >&6
39293 else
39294
39295 cat >conftest.$ac_ext <<_ACEOF
39296
39297 /* confdefs.h. */
39298 _ACEOF
39299 cat confdefs.h >>conftest.$ac_ext
39300 cat >>conftest.$ac_ext <<_ACEOF
39301 /* end confdefs.h. */
39302
39303
39304 $ac_includes_default
39305
39306 int
39307 main ()
39308 {
39309
39310 #ifndef $wx_func
39311 &$wx_func;
39312 #endif
39313
39314
39315 ;
39316 return 0;
39317 }
39318
39319 _ACEOF
39320 rm -f conftest.$ac_objext conftest$ac_exeext
39321 if { (ac_try="$ac_link"
39322 case "(($ac_try" in
39323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39324 *) ac_try_echo=$ac_try;;
39325 esac
39326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39327 (eval "$ac_link") 2>conftest.er1
39328 ac_status=$?
39329 grep -v '^ *+' conftest.er1 >conftest.err
39330 rm -f conftest.er1
39331 cat conftest.err >&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } && {
39334 test -z "$ac_c_werror_flag" ||
39335 test ! -s conftest.err
39336 } && test -s conftest$ac_exeext &&
39337 $as_test_x conftest$ac_exeext; then
39338 eval wx_cv_func_$wx_func=yes
39339 else
39340 echo "$as_me: failed program was:" >&5
39341 sed 's/^/| /' conftest.$ac_ext >&5
39342
39343 eval wx_cv_func_$wx_func=no
39344 fi
39345
39346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39347 conftest$ac_exeext conftest.$ac_ext
39348
39349 fi
39350 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39351 { echo "$as_me:$LINENO: result: $ac_res" >&5
39352 echo "${ECHO_T}$ac_res" >&6; }
39353
39354 if eval test \$wx_cv_func_$wx_func = yes
39355 then
39356 cat >>confdefs.h <<_ACEOF
39357 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39358 _ACEOF
39359
39360
39361 else
39362 :
39363
39364 fi
39365 done
39366
39367 fi
39368
39369
39370 for wx_func in strtok_r
39371 do
39372 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39373 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39374 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39377
39378 cat >conftest.$ac_ext <<_ACEOF
39379
39380 /* confdefs.h. */
39381 _ACEOF
39382 cat confdefs.h >>conftest.$ac_ext
39383 cat >>conftest.$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39385
39386 #define _REENTRANT
39387 $ac_includes_default
39388
39389 int
39390 main ()
39391 {
39392
39393 #ifndef $wx_func
39394 &$wx_func;
39395 #endif
39396
39397
39398 ;
39399 return 0;
39400 }
39401
39402 _ACEOF
39403 rm -f conftest.$ac_objext conftest$ac_exeext
39404 if { (ac_try="$ac_link"
39405 case "(($ac_try" in
39406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39407 *) ac_try_echo=$ac_try;;
39408 esac
39409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39410 (eval "$ac_link") 2>conftest.er1
39411 ac_status=$?
39412 grep -v '^ *+' conftest.er1 >conftest.err
39413 rm -f conftest.er1
39414 cat conftest.err >&5
39415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39416 (exit $ac_status); } && {
39417 test -z "$ac_c_werror_flag" ||
39418 test ! -s conftest.err
39419 } && test -s conftest$ac_exeext &&
39420 $as_test_x conftest$ac_exeext; then
39421 eval wx_cv_func_$wx_func=yes
39422 else
39423 echo "$as_me: failed program was:" >&5
39424 sed 's/^/| /' conftest.$ac_ext >&5
39425
39426 eval wx_cv_func_$wx_func=no
39427 fi
39428
39429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39430 conftest$ac_exeext conftest.$ac_ext
39431
39432 fi
39433 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39434 { echo "$as_me:$LINENO: result: $ac_res" >&5
39435 echo "${ECHO_T}$ac_res" >&6; }
39436
39437 if eval test \$wx_cv_func_$wx_func = yes
39438 then
39439 cat >>confdefs.h <<_ACEOF
39440 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39441 _ACEOF
39442
39443
39444 else
39445 :
39446
39447 fi
39448 done
39449
39450
39451 INET_LINK=
39452
39453 for ac_func in inet_addr
39454 do
39455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39458 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39459 echo $ECHO_N "(cached) $ECHO_C" >&6
39460 else
39461 cat >conftest.$ac_ext <<_ACEOF
39462 /* confdefs.h. */
39463 _ACEOF
39464 cat confdefs.h >>conftest.$ac_ext
39465 cat >>conftest.$ac_ext <<_ACEOF
39466 /* end confdefs.h. */
39467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39469 #define $ac_func innocuous_$ac_func
39470
39471 /* System header to define __stub macros and hopefully few prototypes,
39472 which can conflict with char $ac_func (); below.
39473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39474 <limits.h> exists even on freestanding compilers. */
39475
39476 #ifdef __STDC__
39477 # include <limits.h>
39478 #else
39479 # include <assert.h>
39480 #endif
39481
39482 #undef $ac_func
39483
39484 /* Override any GCC internal prototype to avoid an error.
39485 Use char because int might match the return type of a GCC
39486 builtin and then its argument prototype would still apply. */
39487 #ifdef __cplusplus
39488 extern "C"
39489 #endif
39490 char $ac_func ();
39491 /* The GNU C library defines this for functions which it implements
39492 to always fail with ENOSYS. Some functions are actually named
39493 something starting with __ and the normal name is an alias. */
39494 #if defined __stub_$ac_func || defined __stub___$ac_func
39495 choke me
39496 #endif
39497
39498 int
39499 main ()
39500 {
39501 return $ac_func ();
39502 ;
39503 return 0;
39504 }
39505 _ACEOF
39506 rm -f conftest.$ac_objext conftest$ac_exeext
39507 if { (ac_try="$ac_link"
39508 case "(($ac_try" in
39509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39510 *) ac_try_echo=$ac_try;;
39511 esac
39512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39513 (eval "$ac_link") 2>conftest.er1
39514 ac_status=$?
39515 grep -v '^ *+' conftest.er1 >conftest.err
39516 rm -f conftest.er1
39517 cat conftest.err >&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); } && {
39520 test -z "$ac_c_werror_flag" ||
39521 test ! -s conftest.err
39522 } && test -s conftest$ac_exeext &&
39523 $as_test_x conftest$ac_exeext; then
39524 eval "$as_ac_var=yes"
39525 else
39526 echo "$as_me: failed program was:" >&5
39527 sed 's/^/| /' conftest.$ac_ext >&5
39528
39529 eval "$as_ac_var=no"
39530 fi
39531
39532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39533 conftest$ac_exeext conftest.$ac_ext
39534 fi
39535 ac_res=`eval echo '${'$as_ac_var'}'`
39536 { echo "$as_me:$LINENO: result: $ac_res" >&5
39537 echo "${ECHO_T}$ac_res" >&6; }
39538 if test `eval echo '${'$as_ac_var'}'` = yes; then
39539 cat >>confdefs.h <<_ACEOF
39540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39541 _ACEOF
39542 cat >>confdefs.h <<\_ACEOF
39543 #define HAVE_INET_ADDR 1
39544 _ACEOF
39545
39546 else
39547
39548 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39549 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39550 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39552 else
39553 ac_check_lib_save_LIBS=$LIBS
39554 LIBS="-lnsl $LIBS"
39555 cat >conftest.$ac_ext <<_ACEOF
39556 /* confdefs.h. */
39557 _ACEOF
39558 cat confdefs.h >>conftest.$ac_ext
39559 cat >>conftest.$ac_ext <<_ACEOF
39560 /* end confdefs.h. */
39561
39562 /* Override any GCC internal prototype to avoid an error.
39563 Use char because int might match the return type of a GCC
39564 builtin and then its argument prototype would still apply. */
39565 #ifdef __cplusplus
39566 extern "C"
39567 #endif
39568 char inet_addr ();
39569 int
39570 main ()
39571 {
39572 return inet_addr ();
39573 ;
39574 return 0;
39575 }
39576 _ACEOF
39577 rm -f conftest.$ac_objext conftest$ac_exeext
39578 if { (ac_try="$ac_link"
39579 case "(($ac_try" in
39580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39581 *) ac_try_echo=$ac_try;;
39582 esac
39583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39584 (eval "$ac_link") 2>conftest.er1
39585 ac_status=$?
39586 grep -v '^ *+' conftest.er1 >conftest.err
39587 rm -f conftest.er1
39588 cat conftest.err >&5
39589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590 (exit $ac_status); } && {
39591 test -z "$ac_c_werror_flag" ||
39592 test ! -s conftest.err
39593 } && test -s conftest$ac_exeext &&
39594 $as_test_x conftest$ac_exeext; then
39595 ac_cv_lib_nsl_inet_addr=yes
39596 else
39597 echo "$as_me: failed program was:" >&5
39598 sed 's/^/| /' conftest.$ac_ext >&5
39599
39600 ac_cv_lib_nsl_inet_addr=no
39601 fi
39602
39603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39604 conftest$ac_exeext conftest.$ac_ext
39605 LIBS=$ac_check_lib_save_LIBS
39606 fi
39607 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39608 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39609 if test $ac_cv_lib_nsl_inet_addr = yes; then
39610 INET_LINK="nsl"
39611 else
39612
39613 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39614 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39615 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39616 echo $ECHO_N "(cached) $ECHO_C" >&6
39617 else
39618 ac_check_lib_save_LIBS=$LIBS
39619 LIBS="-lresolv $LIBS"
39620 cat >conftest.$ac_ext <<_ACEOF
39621 /* confdefs.h. */
39622 _ACEOF
39623 cat confdefs.h >>conftest.$ac_ext
39624 cat >>conftest.$ac_ext <<_ACEOF
39625 /* end confdefs.h. */
39626
39627 /* Override any GCC internal prototype to avoid an error.
39628 Use char because int might match the return type of a GCC
39629 builtin and then its argument prototype would still apply. */
39630 #ifdef __cplusplus
39631 extern "C"
39632 #endif
39633 char inet_addr ();
39634 int
39635 main ()
39636 {
39637 return inet_addr ();
39638 ;
39639 return 0;
39640 }
39641 _ACEOF
39642 rm -f conftest.$ac_objext conftest$ac_exeext
39643 if { (ac_try="$ac_link"
39644 case "(($ac_try" in
39645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39646 *) ac_try_echo=$ac_try;;
39647 esac
39648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39649 (eval "$ac_link") 2>conftest.er1
39650 ac_status=$?
39651 grep -v '^ *+' conftest.er1 >conftest.err
39652 rm -f conftest.er1
39653 cat conftest.err >&5
39654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39655 (exit $ac_status); } && {
39656 test -z "$ac_c_werror_flag" ||
39657 test ! -s conftest.err
39658 } && test -s conftest$ac_exeext &&
39659 $as_test_x conftest$ac_exeext; then
39660 ac_cv_lib_resolv_inet_addr=yes
39661 else
39662 echo "$as_me: failed program was:" >&5
39663 sed 's/^/| /' conftest.$ac_ext >&5
39664
39665 ac_cv_lib_resolv_inet_addr=no
39666 fi
39667
39668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39669 conftest$ac_exeext conftest.$ac_ext
39670 LIBS=$ac_check_lib_save_LIBS
39671 fi
39672 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39673 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39674 if test $ac_cv_lib_resolv_inet_addr = yes; then
39675 INET_LINK="resolv"
39676 else
39677
39678 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39679 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39680 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39682 else
39683 ac_check_lib_save_LIBS=$LIBS
39684 LIBS="-lsocket $LIBS"
39685 cat >conftest.$ac_ext <<_ACEOF
39686 /* confdefs.h. */
39687 _ACEOF
39688 cat confdefs.h >>conftest.$ac_ext
39689 cat >>conftest.$ac_ext <<_ACEOF
39690 /* end confdefs.h. */
39691
39692 /* Override any GCC internal prototype to avoid an error.
39693 Use char because int might match the return type of a GCC
39694 builtin and then its argument prototype would still apply. */
39695 #ifdef __cplusplus
39696 extern "C"
39697 #endif
39698 char inet_addr ();
39699 int
39700 main ()
39701 {
39702 return inet_addr ();
39703 ;
39704 return 0;
39705 }
39706 _ACEOF
39707 rm -f conftest.$ac_objext conftest$ac_exeext
39708 if { (ac_try="$ac_link"
39709 case "(($ac_try" in
39710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39711 *) ac_try_echo=$ac_try;;
39712 esac
39713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39714 (eval "$ac_link") 2>conftest.er1
39715 ac_status=$?
39716 grep -v '^ *+' conftest.er1 >conftest.err
39717 rm -f conftest.er1
39718 cat conftest.err >&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); } && {
39721 test -z "$ac_c_werror_flag" ||
39722 test ! -s conftest.err
39723 } && test -s conftest$ac_exeext &&
39724 $as_test_x conftest$ac_exeext; then
39725 ac_cv_lib_socket_inet_addr=yes
39726 else
39727 echo "$as_me: failed program was:" >&5
39728 sed 's/^/| /' conftest.$ac_ext >&5
39729
39730 ac_cv_lib_socket_inet_addr=no
39731 fi
39732
39733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39734 conftest$ac_exeext conftest.$ac_ext
39735 LIBS=$ac_check_lib_save_LIBS
39736 fi
39737 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39738 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39739 if test $ac_cv_lib_socket_inet_addr = yes; then
39740 INET_LINK="socket"
39741
39742 fi
39743
39744
39745
39746 fi
39747
39748
39749
39750 fi
39751
39752
39753
39754 fi
39755 done
39756
39757
39758
39759 for ac_func in inet_aton
39760 do
39761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39762 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39764 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39765 echo $ECHO_N "(cached) $ECHO_C" >&6
39766 else
39767 cat >conftest.$ac_ext <<_ACEOF
39768 /* confdefs.h. */
39769 _ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39775 #define $ac_func innocuous_$ac_func
39776
39777 /* System header to define __stub macros and hopefully few prototypes,
39778 which can conflict with char $ac_func (); below.
39779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39780 <limits.h> exists even on freestanding compilers. */
39781
39782 #ifdef __STDC__
39783 # include <limits.h>
39784 #else
39785 # include <assert.h>
39786 #endif
39787
39788 #undef $ac_func
39789
39790 /* Override any GCC internal prototype to avoid an error.
39791 Use char because int might match the return type of a GCC
39792 builtin and then its argument prototype would still apply. */
39793 #ifdef __cplusplus
39794 extern "C"
39795 #endif
39796 char $ac_func ();
39797 /* The GNU C library defines this for functions which it implements
39798 to always fail with ENOSYS. Some functions are actually named
39799 something starting with __ and the normal name is an alias. */
39800 #if defined __stub_$ac_func || defined __stub___$ac_func
39801 choke me
39802 #endif
39803
39804 int
39805 main ()
39806 {
39807 return $ac_func ();
39808 ;
39809 return 0;
39810 }
39811 _ACEOF
39812 rm -f conftest.$ac_objext conftest$ac_exeext
39813 if { (ac_try="$ac_link"
39814 case "(($ac_try" in
39815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39816 *) ac_try_echo=$ac_try;;
39817 esac
39818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39819 (eval "$ac_link") 2>conftest.er1
39820 ac_status=$?
39821 grep -v '^ *+' conftest.er1 >conftest.err
39822 rm -f conftest.er1
39823 cat conftest.err >&5
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); } && {
39826 test -z "$ac_c_werror_flag" ||
39827 test ! -s conftest.err
39828 } && test -s conftest$ac_exeext &&
39829 $as_test_x conftest$ac_exeext; then
39830 eval "$as_ac_var=yes"
39831 else
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.$ac_ext >&5
39834
39835 eval "$as_ac_var=no"
39836 fi
39837
39838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39839 conftest$ac_exeext conftest.$ac_ext
39840 fi
39841 ac_res=`eval echo '${'$as_ac_var'}'`
39842 { echo "$as_me:$LINENO: result: $ac_res" >&5
39843 echo "${ECHO_T}$ac_res" >&6; }
39844 if test `eval echo '${'$as_ac_var'}'` = yes; then
39845 cat >>confdefs.h <<_ACEOF
39846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39847 _ACEOF
39848 cat >>confdefs.h <<\_ACEOF
39849 #define HAVE_INET_ATON 1
39850 _ACEOF
39851
39852 else
39853
39854 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39855 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39856 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39857 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39858 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 else
39860 ac_check_lib_save_LIBS=$LIBS
39861 LIBS="-l$INET_LINK $LIBS"
39862 cat >conftest.$ac_ext <<_ACEOF
39863 /* confdefs.h. */
39864 _ACEOF
39865 cat confdefs.h >>conftest.$ac_ext
39866 cat >>conftest.$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39868
39869 /* Override any GCC internal prototype to avoid an error.
39870 Use char because int might match the return type of a GCC
39871 builtin and then its argument prototype would still apply. */
39872 #ifdef __cplusplus
39873 extern "C"
39874 #endif
39875 char inet_aton ();
39876 int
39877 main ()
39878 {
39879 return inet_aton ();
39880 ;
39881 return 0;
39882 }
39883 _ACEOF
39884 rm -f conftest.$ac_objext conftest$ac_exeext
39885 if { (ac_try="$ac_link"
39886 case "(($ac_try" in
39887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39888 *) ac_try_echo=$ac_try;;
39889 esac
39890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39891 (eval "$ac_link") 2>conftest.er1
39892 ac_status=$?
39893 grep -v '^ *+' conftest.er1 >conftest.err
39894 rm -f conftest.er1
39895 cat conftest.err >&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } && {
39898 test -z "$ac_c_werror_flag" ||
39899 test ! -s conftest.err
39900 } && test -s conftest$ac_exeext &&
39901 $as_test_x conftest$ac_exeext; then
39902 eval "$as_ac_Lib=yes"
39903 else
39904 echo "$as_me: failed program was:" >&5
39905 sed 's/^/| /' conftest.$ac_ext >&5
39906
39907 eval "$as_ac_Lib=no"
39908 fi
39909
39910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39911 conftest$ac_exeext conftest.$ac_ext
39912 LIBS=$ac_check_lib_save_LIBS
39913 fi
39914 ac_res=`eval echo '${'$as_ac_Lib'}'`
39915 { echo "$as_me:$LINENO: result: $ac_res" >&5
39916 echo "${ECHO_T}$ac_res" >&6; }
39917 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39918 cat >>confdefs.h <<\_ACEOF
39919 #define HAVE_INET_ATON 1
39920 _ACEOF
39921
39922 fi
39923
39924
39925 fi
39926 done
39927
39928
39929 if test "x$INET_LINK" != "x"; then
39930 cat >>confdefs.h <<\_ACEOF
39931 #define HAVE_INET_ADDR 1
39932 _ACEOF
39933
39934 INET_LINK=" -l$INET_LINK"
39935 fi
39936
39937
39938 for wx_func in fdopen
39939 do
39940 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39941 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39942 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39943 echo $ECHO_N "(cached) $ECHO_C" >&6
39944 else
39945
39946 cat >conftest.$ac_ext <<_ACEOF
39947
39948 /* confdefs.h. */
39949 _ACEOF
39950 cat confdefs.h >>conftest.$ac_ext
39951 cat >>conftest.$ac_ext <<_ACEOF
39952 /* end confdefs.h. */
39953
39954
39955 $ac_includes_default
39956
39957 int
39958 main ()
39959 {
39960
39961 #ifndef $wx_func
39962 &$wx_func;
39963 #endif
39964
39965
39966 ;
39967 return 0;
39968 }
39969
39970 _ACEOF
39971 rm -f conftest.$ac_objext conftest$ac_exeext
39972 if { (ac_try="$ac_link"
39973 case "(($ac_try" in
39974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39975 *) ac_try_echo=$ac_try;;
39976 esac
39977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39978 (eval "$ac_link") 2>conftest.er1
39979 ac_status=$?
39980 grep -v '^ *+' conftest.er1 >conftest.err
39981 rm -f conftest.er1
39982 cat conftest.err >&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } && {
39985 test -z "$ac_c_werror_flag" ||
39986 test ! -s conftest.err
39987 } && test -s conftest$ac_exeext &&
39988 $as_test_x conftest$ac_exeext; then
39989 eval wx_cv_func_$wx_func=yes
39990 else
39991 echo "$as_me: failed program was:" >&5
39992 sed 's/^/| /' conftest.$ac_ext >&5
39993
39994 eval wx_cv_func_$wx_func=no
39995 fi
39996
39997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39998 conftest$ac_exeext conftest.$ac_ext
39999
40000 fi
40001 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40002 { echo "$as_me:$LINENO: result: $ac_res" >&5
40003 echo "${ECHO_T}$ac_res" >&6; }
40004
40005 if eval test \$wx_cv_func_$wx_func = yes
40006 then
40007 cat >>confdefs.h <<_ACEOF
40008 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40009 _ACEOF
40010
40011
40012 else
40013 :
40014
40015 fi
40016 done
40017
40018
40019 if test "$wxUSE_TARSTREAM" = "yes"; then
40020
40021 for wx_func in sysconf
40022 do
40023 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40024 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40025 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 else
40028
40029 cat >conftest.$ac_ext <<_ACEOF
40030
40031 /* confdefs.h. */
40032 _ACEOF
40033 cat confdefs.h >>conftest.$ac_ext
40034 cat >>conftest.$ac_ext <<_ACEOF
40035 /* end confdefs.h. */
40036
40037
40038 $ac_includes_default
40039
40040 int
40041 main ()
40042 {
40043
40044 #ifndef $wx_func
40045 &$wx_func;
40046 #endif
40047
40048
40049 ;
40050 return 0;
40051 }
40052
40053 _ACEOF
40054 rm -f conftest.$ac_objext conftest$ac_exeext
40055 if { (ac_try="$ac_link"
40056 case "(($ac_try" in
40057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40058 *) ac_try_echo=$ac_try;;
40059 esac
40060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40061 (eval "$ac_link") 2>conftest.er1
40062 ac_status=$?
40063 grep -v '^ *+' conftest.er1 >conftest.err
40064 rm -f conftest.er1
40065 cat conftest.err >&5
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); } && {
40068 test -z "$ac_c_werror_flag" ||
40069 test ! -s conftest.err
40070 } && test -s conftest$ac_exeext &&
40071 $as_test_x conftest$ac_exeext; then
40072 eval wx_cv_func_$wx_func=yes
40073 else
40074 echo "$as_me: failed program was:" >&5
40075 sed 's/^/| /' conftest.$ac_ext >&5
40076
40077 eval wx_cv_func_$wx_func=no
40078 fi
40079
40080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40081 conftest$ac_exeext conftest.$ac_ext
40082
40083 fi
40084 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40085 { echo "$as_me:$LINENO: result: $ac_res" >&5
40086 echo "${ECHO_T}$ac_res" >&6; }
40087
40088 if eval test \$wx_cv_func_$wx_func = yes
40089 then
40090 cat >>confdefs.h <<_ACEOF
40091 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40092 _ACEOF
40093
40094
40095 else
40096 :
40097
40098 fi
40099 done
40100
40101
40102
40103 for wx_func in getpwuid_r
40104 do
40105 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40106 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40107 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40108 echo $ECHO_N "(cached) $ECHO_C" >&6
40109 else
40110
40111 cat >conftest.$ac_ext <<_ACEOF
40112
40113 /* confdefs.h. */
40114 _ACEOF
40115 cat confdefs.h >>conftest.$ac_ext
40116 cat >>conftest.$ac_ext <<_ACEOF
40117 /* end confdefs.h. */
40118
40119
40120 #define _REENTRANT
40121 #include <pwd.h>
40122
40123 $ac_includes_default
40124
40125 int
40126 main ()
40127 {
40128
40129 #ifndef $wx_func
40130 &$wx_func;
40131 #endif
40132
40133 struct passwd pw, *ppw;
40134 char buf[1024];
40135 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40136
40137
40138 ;
40139 return 0;
40140 }
40141
40142 _ACEOF
40143 rm -f conftest.$ac_objext conftest$ac_exeext
40144 if { (ac_try="$ac_link"
40145 case "(($ac_try" in
40146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40147 *) ac_try_echo=$ac_try;;
40148 esac
40149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40150 (eval "$ac_link") 2>conftest.er1
40151 ac_status=$?
40152 grep -v '^ *+' conftest.er1 >conftest.err
40153 rm -f conftest.er1
40154 cat conftest.err >&5
40155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40156 (exit $ac_status); } && {
40157 test -z "$ac_c_werror_flag" ||
40158 test ! -s conftest.err
40159 } && test -s conftest$ac_exeext &&
40160 $as_test_x conftest$ac_exeext; then
40161 eval wx_cv_func_$wx_func=yes
40162 else
40163 echo "$as_me: failed program was:" >&5
40164 sed 's/^/| /' conftest.$ac_ext >&5
40165
40166 eval wx_cv_func_$wx_func=no
40167 fi
40168
40169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40170 conftest$ac_exeext conftest.$ac_ext
40171
40172 fi
40173 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40174 { echo "$as_me:$LINENO: result: $ac_res" >&5
40175 echo "${ECHO_T}$ac_res" >&6; }
40176
40177 if eval test \$wx_cv_func_$wx_func = yes
40178 then
40179 cat >>confdefs.h <<_ACEOF
40180 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40181 _ACEOF
40182
40183
40184 else
40185 :
40186
40187 fi
40188 done
40189
40190
40191
40192 for wx_func in getgrgid_r
40193 do
40194 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40195 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40196 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40197 echo $ECHO_N "(cached) $ECHO_C" >&6
40198 else
40199
40200 cat >conftest.$ac_ext <<_ACEOF
40201
40202 /* confdefs.h. */
40203 _ACEOF
40204 cat confdefs.h >>conftest.$ac_ext
40205 cat >>conftest.$ac_ext <<_ACEOF
40206 /* end confdefs.h. */
40207
40208
40209 #define _REENTRANT
40210 #include <grp.h>
40211
40212 $ac_includes_default
40213
40214 int
40215 main ()
40216 {
40217
40218 #ifndef $wx_func
40219 &$wx_func;
40220 #endif
40221
40222 struct group grp, *pgrp;
40223 char buf[1024];
40224 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40225
40226
40227 ;
40228 return 0;
40229 }
40230
40231 _ACEOF
40232 rm -f conftest.$ac_objext conftest$ac_exeext
40233 if { (ac_try="$ac_link"
40234 case "(($ac_try" in
40235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40236 *) ac_try_echo=$ac_try;;
40237 esac
40238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40239 (eval "$ac_link") 2>conftest.er1
40240 ac_status=$?
40241 grep -v '^ *+' conftest.er1 >conftest.err
40242 rm -f conftest.er1
40243 cat conftest.err >&5
40244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40245 (exit $ac_status); } && {
40246 test -z "$ac_c_werror_flag" ||
40247 test ! -s conftest.err
40248 } && test -s conftest$ac_exeext &&
40249 $as_test_x conftest$ac_exeext; then
40250 eval wx_cv_func_$wx_func=yes
40251 else
40252 echo "$as_me: failed program was:" >&5
40253 sed 's/^/| /' conftest.$ac_ext >&5
40254
40255 eval wx_cv_func_$wx_func=no
40256 fi
40257
40258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40259 conftest$ac_exeext conftest.$ac_ext
40260
40261 fi
40262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40263 { echo "$as_me:$LINENO: result: $ac_res" >&5
40264 echo "${ECHO_T}$ac_res" >&6; }
40265
40266 if eval test \$wx_cv_func_$wx_func = yes
40267 then
40268 cat >>confdefs.h <<_ACEOF
40269 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40270 _ACEOF
40271
40272
40273 else
40274 :
40275
40276 fi
40277 done
40278
40279 fi
40280
40281 fi
40282
40283
40284
40285 cat >confcache <<\_ACEOF
40286 # This file is a shell script that caches the results of configure
40287 # tests run on this system so they can be shared between configure
40288 # scripts and configure runs, see configure's option --config-cache.
40289 # It is not useful on other systems. If it contains results you don't
40290 # want to keep, you may remove or edit it.
40291 #
40292 # config.status only pays attention to the cache file if you give it
40293 # the --recheck option to rerun configure.
40294 #
40295 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40296 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40297 # following values.
40298
40299 _ACEOF
40300
40301 # The following way of writing the cache mishandles newlines in values,
40302 # but we know of no workaround that is simple, portable, and efficient.
40303 # So, we kill variables containing newlines.
40304 # Ultrix sh set writes to stderr and can't be redirected directly,
40305 # and sets the high bit in the cache file unless we assign to the vars.
40306 (
40307 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40308 eval ac_val=\$$ac_var
40309 case $ac_val in #(
40310 *${as_nl}*)
40311 case $ac_var in #(
40312 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40313 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40314 esac
40315 case $ac_var in #(
40316 _ | IFS | as_nl) ;; #(
40317 *) $as_unset $ac_var ;;
40318 esac ;;
40319 esac
40320 done
40321
40322 (set) 2>&1 |
40323 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40324 *${as_nl}ac_space=\ *)
40325 # `set' does not quote correctly, so add quotes (double-quote
40326 # substitution turns \\\\ into \\, and sed turns \\ into \).
40327 sed -n \
40328 "s/'/'\\\\''/g;
40329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40330 ;; #(
40331 *)
40332 # `set' quotes correctly as required by POSIX, so do not add quotes.
40333 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40334 ;;
40335 esac |
40336 sort
40337 ) |
40338 sed '
40339 /^ac_cv_env_/b end
40340 t clear
40341 :clear
40342 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40343 t end
40344 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40345 :end' >>confcache
40346 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40347 if test -w "$cache_file"; then
40348 test "x$cache_file" != "x/dev/null" &&
40349 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40350 echo "$as_me: updating cache $cache_file" >&6;}
40351 cat confcache >$cache_file
40352 else
40353 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40354 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40355 fi
40356 fi
40357 rm -f confcache
40358
40359
40360 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40361
40362
40363 THREADS_LINK=
40364 THREADS_CFLAGS=
40365
40366 if test "$wxUSE_THREADS" = "yes" ; then
40367 if test "$USE_BEOS" = 1; then
40368 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40369 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40370 wxUSE_THREADS="no"
40371 fi
40372 fi
40373
40374 if test "$wxUSE_THREADS" = "yes" ; then
40375
40376
40377 THREAD_OPTS="-pthread"
40378 if test "x$SUNCXX" = xyes; then
40379 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40380 fi
40381
40382 case "${host}" in
40383 *-*-solaris2* | *-*-sunos4* )
40384 if test "x$GCC" = "xyes"; then
40385 THREAD_OPTS="-pthreads $THREAD_OPTS"
40386 fi
40387 ;;
40388 *-*-freebsd*)
40389 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40390 ;;
40391 *-*-darwin* | *-*-cygwin* )
40392 THREAD_OPTS=""
40393 ;;
40394 *-*-aix*)
40395 THREAD_OPTS="pthreads"
40396 ;;
40397 *-hp-hpux* )
40398 if test "x$GCC" = "xyes"; then
40399 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40400 THREAD_OPTS=""
40401 else
40402 THREAD_OPTS="-mt"
40403 fi
40404 ;;
40405
40406 *-*-irix* )
40407 if test "x$GCC" = "xyes"; then
40408 THREAD_OPTS=""
40409 fi
40410 ;;
40411
40412 *-*-qnx*)
40413 THREAD_OPTS=""
40414 ;;
40415
40416 *-*-*UnixWare*)
40417 if test "x$GCC" != "xyes"; then
40418 THREAD_OPTS="-Ethread"
40419 fi
40420 ;;
40421 esac
40422
40423 case "${host}" in
40424 *-*-qnx*)
40425 THREAD_OPTS="none pthread"
40426 ;;
40427
40428 *)
40429 THREAD_OPTS="$THREAD_OPTS pthread none"
40430 ;;
40431 esac
40432
40433 THREADS_OK=no
40434 for flag in $THREAD_OPTS; do
40435 case $flag in
40436 none)
40437 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40438 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40439 ;;
40440
40441 -*)
40442 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40443 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40444 THREADS_CFLAGS="$flag"
40445 ;;
40446
40447 *)
40448 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40449 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40450 THREADS_LINK="-l$flag"
40451 ;;
40452 esac
40453
40454 save_LIBS="$LIBS"
40455 save_CFLAGS="$CFLAGS"
40456 LIBS="$THREADS_LINK $LIBS"
40457 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40458
40459 cat >conftest.$ac_ext <<_ACEOF
40460 /* confdefs.h. */
40461 _ACEOF
40462 cat confdefs.h >>conftest.$ac_ext
40463 cat >>conftest.$ac_ext <<_ACEOF
40464 /* end confdefs.h. */
40465 #include <pthread.h>
40466 int
40467 main ()
40468 {
40469 pthread_create(0,0,0,0);
40470 ;
40471 return 0;
40472 }
40473 _ACEOF
40474 rm -f conftest.$ac_objext conftest$ac_exeext
40475 if { (ac_try="$ac_link"
40476 case "(($ac_try" in
40477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40478 *) ac_try_echo=$ac_try;;
40479 esac
40480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40481 (eval "$ac_link") 2>conftest.er1
40482 ac_status=$?
40483 grep -v '^ *+' conftest.er1 >conftest.err
40484 rm -f conftest.er1
40485 cat conftest.err >&5
40486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40487 (exit $ac_status); } && {
40488 test -z "$ac_c_werror_flag" ||
40489 test ! -s conftest.err
40490 } && test -s conftest$ac_exeext &&
40491 $as_test_x conftest$ac_exeext; then
40492 THREADS_OK=yes
40493 else
40494 echo "$as_me: failed program was:" >&5
40495 sed 's/^/| /' conftest.$ac_ext >&5
40496
40497
40498 fi
40499
40500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40501 conftest$ac_exeext conftest.$ac_ext
40502
40503 LIBS="$save_LIBS"
40504 CFLAGS="$save_CFLAGS"
40505
40506 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40507 echo "${ECHO_T}$THREADS_OK" >&6; }
40508 if test "x$THREADS_OK" = "xyes"; then
40509 break;
40510 fi
40511
40512 THREADS_LINK=""
40513 THREADS_CFLAGS=""
40514 done
40515
40516 if test "x$THREADS_OK" != "xyes"; then
40517 wxUSE_THREADS=no
40518 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40519 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40520 else
40521 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40522 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40523 LIBS="$THREADS_LINK $LIBS"
40524
40525 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40526 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40527 flag=no
40528 case "${host}" in
40529 *-aix*)
40530 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40531 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40532 flag="-D_THREAD_SAFE"
40533 ;;
40534 *-freebsd*)
40535 flag="-D_THREAD_SAFE"
40536 ;;
40537 *-hp-hpux* )
40538 flag="-D_REENTRANT"
40539 if test "x$GCC" != "xyes"; then
40540 flag="$flag -D_RWSTD_MULTI_THREAD"
40541 fi
40542 ;;
40543 *solaris* | alpha*-osf*)
40544 flag="-D_REENTRANT"
40545 ;;
40546 esac
40547 { echo "$as_me:$LINENO: result: ${flag}" >&5
40548 echo "${ECHO_T}${flag}" >&6; }
40549 if test "x$flag" != xno; then
40550 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40551 fi
40552
40553 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40554 fi
40555 fi
40556
40557 if test "$wxUSE_THREADS" = "yes" ; then
40558
40559 for ac_func in thr_setconcurrency
40560 do
40561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40564 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40565 echo $ECHO_N "(cached) $ECHO_C" >&6
40566 else
40567 cat >conftest.$ac_ext <<_ACEOF
40568 /* confdefs.h. */
40569 _ACEOF
40570 cat confdefs.h >>conftest.$ac_ext
40571 cat >>conftest.$ac_ext <<_ACEOF
40572 /* end confdefs.h. */
40573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40575 #define $ac_func innocuous_$ac_func
40576
40577 /* System header to define __stub macros and hopefully few prototypes,
40578 which can conflict with char $ac_func (); below.
40579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40580 <limits.h> exists even on freestanding compilers. */
40581
40582 #ifdef __STDC__
40583 # include <limits.h>
40584 #else
40585 # include <assert.h>
40586 #endif
40587
40588 #undef $ac_func
40589
40590 /* Override any GCC internal prototype to avoid an error.
40591 Use char because int might match the return type of a GCC
40592 builtin and then its argument prototype would still apply. */
40593 #ifdef __cplusplus
40594 extern "C"
40595 #endif
40596 char $ac_func ();
40597 /* The GNU C library defines this for functions which it implements
40598 to always fail with ENOSYS. Some functions are actually named
40599 something starting with __ and the normal name is an alias. */
40600 #if defined __stub_$ac_func || defined __stub___$ac_func
40601 choke me
40602 #endif
40603
40604 int
40605 main ()
40606 {
40607 return $ac_func ();
40608 ;
40609 return 0;
40610 }
40611 _ACEOF
40612 rm -f conftest.$ac_objext conftest$ac_exeext
40613 if { (ac_try="$ac_link"
40614 case "(($ac_try" in
40615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40616 *) ac_try_echo=$ac_try;;
40617 esac
40618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40619 (eval "$ac_link") 2>conftest.er1
40620 ac_status=$?
40621 grep -v '^ *+' conftest.er1 >conftest.err
40622 rm -f conftest.er1
40623 cat conftest.err >&5
40624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40625 (exit $ac_status); } && {
40626 test -z "$ac_c_werror_flag" ||
40627 test ! -s conftest.err
40628 } && test -s conftest$ac_exeext &&
40629 $as_test_x conftest$ac_exeext; then
40630 eval "$as_ac_var=yes"
40631 else
40632 echo "$as_me: failed program was:" >&5
40633 sed 's/^/| /' conftest.$ac_ext >&5
40634
40635 eval "$as_ac_var=no"
40636 fi
40637
40638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40639 conftest$ac_exeext conftest.$ac_ext
40640 fi
40641 ac_res=`eval echo '${'$as_ac_var'}'`
40642 { echo "$as_me:$LINENO: result: $ac_res" >&5
40643 echo "${ECHO_T}$ac_res" >&6; }
40644 if test `eval echo '${'$as_ac_var'}'` = yes; then
40645 cat >>confdefs.h <<_ACEOF
40646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40647 _ACEOF
40648
40649 fi
40650 done
40651
40652
40653 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40654 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40655 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40656 echo $ECHO_N "(cached) $ECHO_C" >&6
40657 else
40658
40659 ac_ext=cpp
40660 ac_cpp='$CXXCPP $CPPFLAGS'
40661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40664
40665 cat >conftest.$ac_ext <<_ACEOF
40666 /* confdefs.h. */
40667 _ACEOF
40668 cat confdefs.h >>conftest.$ac_ext
40669 cat >>conftest.$ac_ext <<_ACEOF
40670 /* end confdefs.h. */
40671 #include <pthread.h>
40672 void ThreadCleanupFunc(void *p);
40673
40674 int
40675 main ()
40676 {
40677
40678 void *p;
40679 pthread_cleanup_push(ThreadCleanupFunc, p);
40680 pthread_cleanup_pop(0);
40681
40682 ;
40683 return 0;
40684 }
40685 _ACEOF
40686 rm -f conftest.$ac_objext
40687 if { (ac_try="$ac_compile"
40688 case "(($ac_try" in
40689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40690 *) ac_try_echo=$ac_try;;
40691 esac
40692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40693 (eval "$ac_compile") 2>conftest.er1
40694 ac_status=$?
40695 grep -v '^ *+' conftest.er1 >conftest.err
40696 rm -f conftest.er1
40697 cat conftest.err >&5
40698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40699 (exit $ac_status); } && {
40700 test -z "$ac_cxx_werror_flag" ||
40701 test ! -s conftest.err
40702 } && test -s conftest.$ac_objext; then
40703
40704 wx_cv_func_pthread_cleanup=yes
40705
40706 else
40707 echo "$as_me: failed program was:" >&5
40708 sed 's/^/| /' conftest.$ac_ext >&5
40709
40710
40711 wx_cv_func_pthread_cleanup=no
40712
40713
40714 fi
40715
40716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40717 ac_ext=c
40718 ac_cpp='$CPP $CPPFLAGS'
40719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40722
40723
40724 fi
40725 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40726 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40727 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40728 cat >>confdefs.h <<\_ACEOF
40729 #define wxHAVE_PTHREAD_CLEANUP 1
40730 _ACEOF
40731
40732 fi
40733
40734
40735 for ac_header in sched.h
40736 do
40737 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40738 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40740 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40741 echo $ECHO_N "(cached) $ECHO_C" >&6
40742 else
40743 cat >conftest.$ac_ext <<_ACEOF
40744 /* confdefs.h. */
40745 _ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h. */
40749 $ac_includes_default
40750
40751 #include <$ac_header>
40752 _ACEOF
40753 rm -f conftest.$ac_objext
40754 if { (ac_try="$ac_compile"
40755 case "(($ac_try" in
40756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40757 *) ac_try_echo=$ac_try;;
40758 esac
40759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40760 (eval "$ac_compile") 2>conftest.er1
40761 ac_status=$?
40762 grep -v '^ *+' conftest.er1 >conftest.err
40763 rm -f conftest.er1
40764 cat conftest.err >&5
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); } && {
40767 test -z "$ac_c_werror_flag" ||
40768 test ! -s conftest.err
40769 } && test -s conftest.$ac_objext; then
40770 eval "$as_ac_Header=yes"
40771 else
40772 echo "$as_me: failed program was:" >&5
40773 sed 's/^/| /' conftest.$ac_ext >&5
40774
40775 eval "$as_ac_Header=no"
40776 fi
40777
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40779 fi
40780 ac_res=`eval echo '${'$as_ac_Header'}'`
40781 { echo "$as_me:$LINENO: result: $ac_res" >&5
40782 echo "${ECHO_T}$ac_res" >&6; }
40783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40784 cat >>confdefs.h <<_ACEOF
40785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40786 _ACEOF
40787
40788 fi
40789
40790 done
40791
40792 if test "$ac_cv_header_sched_h" = "yes"; then
40793 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40794 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40795 if test "${ac_cv_func_sched_yield+set}" = set; then
40796 echo $ECHO_N "(cached) $ECHO_C" >&6
40797 else
40798 cat >conftest.$ac_ext <<_ACEOF
40799 /* confdefs.h. */
40800 _ACEOF
40801 cat confdefs.h >>conftest.$ac_ext
40802 cat >>conftest.$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40804 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40806 #define sched_yield innocuous_sched_yield
40807
40808 /* System header to define __stub macros and hopefully few prototypes,
40809 which can conflict with char sched_yield (); below.
40810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40811 <limits.h> exists even on freestanding compilers. */
40812
40813 #ifdef __STDC__
40814 # include <limits.h>
40815 #else
40816 # include <assert.h>
40817 #endif
40818
40819 #undef sched_yield
40820
40821 /* Override any GCC internal prototype to avoid an error.
40822 Use char because int might match the return type of a GCC
40823 builtin and then its argument prototype would still apply. */
40824 #ifdef __cplusplus
40825 extern "C"
40826 #endif
40827 char sched_yield ();
40828 /* The GNU C library defines this for functions which it implements
40829 to always fail with ENOSYS. Some functions are actually named
40830 something starting with __ and the normal name is an alias. */
40831 #if defined __stub_sched_yield || defined __stub___sched_yield
40832 choke me
40833 #endif
40834
40835 int
40836 main ()
40837 {
40838 return sched_yield ();
40839 ;
40840 return 0;
40841 }
40842 _ACEOF
40843 rm -f conftest.$ac_objext conftest$ac_exeext
40844 if { (ac_try="$ac_link"
40845 case "(($ac_try" in
40846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40847 *) ac_try_echo=$ac_try;;
40848 esac
40849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40850 (eval "$ac_link") 2>conftest.er1
40851 ac_status=$?
40852 grep -v '^ *+' conftest.er1 >conftest.err
40853 rm -f conftest.er1
40854 cat conftest.err >&5
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); } && {
40857 test -z "$ac_c_werror_flag" ||
40858 test ! -s conftest.err
40859 } && test -s conftest$ac_exeext &&
40860 $as_test_x conftest$ac_exeext; then
40861 ac_cv_func_sched_yield=yes
40862 else
40863 echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.$ac_ext >&5
40865
40866 ac_cv_func_sched_yield=no
40867 fi
40868
40869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40870 conftest$ac_exeext conftest.$ac_ext
40871 fi
40872 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40873 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40874 if test $ac_cv_func_sched_yield = yes; then
40875 cat >>confdefs.h <<\_ACEOF
40876 #define HAVE_SCHED_YIELD 1
40877 _ACEOF
40878
40879 else
40880
40881 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40882 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40883 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40884 echo $ECHO_N "(cached) $ECHO_C" >&6
40885 else
40886 ac_check_lib_save_LIBS=$LIBS
40887 LIBS="-lposix4 $LIBS"
40888 cat >conftest.$ac_ext <<_ACEOF
40889 /* confdefs.h. */
40890 _ACEOF
40891 cat confdefs.h >>conftest.$ac_ext
40892 cat >>conftest.$ac_ext <<_ACEOF
40893 /* end confdefs.h. */
40894
40895 /* Override any GCC internal prototype to avoid an error.
40896 Use char because int might match the return type of a GCC
40897 builtin and then its argument prototype would still apply. */
40898 #ifdef __cplusplus
40899 extern "C"
40900 #endif
40901 char sched_yield ();
40902 int
40903 main ()
40904 {
40905 return sched_yield ();
40906 ;
40907 return 0;
40908 }
40909 _ACEOF
40910 rm -f conftest.$ac_objext conftest$ac_exeext
40911 if { (ac_try="$ac_link"
40912 case "(($ac_try" in
40913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40914 *) ac_try_echo=$ac_try;;
40915 esac
40916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40917 (eval "$ac_link") 2>conftest.er1
40918 ac_status=$?
40919 grep -v '^ *+' conftest.er1 >conftest.err
40920 rm -f conftest.er1
40921 cat conftest.err >&5
40922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923 (exit $ac_status); } && {
40924 test -z "$ac_c_werror_flag" ||
40925 test ! -s conftest.err
40926 } && test -s conftest$ac_exeext &&
40927 $as_test_x conftest$ac_exeext; then
40928 ac_cv_lib_posix4_sched_yield=yes
40929 else
40930 echo "$as_me: failed program was:" >&5
40931 sed 's/^/| /' conftest.$ac_ext >&5
40932
40933 ac_cv_lib_posix4_sched_yield=no
40934 fi
40935
40936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40937 conftest$ac_exeext conftest.$ac_ext
40938 LIBS=$ac_check_lib_save_LIBS
40939 fi
40940 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40941 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40942 if test $ac_cv_lib_posix4_sched_yield = yes; then
40943 cat >>confdefs.h <<\_ACEOF
40944 #define HAVE_SCHED_YIELD 1
40945 _ACEOF
40946 POSIX4_LINK=" -lposix4"
40947 else
40948 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40949 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40950
40951 fi
40952
40953
40954
40955 fi
40956
40957 fi
40958
40959 HAVE_PRIOR_FUNCS=0
40960 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40961 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40962 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40963 echo $ECHO_N "(cached) $ECHO_C" >&6
40964 else
40965 cat >conftest.$ac_ext <<_ACEOF
40966 /* confdefs.h. */
40967 _ACEOF
40968 cat confdefs.h >>conftest.$ac_ext
40969 cat >>conftest.$ac_ext <<_ACEOF
40970 /* end confdefs.h. */
40971 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40973 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40974
40975 /* System header to define __stub macros and hopefully few prototypes,
40976 which can conflict with char pthread_attr_getschedpolicy (); below.
40977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40978 <limits.h> exists even on freestanding compilers. */
40979
40980 #ifdef __STDC__
40981 # include <limits.h>
40982 #else
40983 # include <assert.h>
40984 #endif
40985
40986 #undef pthread_attr_getschedpolicy
40987
40988 /* Override any GCC internal prototype to avoid an error.
40989 Use char because int might match the return type of a GCC
40990 builtin and then its argument prototype would still apply. */
40991 #ifdef __cplusplus
40992 extern "C"
40993 #endif
40994 char pthread_attr_getschedpolicy ();
40995 /* The GNU C library defines this for functions which it implements
40996 to always fail with ENOSYS. Some functions are actually named
40997 something starting with __ and the normal name is an alias. */
40998 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40999 choke me
41000 #endif
41001
41002 int
41003 main ()
41004 {
41005 return pthread_attr_getschedpolicy ();
41006 ;
41007 return 0;
41008 }
41009 _ACEOF
41010 rm -f conftest.$ac_objext conftest$ac_exeext
41011 if { (ac_try="$ac_link"
41012 case "(($ac_try" in
41013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41014 *) ac_try_echo=$ac_try;;
41015 esac
41016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41017 (eval "$ac_link") 2>conftest.er1
41018 ac_status=$?
41019 grep -v '^ *+' conftest.er1 >conftest.err
41020 rm -f conftest.er1
41021 cat conftest.err >&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); } && {
41024 test -z "$ac_c_werror_flag" ||
41025 test ! -s conftest.err
41026 } && test -s conftest$ac_exeext &&
41027 $as_test_x conftest$ac_exeext; then
41028 ac_cv_func_pthread_attr_getschedpolicy=yes
41029 else
41030 echo "$as_me: failed program was:" >&5
41031 sed 's/^/| /' conftest.$ac_ext >&5
41032
41033 ac_cv_func_pthread_attr_getschedpolicy=no
41034 fi
41035
41036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41037 conftest$ac_exeext conftest.$ac_ext
41038 fi
41039 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41040 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41041 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41042 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41043 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41044 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41045 echo $ECHO_N "(cached) $ECHO_C" >&6
41046 else
41047 cat >conftest.$ac_ext <<_ACEOF
41048 /* confdefs.h. */
41049 _ACEOF
41050 cat confdefs.h >>conftest.$ac_ext
41051 cat >>conftest.$ac_ext <<_ACEOF
41052 /* end confdefs.h. */
41053 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41055 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41056
41057 /* System header to define __stub macros and hopefully few prototypes,
41058 which can conflict with char pthread_attr_setschedparam (); below.
41059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41060 <limits.h> exists even on freestanding compilers. */
41061
41062 #ifdef __STDC__
41063 # include <limits.h>
41064 #else
41065 # include <assert.h>
41066 #endif
41067
41068 #undef pthread_attr_setschedparam
41069
41070 /* Override any GCC internal prototype to avoid an error.
41071 Use char because int might match the return type of a GCC
41072 builtin and then its argument prototype would still apply. */
41073 #ifdef __cplusplus
41074 extern "C"
41075 #endif
41076 char pthread_attr_setschedparam ();
41077 /* The GNU C library defines this for functions which it implements
41078 to always fail with ENOSYS. Some functions are actually named
41079 something starting with __ and the normal name is an alias. */
41080 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41081 choke me
41082 #endif
41083
41084 int
41085 main ()
41086 {
41087 return pthread_attr_setschedparam ();
41088 ;
41089 return 0;
41090 }
41091 _ACEOF
41092 rm -f conftest.$ac_objext conftest$ac_exeext
41093 if { (ac_try="$ac_link"
41094 case "(($ac_try" in
41095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41096 *) ac_try_echo=$ac_try;;
41097 esac
41098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41099 (eval "$ac_link") 2>conftest.er1
41100 ac_status=$?
41101 grep -v '^ *+' conftest.er1 >conftest.err
41102 rm -f conftest.er1
41103 cat conftest.err >&5
41104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105 (exit $ac_status); } && {
41106 test -z "$ac_c_werror_flag" ||
41107 test ! -s conftest.err
41108 } && test -s conftest$ac_exeext &&
41109 $as_test_x conftest$ac_exeext; then
41110 ac_cv_func_pthread_attr_setschedparam=yes
41111 else
41112 echo "$as_me: failed program was:" >&5
41113 sed 's/^/| /' conftest.$ac_ext >&5
41114
41115 ac_cv_func_pthread_attr_setschedparam=no
41116 fi
41117
41118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41119 conftest$ac_exeext conftest.$ac_ext
41120 fi
41121 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41122 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41123 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41124 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41125 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41126 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41127 echo $ECHO_N "(cached) $ECHO_C" >&6
41128 else
41129 cat >conftest.$ac_ext <<_ACEOF
41130 /* confdefs.h. */
41131 _ACEOF
41132 cat confdefs.h >>conftest.$ac_ext
41133 cat >>conftest.$ac_ext <<_ACEOF
41134 /* end confdefs.h. */
41135 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41137 #define sched_get_priority_max innocuous_sched_get_priority_max
41138
41139 /* System header to define __stub macros and hopefully few prototypes,
41140 which can conflict with char sched_get_priority_max (); below.
41141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41142 <limits.h> exists even on freestanding compilers. */
41143
41144 #ifdef __STDC__
41145 # include <limits.h>
41146 #else
41147 # include <assert.h>
41148 #endif
41149
41150 #undef sched_get_priority_max
41151
41152 /* Override any GCC internal prototype to avoid an error.
41153 Use char because int might match the return type of a GCC
41154 builtin and then its argument prototype would still apply. */
41155 #ifdef __cplusplus
41156 extern "C"
41157 #endif
41158 char sched_get_priority_max ();
41159 /* The GNU C library defines this for functions which it implements
41160 to always fail with ENOSYS. Some functions are actually named
41161 something starting with __ and the normal name is an alias. */
41162 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41163 choke me
41164 #endif
41165
41166 int
41167 main ()
41168 {
41169 return sched_get_priority_max ();
41170 ;
41171 return 0;
41172 }
41173 _ACEOF
41174 rm -f conftest.$ac_objext conftest$ac_exeext
41175 if { (ac_try="$ac_link"
41176 case "(($ac_try" in
41177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41178 *) ac_try_echo=$ac_try;;
41179 esac
41180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41181 (eval "$ac_link") 2>conftest.er1
41182 ac_status=$?
41183 grep -v '^ *+' conftest.er1 >conftest.err
41184 rm -f conftest.er1
41185 cat conftest.err >&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } && {
41188 test -z "$ac_c_werror_flag" ||
41189 test ! -s conftest.err
41190 } && test -s conftest$ac_exeext &&
41191 $as_test_x conftest$ac_exeext; then
41192 ac_cv_func_sched_get_priority_max=yes
41193 else
41194 echo "$as_me: failed program was:" >&5
41195 sed 's/^/| /' conftest.$ac_ext >&5
41196
41197 ac_cv_func_sched_get_priority_max=no
41198 fi
41199
41200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41201 conftest$ac_exeext conftest.$ac_ext
41202 fi
41203 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41204 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41205 if test $ac_cv_func_sched_get_priority_max = yes; then
41206 HAVE_PRIOR_FUNCS=1
41207 else
41208 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41209 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41210 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41211 echo $ECHO_N "(cached) $ECHO_C" >&6
41212 else
41213 ac_check_lib_save_LIBS=$LIBS
41214 LIBS="-lposix4 $LIBS"
41215 cat >conftest.$ac_ext <<_ACEOF
41216 /* confdefs.h. */
41217 _ACEOF
41218 cat confdefs.h >>conftest.$ac_ext
41219 cat >>conftest.$ac_ext <<_ACEOF
41220 /* end confdefs.h. */
41221
41222 /* Override any GCC internal prototype to avoid an error.
41223 Use char because int might match the return type of a GCC
41224 builtin and then its argument prototype would still apply. */
41225 #ifdef __cplusplus
41226 extern "C"
41227 #endif
41228 char sched_get_priority_max ();
41229 int
41230 main ()
41231 {
41232 return sched_get_priority_max ();
41233 ;
41234 return 0;
41235 }
41236 _ACEOF
41237 rm -f conftest.$ac_objext conftest$ac_exeext
41238 if { (ac_try="$ac_link"
41239 case "(($ac_try" in
41240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41241 *) ac_try_echo=$ac_try;;
41242 esac
41243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41244 (eval "$ac_link") 2>conftest.er1
41245 ac_status=$?
41246 grep -v '^ *+' conftest.er1 >conftest.err
41247 rm -f conftest.er1
41248 cat conftest.err >&5
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); } && {
41251 test -z "$ac_c_werror_flag" ||
41252 test ! -s conftest.err
41253 } && test -s conftest$ac_exeext &&
41254 $as_test_x conftest$ac_exeext; then
41255 ac_cv_lib_posix4_sched_get_priority_max=yes
41256 else
41257 echo "$as_me: failed program was:" >&5
41258 sed 's/^/| /' conftest.$ac_ext >&5
41259
41260 ac_cv_lib_posix4_sched_get_priority_max=no
41261 fi
41262
41263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41264 conftest$ac_exeext conftest.$ac_ext
41265 LIBS=$ac_check_lib_save_LIBS
41266 fi
41267 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41268 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41269 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41270
41271 HAVE_PRIOR_FUNCS=1
41272 POSIX4_LINK=" -lposix4"
41273
41274 fi
41275
41276
41277 fi
41278
41279
41280 fi
41281
41282
41283 fi
41284
41285
41286 if test "$HAVE_PRIOR_FUNCS" = 1; then
41287 cat >>confdefs.h <<\_ACEOF
41288 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41289 _ACEOF
41290
41291 else
41292 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41293 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41294 fi
41295
41296 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41297 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41298 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41299 echo $ECHO_N "(cached) $ECHO_C" >&6
41300 else
41301 cat >conftest.$ac_ext <<_ACEOF
41302 /* confdefs.h. */
41303 _ACEOF
41304 cat confdefs.h >>conftest.$ac_ext
41305 cat >>conftest.$ac_ext <<_ACEOF
41306 /* end confdefs.h. */
41307 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41309 #define pthread_cancel innocuous_pthread_cancel
41310
41311 /* System header to define __stub macros and hopefully few prototypes,
41312 which can conflict with char pthread_cancel (); below.
41313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41314 <limits.h> exists even on freestanding compilers. */
41315
41316 #ifdef __STDC__
41317 # include <limits.h>
41318 #else
41319 # include <assert.h>
41320 #endif
41321
41322 #undef pthread_cancel
41323
41324 /* Override any GCC internal prototype to avoid an error.
41325 Use char because int might match the return type of a GCC
41326 builtin and then its argument prototype would still apply. */
41327 #ifdef __cplusplus
41328 extern "C"
41329 #endif
41330 char pthread_cancel ();
41331 /* The GNU C library defines this for functions which it implements
41332 to always fail with ENOSYS. Some functions are actually named
41333 something starting with __ and the normal name is an alias. */
41334 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41335 choke me
41336 #endif
41337
41338 int
41339 main ()
41340 {
41341 return pthread_cancel ();
41342 ;
41343 return 0;
41344 }
41345 _ACEOF
41346 rm -f conftest.$ac_objext conftest$ac_exeext
41347 if { (ac_try="$ac_link"
41348 case "(($ac_try" in
41349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41350 *) ac_try_echo=$ac_try;;
41351 esac
41352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41353 (eval "$ac_link") 2>conftest.er1
41354 ac_status=$?
41355 grep -v '^ *+' conftest.er1 >conftest.err
41356 rm -f conftest.er1
41357 cat conftest.err >&5
41358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41359 (exit $ac_status); } && {
41360 test -z "$ac_c_werror_flag" ||
41361 test ! -s conftest.err
41362 } && test -s conftest$ac_exeext &&
41363 $as_test_x conftest$ac_exeext; then
41364 ac_cv_func_pthread_cancel=yes
41365 else
41366 echo "$as_me: failed program was:" >&5
41367 sed 's/^/| /' conftest.$ac_ext >&5
41368
41369 ac_cv_func_pthread_cancel=no
41370 fi
41371
41372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41373 conftest$ac_exeext conftest.$ac_ext
41374 fi
41375 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41376 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41377 if test $ac_cv_func_pthread_cancel = yes; then
41378 cat >>confdefs.h <<\_ACEOF
41379 #define HAVE_PTHREAD_CANCEL 1
41380 _ACEOF
41381
41382 else
41383 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41384 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41385 fi
41386
41387
41388 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41389 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41390 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41391 echo $ECHO_N "(cached) $ECHO_C" >&6
41392 else
41393 cat >conftest.$ac_ext <<_ACEOF
41394 /* confdefs.h. */
41395 _ACEOF
41396 cat confdefs.h >>conftest.$ac_ext
41397 cat >>conftest.$ac_ext <<_ACEOF
41398 /* end confdefs.h. */
41399 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41401 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41402
41403 /* System header to define __stub macros and hopefully few prototypes,
41404 which can conflict with char pthread_mutex_timedlock (); below.
41405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41406 <limits.h> exists even on freestanding compilers. */
41407
41408 #ifdef __STDC__
41409 # include <limits.h>
41410 #else
41411 # include <assert.h>
41412 #endif
41413
41414 #undef pthread_mutex_timedlock
41415
41416 /* Override any GCC internal prototype to avoid an error.
41417 Use char because int might match the return type of a GCC
41418 builtin and then its argument prototype would still apply. */
41419 #ifdef __cplusplus
41420 extern "C"
41421 #endif
41422 char pthread_mutex_timedlock ();
41423 /* The GNU C library defines this for functions which it implements
41424 to always fail with ENOSYS. Some functions are actually named
41425 something starting with __ and the normal name is an alias. */
41426 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41427 choke me
41428 #endif
41429
41430 int
41431 main ()
41432 {
41433 return pthread_mutex_timedlock ();
41434 ;
41435 return 0;
41436 }
41437 _ACEOF
41438 rm -f conftest.$ac_objext conftest$ac_exeext
41439 if { (ac_try="$ac_link"
41440 case "(($ac_try" in
41441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41442 *) ac_try_echo=$ac_try;;
41443 esac
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_link") 2>conftest.er1
41446 ac_status=$?
41447 grep -v '^ *+' conftest.er1 >conftest.err
41448 rm -f conftest.er1
41449 cat conftest.err >&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } && {
41452 test -z "$ac_c_werror_flag" ||
41453 test ! -s conftest.err
41454 } && test -s conftest$ac_exeext &&
41455 $as_test_x conftest$ac_exeext; then
41456 ac_cv_func_pthread_mutex_timedlock=yes
41457 else
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.$ac_ext >&5
41460
41461 ac_cv_func_pthread_mutex_timedlock=no
41462 fi
41463
41464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41465 conftest$ac_exeext conftest.$ac_ext
41466 fi
41467 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41468 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41469 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41470 cat >>confdefs.h <<\_ACEOF
41471 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41472 _ACEOF
41473
41474 else
41475 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41476 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41477 fi
41478
41479
41480 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41481 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41482 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41483 echo $ECHO_N "(cached) $ECHO_C" >&6
41484 else
41485 cat >conftest.$ac_ext <<_ACEOF
41486 /* confdefs.h. */
41487 _ACEOF
41488 cat confdefs.h >>conftest.$ac_ext
41489 cat >>conftest.$ac_ext <<_ACEOF
41490 /* end confdefs.h. */
41491 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41493 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41494
41495 /* System header to define __stub macros and hopefully few prototypes,
41496 which can conflict with char pthread_attr_setstacksize (); below.
41497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41498 <limits.h> exists even on freestanding compilers. */
41499
41500 #ifdef __STDC__
41501 # include <limits.h>
41502 #else
41503 # include <assert.h>
41504 #endif
41505
41506 #undef pthread_attr_setstacksize
41507
41508 /* Override any GCC internal prototype to avoid an error.
41509 Use char because int might match the return type of a GCC
41510 builtin and then its argument prototype would still apply. */
41511 #ifdef __cplusplus
41512 extern "C"
41513 #endif
41514 char pthread_attr_setstacksize ();
41515 /* The GNU C library defines this for functions which it implements
41516 to always fail with ENOSYS. Some functions are actually named
41517 something starting with __ and the normal name is an alias. */
41518 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41519 choke me
41520 #endif
41521
41522 int
41523 main ()
41524 {
41525 return pthread_attr_setstacksize ();
41526 ;
41527 return 0;
41528 }
41529 _ACEOF
41530 rm -f conftest.$ac_objext conftest$ac_exeext
41531 if { (ac_try="$ac_link"
41532 case "(($ac_try" in
41533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41534 *) ac_try_echo=$ac_try;;
41535 esac
41536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41537 (eval "$ac_link") 2>conftest.er1
41538 ac_status=$?
41539 grep -v '^ *+' conftest.er1 >conftest.err
41540 rm -f conftest.er1
41541 cat conftest.err >&5
41542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41543 (exit $ac_status); } && {
41544 test -z "$ac_c_werror_flag" ||
41545 test ! -s conftest.err
41546 } && test -s conftest$ac_exeext &&
41547 $as_test_x conftest$ac_exeext; then
41548 ac_cv_func_pthread_attr_setstacksize=yes
41549 else
41550 echo "$as_me: failed program was:" >&5
41551 sed 's/^/| /' conftest.$ac_ext >&5
41552
41553 ac_cv_func_pthread_attr_setstacksize=no
41554 fi
41555
41556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41557 conftest$ac_exeext conftest.$ac_ext
41558 fi
41559 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41560 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41561 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41562 cat >>confdefs.h <<\_ACEOF
41563 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41564 _ACEOF
41565
41566 fi
41567
41568
41569
41570 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41571 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41572 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41573 echo $ECHO_N "(cached) $ECHO_C" >&6
41574 else
41575
41576 cat >conftest.$ac_ext <<_ACEOF
41577 /* confdefs.h. */
41578 _ACEOF
41579 cat confdefs.h >>conftest.$ac_ext
41580 cat >>conftest.$ac_ext <<_ACEOF
41581 /* end confdefs.h. */
41582 #include <pthread.h>
41583 int
41584 main ()
41585 {
41586
41587 pthread_mutexattr_t attr;
41588 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41589
41590 ;
41591 return 0;
41592 }
41593 _ACEOF
41594 rm -f conftest.$ac_objext
41595 if { (ac_try="$ac_compile"
41596 case "(($ac_try" in
41597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41598 *) ac_try_echo=$ac_try;;
41599 esac
41600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41601 (eval "$ac_compile") 2>conftest.er1
41602 ac_status=$?
41603 grep -v '^ *+' conftest.er1 >conftest.err
41604 rm -f conftest.er1
41605 cat conftest.err >&5
41606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607 (exit $ac_status); } && {
41608 test -z "$ac_c_werror_flag" ||
41609 test ! -s conftest.err
41610 } && test -s conftest.$ac_objext; then
41611 wx_cv_type_pthread_mutexattr_t=yes
41612 else
41613 echo "$as_me: failed program was:" >&5
41614 sed 's/^/| /' conftest.$ac_ext >&5
41615
41616 wx_cv_type_pthread_mutexattr_t=no
41617
41618 fi
41619
41620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41621
41622 fi
41623 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41624 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41625
41626 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41627 cat >>confdefs.h <<\_ACEOF
41628 #define HAVE_PTHREAD_MUTEXATTR_T 1
41629 _ACEOF
41630
41631
41632 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41633 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41634 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41635 echo $ECHO_N "(cached) $ECHO_C" >&6
41636 else
41637
41638 cat >conftest.$ac_ext <<_ACEOF
41639 /* confdefs.h. */
41640 _ACEOF
41641 cat confdefs.h >>conftest.$ac_ext
41642 cat >>conftest.$ac_ext <<_ACEOF
41643 /* end confdefs.h. */
41644 #include <pthread.h>
41645 int
41646 main ()
41647 {
41648
41649 pthread_mutexattr_t attr;
41650 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41651
41652 ;
41653 return 0;
41654 }
41655 _ACEOF
41656 rm -f conftest.$ac_objext
41657 if { (ac_try="$ac_compile"
41658 case "(($ac_try" in
41659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41660 *) ac_try_echo=$ac_try;;
41661 esac
41662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41663 (eval "$ac_compile") 2>conftest.er1
41664 ac_status=$?
41665 grep -v '^ *+' conftest.er1 >conftest.err
41666 rm -f conftest.er1
41667 cat conftest.err >&5
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); } && {
41670 test -z "$ac_c_werror_flag" ||
41671 test ! -s conftest.err
41672 } && test -s conftest.$ac_objext; then
41673 wx_cv_func_pthread_mutexattr_settype_decl=yes
41674 else
41675 echo "$as_me: failed program was:" >&5
41676 sed 's/^/| /' conftest.$ac_ext >&5
41677
41678 wx_cv_func_pthread_mutexattr_settype_decl=no
41679
41680 fi
41681
41682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41683
41684 fi
41685 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41686 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41687 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41688 cat >>confdefs.h <<\_ACEOF
41689 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41690 _ACEOF
41691
41692 fi
41693 else
41694 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41695 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41696 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41697 echo $ECHO_N "(cached) $ECHO_C" >&6
41698 else
41699
41700 cat >conftest.$ac_ext <<_ACEOF
41701 /* confdefs.h. */
41702 _ACEOF
41703 cat confdefs.h >>conftest.$ac_ext
41704 cat >>conftest.$ac_ext <<_ACEOF
41705 /* end confdefs.h. */
41706 #include <pthread.h>
41707 int
41708 main ()
41709 {
41710
41711 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41712
41713 ;
41714 return 0;
41715 }
41716 _ACEOF
41717 rm -f conftest.$ac_objext
41718 if { (ac_try="$ac_compile"
41719 case "(($ac_try" in
41720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41721 *) ac_try_echo=$ac_try;;
41722 esac
41723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41724 (eval "$ac_compile") 2>conftest.er1
41725 ac_status=$?
41726 grep -v '^ *+' conftest.er1 >conftest.err
41727 rm -f conftest.er1
41728 cat conftest.err >&5
41729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41730 (exit $ac_status); } && {
41731 test -z "$ac_c_werror_flag" ||
41732 test ! -s conftest.err
41733 } && test -s conftest.$ac_objext; then
41734
41735 wx_cv_type_pthread_rec_mutex_init=yes
41736
41737 else
41738 echo "$as_me: failed program was:" >&5
41739 sed 's/^/| /' conftest.$ac_ext >&5
41740
41741
41742 wx_cv_type_pthread_rec_mutex_init=no
41743
41744
41745 fi
41746
41747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41748
41749 fi
41750 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41751 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41752 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41753 cat >>confdefs.h <<\_ACEOF
41754 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41755 _ACEOF
41756
41757 else
41758 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41759 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41760 fi
41761 fi
41762
41763 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41764 if test "$USE_NETBSD" = 1; then
41765 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41766 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41767 wxUSE_COMPILER_TLS=no
41768 else
41769 wxUSE_COMPILER_TLS=yes
41770 fi
41771 fi
41772
41773 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41774 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41775 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41776 if test "${wx_cv_cc___thread+set}" = set; then
41777 echo $ECHO_N "(cached) $ECHO_C" >&6
41778 else
41779
41780 cat >conftest.$ac_ext <<_ACEOF
41781 /* confdefs.h. */
41782 _ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41786 #include <pthread.h>
41787 int
41788 main ()
41789 {
41790
41791 static __thread int n = 0;
41792 static __thread int *p = 0;
41793
41794 ;
41795 return 0;
41796 }
41797 _ACEOF
41798 rm -f conftest.$ac_objext
41799 if { (ac_try="$ac_compile"
41800 case "(($ac_try" in
41801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41802 *) ac_try_echo=$ac_try;;
41803 esac
41804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41805 (eval "$ac_compile") 2>conftest.er1
41806 ac_status=$?
41807 grep -v '^ *+' conftest.er1 >conftest.err
41808 rm -f conftest.er1
41809 cat conftest.err >&5
41810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41811 (exit $ac_status); } && {
41812 test -z "$ac_c_werror_flag" ||
41813 test ! -s conftest.err
41814 } && test -s conftest.$ac_objext; then
41815 wx_cv_cc___thread=yes
41816 else
41817 echo "$as_me: failed program was:" >&5
41818 sed 's/^/| /' conftest.$ac_ext >&5
41819
41820 wx_cv_cc___thread=no
41821
41822 fi
41823
41824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41825
41826
41827 fi
41828 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41829 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41830
41831 if test "$wx_cv_cc___thread" = "yes"; then
41832
41833 GXX_VERSION=""
41834
41835
41836
41837 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41838 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41839
41840 if test "x$GCC" = "xyes" ; then
41841
41842 if test -z "" ; then
41843
41844 ax_gcc_option_test="int main()
41845 {
41846 return 0;
41847 }"
41848
41849 else
41850
41851 ax_gcc_option_test=""
41852
41853 fi
41854
41855
41856 # Dump the test program to file
41857 cat <<EOF > conftest.c
41858 $ax_gcc_option_test
41859 EOF
41860
41861 # Dump back the file to the log, useful for debugging purposes
41862 { ac_try='cat conftest.c 1>&5'
41863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41864 (eval $ac_try) 2>&5
41865 ac_status=$?
41866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41867 (exit $ac_status); }; }
41868
41869 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41871 (eval $ac_try) 2>&5
41872 ac_status=$?
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); }; } ; then
41875
41876 { echo "$as_me:$LINENO: result: yes" >&5
41877 echo "${ECHO_T}yes" >&6; }
41878
41879 ax_gcc_version_option=yes
41880
41881
41882 else
41883
41884 { echo "$as_me:$LINENO: result: no" >&5
41885 echo "${ECHO_T}no" >&6; }
41886
41887 ax_gcc_version_option=no
41888
41889
41890 fi
41891
41892
41893 else
41894
41895 { echo "$as_me:$LINENO: result: no gcc available" >&5
41896 echo "${ECHO_T}no gcc available" >&6; }
41897
41898 fi
41899
41900
41901 if test "x$GXX" = "xyes"; then
41902
41903 if test "x$ax_gxx_version_option" != "no"; then
41904
41905 { echo "$as_me:$LINENO: checking gxx version" >&5
41906 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41907 if test "${ax_cv_gxx_version+set}" = set; then
41908 echo $ECHO_N "(cached) $ECHO_C" >&6
41909 else
41910
41911 ax_cv_gxx_version="`$CXX -dumpversion`"
41912 if test "x$ax_cv_gxx_version" = "x"; then
41913
41914 ax_cv_gxx_version=""
41915
41916 fi
41917
41918
41919 fi
41920 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41921 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41922 GXX_VERSION=$ax_cv_gxx_version
41923
41924 fi
41925
41926
41927 fi
41928
41929
41930
41931 if test -n "$ax_cv_gxx_version"; then
41932 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41933 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41934 case "$ax_cv_gxx_version" in
41935 1.* | 2.* | 3.* )
41936 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41937 echo "${ECHO_T}no, it's broken" >&6; }
41938 wx_cv_cc___thread=no
41939 ;;
41940 *)
41941 { echo "$as_me:$LINENO: result: yes, it works" >&5
41942 echo "${ECHO_T}yes, it works" >&6; }
41943 ;;
41944 esac
41945 fi
41946 fi
41947
41948 if test "$wx_cv_cc___thread" = "yes"; then
41949 cat >>confdefs.h <<\_ACEOF
41950 #define HAVE___THREAD_KEYWORD 1
41951 _ACEOF
41952
41953 fi
41954 fi
41955 fi
41956
41957 else
41958 if test "$wxUSE_THREADS" = "yes" ; then
41959 case "${host}" in
41960 x86_64-*-mingw32* )
41961 ;;
41962 *-*-mingw32* )
41963 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41964 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41965 if test "${wx_cv_cflags_mthread+set}" = set; then
41966 echo $ECHO_N "(cached) $ECHO_C" >&6
41967 else
41968
41969 CFLAGS_OLD="$CFLAGS"
41970 CFLAGS="-mthreads $CFLAGS"
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
41978 int
41979 main ()
41980 {
41981
41982 ;
41983 return 0;
41984 }
41985 _ACEOF
41986 rm -f conftest.$ac_objext
41987 if { (ac_try="$ac_compile"
41988 case "(($ac_try" in
41989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41990 *) ac_try_echo=$ac_try;;
41991 esac
41992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41993 (eval "$ac_compile") 2>conftest.er1
41994 ac_status=$?
41995 grep -v '^ *+' conftest.er1 >conftest.err
41996 rm -f conftest.er1
41997 cat conftest.err >&5
41998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41999 (exit $ac_status); } && {
42000 test -z "$ac_c_werror_flag" ||
42001 test ! -s conftest.err
42002 } && test -s conftest.$ac_objext; then
42003 wx_cv_cflags_mthread=yes
42004 else
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.$ac_ext >&5
42007
42008 wx_cv_cflags_mthread=no
42009
42010 fi
42011
42012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42013
42014
42015 fi
42016 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42017 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42018
42019 if test "$wx_cv_cflags_mthread" = "yes"; then
42020 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42021 LDFLAGS="$LDFLAGS -mthreads"
42022 else
42023 CFLAGS="$CFLAGS_OLD"
42024 fi
42025 ;;
42026 *-pc-os2*emx )
42027 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42028 LDFLAGS="$LDFLAGS -Zmt"
42029 ;;
42030 esac
42031 fi
42032 fi
42033
42034 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42035 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42036 if test "${ac_cv_func_localtime_r+set}" = set; then
42037 echo $ECHO_N "(cached) $ECHO_C" >&6
42038 else
42039 cat >conftest.$ac_ext <<_ACEOF
42040 /* confdefs.h. */
42041 _ACEOF
42042 cat confdefs.h >>conftest.$ac_ext
42043 cat >>conftest.$ac_ext <<_ACEOF
42044 /* end confdefs.h. */
42045 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42047 #define localtime_r innocuous_localtime_r
42048
42049 /* System header to define __stub macros and hopefully few prototypes,
42050 which can conflict with char localtime_r (); below.
42051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42052 <limits.h> exists even on freestanding compilers. */
42053
42054 #ifdef __STDC__
42055 # include <limits.h>
42056 #else
42057 # include <assert.h>
42058 #endif
42059
42060 #undef localtime_r
42061
42062 /* Override any GCC internal prototype to avoid an error.
42063 Use char because int might match the return type of a GCC
42064 builtin and then its argument prototype would still apply. */
42065 #ifdef __cplusplus
42066 extern "C"
42067 #endif
42068 char localtime_r ();
42069 /* The GNU C library defines this for functions which it implements
42070 to always fail with ENOSYS. Some functions are actually named
42071 something starting with __ and the normal name is an alias. */
42072 #if defined __stub_localtime_r || defined __stub___localtime_r
42073 choke me
42074 #endif
42075
42076 int
42077 main ()
42078 {
42079 return localtime_r ();
42080 ;
42081 return 0;
42082 }
42083 _ACEOF
42084 rm -f conftest.$ac_objext conftest$ac_exeext
42085 if { (ac_try="$ac_link"
42086 case "(($ac_try" in
42087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42088 *) ac_try_echo=$ac_try;;
42089 esac
42090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42091 (eval "$ac_link") 2>conftest.er1
42092 ac_status=$?
42093 grep -v '^ *+' conftest.er1 >conftest.err
42094 rm -f conftest.er1
42095 cat conftest.err >&5
42096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42097 (exit $ac_status); } && {
42098 test -z "$ac_c_werror_flag" ||
42099 test ! -s conftest.err
42100 } && test -s conftest$ac_exeext &&
42101 $as_test_x conftest$ac_exeext; then
42102 ac_cv_func_localtime_r=yes
42103 else
42104 echo "$as_me: failed program was:" >&5
42105 sed 's/^/| /' conftest.$ac_ext >&5
42106
42107 ac_cv_func_localtime_r=no
42108 fi
42109
42110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42111 conftest$ac_exeext conftest.$ac_ext
42112 fi
42113 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42114 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42115 if test $ac_cv_func_localtime_r = yes; then
42116 cat >>confdefs.h <<\_ACEOF
42117 #define HAVE_LOCALTIME_R 1
42118 _ACEOF
42119
42120 fi
42121
42122 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42123 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42124 if test "${ac_cv_func_gmtime_r+set}" = set; then
42125 echo $ECHO_N "(cached) $ECHO_C" >&6
42126 else
42127 cat >conftest.$ac_ext <<_ACEOF
42128 /* confdefs.h. */
42129 _ACEOF
42130 cat confdefs.h >>conftest.$ac_ext
42131 cat >>conftest.$ac_ext <<_ACEOF
42132 /* end confdefs.h. */
42133 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42135 #define gmtime_r innocuous_gmtime_r
42136
42137 /* System header to define __stub macros and hopefully few prototypes,
42138 which can conflict with char gmtime_r (); below.
42139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42140 <limits.h> exists even on freestanding compilers. */
42141
42142 #ifdef __STDC__
42143 # include <limits.h>
42144 #else
42145 # include <assert.h>
42146 #endif
42147
42148 #undef gmtime_r
42149
42150 /* Override any GCC internal prototype to avoid an error.
42151 Use char because int might match the return type of a GCC
42152 builtin and then its argument prototype would still apply. */
42153 #ifdef __cplusplus
42154 extern "C"
42155 #endif
42156 char gmtime_r ();
42157 /* The GNU C library defines this for functions which it implements
42158 to always fail with ENOSYS. Some functions are actually named
42159 something starting with __ and the normal name is an alias. */
42160 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42161 choke me
42162 #endif
42163
42164 int
42165 main ()
42166 {
42167 return gmtime_r ();
42168 ;
42169 return 0;
42170 }
42171 _ACEOF
42172 rm -f conftest.$ac_objext conftest$ac_exeext
42173 if { (ac_try="$ac_link"
42174 case "(($ac_try" in
42175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42176 *) ac_try_echo=$ac_try;;
42177 esac
42178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42179 (eval "$ac_link") 2>conftest.er1
42180 ac_status=$?
42181 grep -v '^ *+' conftest.er1 >conftest.err
42182 rm -f conftest.er1
42183 cat conftest.err >&5
42184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42185 (exit $ac_status); } && {
42186 test -z "$ac_c_werror_flag" ||
42187 test ! -s conftest.err
42188 } && test -s conftest$ac_exeext &&
42189 $as_test_x conftest$ac_exeext; then
42190 ac_cv_func_gmtime_r=yes
42191 else
42192 echo "$as_me: failed program was:" >&5
42193 sed 's/^/| /' conftest.$ac_ext >&5
42194
42195 ac_cv_func_gmtime_r=no
42196 fi
42197
42198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42199 conftest$ac_exeext conftest.$ac_ext
42200 fi
42201 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42202 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42203 if test $ac_cv_func_gmtime_r = yes; then
42204 cat >>confdefs.h <<\_ACEOF
42205 #define HAVE_GMTIME_R 1
42206 _ACEOF
42207
42208 fi
42209
42210
42211
42212
42213 ac_ext=c
42214 ac_cpp='$CPP $CPPFLAGS'
42215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42218
42219 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42220 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42221
42222 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42223 echo $ECHO_N "(cached) $ECHO_C" >&6
42224 else
42225
42226
42227 ################################################################
42228
42229 ac_cv_func_which_gethostbyname_r=unknown
42230
42231 #
42232 # ONE ARGUMENT (sanity check)
42233 #
42234
42235 # This should fail, as there is no variant of gethostbyname_r() that takes
42236 # a single argument. If it actually compiles, then we can assume that
42237 # netdb.h is not declaring the function, and the compiler is thereby
42238 # assuming an implicit prototype. In which case, we're out of luck.
42239 #
42240 cat >conftest.$ac_ext <<_ACEOF
42241 /* confdefs.h. */
42242 _ACEOF
42243 cat confdefs.h >>conftest.$ac_ext
42244 cat >>conftest.$ac_ext <<_ACEOF
42245 /* end confdefs.h. */
42246 #include <netdb.h>
42247 int
42248 main ()
42249 {
42250
42251 char *name = "www.gnu.org";
42252 (void)gethostbyname_r(name) /* ; */
42253
42254 ;
42255 return 0;
42256 }
42257 _ACEOF
42258 rm -f conftest.$ac_objext
42259 if { (ac_try="$ac_compile"
42260 case "(($ac_try" in
42261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42262 *) ac_try_echo=$ac_try;;
42263 esac
42264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42265 (eval "$ac_compile") 2>conftest.er1
42266 ac_status=$?
42267 grep -v '^ *+' conftest.er1 >conftest.err
42268 rm -f conftest.er1
42269 cat conftest.err >&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); } && {
42272 test -z "$ac_c_werror_flag" ||
42273 test ! -s conftest.err
42274 } && test -s conftest.$ac_objext; then
42275 ac_cv_func_which_gethostbyname_r=no
42276 else
42277 echo "$as_me: failed program was:" >&5
42278 sed 's/^/| /' conftest.$ac_ext >&5
42279
42280
42281 fi
42282
42283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42284
42285 #
42286 # SIX ARGUMENTS
42287 # (e.g. Linux)
42288 #
42289
42290 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42291
42292 cat >conftest.$ac_ext <<_ACEOF
42293 /* confdefs.h. */
42294 _ACEOF
42295 cat confdefs.h >>conftest.$ac_ext
42296 cat >>conftest.$ac_ext <<_ACEOF
42297 /* end confdefs.h. */
42298 #include <netdb.h>
42299 int
42300 main ()
42301 {
42302
42303 char *name = "www.gnu.org";
42304 struct hostent ret, *retp;
42305 char buf[1024];
42306 int buflen = 1024;
42307 int my_h_errno;
42308 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42309
42310 ;
42311 return 0;
42312 }
42313 _ACEOF
42314 rm -f conftest.$ac_objext
42315 if { (ac_try="$ac_compile"
42316 case "(($ac_try" in
42317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42318 *) ac_try_echo=$ac_try;;
42319 esac
42320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42321 (eval "$ac_compile") 2>conftest.er1
42322 ac_status=$?
42323 grep -v '^ *+' conftest.er1 >conftest.err
42324 rm -f conftest.er1
42325 cat conftest.err >&5
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); } && {
42328 test -z "$ac_c_werror_flag" ||
42329 test ! -s conftest.err
42330 } && test -s conftest.$ac_objext; then
42331 ac_cv_func_which_gethostbyname_r=six
42332 else
42333 echo "$as_me: failed program was:" >&5
42334 sed 's/^/| /' conftest.$ac_ext >&5
42335
42336
42337 fi
42338
42339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42340
42341 fi
42342
42343 #
42344 # FIVE ARGUMENTS
42345 # (e.g. Solaris)
42346 #
42347
42348 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42349
42350 cat >conftest.$ac_ext <<_ACEOF
42351 /* confdefs.h. */
42352 _ACEOF
42353 cat confdefs.h >>conftest.$ac_ext
42354 cat >>conftest.$ac_ext <<_ACEOF
42355 /* end confdefs.h. */
42356 #include <netdb.h>
42357 int
42358 main ()
42359 {
42360
42361 char *name = "www.gnu.org";
42362 struct hostent ret;
42363 char buf[1024];
42364 int buflen = 1024;
42365 int my_h_errno;
42366 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42367
42368 ;
42369 return 0;
42370 }
42371 _ACEOF
42372 rm -f conftest.$ac_objext
42373 if { (ac_try="$ac_compile"
42374 case "(($ac_try" in
42375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42376 *) ac_try_echo=$ac_try;;
42377 esac
42378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42379 (eval "$ac_compile") 2>conftest.er1
42380 ac_status=$?
42381 grep -v '^ *+' conftest.er1 >conftest.err
42382 rm -f conftest.er1
42383 cat conftest.err >&5
42384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42385 (exit $ac_status); } && {
42386 test -z "$ac_c_werror_flag" ||
42387 test ! -s conftest.err
42388 } && test -s conftest.$ac_objext; then
42389 ac_cv_func_which_gethostbyname_r=five
42390 else
42391 echo "$as_me: failed program was:" >&5
42392 sed 's/^/| /' conftest.$ac_ext >&5
42393
42394
42395 fi
42396
42397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42398
42399 fi
42400
42401 #
42402 # THREE ARGUMENTS
42403 # (e.g. AIX, HP-UX, Tru64)
42404 #
42405
42406 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42407
42408 cat >conftest.$ac_ext <<_ACEOF
42409 /* confdefs.h. */
42410 _ACEOF
42411 cat confdefs.h >>conftest.$ac_ext
42412 cat >>conftest.$ac_ext <<_ACEOF
42413 /* end confdefs.h. */
42414 #include <netdb.h>
42415 int
42416 main ()
42417 {
42418
42419 char *name = "www.gnu.org";
42420 struct hostent ret;
42421 struct hostent_data data;
42422 (void)gethostbyname_r(name, &ret, &data) /* ; */
42423
42424 ;
42425 return 0;
42426 }
42427 _ACEOF
42428 rm -f conftest.$ac_objext
42429 if { (ac_try="$ac_compile"
42430 case "(($ac_try" in
42431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42432 *) ac_try_echo=$ac_try;;
42433 esac
42434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42435 (eval "$ac_compile") 2>conftest.er1
42436 ac_status=$?
42437 grep -v '^ *+' conftest.er1 >conftest.err
42438 rm -f conftest.er1
42439 cat conftest.err >&5
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); } && {
42442 test -z "$ac_c_werror_flag" ||
42443 test ! -s conftest.err
42444 } && test -s conftest.$ac_objext; then
42445 ac_cv_func_which_gethostbyname_r=three
42446 else
42447 echo "$as_me: failed program was:" >&5
42448 sed 's/^/| /' conftest.$ac_ext >&5
42449
42450
42451 fi
42452
42453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42454
42455 fi
42456
42457 ################################################################
42458
42459
42460 fi
42461
42462 case "$ac_cv_func_which_gethostbyname_r" in
42463 three)
42464 { echo "$as_me:$LINENO: result: three" >&5
42465 echo "${ECHO_T}three" >&6; }
42466 cat >>confdefs.h <<\_ACEOF
42467 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42468 _ACEOF
42469
42470 ;;
42471
42472 five)
42473 { echo "$as_me:$LINENO: result: five" >&5
42474 echo "${ECHO_T}five" >&6; }
42475 cat >>confdefs.h <<\_ACEOF
42476 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42477 _ACEOF
42478
42479 ;;
42480
42481 six)
42482 { echo "$as_me:$LINENO: result: six" >&5
42483 echo "${ECHO_T}six" >&6; }
42484 cat >>confdefs.h <<\_ACEOF
42485 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42486 _ACEOF
42487
42488 ;;
42489
42490 no)
42491 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42492 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42493 ;;
42494
42495 unknown)
42496 { echo "$as_me:$LINENO: result: can't tell" >&5
42497 echo "${ECHO_T}can't tell" >&6; }
42498 ;;
42499
42500 *)
42501 { { echo "$as_me:$LINENO: error: internal error" >&5
42502 echo "$as_me: error: internal error" >&2;}
42503 { (exit 1); exit 1; }; }
42504 ;;
42505 esac
42506
42507 ac_ext=c
42508 ac_cpp='$CPP $CPPFLAGS'
42509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42512
42513
42514
42515 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42516 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42517 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42518 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42519 if test "${ac_cv_func_gethostbyname+set}" = set; then
42520 echo $ECHO_N "(cached) $ECHO_C" >&6
42521 else
42522 cat >conftest.$ac_ext <<_ACEOF
42523 /* confdefs.h. */
42524 _ACEOF
42525 cat confdefs.h >>conftest.$ac_ext
42526 cat >>conftest.$ac_ext <<_ACEOF
42527 /* end confdefs.h. */
42528 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42530 #define gethostbyname innocuous_gethostbyname
42531
42532 /* System header to define __stub macros and hopefully few prototypes,
42533 which can conflict with char gethostbyname (); below.
42534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42535 <limits.h> exists even on freestanding compilers. */
42536
42537 #ifdef __STDC__
42538 # include <limits.h>
42539 #else
42540 # include <assert.h>
42541 #endif
42542
42543 #undef gethostbyname
42544
42545 /* Override any GCC internal prototype to avoid an error.
42546 Use char because int might match the return type of a GCC
42547 builtin and then its argument prototype would still apply. */
42548 #ifdef __cplusplus
42549 extern "C"
42550 #endif
42551 char gethostbyname ();
42552 /* The GNU C library defines this for functions which it implements
42553 to always fail with ENOSYS. Some functions are actually named
42554 something starting with __ and the normal name is an alias. */
42555 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42556 choke me
42557 #endif
42558
42559 int
42560 main ()
42561 {
42562 return gethostbyname ();
42563 ;
42564 return 0;
42565 }
42566 _ACEOF
42567 rm -f conftest.$ac_objext conftest$ac_exeext
42568 if { (ac_try="$ac_link"
42569 case "(($ac_try" in
42570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42571 *) ac_try_echo=$ac_try;;
42572 esac
42573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42574 (eval "$ac_link") 2>conftest.er1
42575 ac_status=$?
42576 grep -v '^ *+' conftest.er1 >conftest.err
42577 rm -f conftest.er1
42578 cat conftest.err >&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); } && {
42581 test -z "$ac_c_werror_flag" ||
42582 test ! -s conftest.err
42583 } && test -s conftest$ac_exeext &&
42584 $as_test_x conftest$ac_exeext; then
42585 ac_cv_func_gethostbyname=yes
42586 else
42587 echo "$as_me: failed program was:" >&5
42588 sed 's/^/| /' conftest.$ac_ext >&5
42589
42590 ac_cv_func_gethostbyname=no
42591 fi
42592
42593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42594 conftest$ac_exeext conftest.$ac_ext
42595 fi
42596 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42597 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42598 if test $ac_cv_func_gethostbyname = yes; then
42599 cat >>confdefs.h <<\_ACEOF
42600 #define HAVE_GETHOSTBYNAME 1
42601 _ACEOF
42602
42603 fi
42604
42605 fi
42606
42607 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42608 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42609 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42610 echo $ECHO_N "(cached) $ECHO_C" >&6
42611 else
42612
42613 ac_ext=cpp
42614 ac_cpp='$CXXCPP $CPPFLAGS'
42615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42618
42619
42620 cat >conftest.$ac_ext <<_ACEOF
42621 /* confdefs.h. */
42622 _ACEOF
42623 cat confdefs.h >>conftest.$ac_ext
42624 cat >>conftest.$ac_ext <<_ACEOF
42625 /* end confdefs.h. */
42626 #include <netdb.h>
42627 int
42628 main ()
42629 {
42630
42631 char *name;
42632 char *proto;
42633 struct servent *se, *res;
42634 char buffer[2048];
42635 int buflen = 2048;
42636 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42637
42638 ;
42639 return 0;
42640 }
42641 _ACEOF
42642 rm -f conftest.$ac_objext
42643 if { (ac_try="$ac_compile"
42644 case "(($ac_try" in
42645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42646 *) ac_try_echo=$ac_try;;
42647 esac
42648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42649 (eval "$ac_compile") 2>conftest.er1
42650 ac_status=$?
42651 grep -v '^ *+' conftest.er1 >conftest.err
42652 rm -f conftest.er1
42653 cat conftest.err >&5
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); } && {
42656 test -z "$ac_cxx_werror_flag" ||
42657 test ! -s conftest.err
42658 } && test -s conftest.$ac_objext; then
42659 ac_cv_func_which_getservbyname_r=six
42660 else
42661 echo "$as_me: failed program was:" >&5
42662 sed 's/^/| /' conftest.$ac_ext >&5
42663
42664
42665 cat >conftest.$ac_ext <<_ACEOF
42666 /* confdefs.h. */
42667 _ACEOF
42668 cat confdefs.h >>conftest.$ac_ext
42669 cat >>conftest.$ac_ext <<_ACEOF
42670 /* end confdefs.h. */
42671 #include <netdb.h>
42672 int
42673 main ()
42674 {
42675
42676 char *name;
42677 char *proto;
42678 struct servent *se;
42679 char buffer[2048];
42680 int buflen = 2048;
42681 (void) getservbyname_r(name, proto, se, buffer, buflen)
42682
42683 ;
42684 return 0;
42685 }
42686 _ACEOF
42687 rm -f conftest.$ac_objext
42688 if { (ac_try="$ac_compile"
42689 case "(($ac_try" in
42690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42691 *) ac_try_echo=$ac_try;;
42692 esac
42693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42694 (eval "$ac_compile") 2>conftest.er1
42695 ac_status=$?
42696 grep -v '^ *+' conftest.er1 >conftest.err
42697 rm -f conftest.er1
42698 cat conftest.err >&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); } && {
42701 test -z "$ac_cxx_werror_flag" ||
42702 test ! -s conftest.err
42703 } && test -s conftest.$ac_objext; then
42704 ac_cv_func_which_getservbyname_r=five
42705 else
42706 echo "$as_me: failed program was:" >&5
42707 sed 's/^/| /' conftest.$ac_ext >&5
42708
42709
42710 cat >conftest.$ac_ext <<_ACEOF
42711 /* confdefs.h. */
42712 _ACEOF
42713 cat confdefs.h >>conftest.$ac_ext
42714 cat >>conftest.$ac_ext <<_ACEOF
42715 /* end confdefs.h. */
42716 #include <netdb.h>
42717 int
42718 main ()
42719 {
42720
42721 char *name;
42722 char *proto;
42723 struct servent *se;
42724 struct servent_data data;
42725 (void) getservbyname_r(name, proto, se, &data);
42726
42727 ;
42728 return 0;
42729 }
42730 _ACEOF
42731 rm -f conftest.$ac_objext
42732 if { (ac_try="$ac_compile"
42733 case "(($ac_try" in
42734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42735 *) ac_try_echo=$ac_try;;
42736 esac
42737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42738 (eval "$ac_compile") 2>conftest.er1
42739 ac_status=$?
42740 grep -v '^ *+' conftest.er1 >conftest.err
42741 rm -f conftest.er1
42742 cat conftest.err >&5
42743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42744 (exit $ac_status); } && {
42745 test -z "$ac_cxx_werror_flag" ||
42746 test ! -s conftest.err
42747 } && test -s conftest.$ac_objext; then
42748 ac_cv_func_which_getservbyname_r=four
42749 else
42750 echo "$as_me: failed program was:" >&5
42751 sed 's/^/| /' conftest.$ac_ext >&5
42752
42753 ac_cv_func_which_getservbyname_r=no
42754
42755 fi
42756
42757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42758
42759
42760 fi
42761
42762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42763
42764
42765 fi
42766
42767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42768 ac_ext=c
42769 ac_cpp='$CPP $CPPFLAGS'
42770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42773
42774
42775
42776 fi
42777 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42778 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42779
42780 if test $ac_cv_func_which_getservbyname_r = six; then
42781 cat >>confdefs.h <<\_ACEOF
42782 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42783 _ACEOF
42784
42785 elif test $ac_cv_func_which_getservbyname_r = five; then
42786 cat >>confdefs.h <<\_ACEOF
42787 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42788 _ACEOF
42789
42790 elif test $ac_cv_func_which_getservbyname_r = four; then
42791 cat >>confdefs.h <<\_ACEOF
42792 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42793 _ACEOF
42794
42795 fi
42796
42797
42798 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42799 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42800
42801 for ac_func in getservbyname
42802 do
42803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42807 echo $ECHO_N "(cached) $ECHO_C" >&6
42808 else
42809 cat >conftest.$ac_ext <<_ACEOF
42810 /* confdefs.h. */
42811 _ACEOF
42812 cat confdefs.h >>conftest.$ac_ext
42813 cat >>conftest.$ac_ext <<_ACEOF
42814 /* end confdefs.h. */
42815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42817 #define $ac_func innocuous_$ac_func
42818
42819 /* System header to define __stub macros and hopefully few prototypes,
42820 which can conflict with char $ac_func (); below.
42821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42822 <limits.h> exists even on freestanding compilers. */
42823
42824 #ifdef __STDC__
42825 # include <limits.h>
42826 #else
42827 # include <assert.h>
42828 #endif
42829
42830 #undef $ac_func
42831
42832 /* Override any GCC internal prototype to avoid an error.
42833 Use char because int might match the return type of a GCC
42834 builtin and then its argument prototype would still apply. */
42835 #ifdef __cplusplus
42836 extern "C"
42837 #endif
42838 char $ac_func ();
42839 /* The GNU C library defines this for functions which it implements
42840 to always fail with ENOSYS. Some functions are actually named
42841 something starting with __ and the normal name is an alias. */
42842 #if defined __stub_$ac_func || defined __stub___$ac_func
42843 choke me
42844 #endif
42845
42846 int
42847 main ()
42848 {
42849 return $ac_func ();
42850 ;
42851 return 0;
42852 }
42853 _ACEOF
42854 rm -f conftest.$ac_objext conftest$ac_exeext
42855 if { (ac_try="$ac_link"
42856 case "(($ac_try" in
42857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42858 *) ac_try_echo=$ac_try;;
42859 esac
42860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42861 (eval "$ac_link") 2>conftest.er1
42862 ac_status=$?
42863 grep -v '^ *+' conftest.er1 >conftest.err
42864 rm -f conftest.er1
42865 cat conftest.err >&5
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); } && {
42868 test -z "$ac_c_werror_flag" ||
42869 test ! -s conftest.err
42870 } && test -s conftest$ac_exeext &&
42871 $as_test_x conftest$ac_exeext; then
42872 eval "$as_ac_var=yes"
42873 else
42874 echo "$as_me: failed program was:" >&5
42875 sed 's/^/| /' conftest.$ac_ext >&5
42876
42877 eval "$as_ac_var=no"
42878 fi
42879
42880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42881 conftest$ac_exeext conftest.$ac_ext
42882 fi
42883 ac_res=`eval echo '${'$as_ac_var'}'`
42884 { echo "$as_me:$LINENO: result: $ac_res" >&5
42885 echo "${ECHO_T}$ac_res" >&6; }
42886 if test `eval echo '${'$as_ac_var'}'` = yes; then
42887 cat >>confdefs.h <<_ACEOF
42888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42889 _ACEOF
42890 cat >>confdefs.h <<\_ACEOF
42891 #define HAVE_GETSERVBYNAME 1
42892 _ACEOF
42893
42894 fi
42895 done
42896
42897 fi
42898
42899 if test "$wxUSE_THREADS" = "yes"; then
42900 cat >>confdefs.h <<\_ACEOF
42901 #define wxUSE_THREADS 1
42902 _ACEOF
42903
42904
42905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42906 else
42907 if test "$wx_cv_func_strtok_r" = "yes"; then
42908 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42909 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42910 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42911 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42912 { echo "$as_me:$LINENO: result: yes" >&5
42913 echo "${ECHO_T}yes" >&6; }
42914 else
42915 { echo "$as_me:$LINENO: result: no" >&5
42916 echo "${ECHO_T}no" >&6; }
42917 fi
42918 fi
42919 fi
42920
42921 if test "$WXGTK2" = 1 ; then
42922 cat >>confdefs.h <<_ACEOF
42923 #define __WXGTK20__ $WXGTK2
42924 _ACEOF
42925
42926 WXGTK12=1
42927 fi
42928
42929 if test "$WXGTK12" = 1 ; then
42930 cat >>confdefs.h <<_ACEOF
42931 #define __WXGTK12__ $WXGTK12
42932 _ACEOF
42933
42934 fi
42935
42936 if test "$WXGTK127" = 1 ; then
42937 cat >>confdefs.h <<_ACEOF
42938 #define __WXGTK127__ $WXGTK127
42939 _ACEOF
42940
42941 fi
42942
42943 if test "$WXGPE" = 1 ; then
42944 cat >>confdefs.h <<_ACEOF
42945 #define __WXGPE__ $WXGPE
42946 _ACEOF
42947
42948 fi
42949
42950 DEBUG_CFLAGS=
42951 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42952 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42953 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42954 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42955 DEBUG_CFLAGS="-g"
42956 fi
42957
42958 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42959 wxUSE_DEBUG_INFO=yes
42960 if test "$GCC" = yes; then
42961 DEBUG_CFLAGS="-ggdb"
42962 fi
42963 fi
42964
42965 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42966 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42967
42968 if test "$wxUSE_GTK" = 1 ; then
42969 if test "x$wxGTK_VERSION" = "x1" ; then
42970 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42971 fi
42972 fi
42973 fi
42974
42975 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42976 cat >>confdefs.h <<\_ACEOF
42977 #define wxUSE_MEMORY_TRACING 1
42978 _ACEOF
42979
42980 cat >>confdefs.h <<\_ACEOF
42981 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42982 _ACEOF
42983
42984 cat >>confdefs.h <<\_ACEOF
42985 #define wxUSE_DEBUG_NEW_ALWAYS 1
42986 _ACEOF
42987
42988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42989 fi
42990
42991 if test "$wxUSE_DMALLOC" = "yes" ; then
42992 DMALLOC_LIBS="-ldmallocthcxx"
42993 fi
42994
42995 PROFILE_FLAGS=
42996 if test "$wxUSE_PROFILE" = "yes" ; then
42997 PROFILE_FLAGS=" -pg"
42998 fi
42999
43000 if test "$GCC" = "yes" ; then
43001 if test "$wxUSE_NO_RTTI" = "yes" ; then
43002 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43003 fi
43004 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43005 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43006 fi
43007 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43008 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43009 fi
43010
43011 case "${host}" in
43012 powerpc*-*-aix* )
43013 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43014 ;;
43015 *-hppa* )
43016 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43017 ;;
43018 esac
43019 fi
43020
43021 OPTIMISE_CFLAGS=
43022 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43023 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43024 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43025 else
43026 if test "$wxUSE_OPTIMISE" = "no" ; then
43027 if test "$GCC" = yes ; then
43028 OPTIMISE_CFLAGS="-O0"
43029 fi
43030 else
43031 if test "$GCC" = yes ; then
43032 case "${host}" in
43033 *-pc-os2_emx | *-pc-os2-emx )
43034 OPTIMISE_CFLAGS="-O2"
43035 ;;
43036 *)
43037 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43038 ;;
43039 esac
43040 else
43041 OPTIMISE_CFLAGS="-O"
43042 fi
43043 fi
43044 fi
43045
43046
43047 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43048 cat >>confdefs.h <<\_ACEOF
43049 #define WXWIN_COMPATIBILITY_2_6 1
43050 _ACEOF
43051
43052
43053 WXWIN_COMPATIBILITY_2_8="yes"
43054 fi
43055
43056 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43057 cat >>confdefs.h <<\_ACEOF
43058 #define WXWIN_COMPATIBILITY_2_8 1
43059 _ACEOF
43060
43061 fi
43062
43063
43064 if test "$wxUSE_GUI" = "yes"; then
43065 cat >>confdefs.h <<\_ACEOF
43066 #define wxUSE_GUI 1
43067 _ACEOF
43068
43069
43070 fi
43071
43072
43073 if test "$wxUSE_UNIX" = "yes"; then
43074 cat >>confdefs.h <<\_ACEOF
43075 #define wxUSE_UNIX 1
43076 _ACEOF
43077
43078 fi
43079
43080
43081 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43082
43083 HAVE_DL_FUNCS=0
43084 HAVE_SHL_FUNCS=0
43085 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43086 if test "$USE_DOS" = 1; then
43087 HAVE_DL_FUNCS=0
43088 else
43089
43090 for ac_func in dlopen
43091 do
43092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43093 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43095 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43096 echo $ECHO_N "(cached) $ECHO_C" >&6
43097 else
43098 cat >conftest.$ac_ext <<_ACEOF
43099 /* confdefs.h. */
43100 _ACEOF
43101 cat confdefs.h >>conftest.$ac_ext
43102 cat >>conftest.$ac_ext <<_ACEOF
43103 /* end confdefs.h. */
43104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43106 #define $ac_func innocuous_$ac_func
43107
43108 /* System header to define __stub macros and hopefully few prototypes,
43109 which can conflict with char $ac_func (); below.
43110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43111 <limits.h> exists even on freestanding compilers. */
43112
43113 #ifdef __STDC__
43114 # include <limits.h>
43115 #else
43116 # include <assert.h>
43117 #endif
43118
43119 #undef $ac_func
43120
43121 /* Override any GCC internal prototype to avoid an error.
43122 Use char because int might match the return type of a GCC
43123 builtin and then its argument prototype would still apply. */
43124 #ifdef __cplusplus
43125 extern "C"
43126 #endif
43127 char $ac_func ();
43128 /* The GNU C library defines this for functions which it implements
43129 to always fail with ENOSYS. Some functions are actually named
43130 something starting with __ and the normal name is an alias. */
43131 #if defined __stub_$ac_func || defined __stub___$ac_func
43132 choke me
43133 #endif
43134
43135 int
43136 main ()
43137 {
43138 return $ac_func ();
43139 ;
43140 return 0;
43141 }
43142 _ACEOF
43143 rm -f conftest.$ac_objext conftest$ac_exeext
43144 if { (ac_try="$ac_link"
43145 case "(($ac_try" in
43146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43147 *) ac_try_echo=$ac_try;;
43148 esac
43149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43150 (eval "$ac_link") 2>conftest.er1
43151 ac_status=$?
43152 grep -v '^ *+' conftest.er1 >conftest.err
43153 rm -f conftest.er1
43154 cat conftest.err >&5
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); } && {
43157 test -z "$ac_c_werror_flag" ||
43158 test ! -s conftest.err
43159 } && test -s conftest$ac_exeext &&
43160 $as_test_x conftest$ac_exeext; then
43161 eval "$as_ac_var=yes"
43162 else
43163 echo "$as_me: failed program was:" >&5
43164 sed 's/^/| /' conftest.$ac_ext >&5
43165
43166 eval "$as_ac_var=no"
43167 fi
43168
43169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43170 conftest$ac_exeext conftest.$ac_ext
43171 fi
43172 ac_res=`eval echo '${'$as_ac_var'}'`
43173 { echo "$as_me:$LINENO: result: $ac_res" >&5
43174 echo "${ECHO_T}$ac_res" >&6; }
43175 if test `eval echo '${'$as_ac_var'}'` = yes; then
43176 cat >>confdefs.h <<_ACEOF
43177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43178 _ACEOF
43179
43180 cat >>confdefs.h <<\_ACEOF
43181 #define HAVE_DLOPEN 1
43182 _ACEOF
43183
43184 HAVE_DL_FUNCS=1
43185
43186 else
43187
43188 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43189 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43190 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43191 echo $ECHO_N "(cached) $ECHO_C" >&6
43192 else
43193 ac_check_lib_save_LIBS=$LIBS
43194 LIBS="-ldl $LIBS"
43195 cat >conftest.$ac_ext <<_ACEOF
43196 /* confdefs.h. */
43197 _ACEOF
43198 cat confdefs.h >>conftest.$ac_ext
43199 cat >>conftest.$ac_ext <<_ACEOF
43200 /* end confdefs.h. */
43201
43202 /* Override any GCC internal prototype to avoid an error.
43203 Use char because int might match the return type of a GCC
43204 builtin and then its argument prototype would still apply. */
43205 #ifdef __cplusplus
43206 extern "C"
43207 #endif
43208 char dlopen ();
43209 int
43210 main ()
43211 {
43212 return dlopen ();
43213 ;
43214 return 0;
43215 }
43216 _ACEOF
43217 rm -f conftest.$ac_objext conftest$ac_exeext
43218 if { (ac_try="$ac_link"
43219 case "(($ac_try" in
43220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43221 *) ac_try_echo=$ac_try;;
43222 esac
43223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43224 (eval "$ac_link") 2>conftest.er1
43225 ac_status=$?
43226 grep -v '^ *+' conftest.er1 >conftest.err
43227 rm -f conftest.er1
43228 cat conftest.err >&5
43229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43230 (exit $ac_status); } && {
43231 test -z "$ac_c_werror_flag" ||
43232 test ! -s conftest.err
43233 } && test -s conftest$ac_exeext &&
43234 $as_test_x conftest$ac_exeext; then
43235 ac_cv_lib_dl_dlopen=yes
43236 else
43237 echo "$as_me: failed program was:" >&5
43238 sed 's/^/| /' conftest.$ac_ext >&5
43239
43240 ac_cv_lib_dl_dlopen=no
43241 fi
43242
43243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43244 conftest$ac_exeext conftest.$ac_ext
43245 LIBS=$ac_check_lib_save_LIBS
43246 fi
43247 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43248 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43249 if test $ac_cv_lib_dl_dlopen = yes; then
43250
43251 cat >>confdefs.h <<\_ACEOF
43252 #define HAVE_DLOPEN 1
43253 _ACEOF
43254
43255 HAVE_DL_FUNCS=1
43256 DL_LINK=" -ldl$DL_LINK"
43257
43258 else
43259
43260
43261 for ac_func in shl_load
43262 do
43263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43264 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43266 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43267 echo $ECHO_N "(cached) $ECHO_C" >&6
43268 else
43269 cat >conftest.$ac_ext <<_ACEOF
43270 /* confdefs.h. */
43271 _ACEOF
43272 cat confdefs.h >>conftest.$ac_ext
43273 cat >>conftest.$ac_ext <<_ACEOF
43274 /* end confdefs.h. */
43275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43277 #define $ac_func innocuous_$ac_func
43278
43279 /* System header to define __stub macros and hopefully few prototypes,
43280 which can conflict with char $ac_func (); below.
43281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43282 <limits.h> exists even on freestanding compilers. */
43283
43284 #ifdef __STDC__
43285 # include <limits.h>
43286 #else
43287 # include <assert.h>
43288 #endif
43289
43290 #undef $ac_func
43291
43292 /* Override any GCC internal prototype to avoid an error.
43293 Use char because int might match the return type of a GCC
43294 builtin and then its argument prototype would still apply. */
43295 #ifdef __cplusplus
43296 extern "C"
43297 #endif
43298 char $ac_func ();
43299 /* The GNU C library defines this for functions which it implements
43300 to always fail with ENOSYS. Some functions are actually named
43301 something starting with __ and the normal name is an alias. */
43302 #if defined __stub_$ac_func || defined __stub___$ac_func
43303 choke me
43304 #endif
43305
43306 int
43307 main ()
43308 {
43309 return $ac_func ();
43310 ;
43311 return 0;
43312 }
43313 _ACEOF
43314 rm -f conftest.$ac_objext conftest$ac_exeext
43315 if { (ac_try="$ac_link"
43316 case "(($ac_try" in
43317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43318 *) ac_try_echo=$ac_try;;
43319 esac
43320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43321 (eval "$ac_link") 2>conftest.er1
43322 ac_status=$?
43323 grep -v '^ *+' conftest.er1 >conftest.err
43324 rm -f conftest.er1
43325 cat conftest.err >&5
43326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43327 (exit $ac_status); } && {
43328 test -z "$ac_c_werror_flag" ||
43329 test ! -s conftest.err
43330 } && test -s conftest$ac_exeext &&
43331 $as_test_x conftest$ac_exeext; then
43332 eval "$as_ac_var=yes"
43333 else
43334 echo "$as_me: failed program was:" >&5
43335 sed 's/^/| /' conftest.$ac_ext >&5
43336
43337 eval "$as_ac_var=no"
43338 fi
43339
43340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43341 conftest$ac_exeext conftest.$ac_ext
43342 fi
43343 ac_res=`eval echo '${'$as_ac_var'}'`
43344 { echo "$as_me:$LINENO: result: $ac_res" >&5
43345 echo "${ECHO_T}$ac_res" >&6; }
43346 if test `eval echo '${'$as_ac_var'}'` = yes; then
43347 cat >>confdefs.h <<_ACEOF
43348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43349 _ACEOF
43350
43351 cat >>confdefs.h <<\_ACEOF
43352 #define HAVE_SHL_LOAD 1
43353 _ACEOF
43354
43355 HAVE_SHL_FUNCS=1
43356
43357 else
43358
43359 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43360 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43361 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43362 echo $ECHO_N "(cached) $ECHO_C" >&6
43363 else
43364 ac_check_lib_save_LIBS=$LIBS
43365 LIBS="-lshl_load $LIBS"
43366 cat >conftest.$ac_ext <<_ACEOF
43367 /* confdefs.h. */
43368 _ACEOF
43369 cat confdefs.h >>conftest.$ac_ext
43370 cat >>conftest.$ac_ext <<_ACEOF
43371 /* end confdefs.h. */
43372
43373 /* Override any GCC internal prototype to avoid an error.
43374 Use char because int might match the return type of a GCC
43375 builtin and then its argument prototype would still apply. */
43376 #ifdef __cplusplus
43377 extern "C"
43378 #endif
43379 char dld ();
43380 int
43381 main ()
43382 {
43383 return dld ();
43384 ;
43385 return 0;
43386 }
43387 _ACEOF
43388 rm -f conftest.$ac_objext conftest$ac_exeext
43389 if { (ac_try="$ac_link"
43390 case "(($ac_try" in
43391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43392 *) ac_try_echo=$ac_try;;
43393 esac
43394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43395 (eval "$ac_link") 2>conftest.er1
43396 ac_status=$?
43397 grep -v '^ *+' conftest.er1 >conftest.err
43398 rm -f conftest.er1
43399 cat conftest.err >&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); } && {
43402 test -z "$ac_c_werror_flag" ||
43403 test ! -s conftest.err
43404 } && test -s conftest$ac_exeext &&
43405 $as_test_x conftest$ac_exeext; then
43406 ac_cv_lib_shl_load_dld=yes
43407 else
43408 echo "$as_me: failed program was:" >&5
43409 sed 's/^/| /' conftest.$ac_ext >&5
43410
43411 ac_cv_lib_shl_load_dld=no
43412 fi
43413
43414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43415 conftest$ac_exeext conftest.$ac_ext
43416 LIBS=$ac_check_lib_save_LIBS
43417 fi
43418 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43419 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43420 if test $ac_cv_lib_shl_load_dld = yes; then
43421
43422 HAVE_SHL_FUNCS=1
43423 DL_LINK=" -ldld$DL_LINK"
43424
43425 fi
43426
43427
43428 fi
43429 done
43430
43431
43432 fi
43433
43434
43435 fi
43436 done
43437
43438
43439 if test "$HAVE_DL_FUNCS" = 1; then
43440
43441 for ac_func in dlerror
43442 do
43443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43447 echo $ECHO_N "(cached) $ECHO_C" >&6
43448 else
43449 cat >conftest.$ac_ext <<_ACEOF
43450 /* confdefs.h. */
43451 _ACEOF
43452 cat confdefs.h >>conftest.$ac_ext
43453 cat >>conftest.$ac_ext <<_ACEOF
43454 /* end confdefs.h. */
43455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43457 #define $ac_func innocuous_$ac_func
43458
43459 /* System header to define __stub macros and hopefully few prototypes,
43460 which can conflict with char $ac_func (); below.
43461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43462 <limits.h> exists even on freestanding compilers. */
43463
43464 #ifdef __STDC__
43465 # include <limits.h>
43466 #else
43467 # include <assert.h>
43468 #endif
43469
43470 #undef $ac_func
43471
43472 /* Override any GCC internal prototype to avoid an error.
43473 Use char because int might match the return type of a GCC
43474 builtin and then its argument prototype would still apply. */
43475 #ifdef __cplusplus
43476 extern "C"
43477 #endif
43478 char $ac_func ();
43479 /* The GNU C library defines this for functions which it implements
43480 to always fail with ENOSYS. Some functions are actually named
43481 something starting with __ and the normal name is an alias. */
43482 #if defined __stub_$ac_func || defined __stub___$ac_func
43483 choke me
43484 #endif
43485
43486 int
43487 main ()
43488 {
43489 return $ac_func ();
43490 ;
43491 return 0;
43492 }
43493 _ACEOF
43494 rm -f conftest.$ac_objext conftest$ac_exeext
43495 if { (ac_try="$ac_link"
43496 case "(($ac_try" in
43497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43498 *) ac_try_echo=$ac_try;;
43499 esac
43500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43501 (eval "$ac_link") 2>conftest.er1
43502 ac_status=$?
43503 grep -v '^ *+' conftest.er1 >conftest.err
43504 rm -f conftest.er1
43505 cat conftest.err >&5
43506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507 (exit $ac_status); } && {
43508 test -z "$ac_c_werror_flag" ||
43509 test ! -s conftest.err
43510 } && test -s conftest$ac_exeext &&
43511 $as_test_x conftest$ac_exeext; then
43512 eval "$as_ac_var=yes"
43513 else
43514 echo "$as_me: failed program was:" >&5
43515 sed 's/^/| /' conftest.$ac_ext >&5
43516
43517 eval "$as_ac_var=no"
43518 fi
43519
43520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43521 conftest$ac_exeext conftest.$ac_ext
43522 fi
43523 ac_res=`eval echo '${'$as_ac_var'}'`
43524 { echo "$as_me:$LINENO: result: $ac_res" >&5
43525 echo "${ECHO_T}$ac_res" >&6; }
43526 if test `eval echo '${'$as_ac_var'}'` = yes; then
43527 cat >>confdefs.h <<_ACEOF
43528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43529 _ACEOF
43530 cat >>confdefs.h <<\_ACEOF
43531 #define HAVE_DLERROR 1
43532 _ACEOF
43533
43534 else
43535
43536 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43537 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43538 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43539 echo $ECHO_N "(cached) $ECHO_C" >&6
43540 else
43541 ac_check_lib_save_LIBS=$LIBS
43542 LIBS="-ldl $LIBS"
43543 cat >conftest.$ac_ext <<_ACEOF
43544 /* confdefs.h. */
43545 _ACEOF
43546 cat confdefs.h >>conftest.$ac_ext
43547 cat >>conftest.$ac_ext <<_ACEOF
43548 /* end confdefs.h. */
43549
43550 /* Override any GCC internal prototype to avoid an error.
43551 Use char because int might match the return type of a GCC
43552 builtin and then its argument prototype would still apply. */
43553 #ifdef __cplusplus
43554 extern "C"
43555 #endif
43556 char dlerror ();
43557 int
43558 main ()
43559 {
43560 return dlerror ();
43561 ;
43562 return 0;
43563 }
43564 _ACEOF
43565 rm -f conftest.$ac_objext conftest$ac_exeext
43566 if { (ac_try="$ac_link"
43567 case "(($ac_try" in
43568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43569 *) ac_try_echo=$ac_try;;
43570 esac
43571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43572 (eval "$ac_link") 2>conftest.er1
43573 ac_status=$?
43574 grep -v '^ *+' conftest.er1 >conftest.err
43575 rm -f conftest.er1
43576 cat conftest.err >&5
43577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43578 (exit $ac_status); } && {
43579 test -z "$ac_c_werror_flag" ||
43580 test ! -s conftest.err
43581 } && test -s conftest$ac_exeext &&
43582 $as_test_x conftest$ac_exeext; then
43583 ac_cv_lib_dl_dlerror=yes
43584 else
43585 echo "$as_me: failed program was:" >&5
43586 sed 's/^/| /' conftest.$ac_ext >&5
43587
43588 ac_cv_lib_dl_dlerror=no
43589 fi
43590
43591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43592 conftest$ac_exeext conftest.$ac_ext
43593 LIBS=$ac_check_lib_save_LIBS
43594 fi
43595 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43596 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43597 if test $ac_cv_lib_dl_dlerror = yes; then
43598 cat >>confdefs.h <<\_ACEOF
43599 #define HAVE_DLERROR 1
43600 _ACEOF
43601
43602 fi
43603
43604
43605
43606 fi
43607 done
43608
43609 fi
43610 fi
43611
43612 if test "$USE_DARWIN" = 1; then
43613 HAVE_DL_FUNCS=1
43614 fi
43615
43616 if test "$HAVE_DL_FUNCS" = 0; then
43617 if test "$HAVE_SHL_FUNCS" = 0; then
43618 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43619 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43620 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43621 wxUSE_DYNAMIC_LOADER=no
43622 wxUSE_DYNLIB_CLASS=no
43623 else
43624 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43625 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43626 fi
43627 fi
43628 fi
43629 fi
43630 fi
43631
43632 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define wxUSE_DYNAMIC_LOADER 1
43635 _ACEOF
43636
43637 fi
43638 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43639 cat >>confdefs.h <<\_ACEOF
43640 #define wxUSE_DYNLIB_CLASS 1
43641 _ACEOF
43642
43643 fi
43644
43645
43646
43647 if test "$wxUSE_PLUGINS" = "yes" ; then
43648 if test "$wxUSE_SHARED" = "no" ; then
43649 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43650 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43651 wxUSE_PLUGINS=no
43652 fi
43653 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43654 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43655 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43656 wxUSE_PLUGINS=no
43657 fi
43658 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43659 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43660 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43661 wxUSE_PLUGINS=no
43662 fi
43663 if test "$wxUSE_PLUGINS" = "yes" ; then
43664 cat >>confdefs.h <<\_ACEOF
43665 #define wxUSE_PLUGINS 1
43666 _ACEOF
43667
43668 fi
43669 fi
43670
43671
43672 if test "$wxUSE_FSWATCHER" = "yes"; then
43673 if test "$wxUSE_MSW" != "1"; then
43674 if test "$wxUSE_UNIX" = "yes"; then
43675
43676 for ac_header in sys/inotify.h
43677 do
43678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43682 echo $ECHO_N "(cached) $ECHO_C" >&6
43683 else
43684 cat >conftest.$ac_ext <<_ACEOF
43685 /* confdefs.h. */
43686 _ACEOF
43687 cat confdefs.h >>conftest.$ac_ext
43688 cat >>conftest.$ac_ext <<_ACEOF
43689 /* end confdefs.h. */
43690 $ac_includes_default
43691
43692 #include <$ac_header>
43693 _ACEOF
43694 rm -f conftest.$ac_objext
43695 if { (ac_try="$ac_compile"
43696 case "(($ac_try" in
43697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43698 *) ac_try_echo=$ac_try;;
43699 esac
43700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43701 (eval "$ac_compile") 2>conftest.er1
43702 ac_status=$?
43703 grep -v '^ *+' conftest.er1 >conftest.err
43704 rm -f conftest.er1
43705 cat conftest.err >&5
43706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43707 (exit $ac_status); } && {
43708 test -z "$ac_c_werror_flag" ||
43709 test ! -s conftest.err
43710 } && test -s conftest.$ac_objext; then
43711 eval "$as_ac_Header=yes"
43712 else
43713 echo "$as_me: failed program was:" >&5
43714 sed 's/^/| /' conftest.$ac_ext >&5
43715
43716 eval "$as_ac_Header=no"
43717 fi
43718
43719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43720 fi
43721 ac_res=`eval echo '${'$as_ac_Header'}'`
43722 { echo "$as_me:$LINENO: result: $ac_res" >&5
43723 echo "${ECHO_T}$ac_res" >&6; }
43724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43725 cat >>confdefs.h <<_ACEOF
43726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43727 _ACEOF
43728
43729 fi
43730
43731 done
43732
43733 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43734 cat >>confdefs.h <<\_ACEOF
43735 #define wxHAS_INOTIFY 1
43736 _ACEOF
43737
43738 else
43739
43740 for ac_header in sys/event.h
43741 do
43742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43746 echo $ECHO_N "(cached) $ECHO_C" >&6
43747 else
43748 cat >conftest.$ac_ext <<_ACEOF
43749 /* confdefs.h. */
43750 _ACEOF
43751 cat confdefs.h >>conftest.$ac_ext
43752 cat >>conftest.$ac_ext <<_ACEOF
43753 /* end confdefs.h. */
43754 $ac_includes_default
43755
43756 #include <$ac_header>
43757 _ACEOF
43758 rm -f conftest.$ac_objext
43759 if { (ac_try="$ac_compile"
43760 case "(($ac_try" in
43761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43762 *) ac_try_echo=$ac_try;;
43763 esac
43764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43765 (eval "$ac_compile") 2>conftest.er1
43766 ac_status=$?
43767 grep -v '^ *+' conftest.er1 >conftest.err
43768 rm -f conftest.er1
43769 cat conftest.err >&5
43770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43771 (exit $ac_status); } && {
43772 test -z "$ac_c_werror_flag" ||
43773 test ! -s conftest.err
43774 } && test -s conftest.$ac_objext; then
43775 eval "$as_ac_Header=yes"
43776 else
43777 echo "$as_me: failed program was:" >&5
43778 sed 's/^/| /' conftest.$ac_ext >&5
43779
43780 eval "$as_ac_Header=no"
43781 fi
43782
43783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43784 fi
43785 ac_res=`eval echo '${'$as_ac_Header'}'`
43786 { echo "$as_me:$LINENO: result: $ac_res" >&5
43787 echo "${ECHO_T}$ac_res" >&6; }
43788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43789 cat >>confdefs.h <<_ACEOF
43790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43791 _ACEOF
43792
43793 fi
43794
43795 done
43796
43797 if test "$ac_cv_header_sys_event_h" = "yes"; then
43798 cat >>confdefs.h <<\_ACEOF
43799 #define wxHAS_KQUEUE 1
43800 _ACEOF
43801
43802 else
43803 wxUSE_FSWATCHER=no
43804 fi
43805 fi
43806 else
43807 wxUSE_FSWATCHER=no
43808 fi
43809 else
43810 if test "$wxUSE_THREADS" != "yes"; then
43811 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43812 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43813 wxUSE_FSWATCHER=no
43814 fi
43815 fi
43816
43817 if test "$wxUSE_FSWATCHER" = "yes"; then
43818 cat >>confdefs.h <<\_ACEOF
43819 #define wxUSE_FSWATCHER 1
43820 _ACEOF
43821
43822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43823 else
43824 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43825 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43826 fi
43827 fi
43828
43829
43830 if test "$wxUSE_STL" = "yes"; then
43831 cat >>confdefs.h <<\_ACEOF
43832 #define wxUSE_STL 1
43833 _ACEOF
43834
43835 fi
43836
43837 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43838 cat >>confdefs.h <<\_ACEOF
43839 #define wxUSE_EXTENDED_RTTI 1
43840 _ACEOF
43841
43842 fi
43843
43844 if test "$wxUSE_ANY" = "yes"; then
43845 cat >>confdefs.h <<\_ACEOF
43846 #define wxUSE_ANY 1
43847 _ACEOF
43848
43849 fi
43850
43851 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43852 cat >>confdefs.h <<\_ACEOF
43853 #define wxUSE_APPLE_IEEE 1
43854 _ACEOF
43855
43856 fi
43857
43858 if test "$wxUSE_TIMER" = "yes"; then
43859 cat >>confdefs.h <<\_ACEOF
43860 #define wxUSE_TIMER 1
43861 _ACEOF
43862
43863 fi
43864
43865 if test "$USE_UNIX" = 1 ; then
43866 if test "$wxUSE_MGL" != 1; then
43867 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43868 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43869 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43870 echo $ECHO_N "(cached) $ECHO_C" >&6
43871 else
43872
43873 cat >conftest.$ac_ext <<_ACEOF
43874 /* confdefs.h. */
43875 _ACEOF
43876 cat confdefs.h >>conftest.$ac_ext
43877 cat >>conftest.$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43879
43880 #include <sys/ioctl.h>
43881 #include <sys/soundcard.h>
43882
43883 int
43884 main ()
43885 {
43886
43887 ioctl(0, SNDCTL_DSP_SPEED, 0);
43888
43889 ;
43890 return 0;
43891 }
43892 _ACEOF
43893 rm -f conftest.$ac_objext conftest$ac_exeext
43894 if { (ac_try="$ac_link"
43895 case "(($ac_try" in
43896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43897 *) ac_try_echo=$ac_try;;
43898 esac
43899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43900 (eval "$ac_link") 2>conftest.er1
43901 ac_status=$?
43902 grep -v '^ *+' conftest.er1 >conftest.err
43903 rm -f conftest.er1
43904 cat conftest.err >&5
43905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43906 (exit $ac_status); } && {
43907 test -z "$ac_c_werror_flag" ||
43908 test ! -s conftest.err
43909 } && test -s conftest$ac_exeext &&
43910 $as_test_x conftest$ac_exeext; then
43911 ac_cv_header_sys_soundcard=yes
43912 else
43913 echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.$ac_ext >&5
43915
43916
43917 saveLibs="$LIBS"
43918 LIBS="$saveLibs -lossaudio"
43919 cat >conftest.$ac_ext <<_ACEOF
43920 /* confdefs.h. */
43921 _ACEOF
43922 cat confdefs.h >>conftest.$ac_ext
43923 cat >>conftest.$ac_ext <<_ACEOF
43924 /* end confdefs.h. */
43925
43926 #include <sys/ioctl.h>
43927 #include <sys/soundcard.h>
43928
43929 int
43930 main ()
43931 {
43932
43933 ioctl(0, SNDCTL_DSP_SPEED, 0);
43934
43935 ;
43936 return 0;
43937 }
43938 _ACEOF
43939 rm -f conftest.$ac_objext conftest$ac_exeext
43940 if { (ac_try="$ac_link"
43941 case "(($ac_try" in
43942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43943 *) ac_try_echo=$ac_try;;
43944 esac
43945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43946 (eval "$ac_link") 2>conftest.er1
43947 ac_status=$?
43948 grep -v '^ *+' conftest.er1 >conftest.err
43949 rm -f conftest.er1
43950 cat conftest.err >&5
43951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952 (exit $ac_status); } && {
43953 test -z "$ac_c_werror_flag" ||
43954 test ! -s conftest.err
43955 } && test -s conftest$ac_exeext &&
43956 $as_test_x conftest$ac_exeext; then
43957 ac_cv_header_sys_soundcard=yes
43958 else
43959 echo "$as_me: failed program was:" >&5
43960 sed 's/^/| /' conftest.$ac_ext >&5
43961
43962
43963 LIBS="$saveLibs"
43964 ac_cv_header_sys_soundcard=no
43965
43966
43967 fi
43968
43969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43970 conftest$ac_exeext conftest.$ac_ext
43971
43972
43973 fi
43974
43975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43976 conftest$ac_exeext conftest.$ac_ext
43977
43978 fi
43979 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43980 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43981 fi
43982
43983 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43984 cat >>confdefs.h <<\_ACEOF
43985 #define HAVE_SYS_SOUNDCARD_H 1
43986 _ACEOF
43987
43988 fi
43989 fi
43990
43991 WITH_PLUGIN_SDL=0
43992 if test "$wxUSE_SOUND" = "yes"; then
43993 if test "$USE_UNIX" = 1 ; then
43994 if test "$wxUSE_LIBSDL" != "no"; then
43995
43996 # Check whether --with-sdl-prefix was given.
43997 if test "${with_sdl_prefix+set}" = set; then
43998 withval=$with_sdl_prefix; sdl_prefix="$withval"
43999 else
44000 sdl_prefix=""
44001 fi
44002
44003
44004 # Check whether --with-sdl-exec-prefix was given.
44005 if test "${with_sdl_exec_prefix+set}" = set; then
44006 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44007 else
44008 sdl_exec_prefix=""
44009 fi
44010
44011 # Check whether --enable-sdltest was given.
44012 if test "${enable_sdltest+set}" = set; then
44013 enableval=$enable_sdltest;
44014 else
44015 enable_sdltest=yes
44016 fi
44017
44018
44019 if test x$sdl_exec_prefix != x ; then
44020 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44021 if test x${SDL_CONFIG+set} != xset ; then
44022 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44023 fi
44024 fi
44025 if test x$sdl_prefix != x ; then
44026 sdl_args="$sdl_args --prefix=$sdl_prefix"
44027 if test x${SDL_CONFIG+set} != xset ; then
44028 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44029 fi
44030 fi
44031
44032 if test "x$prefix" != xNONE; then
44033 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44034 fi
44035 # Extract the first word of "sdl-config", so it can be a program name with args.
44036 set dummy sdl-config; ac_word=$2
44037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44039 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44040 echo $ECHO_N "(cached) $ECHO_C" >&6
44041 else
44042 case $SDL_CONFIG in
44043 [\\/]* | ?:[\\/]*)
44044 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44045 ;;
44046 *)
44047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44048 for as_dir in $PATH
44049 do
44050 IFS=$as_save_IFS
44051 test -z "$as_dir" && as_dir=.
44052 for ac_exec_ext in '' $ac_executable_extensions; do
44053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44054 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44056 break 2
44057 fi
44058 done
44059 done
44060 IFS=$as_save_IFS
44061
44062 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44063 ;;
44064 esac
44065 fi
44066 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44067 if test -n "$SDL_CONFIG"; then
44068 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44069 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44070 else
44071 { echo "$as_me:$LINENO: result: no" >&5
44072 echo "${ECHO_T}no" >&6; }
44073 fi
44074
44075
44076 min_sdl_version=1.2.0
44077 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44078 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44079 no_sdl=""
44080 if test "$SDL_CONFIG" = "no" ; then
44081 no_sdl=yes
44082 else
44083 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44084 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44085
44086 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44088 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44090 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44092 if test "x$enable_sdltest" = "xyes" ; then
44093 ac_save_CFLAGS="$CFLAGS"
44094 ac_save_CXXFLAGS="$CXXFLAGS"
44095 ac_save_LIBS="$LIBS"
44096 CFLAGS="$CFLAGS $SDL_CFLAGS"
44097 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44098 LIBS="$LIBS $SDL_LIBS"
44099 rm -f conf.sdltest
44100 if test "$cross_compiling" = yes; then
44101 echo $ac_n "cross compiling; assumed OK... $ac_c"
44102 else
44103 cat >conftest.$ac_ext <<_ACEOF
44104 /* confdefs.h. */
44105 _ACEOF
44106 cat confdefs.h >>conftest.$ac_ext
44107 cat >>conftest.$ac_ext <<_ACEOF
44108 /* end confdefs.h. */
44109
44110 #include <stdio.h>
44111 #include <stdlib.h>
44112 #include <string.h>
44113 #include "SDL.h"
44114
44115 char*
44116 my_strdup (char *str)
44117 {
44118 char *new_str;
44119
44120 if (str)
44121 {
44122 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44123 strcpy (new_str, str);
44124 }
44125 else
44126 new_str = NULL;
44127
44128 return new_str;
44129 }
44130
44131 int main (int argc, char *argv[])
44132 {
44133 int major, minor, micro;
44134 char *tmp_version;
44135
44136 /* This hangs on some systems (?)
44137 system ("touch conf.sdltest");
44138 */
44139 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44140
44141 /* HP/UX 9 (%@#!) writes to sscanf strings */
44142 tmp_version = my_strdup("$min_sdl_version");
44143 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44144 printf("%s, bad version string\n", "$min_sdl_version");
44145 exit(1);
44146 }
44147
44148 if (($sdl_major_version > major) ||
44149 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44150 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44151 {
44152 return 0;
44153 }
44154 else
44155 {
44156 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44157 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44158 printf("*** best to upgrade to the required version.\n");
44159 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44160 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44161 printf("*** config.cache before re-running configure\n");
44162 return 1;
44163 }
44164 }
44165
44166
44167 _ACEOF
44168 rm -f conftest$ac_exeext
44169 if { (ac_try="$ac_link"
44170 case "(($ac_try" in
44171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44172 *) ac_try_echo=$ac_try;;
44173 esac
44174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44175 (eval "$ac_link") 2>&5
44176 ac_status=$?
44177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44179 { (case "(($ac_try" in
44180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44181 *) ac_try_echo=$ac_try;;
44182 esac
44183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44184 (eval "$ac_try") 2>&5
44185 ac_status=$?
44186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44187 (exit $ac_status); }; }; then
44188 :
44189 else
44190 echo "$as_me: program exited with status $ac_status" >&5
44191 echo "$as_me: failed program was:" >&5
44192 sed 's/^/| /' conftest.$ac_ext >&5
44193
44194 ( exit $ac_status )
44195 no_sdl=yes
44196 fi
44197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44198 fi
44199
44200
44201 CFLAGS="$ac_save_CFLAGS"
44202 CXXFLAGS="$ac_save_CXXFLAGS"
44203 LIBS="$ac_save_LIBS"
44204 fi
44205 fi
44206 if test "x$no_sdl" = x ; then
44207 { echo "$as_me:$LINENO: result: yes" >&5
44208 echo "${ECHO_T}yes" >&6; }
44209
44210 EXTRALIBS_SDL="$SDL_LIBS"
44211 CFLAGS="$SDL_CFLAGS $CFLAGS"
44212 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_LIBSDL 1
44215 _ACEOF
44216
44217
44218 else
44219 { echo "$as_me:$LINENO: result: no" >&5
44220 echo "${ECHO_T}no" >&6; }
44221 if test "$SDL_CONFIG" = "no" ; then
44222 echo "*** The sdl-config script installed by SDL could not be found"
44223 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44224 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44225 echo "*** full path to sdl-config."
44226 else
44227 if test -f conf.sdltest ; then
44228 :
44229 else
44230 echo "*** Could not run SDL test program, checking why..."
44231 CFLAGS="$CFLAGS $SDL_CFLAGS"
44232 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44233 LIBS="$LIBS $SDL_LIBS"
44234 cat >conftest.$ac_ext <<_ACEOF
44235 /* confdefs.h. */
44236 _ACEOF
44237 cat confdefs.h >>conftest.$ac_ext
44238 cat >>conftest.$ac_ext <<_ACEOF
44239 /* end confdefs.h. */
44240
44241 #include <stdio.h>
44242 #include "SDL.h"
44243
44244 int main(int argc, char *argv[])
44245 { return 0; }
44246 #undef main
44247 #define main K_and_R_C_main
44248
44249 int
44250 main ()
44251 {
44252 return 0;
44253 ;
44254 return 0;
44255 }
44256 _ACEOF
44257 rm -f conftest.$ac_objext conftest$ac_exeext
44258 if { (ac_try="$ac_link"
44259 case "(($ac_try" in
44260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44261 *) ac_try_echo=$ac_try;;
44262 esac
44263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44264 (eval "$ac_link") 2>conftest.er1
44265 ac_status=$?
44266 grep -v '^ *+' conftest.er1 >conftest.err
44267 rm -f conftest.er1
44268 cat conftest.err >&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } && {
44271 test -z "$ac_c_werror_flag" ||
44272 test ! -s conftest.err
44273 } && test -s conftest$ac_exeext &&
44274 $as_test_x conftest$ac_exeext; then
44275 echo "*** The test program compiled, but did not run. This usually means"
44276 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44277 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44278 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44279 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44280 echo "*** is required on your system"
44281 echo "***"
44282 echo "*** If you have an old version installed, it is best to remove it, although"
44283 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44284 else
44285 echo "$as_me: failed program was:" >&5
44286 sed 's/^/| /' conftest.$ac_ext >&5
44287
44288 echo "*** The test program failed to compile or link. See the file config.log for the"
44289 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44290 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44291 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44292 fi
44293
44294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44295 conftest$ac_exeext conftest.$ac_ext
44296 CFLAGS="$ac_save_CFLAGS"
44297 CXXFLAGS="$ac_save_CXXFLAGS"
44298 LIBS="$ac_save_LIBS"
44299 fi
44300 fi
44301 SDL_CFLAGS=""
44302 SDL_LIBS=""
44303 wxUSE_LIBSDL="no"
44304 fi
44305
44306
44307 rm -f conf.sdltest
44308
44309 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44310 WITH_PLUGIN_SDL=1
44311 fi
44312 fi
44313 else
44314 if test "$wxUSE_MGL" = 1; then
44315 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44316 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44317 wxUSE_SOUND="no"
44318 fi
44319 fi
44320 fi
44321
44322 if test "$wxUSE_SOUND" = "yes"; then
44323 cat >>confdefs.h <<\_ACEOF
44324 #define wxUSE_SOUND 1
44325 _ACEOF
44326
44327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44328 fi
44329
44330 if test "$WXGTK2" = 1; then
44331
44332
44333 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44334 if test -n "$ac_tool_prefix"; then
44335 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44336 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44339 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44340 echo $ECHO_N "(cached) $ECHO_C" >&6
44341 else
44342 case $PKG_CONFIG in
44343 [\\/]* | ?:[\\/]*)
44344 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44345 ;;
44346 *)
44347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44348 for as_dir in $PATH
44349 do
44350 IFS=$as_save_IFS
44351 test -z "$as_dir" && as_dir=.
44352 for ac_exec_ext in '' $ac_executable_extensions; do
44353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44354 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44356 break 2
44357 fi
44358 done
44359 done
44360 IFS=$as_save_IFS
44361
44362 ;;
44363 esac
44364 fi
44365 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44366 if test -n "$PKG_CONFIG"; then
44367 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44368 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44369 else
44370 { echo "$as_me:$LINENO: result: no" >&5
44371 echo "${ECHO_T}no" >&6; }
44372 fi
44373
44374
44375 fi
44376 if test -z "$ac_cv_path_PKG_CONFIG"; then
44377 ac_pt_PKG_CONFIG=$PKG_CONFIG
44378 # Extract the first word of "pkg-config", so it can be a program name with args.
44379 set dummy pkg-config; ac_word=$2
44380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44382 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44383 echo $ECHO_N "(cached) $ECHO_C" >&6
44384 else
44385 case $ac_pt_PKG_CONFIG in
44386 [\\/]* | ?:[\\/]*)
44387 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44388 ;;
44389 *)
44390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44391 for as_dir in $PATH
44392 do
44393 IFS=$as_save_IFS
44394 test -z "$as_dir" && as_dir=.
44395 for ac_exec_ext in '' $ac_executable_extensions; do
44396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44397 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44399 break 2
44400 fi
44401 done
44402 done
44403 IFS=$as_save_IFS
44404
44405 ;;
44406 esac
44407 fi
44408 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44409 if test -n "$ac_pt_PKG_CONFIG"; then
44410 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44411 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44412 else
44413 { echo "$as_me:$LINENO: result: no" >&5
44414 echo "${ECHO_T}no" >&6; }
44415 fi
44416
44417 if test "x$ac_pt_PKG_CONFIG" = x; then
44418 PKG_CONFIG=""
44419 else
44420 case $cross_compiling:$ac_tool_warned in
44421 yes:)
44422 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44423 whose name does not start with the host triplet. If you think this
44424 configuration is useful to you, please write to autoconf@gnu.org." >&5
44425 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44426 whose name does not start with the host triplet. If you think this
44427 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44428 ac_tool_warned=yes ;;
44429 esac
44430 PKG_CONFIG=$ac_pt_PKG_CONFIG
44431 fi
44432 else
44433 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44434 fi
44435
44436 fi
44437 if test -n "$PKG_CONFIG"; then
44438 _pkg_min_version=0.9.0
44439 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44440 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44441 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44442 { echo "$as_me:$LINENO: result: yes" >&5
44443 echo "${ECHO_T}yes" >&6; }
44444 else
44445 { echo "$as_me:$LINENO: result: no" >&5
44446 echo "${ECHO_T}no" >&6; }
44447 PKG_CONFIG=""
44448 fi
44449
44450 fi
44451
44452 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44453
44454 if test "$wxUSE_GTKPRINT" = "yes" ; then
44455
44456
44457 pkg_failed=no
44458 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44459 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44460
44461 if test -n "$PKG_CONFIG"; then
44462 if test -n "$GTKPRINT_CFLAGS"; then
44463 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44464 else
44465 if test -n "$PKG_CONFIG" && \
44466 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44467 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44468 ac_status=$?
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); }; then
44471 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44472 else
44473 pkg_failed=yes
44474 fi
44475 fi
44476 else
44477 pkg_failed=untried
44478 fi
44479 if test -n "$PKG_CONFIG"; then
44480 if test -n "$GTKPRINT_LIBS"; then
44481 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44482 else
44483 if test -n "$PKG_CONFIG" && \
44484 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44485 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44486 ac_status=$?
44487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488 (exit $ac_status); }; then
44489 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44490 else
44491 pkg_failed=yes
44492 fi
44493 fi
44494 else
44495 pkg_failed=untried
44496 fi
44497
44498
44499
44500 if test $pkg_failed = yes; then
44501
44502 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44503 _pkg_short_errors_supported=yes
44504 else
44505 _pkg_short_errors_supported=no
44506 fi
44507 if test $_pkg_short_errors_supported = yes; then
44508 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44509 else
44510 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44511 fi
44512 # Put the nasty error message in config.log where it belongs
44513 echo "$GTKPRINT_PKG_ERRORS" >&5
44514
44515
44516 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44517 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44518 wxUSE_GTKPRINT="no"
44519
44520
44521 elif test $pkg_failed = untried; then
44522
44523 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44524 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44525 wxUSE_GTKPRINT="no"
44526
44527
44528 else
44529 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44530 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44531 { echo "$as_me:$LINENO: result: yes" >&5
44532 echo "${ECHO_T}yes" >&6; }
44533
44534 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44535 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44536 cat >>confdefs.h <<\_ACEOF
44537 #define wxUSE_GTKPRINT 1
44538 _ACEOF
44539
44540
44541 fi
44542 fi
44543
44544 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44545
44546
44547 pkg_failed=no
44548 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44549 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44550
44551 if test -n "$PKG_CONFIG"; then
44552 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44553 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44554 else
44555 if test -n "$PKG_CONFIG" && \
44556 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44557 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44558 ac_status=$?
44559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44560 (exit $ac_status); }; then
44561 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44562 else
44563 pkg_failed=yes
44564 fi
44565 fi
44566 else
44567 pkg_failed=untried
44568 fi
44569 if test -n "$PKG_CONFIG"; then
44570 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44571 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44572 else
44573 if test -n "$PKG_CONFIG" && \
44574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44575 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44576 ac_status=$?
44577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578 (exit $ac_status); }; then
44579 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44580 else
44581 pkg_failed=yes
44582 fi
44583 fi
44584 else
44585 pkg_failed=untried
44586 fi
44587
44588
44589
44590 if test $pkg_failed = yes; then
44591
44592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44593 _pkg_short_errors_supported=yes
44594 else
44595 _pkg_short_errors_supported=no
44596 fi
44597 if test $_pkg_short_errors_supported = yes; then
44598 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44599 else
44600 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44601 fi
44602 # Put the nasty error message in config.log where it belongs
44603 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44604
44605
44606 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44607 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44608 wxUSE_LIBGNOMEPRINT="no"
44609
44610
44611 elif test $pkg_failed = untried; then
44612
44613 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44614 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44615 wxUSE_LIBGNOMEPRINT="no"
44616
44617
44618 else
44619 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44620 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44621 { echo "$as_me:$LINENO: result: yes" >&5
44622 echo "${ECHO_T}yes" >&6; }
44623
44624 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44625 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_LIBGNOMEPRINT 1
44628 _ACEOF
44629
44630
44631 fi
44632 fi
44633 fi
44634
44635 if test "$wxUSE_MIMETYPE" = "yes" ; then
44636 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44637
44638
44639 pkg_failed=no
44640 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44641 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44642
44643 if test -n "$PKG_CONFIG"; then
44644 if test -n "$GNOMEVFS_CFLAGS"; then
44645 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44646 else
44647 if test -n "$PKG_CONFIG" && \
44648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44649 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44650 ac_status=$?
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); }; then
44653 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44654 else
44655 pkg_failed=yes
44656 fi
44657 fi
44658 else
44659 pkg_failed=untried
44660 fi
44661 if test -n "$PKG_CONFIG"; then
44662 if test -n "$GNOMEVFS_LIBS"; then
44663 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44664 else
44665 if test -n "$PKG_CONFIG" && \
44666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44667 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44668 ac_status=$?
44669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44670 (exit $ac_status); }; then
44671 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44672 else
44673 pkg_failed=yes
44674 fi
44675 fi
44676 else
44677 pkg_failed=untried
44678 fi
44679
44680
44681
44682 if test $pkg_failed = yes; then
44683
44684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44685 _pkg_short_errors_supported=yes
44686 else
44687 _pkg_short_errors_supported=no
44688 fi
44689 if test $_pkg_short_errors_supported = yes; then
44690 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44691 else
44692 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44693 fi
44694 # Put the nasty error message in config.log where it belongs
44695 echo "$GNOMEVFS_PKG_ERRORS" >&5
44696
44697
44698 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44699 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44700 wxUSE_LIBGNOMEVFS="no"
44701
44702
44703 elif test $pkg_failed = untried; then
44704
44705 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44706 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44707 wxUSE_LIBGNOMEVFS="no"
44708
44709
44710 else
44711 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44712 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44713 { echo "$as_me:$LINENO: result: yes" >&5
44714 echo "${ECHO_T}yes" >&6; }
44715
44716 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44717 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44718 cat >>confdefs.h <<\_ACEOF
44719 #define wxUSE_LIBGNOMEVFS 1
44720 _ACEOF
44721
44722
44723 fi
44724 fi
44725 fi
44726
44727 if test "$wxUSE_LIBHILDON" = "yes" ; then
44728
44729 pkg_failed=no
44730 { echo "$as_me:$LINENO: checking for HILDON" >&5
44731 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44732
44733 if test -n "$PKG_CONFIG"; then
44734 if test -n "$HILDON_CFLAGS"; then
44735 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44736 else
44737 if test -n "$PKG_CONFIG" && \
44738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44739 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44740 ac_status=$?
44741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44742 (exit $ac_status); }; then
44743 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44744 else
44745 pkg_failed=yes
44746 fi
44747 fi
44748 else
44749 pkg_failed=untried
44750 fi
44751 if test -n "$PKG_CONFIG"; then
44752 if test -n "$HILDON_LIBS"; then
44753 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44754 else
44755 if test -n "$PKG_CONFIG" && \
44756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44757 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44758 ac_status=$?
44759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44760 (exit $ac_status); }; then
44761 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44762 else
44763 pkg_failed=yes
44764 fi
44765 fi
44766 else
44767 pkg_failed=untried
44768 fi
44769
44770
44771
44772 if test $pkg_failed = yes; then
44773
44774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44775 _pkg_short_errors_supported=yes
44776 else
44777 _pkg_short_errors_supported=no
44778 fi
44779 if test $_pkg_short_errors_supported = yes; then
44780 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44781 else
44782 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44783 fi
44784 # Put the nasty error message in config.log where it belongs
44785 echo "$HILDON_PKG_ERRORS" >&5
44786
44787
44788 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44789 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44790 wxUSE_LIBHILDON="no"
44791 ac_hildon_lgpl=0
44792
44793
44794 elif test $pkg_failed = untried; then
44795
44796 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44797 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44798 wxUSE_LIBHILDON="no"
44799 ac_hildon_lgpl=0
44800
44801
44802 else
44803 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44804 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44805 { echo "$as_me:$LINENO: result: yes" >&5
44806 echo "${ECHO_T}yes" >&6; }
44807
44808 EXTRALIBS_HILDON="$HILDON_LIBS"
44809 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44810 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_LIBHILDON 1
44813 _ACEOF
44814
44815 ac_hildon_lgpl=1
44816
44817 fi
44818
44819 if test "$ac_hildon_lgpl" = 0 ; then
44820
44821 pkg_failed=no
44822 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44823 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44824
44825 if test -n "$PKG_CONFIG"; then
44826 if test -n "$HILDON2_CFLAGS"; then
44827 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44828 else
44829 if test -n "$PKG_CONFIG" && \
44830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44831 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44832 ac_status=$?
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); }; then
44835 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44836 else
44837 pkg_failed=yes
44838 fi
44839 fi
44840 else
44841 pkg_failed=untried
44842 fi
44843 if test -n "$PKG_CONFIG"; then
44844 if test -n "$HILDON2_LIBS"; then
44845 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44846 else
44847 if test -n "$PKG_CONFIG" && \
44848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44849 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44850 ac_status=$?
44851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44852 (exit $ac_status); }; then
44853 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44854 else
44855 pkg_failed=yes
44856 fi
44857 fi
44858 else
44859 pkg_failed=untried
44860 fi
44861
44862
44863
44864 if test $pkg_failed = yes; then
44865
44866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44867 _pkg_short_errors_supported=yes
44868 else
44869 _pkg_short_errors_supported=no
44870 fi
44871 if test $_pkg_short_errors_supported = yes; then
44872 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44873 else
44874 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44875 fi
44876 # Put the nasty error message in config.log where it belongs
44877 echo "$HILDON2_PKG_ERRORS" >&5
44878
44879
44880 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44881 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44882 wxUSE_LIBHILDON2="no"
44883
44884
44885 elif test $pkg_failed = untried; then
44886
44887 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44888 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44889 wxUSE_LIBHILDON2="no"
44890
44891
44892 else
44893 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44894 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44895 { echo "$as_me:$LINENO: result: yes" >&5
44896 echo "${ECHO_T}yes" >&6; }
44897
44898 EXTRALIBS_HILDON="$HILDON2_LIBS"
44899 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44900 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_LIBHILDON2 1
44903 _ACEOF
44904
44905
44906 fi
44907 fi
44908 fi
44909 fi
44910
44911 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_CMDLINE_PARSER 1
44914 _ACEOF
44915
44916 fi
44917
44918 if test "$wxUSE_STOPWATCH" = "yes"; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_STOPWATCH 1
44921 _ACEOF
44922
44923 fi
44924
44925 if test "$wxUSE_DATETIME" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_DATETIME 1
44928 _ACEOF
44929
44930 fi
44931
44932 if test "$wxUSE_FILE" = "yes"; then
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_FILE 1
44935 _ACEOF
44936
44937 fi
44938
44939 if test "$wxUSE_FFILE" = "yes"; then
44940 cat >>confdefs.h <<\_ACEOF
44941 #define wxUSE_FFILE 1
44942 _ACEOF
44943
44944 fi
44945
44946 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44947 if test "$wxUSE_STREAMS" != yes; then
44948 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44949 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44950 wxUSE_ARCHIVE_STREAMS=no
44951 else
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_ARCHIVE_STREAMS 1
44954 _ACEOF
44955
44956 fi
44957 fi
44958
44959 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44960 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44961 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44962 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44963 elif test "$wxUSE_ZLIB" = "no"; then
44964 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44965 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44966 else
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_ZIPSTREAM 1
44969 _ACEOF
44970
44971 fi
44972 fi
44973
44974 if test "$wxUSE_TARSTREAM" = "yes"; then
44975 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44976 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44977 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44978 else
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_TARSTREAM 1
44981 _ACEOF
44982
44983 fi
44984 fi
44985
44986 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_FILE_HISTORY 1
44989 _ACEOF
44990
44991 fi
44992
44993 if test "$wxUSE_FILESYSTEM" = "yes"; then
44994 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44995 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44996 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44997 wxUSE_FILESYSTEM=no
44998 else
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_FILESYSTEM 1
45001 _ACEOF
45002
45003 fi
45004 fi
45005
45006 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45007 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45008 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45009 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45010 else
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_FS_ARCHIVE 1
45013 _ACEOF
45014
45015 fi
45016 fi
45017
45018 if test "$wxUSE_FS_ZIP" = "yes"; then
45019 if test "$wxUSE_FS_ARCHIVE" != yes; then
45020 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45021 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45022 else
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_FS_ZIP 1
45025 _ACEOF
45026
45027 fi
45028 fi
45029
45030 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45031 if test "$USE_UNIX" != 1; then
45032 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45033 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45034 wxUSE_ON_FATAL_EXCEPTION=no
45035 else
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_ON_FATAL_EXCEPTION 1
45038 _ACEOF
45039
45040 fi
45041 fi
45042
45043 if test "$wxUSE_STACKWALKER" = "yes"; then
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_STACKWALKER 1
45046 _ACEOF
45047
45048 fi
45049
45050 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45051 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45052 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45053 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45054 wxUSE_DEBUGREPORT=no
45055 else
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_DEBUGREPORT 1
45058 _ACEOF
45059
45060 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45062 fi
45063 fi
45064 fi
45065
45066 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_SNGLINST_CHECKER 1
45069 _ACEOF
45070
45071 fi
45072
45073 if test "$wxUSE_BUSYINFO" = "yes"; then
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_BUSYINFO 1
45076 _ACEOF
45077
45078 fi
45079
45080 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_STD_CONTAINERS 1
45083 _ACEOF
45084
45085 fi
45086
45087 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_STD_IOSTREAM 1
45090 _ACEOF
45091
45092 fi
45093
45094 if test "$wxUSE_STD_STRING" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_STD_STRING 1
45097 _ACEOF
45098
45099 fi
45100
45101 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45104 _ACEOF
45105
45106 fi
45107
45108 if test "$wxUSE_STDPATHS" = "yes"; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_STDPATHS 1
45111 _ACEOF
45112
45113 fi
45114
45115 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_TEXTBUFFER 1
45118 _ACEOF
45119
45120 fi
45121
45122 if test "$wxUSE_TEXTFILE" = "yes"; then
45123 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45124 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45125 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45126 else
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_TEXTFILE 1
45129 _ACEOF
45130
45131 fi
45132 fi
45133
45134 if test "$wxUSE_CONFIG" = "yes" ; then
45135 if test "$wxUSE_TEXTFILE" != "yes"; then
45136 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45137 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45138 else
45139 cat >>confdefs.h <<\_ACEOF
45140 #define wxUSE_CONFIG 1
45141 _ACEOF
45142
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_CONFIG_NATIVE 1
45145 _ACEOF
45146
45147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45148 fi
45149 fi
45150
45151 if test "$wxUSE_INTL" = "yes" ; then
45152 if test "$wxUSE_FILE" != "yes"; then
45153 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45154 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45155 else
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_INTL 1
45158 _ACEOF
45159
45160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45161 GUIDIST="$GUIDIST INTL_DIST"
45162 fi
45163 fi
45164
45165 if test "$wxUSE_XLOCALE" = "yes" ; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_XLOCALE 1
45168 _ACEOF
45169
45170 { echo "$as_me:$LINENO: checking for locale_t" >&5
45171 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45172 if test "${ac_cv_type_locale_t+set}" = set; then
45173 echo $ECHO_N "(cached) $ECHO_C" >&6
45174 else
45175 cat >conftest.$ac_ext <<_ACEOF
45176 /* confdefs.h. */
45177 _ACEOF
45178 cat confdefs.h >>conftest.$ac_ext
45179 cat >>conftest.$ac_ext <<_ACEOF
45180 /* end confdefs.h. */
45181 #include <xlocale.h>
45182 #include <locale.h>
45183
45184 typedef locale_t ac__type_new_;
45185 int
45186 main ()
45187 {
45188 if ((ac__type_new_ *) 0)
45189 return 0;
45190 if (sizeof (ac__type_new_))
45191 return 0;
45192 ;
45193 return 0;
45194 }
45195 _ACEOF
45196 rm -f conftest.$ac_objext
45197 if { (ac_try="$ac_compile"
45198 case "(($ac_try" in
45199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45200 *) ac_try_echo=$ac_try;;
45201 esac
45202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45203 (eval "$ac_compile") 2>conftest.er1
45204 ac_status=$?
45205 grep -v '^ *+' conftest.er1 >conftest.err
45206 rm -f conftest.er1
45207 cat conftest.err >&5
45208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45209 (exit $ac_status); } && {
45210 test -z "$ac_c_werror_flag" ||
45211 test ! -s conftest.err
45212 } && test -s conftest.$ac_objext; then
45213 ac_cv_type_locale_t=yes
45214 else
45215 echo "$as_me: failed program was:" >&5
45216 sed 's/^/| /' conftest.$ac_ext >&5
45217
45218 ac_cv_type_locale_t=no
45219 fi
45220
45221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45222 fi
45223 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45224 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45225 if test $ac_cv_type_locale_t = yes; then
45226
45227 cat >>confdefs.h <<_ACEOF
45228 #define HAVE_LOCALE_T 1
45229 _ACEOF
45230
45231
45232 fi
45233
45234 fi
45235
45236 if test "$wxUSE_LOG" = "yes"; then
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_LOG 1
45239 _ACEOF
45240
45241
45242 if test "$wxUSE_LOGGUI" = "yes"; then
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_LOGGUI 1
45245 _ACEOF
45246
45247 fi
45248
45249 if test "$wxUSE_LOGWINDOW" = "yes"; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_LOGWINDOW 1
45252 _ACEOF
45253
45254 fi
45255
45256 if test "$wxUSE_LOGDIALOG" = "yes"; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_LOG_DIALOG 1
45259 _ACEOF
45260
45261 fi
45262
45263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45264 fi
45265
45266 if test "$wxUSE_LONGLONG" = "yes"; then
45267 cat >>confdefs.h <<\_ACEOF
45268 #define wxUSE_LONGLONG 1
45269 _ACEOF
45270
45271 fi
45272
45273 if test "$wxUSE_GEOMETRY" = "yes"; then
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_GEOMETRY 1
45276 _ACEOF
45277
45278 fi
45279
45280 if test "$wxUSE_BASE64" = "yes"; then
45281 cat >>confdefs.h <<\_ACEOF
45282 #define wxUSE_BASE64 1
45283 _ACEOF
45284
45285 fi
45286
45287 if test "$wxUSE_STREAMS" = "yes" ; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_STREAMS 1
45290 _ACEOF
45291
45292 fi
45293
45294 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45295 cat >>confdefs.h <<\_ACEOF
45296 #define wxUSE_PRINTF_POS_PARAMS 1
45297 _ACEOF
45298
45299 fi
45300
45301 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_OBJC_UNIQUIFYING 1
45304 _ACEOF
45305
45306 fi
45307
45308
45309 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_CONSOLE_EVENTLOOP 1
45312 _ACEOF
45313
45314
45315 if test "$wxUSE_UNIX" = "yes"; then
45316 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_SELECT_DISPATCHER 1
45319 _ACEOF
45320
45321 fi
45322
45323 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45324
45325 for ac_header in sys/epoll.h
45326 do
45327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45331 echo $ECHO_N "(cached) $ECHO_C" >&6
45332 else
45333 cat >conftest.$ac_ext <<_ACEOF
45334 /* confdefs.h. */
45335 _ACEOF
45336 cat confdefs.h >>conftest.$ac_ext
45337 cat >>conftest.$ac_ext <<_ACEOF
45338 /* end confdefs.h. */
45339 $ac_includes_default
45340
45341 #include <$ac_header>
45342 _ACEOF
45343 rm -f conftest.$ac_objext
45344 if { (ac_try="$ac_compile"
45345 case "(($ac_try" in
45346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45347 *) ac_try_echo=$ac_try;;
45348 esac
45349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45350 (eval "$ac_compile") 2>conftest.er1
45351 ac_status=$?
45352 grep -v '^ *+' conftest.er1 >conftest.err
45353 rm -f conftest.er1
45354 cat conftest.err >&5
45355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45356 (exit $ac_status); } && {
45357 test -z "$ac_c_werror_flag" ||
45358 test ! -s conftest.err
45359 } && test -s conftest.$ac_objext; then
45360 eval "$as_ac_Header=yes"
45361 else
45362 echo "$as_me: failed program was:" >&5
45363 sed 's/^/| /' conftest.$ac_ext >&5
45364
45365 eval "$as_ac_Header=no"
45366 fi
45367
45368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45369 fi
45370 ac_res=`eval echo '${'$as_ac_Header'}'`
45371 { echo "$as_me:$LINENO: result: $ac_res" >&5
45372 echo "${ECHO_T}$ac_res" >&6; }
45373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45374 cat >>confdefs.h <<_ACEOF
45375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45376 _ACEOF
45377
45378 fi
45379
45380 done
45381
45382 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_EPOLL_DISPATCHER 1
45385 _ACEOF
45386
45387 else
45388 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45389 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45390 fi
45391 fi
45392 fi
45393 fi
45394
45395
45396
45397
45398 for ac_func in gettimeofday ftime
45399 do
45400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45401 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45403 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45404 echo $ECHO_N "(cached) $ECHO_C" >&6
45405 else
45406 cat >conftest.$ac_ext <<_ACEOF
45407 /* confdefs.h. */
45408 _ACEOF
45409 cat confdefs.h >>conftest.$ac_ext
45410 cat >>conftest.$ac_ext <<_ACEOF
45411 /* end confdefs.h. */
45412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45414 #define $ac_func innocuous_$ac_func
45415
45416 /* System header to define __stub macros and hopefully few prototypes,
45417 which can conflict with char $ac_func (); below.
45418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45419 <limits.h> exists even on freestanding compilers. */
45420
45421 #ifdef __STDC__
45422 # include <limits.h>
45423 #else
45424 # include <assert.h>
45425 #endif
45426
45427 #undef $ac_func
45428
45429 /* Override any GCC internal prototype to avoid an error.
45430 Use char because int might match the return type of a GCC
45431 builtin and then its argument prototype would still apply. */
45432 #ifdef __cplusplus
45433 extern "C"
45434 #endif
45435 char $ac_func ();
45436 /* The GNU C library defines this for functions which it implements
45437 to always fail with ENOSYS. Some functions are actually named
45438 something starting with __ and the normal name is an alias. */
45439 #if defined __stub_$ac_func || defined __stub___$ac_func
45440 choke me
45441 #endif
45442
45443 int
45444 main ()
45445 {
45446 return $ac_func ();
45447 ;
45448 return 0;
45449 }
45450 _ACEOF
45451 rm -f conftest.$ac_objext conftest$ac_exeext
45452 if { (ac_try="$ac_link"
45453 case "(($ac_try" in
45454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45455 *) ac_try_echo=$ac_try;;
45456 esac
45457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45458 (eval "$ac_link") 2>conftest.er1
45459 ac_status=$?
45460 grep -v '^ *+' conftest.er1 >conftest.err
45461 rm -f conftest.er1
45462 cat conftest.err >&5
45463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464 (exit $ac_status); } && {
45465 test -z "$ac_c_werror_flag" ||
45466 test ! -s conftest.err
45467 } && test -s conftest$ac_exeext &&
45468 $as_test_x conftest$ac_exeext; then
45469 eval "$as_ac_var=yes"
45470 else
45471 echo "$as_me: failed program was:" >&5
45472 sed 's/^/| /' conftest.$ac_ext >&5
45473
45474 eval "$as_ac_var=no"
45475 fi
45476
45477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45478 conftest$ac_exeext conftest.$ac_ext
45479 fi
45480 ac_res=`eval echo '${'$as_ac_var'}'`
45481 { echo "$as_me:$LINENO: result: $ac_res" >&5
45482 echo "${ECHO_T}$ac_res" >&6; }
45483 if test `eval echo '${'$as_ac_var'}'` = yes; then
45484 cat >>confdefs.h <<_ACEOF
45485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45486 _ACEOF
45487 break
45488 fi
45489 done
45490
45491
45492 if test "$ac_cv_func_gettimeofday" = "yes"; then
45493 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45494 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45495 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45496 echo $ECHO_N "(cached) $ECHO_C" >&6
45497 else
45498
45499 cat >conftest.$ac_ext <<_ACEOF
45500 /* confdefs.h. */
45501 _ACEOF
45502 cat confdefs.h >>conftest.$ac_ext
45503 cat >>conftest.$ac_ext <<_ACEOF
45504 /* end confdefs.h. */
45505
45506 #include <sys/time.h>
45507 #include <unistd.h>
45508
45509 int
45510 main ()
45511 {
45512
45513 struct timeval tv;
45514 gettimeofday(&tv, NULL);
45515
45516 ;
45517 return 0;
45518 }
45519 _ACEOF
45520 rm -f conftest.$ac_objext
45521 if { (ac_try="$ac_compile"
45522 case "(($ac_try" in
45523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45524 *) ac_try_echo=$ac_try;;
45525 esac
45526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45527 (eval "$ac_compile") 2>conftest.er1
45528 ac_status=$?
45529 grep -v '^ *+' conftest.er1 >conftest.err
45530 rm -f conftest.er1
45531 cat conftest.err >&5
45532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45533 (exit $ac_status); } && {
45534 test -z "$ac_c_werror_flag" ||
45535 test ! -s conftest.err
45536 } && test -s conftest.$ac_objext; then
45537 wx_cv_func_gettimeofday_has_2_args=yes
45538 else
45539 echo "$as_me: failed program was:" >&5
45540 sed 's/^/| /' conftest.$ac_ext >&5
45541
45542 cat >conftest.$ac_ext <<_ACEOF
45543 /* confdefs.h. */
45544 _ACEOF
45545 cat confdefs.h >>conftest.$ac_ext
45546 cat >>conftest.$ac_ext <<_ACEOF
45547 /* end confdefs.h. */
45548
45549 #include <sys/time.h>
45550 #include <unistd.h>
45551
45552 int
45553 main ()
45554 {
45555
45556 struct timeval tv;
45557 gettimeofday(&tv);
45558
45559 ;
45560 return 0;
45561 }
45562 _ACEOF
45563 rm -f conftest.$ac_objext
45564 if { (ac_try="$ac_compile"
45565 case "(($ac_try" in
45566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45567 *) ac_try_echo=$ac_try;;
45568 esac
45569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45570 (eval "$ac_compile") 2>conftest.er1
45571 ac_status=$?
45572 grep -v '^ *+' conftest.er1 >conftest.err
45573 rm -f conftest.er1
45574 cat conftest.err >&5
45575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45576 (exit $ac_status); } && {
45577 test -z "$ac_c_werror_flag" ||
45578 test ! -s conftest.err
45579 } && test -s conftest.$ac_objext; then
45580 wx_cv_func_gettimeofday_has_2_args=no
45581 else
45582 echo "$as_me: failed program was:" >&5
45583 sed 's/^/| /' conftest.$ac_ext >&5
45584
45585
45586 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45587 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45588 wx_cv_func_gettimeofday_has_2_args=unknown
45589
45590
45591 fi
45592
45593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45594
45595 fi
45596
45597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45598
45599 fi
45600 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45601 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45602
45603 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define WX_GETTIMEOFDAY_NO_TZ 1
45606 _ACEOF
45607
45608 fi
45609 fi
45610
45611 if test "$wxUSE_DATETIME" = "yes"; then
45612 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45613 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45614 if test "${wx_cv_var_timezone+set}" = set; then
45615 echo $ECHO_N "(cached) $ECHO_C" >&6
45616 else
45617
45618 ac_ext=cpp
45619 ac_cpp='$CXXCPP $CPPFLAGS'
45620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45623
45624 cat >conftest.$ac_ext <<_ACEOF
45625 /* confdefs.h. */
45626 _ACEOF
45627 cat confdefs.h >>conftest.$ac_ext
45628 cat >>conftest.$ac_ext <<_ACEOF
45629 /* end confdefs.h. */
45630
45631 #include <time.h>
45632
45633 int
45634 main ()
45635 {
45636
45637 int tz;
45638 tz = timezone;
45639
45640 ;
45641 return 0;
45642 }
45643 _ACEOF
45644 rm -f conftest.$ac_objext
45645 if { (ac_try="$ac_compile"
45646 case "(($ac_try" in
45647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45648 *) ac_try_echo=$ac_try;;
45649 esac
45650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45651 (eval "$ac_compile") 2>conftest.er1
45652 ac_status=$?
45653 grep -v '^ *+' conftest.er1 >conftest.err
45654 rm -f conftest.er1
45655 cat conftest.err >&5
45656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45657 (exit $ac_status); } && {
45658 test -z "$ac_cxx_werror_flag" ||
45659 test ! -s conftest.err
45660 } && test -s conftest.$ac_objext; then
45661
45662 wx_cv_var_timezone=timezone
45663
45664 else
45665 echo "$as_me: failed program was:" >&5
45666 sed 's/^/| /' conftest.$ac_ext >&5
45667
45668
45669 cat >conftest.$ac_ext <<_ACEOF
45670 /* confdefs.h. */
45671 _ACEOF
45672 cat confdefs.h >>conftest.$ac_ext
45673 cat >>conftest.$ac_ext <<_ACEOF
45674 /* end confdefs.h. */
45675
45676 #include <time.h>
45677
45678 int
45679 main ()
45680 {
45681
45682 int tz;
45683 tz = _timezone;
45684
45685 ;
45686 return 0;
45687 }
45688 _ACEOF
45689 rm -f conftest.$ac_objext
45690 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
45704 test ! -s conftest.err
45705 } && test -s conftest.$ac_objext; then
45706
45707 wx_cv_var_timezone=_timezone
45708
45709 else
45710 echo "$as_me: failed program was:" >&5
45711 sed 's/^/| /' conftest.$ac_ext >&5
45712
45713
45714 cat >conftest.$ac_ext <<_ACEOF
45715 /* confdefs.h. */
45716 _ACEOF
45717 cat confdefs.h >>conftest.$ac_ext
45718 cat >>conftest.$ac_ext <<_ACEOF
45719 /* end confdefs.h. */
45720
45721 #include <time.h>
45722
45723 int
45724 main ()
45725 {
45726
45727 int tz;
45728 tz = __timezone;
45729
45730 ;
45731 return 0;
45732 }
45733 _ACEOF
45734 rm -f conftest.$ac_objext
45735 if { (ac_try="$ac_compile"
45736 case "(($ac_try" in
45737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45738 *) ac_try_echo=$ac_try;;
45739 esac
45740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45741 (eval "$ac_compile") 2>conftest.er1
45742 ac_status=$?
45743 grep -v '^ *+' conftest.er1 >conftest.err
45744 rm -f conftest.er1
45745 cat conftest.err >&5
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); } && {
45748 test -z "$ac_cxx_werror_flag" ||
45749 test ! -s conftest.err
45750 } && test -s conftest.$ac_objext; then
45751
45752 wx_cv_var_timezone=__timezone
45753
45754 else
45755 echo "$as_me: failed program was:" >&5
45756 sed 's/^/| /' conftest.$ac_ext >&5
45757
45758
45759 if test "$USE_DOS" = 0 ; then
45760 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45761 echo "$as_me: WARNING: no timezone variable" >&2;}
45762 fi
45763
45764
45765 fi
45766
45767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45768
45769
45770 fi
45771
45772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45773
45774
45775 fi
45776
45777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45778 ac_ext=c
45779 ac_cpp='$CPP $CPPFLAGS'
45780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45783
45784
45785
45786 fi
45787 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45788 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45789
45790 if test "x$wx_cv_var_timezone" != x ; then
45791 cat >>confdefs.h <<_ACEOF
45792 #define WX_TIMEZONE $wx_cv_var_timezone
45793 _ACEOF
45794
45795 fi
45796
45797
45798 for ac_func in localtime
45799 do
45800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45804 echo $ECHO_N "(cached) $ECHO_C" >&6
45805 else
45806 cat >conftest.$ac_ext <<_ACEOF
45807 /* confdefs.h. */
45808 _ACEOF
45809 cat confdefs.h >>conftest.$ac_ext
45810 cat >>conftest.$ac_ext <<_ACEOF
45811 /* end confdefs.h. */
45812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45814 #define $ac_func innocuous_$ac_func
45815
45816 /* System header to define __stub macros and hopefully few prototypes,
45817 which can conflict with char $ac_func (); below.
45818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45819 <limits.h> exists even on freestanding compilers. */
45820
45821 #ifdef __STDC__
45822 # include <limits.h>
45823 #else
45824 # include <assert.h>
45825 #endif
45826
45827 #undef $ac_func
45828
45829 /* Override any GCC internal prototype to avoid an error.
45830 Use char because int might match the return type of a GCC
45831 builtin and then its argument prototype would still apply. */
45832 #ifdef __cplusplus
45833 extern "C"
45834 #endif
45835 char $ac_func ();
45836 /* The GNU C library defines this for functions which it implements
45837 to always fail with ENOSYS. Some functions are actually named
45838 something starting with __ and the normal name is an alias. */
45839 #if defined __stub_$ac_func || defined __stub___$ac_func
45840 choke me
45841 #endif
45842
45843 int
45844 main ()
45845 {
45846 return $ac_func ();
45847 ;
45848 return 0;
45849 }
45850 _ACEOF
45851 rm -f conftest.$ac_objext conftest$ac_exeext
45852 if { (ac_try="$ac_link"
45853 case "(($ac_try" in
45854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45855 *) ac_try_echo=$ac_try;;
45856 esac
45857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45858 (eval "$ac_link") 2>conftest.er1
45859 ac_status=$?
45860 grep -v '^ *+' conftest.er1 >conftest.err
45861 rm -f conftest.er1
45862 cat conftest.err >&5
45863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45864 (exit $ac_status); } && {
45865 test -z "$ac_c_werror_flag" ||
45866 test ! -s conftest.err
45867 } && test -s conftest$ac_exeext &&
45868 $as_test_x conftest$ac_exeext; then
45869 eval "$as_ac_var=yes"
45870 else
45871 echo "$as_me: failed program was:" >&5
45872 sed 's/^/| /' conftest.$ac_ext >&5
45873
45874 eval "$as_ac_var=no"
45875 fi
45876
45877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45878 conftest$ac_exeext conftest.$ac_ext
45879 fi
45880 ac_res=`eval echo '${'$as_ac_var'}'`
45881 { echo "$as_me:$LINENO: result: $ac_res" >&5
45882 echo "${ECHO_T}$ac_res" >&6; }
45883 if test `eval echo '${'$as_ac_var'}'` = yes; then
45884 cat >>confdefs.h <<_ACEOF
45885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45886 _ACEOF
45887
45888 fi
45889 done
45890
45891
45892 if test "$ac_cv_func_localtime" = "yes"; then
45893 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45894 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45895 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45896 echo $ECHO_N "(cached) $ECHO_C" >&6
45897 else
45898
45899 cat >conftest.$ac_ext <<_ACEOF
45900 /* confdefs.h. */
45901 _ACEOF
45902 cat confdefs.h >>conftest.$ac_ext
45903 cat >>conftest.$ac_ext <<_ACEOF
45904 /* end confdefs.h. */
45905
45906 #include <time.h>
45907
45908 int
45909 main ()
45910 {
45911
45912 struct tm tm;
45913 tm.tm_gmtoff++;
45914
45915 ;
45916 return 0;
45917 }
45918 _ACEOF
45919 rm -f conftest.$ac_objext
45920 if { (ac_try="$ac_compile"
45921 case "(($ac_try" in
45922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45923 *) ac_try_echo=$ac_try;;
45924 esac
45925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45926 (eval "$ac_compile") 2>conftest.er1
45927 ac_status=$?
45928 grep -v '^ *+' conftest.er1 >conftest.err
45929 rm -f conftest.er1
45930 cat conftest.err >&5
45931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45932 (exit $ac_status); } && {
45933 test -z "$ac_c_werror_flag" ||
45934 test ! -s conftest.err
45935 } && test -s conftest.$ac_objext; then
45936
45937 wx_cv_struct_tm_has_gmtoff=yes
45938
45939 else
45940 echo "$as_me: failed program was:" >&5
45941 sed 's/^/| /' conftest.$ac_ext >&5
45942
45943 wx_cv_struct_tm_has_gmtoff=no
45944
45945 fi
45946
45947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45948
45949 fi
45950 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45951 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45952 fi
45953
45954 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define WX_GMTOFF_IN_TM 1
45957 _ACEOF
45958
45959 fi
45960
45961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45962 fi
45963
45964
45965 if test "$wxUSE_SOCKETS" = "yes"; then
45966 if test "$wxUSE_MGL" = 1; then
45967 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45968 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45969 wxUSE_SOCKETS="no"
45970 fi
45971 fi
45972
45973 if test "$wxUSE_SOCKETS" = "yes"; then
45974 if test "$TOOLKIT" != "MSW"; then
45975 { echo "$as_me:$LINENO: checking for socket" >&5
45976 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45977 if test "${ac_cv_func_socket+set}" = set; then
45978 echo $ECHO_N "(cached) $ECHO_C" >&6
45979 else
45980 cat >conftest.$ac_ext <<_ACEOF
45981 /* confdefs.h. */
45982 _ACEOF
45983 cat confdefs.h >>conftest.$ac_ext
45984 cat >>conftest.$ac_ext <<_ACEOF
45985 /* end confdefs.h. */
45986 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45988 #define socket innocuous_socket
45989
45990 /* System header to define __stub macros and hopefully few prototypes,
45991 which can conflict with char socket (); below.
45992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45993 <limits.h> exists even on freestanding compilers. */
45994
45995 #ifdef __STDC__
45996 # include <limits.h>
45997 #else
45998 # include <assert.h>
45999 #endif
46000
46001 #undef socket
46002
46003 /* Override any GCC internal prototype to avoid an error.
46004 Use char because int might match the return type of a GCC
46005 builtin and then its argument prototype would still apply. */
46006 #ifdef __cplusplus
46007 extern "C"
46008 #endif
46009 char socket ();
46010 /* The GNU C library defines this for functions which it implements
46011 to always fail with ENOSYS. Some functions are actually named
46012 something starting with __ and the normal name is an alias. */
46013 #if defined __stub_socket || defined __stub___socket
46014 choke me
46015 #endif
46016
46017 int
46018 main ()
46019 {
46020 return socket ();
46021 ;
46022 return 0;
46023 }
46024 _ACEOF
46025 rm -f conftest.$ac_objext conftest$ac_exeext
46026 if { (ac_try="$ac_link"
46027 case "(($ac_try" in
46028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46029 *) ac_try_echo=$ac_try;;
46030 esac
46031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46032 (eval "$ac_link") 2>conftest.er1
46033 ac_status=$?
46034 grep -v '^ *+' conftest.er1 >conftest.err
46035 rm -f conftest.er1
46036 cat conftest.err >&5
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); } && {
46039 test -z "$ac_c_werror_flag" ||
46040 test ! -s conftest.err
46041 } && test -s conftest$ac_exeext &&
46042 $as_test_x conftest$ac_exeext; then
46043 ac_cv_func_socket=yes
46044 else
46045 echo "$as_me: failed program was:" >&5
46046 sed 's/^/| /' conftest.$ac_ext >&5
46047
46048 ac_cv_func_socket=no
46049 fi
46050
46051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46052 conftest$ac_exeext conftest.$ac_ext
46053 fi
46054 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46055 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46056 if test $ac_cv_func_socket = yes; then
46057 :
46058 else
46059
46060 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46061 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46062 if test "${ac_cv_lib_socket_socket+set}" = set; then
46063 echo $ECHO_N "(cached) $ECHO_C" >&6
46064 else
46065 ac_check_lib_save_LIBS=$LIBS
46066 LIBS="-lsocket $LIBS"
46067 cat >conftest.$ac_ext <<_ACEOF
46068 /* confdefs.h. */
46069 _ACEOF
46070 cat confdefs.h >>conftest.$ac_ext
46071 cat >>conftest.$ac_ext <<_ACEOF
46072 /* end confdefs.h. */
46073
46074 /* Override any GCC internal prototype to avoid an error.
46075 Use char because int might match the return type of a GCC
46076 builtin and then its argument prototype would still apply. */
46077 #ifdef __cplusplus
46078 extern "C"
46079 #endif
46080 char socket ();
46081 int
46082 main ()
46083 {
46084 return socket ();
46085 ;
46086 return 0;
46087 }
46088 _ACEOF
46089 rm -f conftest.$ac_objext conftest$ac_exeext
46090 if { (ac_try="$ac_link"
46091 case "(($ac_try" in
46092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46093 *) ac_try_echo=$ac_try;;
46094 esac
46095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46096 (eval "$ac_link") 2>conftest.er1
46097 ac_status=$?
46098 grep -v '^ *+' conftest.er1 >conftest.err
46099 rm -f conftest.er1
46100 cat conftest.err >&5
46101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46102 (exit $ac_status); } && {
46103 test -z "$ac_c_werror_flag" ||
46104 test ! -s conftest.err
46105 } && test -s conftest$ac_exeext &&
46106 $as_test_x conftest$ac_exeext; then
46107 ac_cv_lib_socket_socket=yes
46108 else
46109 echo "$as_me: failed program was:" >&5
46110 sed 's/^/| /' conftest.$ac_ext >&5
46111
46112 ac_cv_lib_socket_socket=no
46113 fi
46114
46115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46116 conftest$ac_exeext conftest.$ac_ext
46117 LIBS=$ac_check_lib_save_LIBS
46118 fi
46119 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46120 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46121 if test $ac_cv_lib_socket_socket = yes; then
46122 if test "$INET_LINK" != " -lsocket"; then
46123 INET_LINK="$INET_LINK -lsocket"
46124 fi
46125 else
46126
46127 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46128 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46129 wxUSE_SOCKETS=no
46130
46131
46132 fi
46133
46134
46135
46136 fi
46137
46138 fi
46139 fi
46140
46141 if test "$wxUSE_SOCKETS" = "yes" ; then
46142 if test "$TOOLKIT" != "MSW"; then
46143 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46144 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46145 if test "${wx_cv_type_getsockname3+set}" = set; then
46146 echo $ECHO_N "(cached) $ECHO_C" >&6
46147 else
46148
46149 ac_ext=cpp
46150 ac_cpp='$CXXCPP $CPPFLAGS'
46151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46154
46155 cat >conftest.$ac_ext <<_ACEOF
46156 /* confdefs.h. */
46157 _ACEOF
46158 cat confdefs.h >>conftest.$ac_ext
46159 cat >>conftest.$ac_ext <<_ACEOF
46160 /* end confdefs.h. */
46161
46162 #include <sys/types.h>
46163 #include <sys/socket.h>
46164
46165 int
46166 main ()
46167 {
46168
46169 socklen_t len;
46170 getsockname(0, 0, &len);
46171
46172 ;
46173 return 0;
46174 }
46175 _ACEOF
46176 rm -f conftest.$ac_objext
46177 if { (ac_try="$ac_compile"
46178 case "(($ac_try" in
46179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46180 *) ac_try_echo=$ac_try;;
46181 esac
46182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46183 (eval "$ac_compile") 2>conftest.er1
46184 ac_status=$?
46185 grep -v '^ *+' conftest.er1 >conftest.err
46186 rm -f conftest.er1
46187 cat conftest.err >&5
46188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46189 (exit $ac_status); } && {
46190 test -z "$ac_cxx_werror_flag" ||
46191 test ! -s conftest.err
46192 } && test -s conftest.$ac_objext; then
46193 wx_cv_type_getsockname3=socklen_t
46194 else
46195 echo "$as_me: failed program was:" >&5
46196 sed 's/^/| /' conftest.$ac_ext >&5
46197
46198
46199 CFLAGS_OLD="$CFLAGS"
46200 if test "$GCC" = yes ; then
46201 CFLAGS="-Werror $CFLAGS"
46202 fi
46203
46204 cat >conftest.$ac_ext <<_ACEOF
46205 /* confdefs.h. */
46206 _ACEOF
46207 cat confdefs.h >>conftest.$ac_ext
46208 cat >>conftest.$ac_ext <<_ACEOF
46209 /* end confdefs.h. */
46210
46211 #include <sys/types.h>
46212 #include <sys/socket.h>
46213
46214 int
46215 main ()
46216 {
46217
46218 size_t len;
46219 getsockname(0, 0, &len);
46220
46221 ;
46222 return 0;
46223 }
46224 _ACEOF
46225 rm -f conftest.$ac_objext
46226 if { (ac_try="$ac_compile"
46227 case "(($ac_try" in
46228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46229 *) ac_try_echo=$ac_try;;
46230 esac
46231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46232 (eval "$ac_compile") 2>conftest.er1
46233 ac_status=$?
46234 grep -v '^ *+' conftest.er1 >conftest.err
46235 rm -f conftest.er1
46236 cat conftest.err >&5
46237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46238 (exit $ac_status); } && {
46239 test -z "$ac_cxx_werror_flag" ||
46240 test ! -s conftest.err
46241 } && test -s conftest.$ac_objext; then
46242 wx_cv_type_getsockname3=size_t
46243 else
46244 echo "$as_me: failed program was:" >&5
46245 sed 's/^/| /' conftest.$ac_ext >&5
46246
46247 cat >conftest.$ac_ext <<_ACEOF
46248 /* confdefs.h. */
46249 _ACEOF
46250 cat confdefs.h >>conftest.$ac_ext
46251 cat >>conftest.$ac_ext <<_ACEOF
46252 /* end confdefs.h. */
46253
46254 #include <sys/types.h>
46255 #include <sys/socket.h>
46256
46257 int
46258 main ()
46259 {
46260
46261 int len;
46262 getsockname(0, 0, &len);
46263
46264 ;
46265 return 0;
46266 }
46267 _ACEOF
46268 rm -f conftest.$ac_objext
46269 if { (ac_try="$ac_compile"
46270 case "(($ac_try" in
46271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46272 *) ac_try_echo=$ac_try;;
46273 esac
46274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46275 (eval "$ac_compile") 2>conftest.er1
46276 ac_status=$?
46277 grep -v '^ *+' conftest.er1 >conftest.err
46278 rm -f conftest.er1
46279 cat conftest.err >&5
46280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46281 (exit $ac_status); } && {
46282 test -z "$ac_cxx_werror_flag" ||
46283 test ! -s conftest.err
46284 } && test -s conftest.$ac_objext; then
46285 wx_cv_type_getsockname3=int
46286 else
46287 echo "$as_me: failed program was:" >&5
46288 sed 's/^/| /' conftest.$ac_ext >&5
46289
46290 wx_cv_type_getsockname3=unknown
46291
46292 fi
46293
46294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46295
46296 fi
46297
46298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46299
46300 CFLAGS="$CFLAGS_OLD"
46301
46302
46303 fi
46304
46305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46306 ac_ext=c
46307 ac_cpp='$CPP $CPPFLAGS'
46308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46311
46312
46313 fi
46314 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46315 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46316
46317 if test "$wx_cv_type_getsockname3" = "unknown"; then
46318 wxUSE_SOCKETS=no
46319 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46320 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46321 else
46322 cat >>confdefs.h <<_ACEOF
46323 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46324 _ACEOF
46325
46326 fi
46327 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46328 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46329 if test "${wx_cv_type_getsockopt5+set}" = set; then
46330 echo $ECHO_N "(cached) $ECHO_C" >&6
46331 else
46332
46333 ac_ext=cpp
46334 ac_cpp='$CXXCPP $CPPFLAGS'
46335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46338
46339 cat >conftest.$ac_ext <<_ACEOF
46340 /* confdefs.h. */
46341 _ACEOF
46342 cat confdefs.h >>conftest.$ac_ext
46343 cat >>conftest.$ac_ext <<_ACEOF
46344 /* end confdefs.h. */
46345
46346 #include <sys/types.h>
46347 #include <sys/socket.h>
46348
46349 int
46350 main ()
46351 {
46352
46353 socklen_t len;
46354 getsockopt(0, 0, 0, 0, &len);
46355
46356 ;
46357 return 0;
46358 }
46359 _ACEOF
46360 rm -f conftest.$ac_objext
46361 if { (ac_try="$ac_compile"
46362 case "(($ac_try" in
46363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46364 *) ac_try_echo=$ac_try;;
46365 esac
46366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46367 (eval "$ac_compile") 2>conftest.er1
46368 ac_status=$?
46369 grep -v '^ *+' conftest.er1 >conftest.err
46370 rm -f conftest.er1
46371 cat conftest.err >&5
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); } && {
46374 test -z "$ac_cxx_werror_flag" ||
46375 test ! -s conftest.err
46376 } && test -s conftest.$ac_objext; then
46377 wx_cv_type_getsockopt5=socklen_t
46378 else
46379 echo "$as_me: failed program was:" >&5
46380 sed 's/^/| /' conftest.$ac_ext >&5
46381
46382
46383 cat >conftest.$ac_ext <<_ACEOF
46384 /* confdefs.h. */
46385 _ACEOF
46386 cat confdefs.h >>conftest.$ac_ext
46387 cat >>conftest.$ac_ext <<_ACEOF
46388 /* end confdefs.h. */
46389
46390 #include <sys/types.h>
46391 #include <sys/socket.h>
46392
46393 int
46394 main ()
46395 {
46396
46397 size_t len;
46398 getsockopt(0, 0, 0, 0, &len);
46399
46400 ;
46401 return 0;
46402 }
46403 _ACEOF
46404 rm -f conftest.$ac_objext
46405 if { (ac_try="$ac_compile"
46406 case "(($ac_try" in
46407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46408 *) ac_try_echo=$ac_try;;
46409 esac
46410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46411 (eval "$ac_compile") 2>conftest.er1
46412 ac_status=$?
46413 grep -v '^ *+' conftest.er1 >conftest.err
46414 rm -f conftest.er1
46415 cat conftest.err >&5
46416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46417 (exit $ac_status); } && {
46418 test -z "$ac_cxx_werror_flag" ||
46419 test ! -s conftest.err
46420 } && test -s conftest.$ac_objext; then
46421 wx_cv_type_getsockopt5=size_t
46422 else
46423 echo "$as_me: failed program was:" >&5
46424 sed 's/^/| /' conftest.$ac_ext >&5
46425
46426 cat >conftest.$ac_ext <<_ACEOF
46427 /* confdefs.h. */
46428 _ACEOF
46429 cat confdefs.h >>conftest.$ac_ext
46430 cat >>conftest.$ac_ext <<_ACEOF
46431 /* end confdefs.h. */
46432
46433 #include <sys/types.h>
46434 #include <sys/socket.h>
46435
46436 int
46437 main ()
46438 {
46439
46440 int len;
46441 getsockopt(0, 0, 0, 0, &len);
46442
46443 ;
46444 return 0;
46445 }
46446 _ACEOF
46447 rm -f conftest.$ac_objext
46448 if { (ac_try="$ac_compile"
46449 case "(($ac_try" in
46450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46451 *) ac_try_echo=$ac_try;;
46452 esac
46453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46454 (eval "$ac_compile") 2>conftest.er1
46455 ac_status=$?
46456 grep -v '^ *+' conftest.er1 >conftest.err
46457 rm -f conftest.er1
46458 cat conftest.err >&5
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); } && {
46461 test -z "$ac_cxx_werror_flag" ||
46462 test ! -s conftest.err
46463 } && test -s conftest.$ac_objext; then
46464 wx_cv_type_getsockopt5=int
46465 else
46466 echo "$as_me: failed program was:" >&5
46467 sed 's/^/| /' conftest.$ac_ext >&5
46468
46469 wx_cv_type_getsockopt5=unknown
46470
46471 fi
46472
46473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46474
46475 fi
46476
46477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46478
46479
46480 fi
46481
46482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46483 ac_ext=c
46484 ac_cpp='$CPP $CPPFLAGS'
46485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46488
46489
46490 fi
46491 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46492 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46493
46494 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46495 wxUSE_SOCKETS=no
46496 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46497 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46498 else
46499 cat >>confdefs.h <<_ACEOF
46500 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46501 _ACEOF
46502
46503 fi
46504 fi
46505 fi
46506
46507 if test "$wxUSE_SOCKETS" = "yes" ; then
46508 if test "$wxUSE_IPV6" = "yes"; then
46509 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46510 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46511 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46512 echo $ECHO_N "(cached) $ECHO_C" >&6
46513 else
46514
46515 cat >conftest.$ac_ext <<_ACEOF
46516 /* confdefs.h. */
46517 _ACEOF
46518 cat confdefs.h >>conftest.$ac_ext
46519 cat >>conftest.$ac_ext <<_ACEOF
46520 /* end confdefs.h. */
46521
46522 #include <sys/types.h>
46523 #include <sys/socket.h>
46524 #include <netinet/in.h>
46525
46526 int
46527 main ()
46528 {
46529
46530 struct sockaddr_in6 sa6;
46531
46532 ;
46533 return 0;
46534 }
46535 _ACEOF
46536 rm -f conftest.$ac_objext
46537 if { (ac_try="$ac_compile"
46538 case "(($ac_try" in
46539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46540 *) ac_try_echo=$ac_try;;
46541 esac
46542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46543 (eval "$ac_compile") 2>conftest.er1
46544 ac_status=$?
46545 grep -v '^ *+' conftest.er1 >conftest.err
46546 rm -f conftest.er1
46547 cat conftest.err >&5
46548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549 (exit $ac_status); } && {
46550 test -z "$ac_c_werror_flag" ||
46551 test ! -s conftest.err
46552 } && test -s conftest.$ac_objext; then
46553 wx_cv_type_sockaddr_in6=yes
46554 else
46555 echo "$as_me: failed program was:" >&5
46556 sed 's/^/| /' conftest.$ac_ext >&5
46557
46558 wx_cv_type_sockaddr_in6=no
46559
46560 fi
46561
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46563
46564
46565 fi
46566 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46567 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46568
46569 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46570 cat >>confdefs.h <<\_ACEOF
46571 #define wxUSE_IPV6 1
46572 _ACEOF
46573
46574 else
46575 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46576 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46577 fi
46578 fi
46579
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_SOCKETS 1
46582 _ACEOF
46583
46584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46585 fi
46586
46587 if test "$wxUSE_PROTOCOL" = "yes"; then
46588 if test "$wxUSE_SOCKETS" != "yes"; then
46589 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46590 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46591 wxUSE_PROTOCOL=no
46592 fi
46593 fi
46594
46595 if test "$wxUSE_PROTOCOL" = "yes"; then
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_PROTOCOL 1
46598 _ACEOF
46599
46600
46601 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_PROTOCOL_HTTP 1
46604 _ACEOF
46605
46606 fi
46607 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_PROTOCOL_FTP 1
46610 _ACEOF
46611
46612 fi
46613 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_PROTOCOL_FILE 1
46616 _ACEOF
46617
46618 fi
46619 else
46620 if test "$wxUSE_FS_INET" = "yes"; then
46621 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46622 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46623 wxUSE_FS_INET="no"
46624 fi
46625 fi
46626
46627 if test "$wxUSE_URL" = "yes"; then
46628 if test "$wxUSE_PROTOCOL" != "yes"; then
46629 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46630 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46631 wxUSE_URL=no
46632 fi
46633 if test "$wxUSE_URL" = "yes"; then
46634 cat >>confdefs.h <<\_ACEOF
46635 #define wxUSE_URL 1
46636 _ACEOF
46637
46638 fi
46639 fi
46640
46641 if test "$wxUSE_VARIANT" = "yes"; then
46642 cat >>confdefs.h <<\_ACEOF
46643 #define wxUSE_VARIANT 1
46644 _ACEOF
46645
46646 fi
46647
46648 if test "$wxUSE_FS_INET" = "yes"; then
46649 cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_FS_INET 1
46651 _ACEOF
46652
46653 fi
46654
46655
46656 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46657 wxUSE_JOYSTICK=no
46658
46659 if test "$TOOLKIT" = "MSW"; then
46660 wxUSE_JOYSTICK=yes
46661
46662 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46663 if test "$USE_DARWIN" = 1; then
46664 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46665 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46666 ac_ext=cpp
46667 ac_cpp='$CXXCPP $CPPFLAGS'
46668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46671
46672 cat >conftest.$ac_ext <<_ACEOF
46673 /* confdefs.h. */
46674 _ACEOF
46675 cat confdefs.h >>conftest.$ac_ext
46676 cat >>conftest.$ac_ext <<_ACEOF
46677 /* end confdefs.h. */
46678 #include <IOKit/hid/IOHIDLib.h>
46679 int
46680 main ()
46681 {
46682 IOHIDQueueInterface *qi = NULL;
46683 IOHIDCallbackFunction cb = NULL;
46684 qi->setEventCallout(NULL, cb, NULL, NULL);
46685 ;
46686 return 0;
46687 }
46688 _ACEOF
46689 rm -f conftest.$ac_objext
46690 if { (ac_try="$ac_compile"
46691 case "(($ac_try" in
46692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46693 *) ac_try_echo=$ac_try;;
46694 esac
46695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46696 (eval "$ac_compile") 2>conftest.er1
46697 ac_status=$?
46698 grep -v '^ *+' conftest.er1 >conftest.err
46699 rm -f conftest.er1
46700 cat conftest.err >&5
46701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46702 (exit $ac_status); } && {
46703 test -z "$ac_cxx_werror_flag" ||
46704 test ! -s conftest.err
46705 } && test -s conftest.$ac_objext; then
46706 wxUSE_JOYSTICK=yes
46707
46708 else
46709 echo "$as_me: failed program was:" >&5
46710 sed 's/^/| /' conftest.$ac_ext >&5
46711
46712
46713 fi
46714
46715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46716 ac_ext=c
46717 ac_cpp='$CPP $CPPFLAGS'
46718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46721
46722 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46723 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46724 fi
46725
46726 else
46727 if test "$wxUSE_MGL" != 1; then
46728
46729 for ac_header in linux/joystick.h
46730 do
46731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46735 echo $ECHO_N "(cached) $ECHO_C" >&6
46736 else
46737 cat >conftest.$ac_ext <<_ACEOF
46738 /* confdefs.h. */
46739 _ACEOF
46740 cat confdefs.h >>conftest.$ac_ext
46741 cat >>conftest.$ac_ext <<_ACEOF
46742 /* end confdefs.h. */
46743 $ac_includes_default
46744
46745 #include <$ac_header>
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 eval "$as_ac_Header=yes"
46765 else
46766 echo "$as_me: failed program was:" >&5
46767 sed 's/^/| /' conftest.$ac_ext >&5
46768
46769 eval "$as_ac_Header=no"
46770 fi
46771
46772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46773 fi
46774 ac_res=`eval echo '${'$as_ac_Header'}'`
46775 { echo "$as_me:$LINENO: result: $ac_res" >&5
46776 echo "${ECHO_T}$ac_res" >&6; }
46777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46778 cat >>confdefs.h <<_ACEOF
46779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46780 _ACEOF
46781 wxUSE_JOYSTICK=yes
46782 fi
46783
46784 done
46785
46786 fi
46787 fi
46788
46789 if test "$wxUSE_JOYSTICK" = "yes"; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_JOYSTICK 1
46792 _ACEOF
46793
46794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46795 else
46796 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46797 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46798 fi
46799 fi
46800
46801
46802
46803 if test "$wxUSE_FONTENUM" = "yes" ; then
46804 cat >>confdefs.h <<\_ACEOF
46805 #define wxUSE_FONTENUM 1
46806 _ACEOF
46807
46808 fi
46809
46810 if test "$wxUSE_FONTMAP" = "yes" ; then
46811 cat >>confdefs.h <<\_ACEOF
46812 #define wxUSE_FONTMAP 1
46813 _ACEOF
46814
46815 fi
46816
46817 if test "$wxUSE_UNICODE" = "yes" ; then
46818 cat >>confdefs.h <<\_ACEOF
46819 #define wxUSE_UNICODE 1
46820 _ACEOF
46821
46822
46823 if test "$USE_WIN32" != 1; then
46824 wxUSE_UNICODE_MSLU=no
46825 fi
46826
46827 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46828 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46829 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46830 if test "${ac_cv_lib_unicows_main+set}" = set; then
46831 echo $ECHO_N "(cached) $ECHO_C" >&6
46832 else
46833 ac_check_lib_save_LIBS=$LIBS
46834 LIBS="-lunicows $LIBS"
46835 cat >conftest.$ac_ext <<_ACEOF
46836 /* confdefs.h. */
46837 _ACEOF
46838 cat confdefs.h >>conftest.$ac_ext
46839 cat >>conftest.$ac_ext <<_ACEOF
46840 /* end confdefs.h. */
46841
46842
46843 int
46844 main ()
46845 {
46846 return main ();
46847 ;
46848 return 0;
46849 }
46850 _ACEOF
46851 rm -f conftest.$ac_objext conftest$ac_exeext
46852 if { (ac_try="$ac_link"
46853 case "(($ac_try" in
46854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46855 *) ac_try_echo=$ac_try;;
46856 esac
46857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46858 (eval "$ac_link") 2>conftest.er1
46859 ac_status=$?
46860 grep -v '^ *+' conftest.er1 >conftest.err
46861 rm -f conftest.er1
46862 cat conftest.err >&5
46863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46864 (exit $ac_status); } && {
46865 test -z "$ac_c_werror_flag" ||
46866 test ! -s conftest.err
46867 } && test -s conftest$ac_exeext &&
46868 $as_test_x conftest$ac_exeext; then
46869 ac_cv_lib_unicows_main=yes
46870 else
46871 echo "$as_me: failed program was:" >&5
46872 sed 's/^/| /' conftest.$ac_ext >&5
46873
46874 ac_cv_lib_unicows_main=no
46875 fi
46876
46877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46878 conftest$ac_exeext conftest.$ac_ext
46879 LIBS=$ac_check_lib_save_LIBS
46880 fi
46881 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46882 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46883 if test $ac_cv_lib_unicows_main = yes; then
46884
46885 cat >>confdefs.h <<\_ACEOF
46886 #define wxUSE_UNICODE_MSLU 1
46887 _ACEOF
46888
46889
46890 else
46891
46892 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46893 Applications will only run on Windows NT/2000/XP!" >&5
46894 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46895 Applications will only run on Windows NT/2000/XP!" >&2;}
46896 wxUSE_UNICODE_MSLU=no
46897
46898 fi
46899
46900 fi
46901 fi
46902
46903 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46904 cat >>confdefs.h <<\_ACEOF
46905 #define wxUSE_UNICODE_UTF8 1
46906 _ACEOF
46907
46908
46909 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_UTF8_LOCALE_ONLY 1
46912 _ACEOF
46913
46914 fi
46915 fi
46916
46917
46918 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46919 cat >>confdefs.h <<\_ACEOF
46920 #define wxUSE_CONSTRAINTS 1
46921 _ACEOF
46922
46923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46924 fi
46925
46926 if test "$wxUSE_MDI" = "yes"; then
46927 cat >>confdefs.h <<\_ACEOF
46928 #define wxUSE_MDI 1
46929 _ACEOF
46930
46931
46932 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_MDI_ARCHITECTURE 1
46935 _ACEOF
46936
46937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46938 fi
46939 fi
46940
46941 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46942 cat >>confdefs.h <<\_ACEOF
46943 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46944 _ACEOF
46945
46946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46947 fi
46948
46949 if test "$wxUSE_HELP" = "yes"; then
46950 cat >>confdefs.h <<\_ACEOF
46951 #define wxUSE_HELP 1
46952 _ACEOF
46953
46954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46955
46956 if test "$wxUSE_MSW" = 1; then
46957 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46958 cat >>confdefs.h <<\_ACEOF
46959 #define wxUSE_MS_HTML_HELP 1
46960 _ACEOF
46961
46962 fi
46963 fi
46964
46965 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46966 if test "$wxUSE_HTML" = "yes"; then
46967 cat >>confdefs.h <<\_ACEOF
46968 #define wxUSE_WXHTML_HELP 1
46969 _ACEOF
46970
46971 else
46972 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46973 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46974 wxUSE_WXHTML_HELP=no
46975 fi
46976 fi
46977 fi
46978
46979 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46980 cat >>confdefs.h <<\_ACEOF
46981 #define wxUSE_PRINTING_ARCHITECTURE 1
46982 _ACEOF
46983
46984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46985 fi
46986
46987 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46988 cat >>confdefs.h <<\_ACEOF
46989 #define wxUSE_POSTSCRIPT 1
46990 _ACEOF
46991
46992 fi
46993
46994 cat >>confdefs.h <<\_ACEOF
46995 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46996 _ACEOF
46997
46998
46999 if test "$wxUSE_SVG" = "yes"; then
47000 cat >>confdefs.h <<\_ACEOF
47001 #define wxUSE_SVG 1
47002 _ACEOF
47003
47004 fi
47005
47006
47007 if test "$wxUSE_METAFILE" = "yes"; then
47008 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47009 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47010 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47011 wxUSE_METAFILE=no
47012 fi
47013 fi
47014
47015
47016 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47017 -o "$wxUSE_CLIPBOARD" = "yes" \
47018 -o "$wxUSE_OLE" = "yes" \
47019 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47020 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47021 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47022 if test "${ac_cv_header_ole2_h+set}" = set; then
47023 echo $ECHO_N "(cached) $ECHO_C" >&6
47024 else
47025 cat >conftest.$ac_ext <<_ACEOF
47026 /* confdefs.h. */
47027 _ACEOF
47028 cat confdefs.h >>conftest.$ac_ext
47029 cat >>conftest.$ac_ext <<_ACEOF
47030 /* end confdefs.h. */
47031
47032
47033 #include <ole2.h>
47034 _ACEOF
47035 rm -f conftest.$ac_objext
47036 if { (ac_try="$ac_compile"
47037 case "(($ac_try" in
47038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47039 *) ac_try_echo=$ac_try;;
47040 esac
47041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47042 (eval "$ac_compile") 2>conftest.er1
47043 ac_status=$?
47044 grep -v '^ *+' conftest.er1 >conftest.err
47045 rm -f conftest.er1
47046 cat conftest.err >&5
47047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048 (exit $ac_status); } && {
47049 test -z "$ac_c_werror_flag" ||
47050 test ! -s conftest.err
47051 } && test -s conftest.$ac_objext; then
47052 ac_cv_header_ole2_h=yes
47053 else
47054 echo "$as_me: failed program was:" >&5
47055 sed 's/^/| /' conftest.$ac_ext >&5
47056
47057 ac_cv_header_ole2_h=no
47058 fi
47059
47060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47061 fi
47062 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47063 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47064
47065
47066
47067 if test "$ac_cv_header_ole2_h" = "yes" ; then
47068 if test "$GCC" = yes ; then
47069 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47070 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47071 cat >conftest.$ac_ext <<_ACEOF
47072 /* confdefs.h. */
47073 _ACEOF
47074 cat confdefs.h >>conftest.$ac_ext
47075 cat >>conftest.$ac_ext <<_ACEOF
47076 /* end confdefs.h. */
47077 #include <windows.h>
47078 #include <ole2.h>
47079 int
47080 main ()
47081 {
47082
47083 ;
47084 return 0;
47085 }
47086 _ACEOF
47087 rm -f conftest.$ac_objext
47088 if { (ac_try="$ac_compile"
47089 case "(($ac_try" in
47090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47091 *) ac_try_echo=$ac_try;;
47092 esac
47093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47094 (eval "$ac_compile") 2>conftest.er1
47095 ac_status=$?
47096 grep -v '^ *+' conftest.er1 >conftest.err
47097 rm -f conftest.er1
47098 cat conftest.err >&5
47099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47100 (exit $ac_status); } && {
47101 test -z "$ac_c_werror_flag" ||
47102 test ! -s conftest.err
47103 } && test -s conftest.$ac_objext; then
47104 { echo "$as_me:$LINENO: result: no" >&5
47105 echo "${ECHO_T}no" >&6; }
47106 else
47107 echo "$as_me: failed program was:" >&5
47108 sed 's/^/| /' conftest.$ac_ext >&5
47109
47110 { echo "$as_me:$LINENO: result: yes" >&5
47111 echo "${ECHO_T}yes" >&6; }
47112 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47113 fi
47114
47115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47116 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47117 if test "$wxUSE_OLE" = "yes" ; then
47118 cat >>confdefs.h <<\_ACEOF
47119 #define wxUSE_OLE 1
47120 _ACEOF
47121
47122 cat >>confdefs.h <<\_ACEOF
47123 #define wxUSE_OLE_AUTOMATION 1
47124 _ACEOF
47125
47126 cat >>confdefs.h <<\_ACEOF
47127 #define wxUSE_ACTIVEX 1
47128 _ACEOF
47129
47130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47131 fi
47132 fi
47133
47134 if test "$wxUSE_DATAOBJ" = "yes" ; then
47135 cat >>confdefs.h <<\_ACEOF
47136 #define wxUSE_DATAOBJ 1
47137 _ACEOF
47138
47139 fi
47140 else
47141 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47142 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47143
47144 wxUSE_CLIPBOARD=no
47145 wxUSE_DRAG_AND_DROP=no
47146 wxUSE_DATAOBJ=no
47147 wxUSE_OLE=no
47148 fi
47149
47150 if test "$wxUSE_METAFILE" = "yes"; then
47151 cat >>confdefs.h <<\_ACEOF
47152 #define wxUSE_METAFILE 1
47153 _ACEOF
47154
47155
47156 cat >>confdefs.h <<\_ACEOF
47157 #define wxUSE_ENH_METAFILE 1
47158 _ACEOF
47159
47160 fi
47161 fi
47162
47163 if test "$wxUSE_IPC" = "yes"; then
47164 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47165 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47166 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47167 wxUSE_IPC=no
47168 fi
47169
47170 if test "$wxUSE_IPC" = "yes"; then
47171 cat >>confdefs.h <<\_ACEOF
47172 #define wxUSE_IPC 1
47173 _ACEOF
47174
47175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47176 fi
47177 fi
47178
47179 if test "$wxUSE_DATAOBJ" = "yes"; then
47180 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47181 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47182 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47183 wxUSE_DATAOBJ=no
47184 else
47185 cat >>confdefs.h <<\_ACEOF
47186 #define wxUSE_DATAOBJ 1
47187 _ACEOF
47188
47189 fi
47190 else
47191 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47192 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47193 wxUSE_CLIPBOARD=no
47194 wxUSE_DRAG_AND_DROP=no
47195 fi
47196
47197 if test "$wxUSE_CLIPBOARD" = "yes"; then
47198 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47199 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47200 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47201 wxUSE_CLIPBOARD=no
47202 fi
47203
47204 if test "$wxUSE_CLIPBOARD" = "yes"; then
47205 cat >>confdefs.h <<\_ACEOF
47206 #define wxUSE_CLIPBOARD 1
47207 _ACEOF
47208
47209 fi
47210 fi
47211
47212 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47213 if test "$wxUSE_GTK" = 1; then
47214 if test "$WXGTK12" != 1; then
47215 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47216 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47217 wxUSE_DRAG_AND_DROP=no
47218 fi
47219 fi
47220
47221 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47222 "$wxUSE_DFB" = 1; then
47223 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47224 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47225 wxUSE_DRAG_AND_DROP=no
47226 fi
47227
47228 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47229 cat >>confdefs.h <<\_ACEOF
47230 #define wxUSE_DRAG_AND_DROP 1
47231 _ACEOF
47232
47233 fi
47234
47235 fi
47236
47237 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47239 fi
47240
47241 if test "$wxUSE_CLIPBOARD" = "yes"; then
47242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47243 fi
47244
47245 if test "$wxUSE_SPLINES" = "yes" ; then
47246 cat >>confdefs.h <<\_ACEOF
47247 #define wxUSE_SPLINES 1
47248 _ACEOF
47249
47250 fi
47251
47252 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47253 cat >>confdefs.h <<\_ACEOF
47254 #define wxUSE_MOUSEWHEEL 1
47255 _ACEOF
47256
47257 fi
47258
47259 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_UIACTIONSIMULATOR 1
47262 _ACEOF
47263
47264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47265 fi
47266
47267 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_DC_TRANSFORM_MATRIX 1
47270 _ACEOF
47271
47272 fi
47273
47274
47275 USES_CONTROLS=0
47276 if test "$wxUSE_CONTROLS" = "yes"; then
47277 USES_CONTROLS=1
47278 fi
47279
47280 if test "$wxUSE_MARKUP" = "yes"; then
47281 cat >>confdefs.h <<\_ACEOF
47282 #define wxUSE_MARKUP 1
47283 _ACEOF
47284
47285 fi
47286
47287 if test "$wxUSE_ACCEL" = "yes"; then
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_ACCEL 1
47290 _ACEOF
47291
47292 USES_CONTROLS=1
47293 fi
47294
47295 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47296 cat >>confdefs.h <<\_ACEOF
47297 #define wxUSE_ANIMATIONCTRL 1
47298 _ACEOF
47299
47300 USES_CONTROLS=1
47301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47302 fi
47303
47304 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_BANNERWINDOW 1
47307 _ACEOF
47308
47309 fi
47310
47311 if test "$wxUSE_BUTTON" = "yes"; then
47312 cat >>confdefs.h <<\_ACEOF
47313 #define wxUSE_BUTTON 1
47314 _ACEOF
47315
47316 USES_CONTROLS=1
47317 fi
47318
47319 if test "$wxUSE_BMPBUTTON" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_BMPBUTTON 1
47322 _ACEOF
47323
47324 USES_CONTROLS=1
47325 fi
47326
47327 if test "$wxUSE_CALCTRL" = "yes"; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_CALENDARCTRL 1
47330 _ACEOF
47331
47332 USES_CONTROLS=1
47333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47334 fi
47335
47336 if test "$wxUSE_CARET" = "yes"; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_CARET 1
47339 _ACEOF
47340
47341 USES_CONTROLS=1
47342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47343 fi
47344
47345 if test "$wxUSE_COLLPANE" = "yes"; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_COLLPANE 1
47348 _ACEOF
47349
47350 USES_CONTROLS=1
47351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47352 fi
47353
47354 if test "$wxUSE_COMBOBOX" = "yes"; then
47355 cat >>confdefs.h <<\_ACEOF
47356 #define wxUSE_COMBOBOX 1
47357 _ACEOF
47358
47359 USES_CONTROLS=1
47360 fi
47361
47362 if test "$wxUSE_COMBOCTRL" = "yes"; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_COMBOCTRL 1
47365 _ACEOF
47366
47367 USES_CONTROLS=1
47368 fi
47369
47370 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_COMMANDLINKBUTTON 1
47373 _ACEOF
47374
47375 USES_CONTROLS=1
47376 fi
47377
47378 if test "$wxUSE_CHOICE" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_CHOICE 1
47381 _ACEOF
47382
47383 USES_CONTROLS=1
47384 fi
47385
47386 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_CHOICEBOOK 1
47389 _ACEOF
47390
47391 USES_CONTROLS=1
47392 fi
47393
47394 if test "$wxUSE_CHECKBOX" = "yes"; then
47395 cat >>confdefs.h <<\_ACEOF
47396 #define wxUSE_CHECKBOX 1
47397 _ACEOF
47398
47399 USES_CONTROLS=1
47400 fi
47401
47402 if test "$wxUSE_CHECKLST" = "yes"; then
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_CHECKLISTBOX 1
47405 _ACEOF
47406
47407 USES_CONTROLS=1
47408 fi
47409
47410 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_COLOURPICKERCTRL 1
47413 _ACEOF
47414
47415 USES_CONTROLS=1
47416 fi
47417
47418 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_DATEPICKCTRL 1
47421 _ACEOF
47422
47423 USES_CONTROLS=1
47424 fi
47425
47426 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47427 cat >>confdefs.h <<\_ACEOF
47428 #define wxUSE_DIRPICKERCTRL 1
47429 _ACEOF
47430
47431 USES_CONTROLS=1
47432 fi
47433
47434 if test "$wxUSE_FILECTRL" = "yes"; then
47435 cat >>confdefs.h <<\_ACEOF
47436 #define wxUSE_FILECTRL 1
47437 _ACEOF
47438
47439 USES_CONTROLS=1
47440 fi
47441
47442 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47443 cat >>confdefs.h <<\_ACEOF
47444 #define wxUSE_FILEPICKERCTRL 1
47445 _ACEOF
47446
47447 USES_CONTROLS=1
47448 fi
47449
47450 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47451 cat >>confdefs.h <<\_ACEOF
47452 #define wxUSE_FONTPICKERCTRL 1
47453 _ACEOF
47454
47455 USES_CONTROLS=1
47456 fi
47457
47458 if test "$wxUSE_DISPLAY" = "yes"; then
47459 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47460 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47461 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47462 wxUSE_DISPLAY=no
47463 else
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_DISPLAY 1
47466 _ACEOF
47467
47468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47469 fi
47470 fi
47471
47472 if test "$wxUSE_DETECT_SM" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_DETECT_SM 1
47475 _ACEOF
47476
47477 fi
47478
47479 if test "$wxUSE_GAUGE" = "yes"; then
47480 cat >>confdefs.h <<\_ACEOF
47481 #define wxUSE_GAUGE 1
47482 _ACEOF
47483
47484 USES_CONTROLS=1
47485 fi
47486
47487 if test "$wxUSE_GRID" = "yes"; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_GRID 1
47490 _ACEOF
47491
47492 USES_CONTROLS=1
47493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47494 fi
47495
47496 if test "$wxUSE_HEADERCTRL" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_HEADERCTRL 1
47499 _ACEOF
47500
47501 USES_CONTROLS=1
47502 fi
47503
47504 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47505 cat >>confdefs.h <<\_ACEOF
47506 #define wxUSE_HYPERLINKCTRL 1
47507 _ACEOF
47508
47509 USES_CONTROLS=1
47510 fi
47511
47512 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_BITMAPCOMBOBOX 1
47515 _ACEOF
47516
47517 USES_CONTROLS=1
47518 fi
47519
47520 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47521 cat >>confdefs.h <<\_ACEOF
47522 #define wxUSE_DATAVIEWCTRL 1
47523 _ACEOF
47524
47525 USES_CONTROLS=1
47526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47527 fi
47528
47529 if test "$wxUSE_IMAGLIST" = "yes"; then
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_IMAGLIST 1
47532 _ACEOF
47533
47534 fi
47535
47536 if test "$wxUSE_INFOBAR" = "yes"; then
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_INFOBAR 1
47539 _ACEOF
47540
47541 fi
47542
47543 if test "$wxUSE_LISTBOOK" = "yes"; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_LISTBOOK 1
47546 _ACEOF
47547
47548 USES_CONTROLS=1
47549 fi
47550
47551 if test "$wxUSE_LISTBOX" = "yes"; then
47552 cat >>confdefs.h <<\_ACEOF
47553 #define wxUSE_LISTBOX 1
47554 _ACEOF
47555
47556 USES_CONTROLS=1
47557 fi
47558
47559 if test "$wxUSE_LISTCTRL" = "yes"; then
47560 if test "$wxUSE_IMAGLIST" = "yes"; then
47561 cat >>confdefs.h <<\_ACEOF
47562 #define wxUSE_LISTCTRL 1
47563 _ACEOF
47564
47565 USES_CONTROLS=1
47566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47567 else
47568 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47569 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47570 fi
47571 fi
47572
47573 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47574 cat >>confdefs.h <<\_ACEOF
47575 #define wxUSE_EDITABLELISTBOX 1
47576 _ACEOF
47577
47578 USES_CONTROLS=1
47579 fi
47580
47581 if test "$wxUSE_NOTEBOOK" = "yes"; then
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_NOTEBOOK 1
47584 _ACEOF
47585
47586 USES_CONTROLS=1
47587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47588 fi
47589
47590 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_NOTIFICATION_MESSAGE 1
47593 _ACEOF
47594
47595 fi
47596
47597 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_ODCOMBOBOX 1
47600 _ACEOF
47601
47602 USES_CONTROLS=1
47603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47604 fi
47605
47606 if test "$wxUSE_RADIOBOX" = "yes"; then
47607 cat >>confdefs.h <<\_ACEOF
47608 #define wxUSE_RADIOBOX 1
47609 _ACEOF
47610
47611 USES_CONTROLS=1
47612 fi
47613
47614 if test "$wxUSE_RADIOBTN" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_RADIOBTN 1
47617 _ACEOF
47618
47619 USES_CONTROLS=1
47620 fi
47621
47622 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_REARRANGECTRL 1
47625 _ACEOF
47626
47627 fi
47628
47629 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47630 cat >>confdefs.h <<\_ACEOF
47631 #define wxUSE_RICHMSGDLG 1
47632 _ACEOF
47633
47634 fi
47635
47636 if test "$wxUSE_SASH" = "yes"; then
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_SASH 1
47639 _ACEOF
47640
47641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47642 fi
47643
47644 if test "$wxUSE_SCROLLBAR" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_SCROLLBAR 1
47647 _ACEOF
47648
47649 USES_CONTROLS=1
47650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47651 fi
47652
47653 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_SEARCHCTRL 1
47656 _ACEOF
47657
47658 USES_CONTROLS=1
47659 fi
47660
47661 if test "$wxUSE_SLIDER" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_SLIDER 1
47664 _ACEOF
47665
47666 USES_CONTROLS=1
47667 fi
47668
47669 if test "$wxUSE_SPINBTN" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_SPINBTN 1
47672 _ACEOF
47673
47674 USES_CONTROLS=1
47675 fi
47676
47677 if test "$wxUSE_SPINCTRL" = "yes"; then
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_SPINCTRL 1
47680 _ACEOF
47681
47682 USES_CONTROLS=1
47683 fi
47684
47685 if test "$wxUSE_SPLITTER" = "yes"; then
47686 cat >>confdefs.h <<\_ACEOF
47687 #define wxUSE_SPLITTER 1
47688 _ACEOF
47689
47690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47691 fi
47692
47693 if test "$wxUSE_STATBMP" = "yes"; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_STATBMP 1
47696 _ACEOF
47697
47698 USES_CONTROLS=1
47699 fi
47700
47701 if test "$wxUSE_STATBOX" = "yes"; then
47702 cat >>confdefs.h <<\_ACEOF
47703 #define wxUSE_STATBOX 1
47704 _ACEOF
47705
47706 USES_CONTROLS=1
47707 fi
47708
47709 if test "$wxUSE_STATTEXT" = "yes"; then
47710 cat >>confdefs.h <<\_ACEOF
47711 #define wxUSE_STATTEXT 1
47712 _ACEOF
47713
47714 USES_CONTROLS=1
47715 fi
47716
47717 if test "$wxUSE_STATLINE" = "yes"; then
47718 cat >>confdefs.h <<\_ACEOF
47719 #define wxUSE_STATLINE 1
47720 _ACEOF
47721
47722 USES_CONTROLS=1
47723 fi
47724
47725 if test "$wxUSE_STATUSBAR" = "yes"; then
47726 cat >>confdefs.h <<\_ACEOF
47727 #define wxUSE_NATIVE_STATUSBAR 1
47728 _ACEOF
47729
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_STATUSBAR 1
47732 _ACEOF
47733
47734 USES_CONTROLS=1
47735
47736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47737 fi
47738
47739 if test "$wxUSE_TEXTCTRL" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_TEXTCTRL 1
47742 _ACEOF
47743
47744 USES_CONTROLS=1
47745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47746
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_RICHEDIT 1
47749 _ACEOF
47750
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_RICHEDIT2 1
47753 _ACEOF
47754
47755 fi
47756
47757 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47758 if test "$wxUSE_OLD_COCOA" = 1 ; then
47759 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47760 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47761 wxUSE_TOGGLEBTN=no
47762 fi
47763
47764 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_TOGGLEBTN 1
47767 _ACEOF
47768
47769 USES_CONTROLS=1
47770 fi
47771 fi
47772
47773 if test "$wxUSE_TOOLBAR" = "yes"; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_TOOLBAR 1
47776 _ACEOF
47777
47778 USES_CONTROLS=1
47779
47780 if test "$wxUSE_UNIVERSAL" = "yes"; then
47781 wxUSE_TOOLBAR_NATIVE="no"
47782 else
47783 wxUSE_TOOLBAR_NATIVE="yes"
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_TOOLBAR_NATIVE 1
47786 _ACEOF
47787
47788 fi
47789
47790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47791 fi
47792
47793 if test "$wxUSE_TOOLTIPS" = "yes"; then
47794 if test "$wxUSE_MOTIF" = 1; then
47795 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47796 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47797 else
47798 if test "$wxUSE_UNIVERSAL" = "yes"; then
47799 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47800 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47801 else
47802 cat >>confdefs.h <<\_ACEOF
47803 #define wxUSE_TOOLTIPS 1
47804 _ACEOF
47805
47806 fi
47807 fi
47808 fi
47809
47810 if test "$wxUSE_TREEBOOK" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_TREEBOOK 1
47813 _ACEOF
47814
47815 USES_CONTROLS=1
47816 fi
47817
47818 if test "$wxUSE_TOOLBOOK" = "yes"; then
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_TOOLBOOK 1
47821 _ACEOF
47822
47823 USES_CONTROLS=1
47824 fi
47825
47826 if test "$wxUSE_TREECTRL" = "yes"; then
47827 if test "$wxUSE_IMAGLIST" = "yes"; then
47828 cat >>confdefs.h <<\_ACEOF
47829 #define wxUSE_TREECTRL 1
47830 _ACEOF
47831
47832 USES_CONTROLS=1
47833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47834 else
47835 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47836 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47837 fi
47838 fi
47839
47840 if test "$wxUSE_POPUPWIN" = "yes"; then
47841 if test "$wxUSE_OLD_COCOA" = 1 ; then
47842 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47843 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47844 else
47845 if test "$wxUSE_PM" = 1; then
47846 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47847 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47848 else
47849 cat >>confdefs.h <<\_ACEOF
47850 #define wxUSE_POPUPWIN 1
47851 _ACEOF
47852
47853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47854
47855 USES_CONTROLS=1
47856 fi
47857 fi
47858 fi
47859
47860 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47861 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47862 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47863 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47864 else
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_DIALUP_MANAGER 1
47867 _ACEOF
47868
47869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47870 fi
47871 fi
47872
47873 if test "$wxUSE_TIPWINDOW" = "yes"; then
47874 if test "$wxUSE_PM" = 1; then
47875 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47876 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47877 else
47878 cat >>confdefs.h <<\_ACEOF
47879 #define wxUSE_TIPWINDOW 1
47880 _ACEOF
47881
47882 fi
47883 fi
47884
47885 if test "$USES_CONTROLS" = 1; then
47886 cat >>confdefs.h <<\_ACEOF
47887 #define wxUSE_CONTROLS 1
47888 _ACEOF
47889
47890 fi
47891
47892
47893 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_ACCESSIBILITY 1
47896 _ACEOF
47897
47898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47899 fi
47900
47901 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47902 cat >>confdefs.h <<\_ACEOF
47903 #define wxUSE_ARTPROVIDER_STD 1
47904 _ACEOF
47905
47906 fi
47907
47908 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47909 if test "$wxUSE_GTK" != 1; then
47910 if test "$wxUSE_LIBPNG" != no -a \
47911 "$wxUSE_IMAGE" = yes -a \
47912 "$wxUSE_STREAMS" = yes; then
47913 wxUSE_ARTPROVIDER_TANGO="yes"
47914 fi
47915 fi
47916 fi
47917
47918 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47919 cat >>confdefs.h <<\_ACEOF
47920 #define wxUSE_ARTPROVIDER_TANGO 1
47921 _ACEOF
47922
47923 fi
47924
47925 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47926 cat >>confdefs.h <<\_ACEOF
47927 #define wxUSE_DRAGIMAGE 1
47928 _ACEOF
47929
47930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47931 fi
47932
47933 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47934 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47935 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47936 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47937 else
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_EXCEPTIONS 1
47940 _ACEOF
47941
47942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47943 fi
47944 fi
47945
47946 USE_HTML=0
47947 if test "$wxUSE_HTML" = "yes"; then
47948 cat >>confdefs.h <<\_ACEOF
47949 #define wxUSE_HTML 1
47950 _ACEOF
47951
47952 USE_HTML=1
47953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47954 fi
47955 if test "$wxUSE_WEBKIT" = "yes"; then
47956 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47957 old_CPPFLAGS="$CPPFLAGS"
47958 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47959 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47960 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47961 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47962 echo $ECHO_N "(cached) $ECHO_C" >&6
47963 else
47964 cat >conftest.$ac_ext <<_ACEOF
47965 /* confdefs.h. */
47966 _ACEOF
47967 cat confdefs.h >>conftest.$ac_ext
47968 cat >>conftest.$ac_ext <<_ACEOF
47969 /* end confdefs.h. */
47970
47971 #include <Carbon/Carbon.h>
47972 #include <WebKit/WebKit.h>
47973
47974
47975 #include <WebKit/HIWebView.h>
47976 _ACEOF
47977 rm -f conftest.$ac_objext
47978 if { (ac_try="$ac_compile"
47979 case "(($ac_try" in
47980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47981 *) ac_try_echo=$ac_try;;
47982 esac
47983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47984 (eval "$ac_compile") 2>conftest.er1
47985 ac_status=$?
47986 grep -v '^ *+' conftest.er1 >conftest.err
47987 rm -f conftest.er1
47988 cat conftest.err >&5
47989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47990 (exit $ac_status); } && {
47991 test -z "$ac_c_werror_flag" ||
47992 test ! -s conftest.err
47993 } && test -s conftest.$ac_objext; then
47994 ac_cv_header_WebKit_HIWebView_h=yes
47995 else
47996 echo "$as_me: failed program was:" >&5
47997 sed 's/^/| /' conftest.$ac_ext >&5
47998
47999 ac_cv_header_WebKit_HIWebView_h=no
48000 fi
48001
48002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48003 fi
48004 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48005 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48006 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48007
48008 cat >>confdefs.h <<\_ACEOF
48009 #define wxUSE_WEBKIT 1
48010 _ACEOF
48011
48012 WEBKIT_LINK="-framework WebKit"
48013
48014 else
48015
48016 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48017 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48018 wxUSE_WEBKIT=no
48019
48020 fi
48021
48022
48023 CPPFLAGS="$old_CPPFLAGS"
48024 elif test "$wxUSE_OLD_COCOA" = 1; then
48025 cat >>confdefs.h <<\_ACEOF
48026 #define wxUSE_WEBKIT 1
48027 _ACEOF
48028
48029 else
48030 wxUSE_WEBKIT=no
48031 fi
48032 if test "$wxUSE_WEBKIT" = "yes"; then
48033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48034 fi
48035 fi
48036
48037 USE_XRC=0
48038 if test "$wxUSE_XRC" = "yes"; then
48039 if test "$wxUSE_XML" != "yes"; then
48040 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48041 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48042 wxUSE_XRC=no
48043 else
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_XRC 1
48046 _ACEOF
48047
48048 USE_XRC=1
48049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48050 fi
48051 fi
48052
48053 USE_AUI=0
48054 if test "$wxUSE_AUI" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_AUI 1
48057 _ACEOF
48058
48059 USE_AUI=1
48060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48061 fi
48062
48063 USE_PROPGRID=0
48064 if test "$wxUSE_PROPGRID" = "yes"; then
48065 cat >>confdefs.h <<\_ACEOF
48066 #define wxUSE_PROPGRID 1
48067 _ACEOF
48068
48069 USE_PROPGRID=1
48070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48071 fi
48072
48073 USE_RIBBON=0
48074 if test "$wxUSE_RIBBON" = "yes"; then
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_RIBBON 1
48077 _ACEOF
48078
48079 USE_RIBBON=1
48080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48081 fi
48082
48083 USE_STC=0
48084 if test "$wxUSE_STC" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_STC 1
48087 _ACEOF
48088
48089 USE_STC=1
48090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48091
48092 # Extract the first word of "python", so it can be a program name with args.
48093 set dummy python; ac_word=$2
48094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48096 if test "${ac_cv_path_PYTHON+set}" = set; then
48097 echo $ECHO_N "(cached) $ECHO_C" >&6
48098 else
48099 case $PYTHON in
48100 [\\/]* | ?:[\\/]*)
48101 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48102 ;;
48103 *)
48104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48105 for as_dir in $PATH
48106 do
48107 IFS=$as_save_IFS
48108 test -z "$as_dir" && as_dir=.
48109 for ac_exec_ext in '' $ac_executable_extensions; do
48110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48111 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48113 break 2
48114 fi
48115 done
48116 done
48117 IFS=$as_save_IFS
48118
48119 ;;
48120 esac
48121 fi
48122 PYTHON=$ac_cv_path_PYTHON
48123 if test -n "$PYTHON"; then
48124 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48125 echo "${ECHO_T}$PYTHON" >&6; }
48126 else
48127 { echo "$as_me:$LINENO: result: no" >&5
48128 echo "${ECHO_T}no" >&6; }
48129 fi
48130
48131
48132 if test "x$PYTHON" = "x"; then
48133 COND_PYTHON="#"
48134 fi
48135
48136 fi
48137
48138 if test "$wxUSE_MENUS" = "yes"; then
48139 cat >>confdefs.h <<\_ACEOF
48140 #define wxUSE_MENUS 1
48141 _ACEOF
48142
48143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48144 fi
48145
48146 if test "$wxUSE_METAFILE" = "yes"; then
48147 cat >>confdefs.h <<\_ACEOF
48148 #define wxUSE_METAFILE 1
48149 _ACEOF
48150
48151 fi
48152
48153 if test "$wxUSE_MIMETYPE" = "yes"; then
48154 cat >>confdefs.h <<\_ACEOF
48155 #define wxUSE_MIMETYPE 1
48156 _ACEOF
48157
48158 fi
48159
48160 if test "$wxUSE_MINIFRAME" = "yes"; then
48161 cat >>confdefs.h <<\_ACEOF
48162 #define wxUSE_MINIFRAME 1
48163 _ACEOF
48164
48165 fi
48166
48167 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_SYSTEM_OPTIONS 1
48170 _ACEOF
48171
48172 fi
48173
48174 if test "$wxUSE_TASKBARICON" = "yes"; then
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_TASKBARICON 1
48177 _ACEOF
48178
48179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48180 fi
48181
48182
48183 if test "$wxUSE_VALIDATORS" = "yes"; then
48184 cat >>confdefs.h <<\_ACEOF
48185 #define wxUSE_VALIDATORS 1
48186 _ACEOF
48187
48188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48189 fi
48190
48191 if test "$wxUSE_PALETTE" = "yes" ; then
48192 if test "$wxUSE_DFB" = 1; then
48193 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48194 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48195 wxUSE_PALETTE=no
48196 else
48197 cat >>confdefs.h <<\_ACEOF
48198 #define wxUSE_PALETTE 1
48199 _ACEOF
48200
48201 fi
48202 fi
48203
48204 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48205 LIBS=" -lunicows $LIBS"
48206 fi
48207
48208 USE_RICHTEXT=0
48209 if test "$wxUSE_RICHTEXT" = "yes"; then
48210 cat >>confdefs.h <<\_ACEOF
48211 #define wxUSE_RICHTEXT 1
48212 _ACEOF
48213
48214 USE_RICHTEXT=1
48215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48216 fi
48217
48218
48219 if test "$wxUSE_IMAGE" = "yes" ; then
48220 cat >>confdefs.h <<\_ACEOF
48221 #define wxUSE_IMAGE 1
48222 _ACEOF
48223
48224
48225 if test "$wxUSE_GIF" = "yes" ; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_GIF 1
48228 _ACEOF
48229
48230 fi
48231
48232 if test "$wxUSE_PCX" = "yes" ; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_PCX 1
48235 _ACEOF
48236
48237 fi
48238
48239 if test "$wxUSE_TGA" = "yes" ; then
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_TGA 1
48242 _ACEOF
48243
48244 fi
48245
48246 if test "$wxUSE_IFF" = "yes" ; then
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_IFF 1
48249 _ACEOF
48250
48251 fi
48252
48253 if test "$wxUSE_PNM" = "yes" ; then
48254 cat >>confdefs.h <<\_ACEOF
48255 #define wxUSE_PNM 1
48256 _ACEOF
48257
48258 fi
48259
48260 if test "$wxUSE_XPM" = "yes" ; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_XPM 1
48263 _ACEOF
48264
48265 fi
48266
48267 if test "$wxUSE_ICO_CUR" = "yes" ; then
48268 cat >>confdefs.h <<\_ACEOF
48269 #define wxUSE_ICO_CUR 1
48270 _ACEOF
48271
48272 fi
48273 fi
48274
48275
48276 if test "$wxUSE_ABOUTDLG" = "yes"; then
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_ABOUTDLG 1
48279 _ACEOF
48280
48281 fi
48282
48283 if test "$wxUSE_CHOICEDLG" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_CHOICEDLG 1
48286 _ACEOF
48287
48288 fi
48289
48290 if test "$wxUSE_COLOURDLG" = "yes"; then
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_COLOURDLG 1
48293 _ACEOF
48294
48295 fi
48296
48297 if test "$wxUSE_FILEDLG" = "yes"; then
48298 cat >>confdefs.h <<\_ACEOF
48299 #define wxUSE_FILEDLG 1
48300 _ACEOF
48301
48302 fi
48303
48304 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48305 cat >>confdefs.h <<\_ACEOF
48306 #define wxUSE_FINDREPLDLG 1
48307 _ACEOF
48308
48309 fi
48310
48311 if test "$wxUSE_FONTDLG" = "yes"; then
48312 cat >>confdefs.h <<\_ACEOF
48313 #define wxUSE_FONTDLG 1
48314 _ACEOF
48315
48316 fi
48317
48318 if test "$wxUSE_DIRDLG" = "yes"; then
48319 if test "$wxUSE_TREECTRL" != "yes"; then
48320 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48321 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48322 else
48323 cat >>confdefs.h <<\_ACEOF
48324 #define wxUSE_DIRDLG 1
48325 _ACEOF
48326
48327 fi
48328 fi
48329
48330 if test "$wxUSE_MSGDLG" = "yes"; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_MSGDLG 1
48333 _ACEOF
48334
48335 fi
48336
48337 if test "$wxUSE_NUMBERDLG" = "yes"; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_NUMBERDLG 1
48340 _ACEOF
48341
48342 fi
48343
48344 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48345 cat >>confdefs.h <<\_ACEOF
48346 #define wxUSE_PROGRESSDLG 1
48347 _ACEOF
48348
48349 fi
48350
48351 if test "$wxUSE_SPLASH" = "yes"; then
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_SPLASH 1
48354 _ACEOF
48355
48356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48357 fi
48358
48359 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48360 cat >>confdefs.h <<\_ACEOF
48361 #define wxUSE_STARTUP_TIPS 1
48362 _ACEOF
48363
48364 fi
48365
48366 if test "$wxUSE_TEXTDLG" = "yes"; then
48367 cat >>confdefs.h <<\_ACEOF
48368 #define wxUSE_TEXTDLG 1
48369 _ACEOF
48370
48371 fi
48372
48373 if test "$wxUSE_WIZARDDLG" = "yes"; then
48374 cat >>confdefs.h <<\_ACEOF
48375 #define wxUSE_WIZARDDLG 1
48376 _ACEOF
48377
48378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48379 fi
48380
48381
48382 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48383 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48384 cat >>confdefs.h <<\_ACEOF
48385 #define wxUSE_OWNER_DRAWN 1
48386 _ACEOF
48387
48388 fi
48389 fi
48390
48391
48392 if test "$wxUSE_MSW" = 1 ; then
48393
48394 if test "$wxUSE_DC_CACHEING" = "yes"; then
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_DC_CACHEING 1
48397 _ACEOF
48398
48399 fi
48400
48401 if test "$wxUSE_DIB" = "yes"; then
48402 cat >>confdefs.h <<\_ACEOF
48403 #define wxUSE_WXDIB 1
48404 _ACEOF
48405
48406 fi
48407
48408 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48409 cat >>confdefs.h <<\_ACEOF
48410 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48411 _ACEOF
48412
48413 fi
48414
48415 if test "$wxUSE_UXTHEME" = "yes"; then
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_UXTHEME 1
48418 _ACEOF
48419
48420 fi
48421
48422 fi
48423
48424 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48425 cat >>confdefs.h <<\_ACEOF
48426 #define wxUSE_AUTOID_MANAGEMENT 1
48427 _ACEOF
48428
48429 fi
48430
48431 if test "$USE_WIN32" = 1 ; then
48432 if test "$wxUSE_INICONF" = "yes"; then
48433 cat >>confdefs.h <<\_ACEOF
48434 #define wxUSE_INICONF 1
48435 _ACEOF
48436
48437 fi
48438
48439 if test "$wxUSE_REGKEY" = "yes"; then
48440 cat >>confdefs.h <<\_ACEOF
48441 #define wxUSE_REGKEY 1
48442 _ACEOF
48443
48444 fi
48445 fi
48446
48447
48448 if test "$wxUSE_MAC" = 1; then
48449 wxUSE_GRAPHICS_CONTEXT="yes"
48450 fi
48451
48452 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48453 wx_has_graphics=0
48454 if test "$wxUSE_MSW" = 1; then
48455 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48456 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48457 if test "${wx_cv_lib_gdiplus+set}" = set; then
48458 echo $ECHO_N "(cached) $ECHO_C" >&6
48459 else
48460
48461 ac_ext=cpp
48462 ac_cpp='$CXXCPP $CPPFLAGS'
48463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48466
48467 cat >conftest.$ac_ext <<_ACEOF
48468 /* confdefs.h. */
48469 _ACEOF
48470 cat confdefs.h >>conftest.$ac_ext
48471 cat >>conftest.$ac_ext <<_ACEOF
48472 /* end confdefs.h. */
48473 #include <windows.h>
48474 #include <gdiplus.h>
48475 int
48476 main ()
48477 {
48478
48479 using namespace Gdiplus;
48480
48481 ;
48482 return 0;
48483 }
48484 _ACEOF
48485 rm -f conftest.$ac_objext
48486 if { (ac_try="$ac_compile"
48487 case "(($ac_try" in
48488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48489 *) ac_try_echo=$ac_try;;
48490 esac
48491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48492 (eval "$ac_compile") 2>conftest.er1
48493 ac_status=$?
48494 grep -v '^ *+' conftest.er1 >conftest.err
48495 rm -f conftest.er1
48496 cat conftest.err >&5
48497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48498 (exit $ac_status); } && {
48499 test -z "$ac_cxx_werror_flag" ||
48500 test ! -s conftest.err
48501 } && test -s conftest.$ac_objext; then
48502 wx_cv_lib_gdiplus=yes
48503 else
48504 echo "$as_me: failed program was:" >&5
48505 sed 's/^/| /' conftest.$ac_ext >&5
48506
48507 wx_cv_lib_gdiplus=no
48508
48509 fi
48510
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48512 ac_ext=c
48513 ac_cpp='$CPP $CPPFLAGS'
48514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48517
48518
48519
48520 fi
48521 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48522 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48523 if test "$wx_cv_lib_gdiplus" = "yes"; then
48524 wx_has_graphics=1
48525 fi
48526 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48527
48528 pkg_failed=no
48529 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48530 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48531
48532 if test -n "$PKG_CONFIG"; then
48533 if test -n "$CAIRO_CFLAGS"; then
48534 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48535 else
48536 if test -n "$PKG_CONFIG" && \
48537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48538 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48539 ac_status=$?
48540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48541 (exit $ac_status); }; then
48542 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48543 else
48544 pkg_failed=yes
48545 fi
48546 fi
48547 else
48548 pkg_failed=untried
48549 fi
48550 if test -n "$PKG_CONFIG"; then
48551 if test -n "$CAIRO_LIBS"; then
48552 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48553 else
48554 if test -n "$PKG_CONFIG" && \
48555 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48556 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48557 ac_status=$?
48558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48559 (exit $ac_status); }; then
48560 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48561 else
48562 pkg_failed=yes
48563 fi
48564 fi
48565 else
48566 pkg_failed=untried
48567 fi
48568
48569
48570
48571 if test $pkg_failed = yes; then
48572
48573 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48574 _pkg_short_errors_supported=yes
48575 else
48576 _pkg_short_errors_supported=no
48577 fi
48578 if test $_pkg_short_errors_supported = yes; then
48579 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48580 else
48581 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48582 fi
48583 # Put the nasty error message in config.log where it belongs
48584 echo "$CAIRO_PKG_ERRORS" >&5
48585
48586 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48587 echo "$as_me: WARNING: Cairo library not found" >&2;}
48588
48589 elif test $pkg_failed = untried; then
48590 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48591 echo "$as_me: WARNING: Cairo library not found" >&2;}
48592
48593 else
48594 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48595 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48596 { echo "$as_me:$LINENO: result: yes" >&5
48597 echo "${ECHO_T}yes" >&6; }
48598 wx_has_graphics=1
48599 fi
48600 if test "$wx_has_graphics" = 1; then
48601 save_LIBS="$LIBS"
48602 LIBS="$LIBS $CAIRO_LIBS"
48603
48604 for ac_func in cairo_push_group
48605 do
48606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48607 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48610 echo $ECHO_N "(cached) $ECHO_C" >&6
48611 else
48612 cat >conftest.$ac_ext <<_ACEOF
48613 /* confdefs.h. */
48614 _ACEOF
48615 cat confdefs.h >>conftest.$ac_ext
48616 cat >>conftest.$ac_ext <<_ACEOF
48617 /* end confdefs.h. */
48618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48620 #define $ac_func innocuous_$ac_func
48621
48622 /* System header to define __stub macros and hopefully few prototypes,
48623 which can conflict with char $ac_func (); below.
48624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48625 <limits.h> exists even on freestanding compilers. */
48626
48627 #ifdef __STDC__
48628 # include <limits.h>
48629 #else
48630 # include <assert.h>
48631 #endif
48632
48633 #undef $ac_func
48634
48635 /* Override any GCC internal prototype to avoid an error.
48636 Use char because int might match the return type of a GCC
48637 builtin and then its argument prototype would still apply. */
48638 #ifdef __cplusplus
48639 extern "C"
48640 #endif
48641 char $ac_func ();
48642 /* The GNU C library defines this for functions which it implements
48643 to always fail with ENOSYS. Some functions are actually named
48644 something starting with __ and the normal name is an alias. */
48645 #if defined __stub_$ac_func || defined __stub___$ac_func
48646 choke me
48647 #endif
48648
48649 int
48650 main ()
48651 {
48652 return $ac_func ();
48653 ;
48654 return 0;
48655 }
48656 _ACEOF
48657 rm -f conftest.$ac_objext conftest$ac_exeext
48658 if { (ac_try="$ac_link"
48659 case "(($ac_try" in
48660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48661 *) ac_try_echo=$ac_try;;
48662 esac
48663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48664 (eval "$ac_link") 2>conftest.er1
48665 ac_status=$?
48666 grep -v '^ *+' conftest.er1 >conftest.err
48667 rm -f conftest.er1
48668 cat conftest.err >&5
48669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48670 (exit $ac_status); } && {
48671 test -z "$ac_c_werror_flag" ||
48672 test ! -s conftest.err
48673 } && test -s conftest$ac_exeext &&
48674 $as_test_x conftest$ac_exeext; then
48675 eval "$as_ac_var=yes"
48676 else
48677 echo "$as_me: failed program was:" >&5
48678 sed 's/^/| /' conftest.$ac_ext >&5
48679
48680 eval "$as_ac_var=no"
48681 fi
48682
48683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48684 conftest$ac_exeext conftest.$ac_ext
48685 fi
48686 ac_res=`eval echo '${'$as_ac_var'}'`
48687 { echo "$as_me:$LINENO: result: $ac_res" >&5
48688 echo "${ECHO_T}$ac_res" >&6; }
48689 if test `eval echo '${'$as_ac_var'}'` = yes; then
48690 cat >>confdefs.h <<_ACEOF
48691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48692 _ACEOF
48693
48694 fi
48695 done
48696
48697 LIBS="$save_LIBS"
48698 if test "$ac_cv_func_cairo_push_group" = "no"; then
48699 wx_has_graphics=0
48700 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48701 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48702 else
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_CAIRO 1
48705 _ACEOF
48706
48707
48708 if test "$wxUSE_GTK" != 1; then
48709 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48710 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48711 fi
48712 fi
48713 fi
48714 else
48715 wx_has_graphics=1
48716 fi
48717
48718 if test "$wx_has_graphics" = 1; then
48719 cat >>confdefs.h <<\_ACEOF
48720 #define wxUSE_GRAPHICS_CONTEXT 1
48721 _ACEOF
48722
48723 else
48724 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48725 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48726 fi
48727 fi
48728
48729
48730 USE_MEDIA=0
48731
48732 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48733 USE_MEDIA=1
48734
48735 if test "$wxUSE_GTK" = 1; then
48736 wxUSE_GSTREAMER="no"
48737
48738 GST_VERSION_MAJOR=0
48739 GST_VERSION_MINOR=10
48740 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48741
48742 if test "$wxUSE_GSTREAMER8" = "no"; then
48743
48744 pkg_failed=no
48745 { echo "$as_me:$LINENO: checking for GST" >&5
48746 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48747
48748 if test -n "$PKG_CONFIG"; then
48749 if test -n "$GST_CFLAGS"; then
48750 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48751 else
48752 if test -n "$PKG_CONFIG" && \
48753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48754 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48755 ac_status=$?
48756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48757 (exit $ac_status); }; then
48758 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48759 else
48760 pkg_failed=yes
48761 fi
48762 fi
48763 else
48764 pkg_failed=untried
48765 fi
48766 if test -n "$PKG_CONFIG"; then
48767 if test -n "$GST_LIBS"; then
48768 pkg_cv_GST_LIBS="$GST_LIBS"
48769 else
48770 if test -n "$PKG_CONFIG" && \
48771 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48772 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48773 ac_status=$?
48774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48775 (exit $ac_status); }; then
48776 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48777 else
48778 pkg_failed=yes
48779 fi
48780 fi
48781 else
48782 pkg_failed=untried
48783 fi
48784
48785
48786
48787 if test $pkg_failed = yes; then
48788
48789 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48790 _pkg_short_errors_supported=yes
48791 else
48792 _pkg_short_errors_supported=no
48793 fi
48794 if test $_pkg_short_errors_supported = yes; then
48795 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48796 else
48797 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48798 fi
48799 # Put the nasty error message in config.log where it belongs
48800 echo "$GST_PKG_ERRORS" >&5
48801
48802
48803 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48804 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48805 GST_VERSION_MINOR=8
48806
48807
48808 elif test $pkg_failed = untried; then
48809
48810 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48811 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48812 GST_VERSION_MINOR=8
48813
48814
48815 else
48816 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48817 GST_LIBS=$pkg_cv_GST_LIBS
48818 { echo "$as_me:$LINENO: result: yes" >&5
48819 echo "${ECHO_T}yes" >&6; }
48820
48821 wxUSE_GSTREAMER="yes"
48822 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48823
48824 fi
48825 else
48826 GST_VERSION_MINOR=8
48827 fi
48828
48829 if test $GST_VERSION_MINOR = "8"; then
48830 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48831
48832 pkg_failed=no
48833 { echo "$as_me:$LINENO: checking for GST" >&5
48834 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48835
48836 if test -n "$PKG_CONFIG"; then
48837 if test -n "$GST_CFLAGS"; then
48838 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48839 else
48840 if test -n "$PKG_CONFIG" && \
48841 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48842 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48843 ac_status=$?
48844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48845 (exit $ac_status); }; then
48846 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48847 else
48848 pkg_failed=yes
48849 fi
48850 fi
48851 else
48852 pkg_failed=untried
48853 fi
48854 if test -n "$PKG_CONFIG"; then
48855 if test -n "$GST_LIBS"; then
48856 pkg_cv_GST_LIBS="$GST_LIBS"
48857 else
48858 if test -n "$PKG_CONFIG" && \
48859 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48860 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48861 ac_status=$?
48862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48863 (exit $ac_status); }; then
48864 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48865 else
48866 pkg_failed=yes
48867 fi
48868 fi
48869 else
48870 pkg_failed=untried
48871 fi
48872
48873
48874
48875 if test $pkg_failed = yes; then
48876
48877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48878 _pkg_short_errors_supported=yes
48879 else
48880 _pkg_short_errors_supported=no
48881 fi
48882 if test $_pkg_short_errors_supported = yes; then
48883 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48884 else
48885 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48886 fi
48887 # Put the nasty error message in config.log where it belongs
48888 echo "$GST_PKG_ERRORS" >&5
48889
48890
48891 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48892 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48893
48894 elif test $pkg_failed = untried; then
48895
48896 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48897 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48898
48899 else
48900 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48901 GST_LIBS=$pkg_cv_GST_LIBS
48902 { echo "$as_me:$LINENO: result: yes" >&5
48903 echo "${ECHO_T}yes" >&6; }
48904 wxUSE_GSTREAMER="yes"
48905 fi
48906 fi
48907
48908
48909 if test "$wxUSE_GSTREAMER" = "yes"; then
48910 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48911 EXTRALIBS_MEDIA="$GST_LIBS"
48912
48913 cat >>confdefs.h <<\_ACEOF
48914 #define wxUSE_GSTREAMER 1
48915 _ACEOF
48916
48917 else
48918 USE_MEDIA=0
48919 fi
48920 fi
48921
48922 if test $USE_MEDIA = 1; then
48923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48924 cat >>confdefs.h <<\_ACEOF
48925 #define wxUSE_MEDIACTRL 1
48926 _ACEOF
48927
48928 else
48929 if test "$wxUSE_MEDIACTRL" = "yes"; then
48930 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48931 echo "$as_me: error: GStreamer not available" >&2;}
48932 { (exit 1); exit 1; }; }
48933 else
48934 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48935 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48936 fi
48937 fi
48938 fi
48939
48940
48941 if test "$cross_compiling" != "no"; then
48942 OSINFO="\"$host\""
48943 else
48944 OSINFO=`uname -s -r -m`
48945 OSINFO="\"$OSINFO\""
48946 fi
48947
48948 cat >>confdefs.h <<_ACEOF
48949 #define WXWIN_OS_DESCRIPTION $OSINFO
48950 _ACEOF
48951
48952
48953
48954 if test "x$prefix" != "xNONE"; then
48955 wxPREFIX=$prefix
48956 else
48957 wxPREFIX=$ac_default_prefix
48958 fi
48959
48960 cat >>confdefs.h <<_ACEOF
48961 #define wxINSTALL_PREFIX "$wxPREFIX"
48962 _ACEOF
48963
48964
48965
48966
48967 STD_BASE_LIBS="base"
48968 STD_GUI_LIBS=""
48969 BUILT_WX_LIBS="base"
48970 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48971
48972 if test "$wxUSE_SOCKETS" = "yes" ; then
48973 STD_BASE_LIBS="net $STD_BASE_LIBS"
48974 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48975 fi
48976 if test "$wxUSE_XML" = "yes" ; then
48977 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48978 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48979 fi
48980
48981 if test "$wxUSE_GUI" = "yes"; then
48982 STD_GUI_LIBS="adv core"
48983 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48984
48985 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48986 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48987 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48988 fi
48989 if test "$wxUSE_HTML" = "yes" ; then
48990 STD_GUI_LIBS="html $STD_GUI_LIBS"
48991 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48992 fi
48993 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48994 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48995 fi
48996 if test "$wxUSE_OPENGL" = "yes" ; then
48997 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48998 fi
48999 if test "$wxUSE_AUI" = "yes" ; then
49000 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49001 fi
49002 if test "$wxUSE_PROPGRID" = "yes" ; then
49003 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49004 fi
49005 if test "$wxUSE_RIBBON" = "yes" ; then
49006 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49007 fi
49008 if test "$wxUSE_RICHTEXT" = "yes" ; then
49009 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49010 fi
49011 if test "$wxUSE_STC" = "yes" ; then
49012 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49013 fi
49014 if test "$wxUSE_XRC" = "yes" ; then
49015 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49016 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49017 fi
49018 fi
49019
49020
49021
49022
49023
49024
49025
49026 EXTRA_FRAMEWORKS=
49027 if test "$wxUSE_MAC" = 1 ; then
49028 if test "$USE_DARWIN" = 1; then
49029 if test "$wxUSE_OSX_IPHONE" = 1; then
49030 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49031 else
49032 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49033 fi
49034 fi
49035 fi
49036 if test "$wxUSE_OLD_COCOA" = 1 ; then
49037 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49038 if test "$wxUSE_MEDIACTRL" = "yes"; then
49039 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49040 fi
49041 fi
49042 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49043 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49044 fi
49045
49046 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49047 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49048
49049 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49050
49051 if test "$wxUSE_GUI" = "yes"; then
49052
49053
49054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49055 erase event exec font image minimal render \
49056 shaped svg taborder vscroll widgets wrapsizer"
49057
49058 if test "$wxUSE_MONOLITHIC" != "yes"; then
49059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49060 fi
49061 if test "$TOOLKIT" = "MSW"; then
49062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49063 if test "$wxUSE_UNIVERSAL" != "yes"; then
49064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49065 fi
49066 fi
49067 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49069 fi
49070 else
49071 SAMPLES_SUBDIRS="console"
49072 if test "$wxUSE_SOCKETS" = "yes" ; then
49073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49074 fi
49075 if test "$wxUSE_IPC" = "yes" ; then
49076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49077 fi
49078 fi
49079
49080
49081 if test "x$INTELCC" = "xyes" ; then
49082 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49083 elif test "$GCC" = yes ; then
49084 CWARNINGS="-Wall -Wundef"
49085 fi
49086
49087 if test "x$INTELCXX" = "xyes" ; then
49088 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49089 elif test "$GXX" = yes ; then
49090 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49091 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49092 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49093 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49094 echo $ECHO_N "(cached) $ECHO_C" >&6
49095 else
49096 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49097
49098 ac_ext=cpp
49099 ac_cpp='$CXXCPP $CPPFLAGS'
49100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49103
49104 ac_save_CXXFLAGS="$CXXFLAGS"
49105 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49106 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49107 cat >conftest.$ac_ext <<_ACEOF
49108 /* confdefs.h. */
49109 _ACEOF
49110 cat confdefs.h >>conftest.$ac_ext
49111 cat >>conftest.$ac_ext <<_ACEOF
49112 /* end confdefs.h. */
49113
49114 int
49115 main ()
49116 {
49117 return 0;
49118 ;
49119 return 0;
49120 }
49121 _ACEOF
49122 rm -f conftest.$ac_objext
49123 if { (ac_try="$ac_compile"
49124 case "(($ac_try" in
49125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49126 *) ac_try_echo=$ac_try;;
49127 esac
49128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49129 (eval "$ac_compile") 2>conftest.er1
49130 ac_status=$?
49131 grep -v '^ *+' conftest.er1 >conftest.err
49132 rm -f conftest.er1
49133 cat conftest.err >&5
49134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49135 (exit $ac_status); } && {
49136 test -z "$ac_cxx_werror_flag" ||
49137 test ! -s conftest.err
49138 } && test -s conftest.$ac_objext; then
49139 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49140 else
49141 echo "$as_me: failed program was:" >&5
49142 sed 's/^/| /' conftest.$ac_ext >&5
49143
49144
49145 fi
49146
49147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49148 done
49149 CXXFLAGS="$ac_save_CXXFLAGS"
49150 ac_ext=c
49151 ac_cpp='$CPP $CPPFLAGS'
49152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49155
49156
49157 fi
49158 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49159 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49160 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49161 .ok|.ok,*) ;;
49162 .|.no|.no,*) ;;
49163 *)
49164 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49165 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49166 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49167 ac_status=$?
49168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49169 (exit $ac_status); }
49170 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49171 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49172 ac_status=$?
49173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49174 (exit $ac_status); }
49175 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49176 fi
49177 ;;
49178 esac
49179
49180
49181 if test "$wxUSE_MAC" = 1 ; then
49182 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49183 fi
49184 fi
49185
49186
49187 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49188 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49189
49190
49191 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49192 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49193 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49194 $CPPFLAGS `
49195
49196 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49197 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49198 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49199 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49200 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49201
49202 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49203
49204
49205 if test "x$MWCC" = "xyes"; then
49206
49207 CC="$CC -cwd source -I-"
49208 CXX="$CXX -cwd source -I-"
49209 fi
49210
49211
49212 LIBS=`echo $LIBS`
49213 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49214 EXTRALIBS_XML="$EXPAT_LINK"
49215 EXTRALIBS_HTML="$MSPACK_LINK"
49216 EXTRALIBS_MEDIA="$GST_LIBS"
49217 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49218 if test "$wxUSE_GUI" = "yes"; then
49219 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49220 fi
49221 if test "$wxUSE_OPENGL" = "yes"; then
49222 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49223 fi
49224
49225 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49226
49227 WXCONFIG_LIBS="$LIBS"
49228
49229 if test "$wxUSE_REGEX" = "builtin" ; then
49230 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49231 fi
49232 if test "$wxUSE_EXPAT" = "builtin" ; then
49233 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49234 fi
49235 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49236 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49237 fi
49238 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49239 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49240 fi
49241 if test "$wxUSE_LIBPNG" = "builtin" ; then
49242 wxconfig_3rdparty="png $wxconfig_3rdparty"
49243 fi
49244 if test "$wxUSE_ZLIB" = "builtin" ; then
49245 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49246 fi
49247
49248 for i in $wxconfig_3rdparty ; do
49249 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49250 done
49251
49252
49253 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49254 WXUNIV=1
49255
49256 case "$wxUNIV_THEMES" in
49257 ''|all)
49258 cat >>confdefs.h <<\_ACEOF
49259 #define wxUSE_ALL_THEMES 1
49260 _ACEOF
49261
49262 ;;
49263
49264 *)
49265 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49266 cat >>confdefs.h <<_ACEOF
49267 #define wxUSE_THEME_$t 1
49268 _ACEOF
49269
49270 done
49271 esac
49272 else
49273 WXUNIV=0
49274 fi
49275
49276
49277
49278
49279
49280
49281
49282
49283 if test $wxUSE_MONOLITHIC = "yes" ; then
49284 MONOLITHIC=1
49285 else
49286 MONOLITHIC=0
49287 fi
49288
49289 if test $wxUSE_PLUGINS = "yes" ; then
49290 USE_PLUGINS=1
49291 else
49292 USE_PLUGINS=0
49293 fi
49294
49295 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49296 USE_QA=1
49297 else
49298 USE_QA=0
49299 fi
49300
49301 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49302 OFFICIAL_BUILD=1
49303 else
49304 OFFICIAL_BUILD=0
49305 fi
49306
49307
49308
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321
49322
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49334
49335
49336
49337
49338
49339
49340
49341
49342
49343
49344 case "$TOOLKIT" in
49345 GTK)
49346 TOOLKIT_DESC="GTK+"
49347 if test "$WXGTK2" = 1; then
49348 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49349 if test "$wxUSE_GTKPRINT" = "yes" ; then
49350 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49351 fi
49352 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49353 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49354 fi
49355 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49356 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49357 fi
49358 if test "$wxUSE_LIBHILDON" = "yes"; then
49359 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49360 fi
49361 if test "$wxUSE_LIBHILDON2" = "yes"; then
49362 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49363 fi
49364
49365 if test "$TOOLKIT_EXTRA" != ""; then
49366 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49367 fi
49368 fi
49369 ;;
49370
49371 ?*)
49372 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49373 ;;
49374
49375 *)
49376 TOOLKIT_DESC="base only"
49377 ;;
49378 esac
49379
49380 if test "$wxUSE_WINE" = "yes"; then
49381 BAKEFILE_FORCE_PLATFORM=win32
49382 fi
49383
49384 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49385 then
49386 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49387 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49388 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49389 echo $ECHO_N "(cached) $ECHO_C" >&6
49390 else
49391
49392 echo '#include <stdio.h>
49393 const wchar_t test_var[] = L"awidetest";' > conftest.h
49394
49395 echo '#include "conftest.h"
49396 int main()
49397 {
49398 printf("%ls", test_var);
49399 return 0;
49400 }' > conftest.cpp
49401
49402 wx_cv_gcc_pch_bug="pch not supported"
49403
49404 if $CXX conftest.h >/dev/null 2>&1
49405 then
49406 wx_cv_gcc_pch_bug=
49407
49408 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49409 then
49410 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49411 grep awidetest >/dev/null
49412 then
49413 wx_cv_gcc_pch_bug=no
49414 else
49415 wx_cv_gcc_pch_bug=yes
49416 fi
49417 fi
49418 fi
49419
49420 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49421
49422 fi
49423 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49424 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49425
49426 if test "$wx_cv_gcc_pch_bug" = yes; then
49427 bk_use_pch=no
49428 fi
49429 fi
49430
49431
49432
49433
49434
49435
49436
49437 if test "x$BAKEFILE_HOST" = "x"; then
49438 if test "x${host}" = "x" ; then
49439 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49440 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49441 { (exit 1); exit 1; }; }
49442 fi
49443
49444 BAKEFILE_HOST="${host}"
49445 fi
49446
49447 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49448
49449 if test -n "$ac_tool_prefix"; then
49450 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49451 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49454 if test "${ac_cv_prog_RANLIB+set}" = set; then
49455 echo $ECHO_N "(cached) $ECHO_C" >&6
49456 else
49457 if test -n "$RANLIB"; then
49458 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49459 else
49460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49461 for as_dir in $PATH
49462 do
49463 IFS=$as_save_IFS
49464 test -z "$as_dir" && as_dir=.
49465 for ac_exec_ext in '' $ac_executable_extensions; do
49466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49467 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49469 break 2
49470 fi
49471 done
49472 done
49473 IFS=$as_save_IFS
49474
49475 fi
49476 fi
49477 RANLIB=$ac_cv_prog_RANLIB
49478 if test -n "$RANLIB"; then
49479 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49480 echo "${ECHO_T}$RANLIB" >&6; }
49481 else
49482 { echo "$as_me:$LINENO: result: no" >&5
49483 echo "${ECHO_T}no" >&6; }
49484 fi
49485
49486
49487 fi
49488 if test -z "$ac_cv_prog_RANLIB"; then
49489 ac_ct_RANLIB=$RANLIB
49490 # Extract the first word of "ranlib", so it can be a program name with args.
49491 set dummy ranlib; ac_word=$2
49492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49494 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49495 echo $ECHO_N "(cached) $ECHO_C" >&6
49496 else
49497 if test -n "$ac_ct_RANLIB"; then
49498 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49499 else
49500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49501 for as_dir in $PATH
49502 do
49503 IFS=$as_save_IFS
49504 test -z "$as_dir" && as_dir=.
49505 for ac_exec_ext in '' $ac_executable_extensions; do
49506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49507 ac_cv_prog_ac_ct_RANLIB="ranlib"
49508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49509 break 2
49510 fi
49511 done
49512 done
49513 IFS=$as_save_IFS
49514
49515 fi
49516 fi
49517 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49518 if test -n "$ac_ct_RANLIB"; then
49519 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49520 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49521 else
49522 { echo "$as_me:$LINENO: result: no" >&5
49523 echo "${ECHO_T}no" >&6; }
49524 fi
49525
49526 if test "x$ac_ct_RANLIB" = x; then
49527 RANLIB=":"
49528 else
49529 case $cross_compiling:$ac_tool_warned in
49530 yes:)
49531 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49532 whose name does not start with the host triplet. If you think this
49533 configuration is useful to you, please write to autoconf@gnu.org." >&5
49534 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49535 whose name does not start with the host triplet. If you think this
49536 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49537 ac_tool_warned=yes ;;
49538 esac
49539 RANLIB=$ac_ct_RANLIB
49540 fi
49541 else
49542 RANLIB="$ac_cv_prog_RANLIB"
49543 fi
49544
49545 # Find a good install program. We prefer a C program (faster),
49546 # so one script is as good as another. But avoid the broken or
49547 # incompatible versions:
49548 # SysV /etc/install, /usr/sbin/install
49549 # SunOS /usr/etc/install
49550 # IRIX /sbin/install
49551 # AIX /bin/install
49552 # AmigaOS /C/install, which installs bootblocks on floppy discs
49553 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49554 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49555 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49556 # OS/2's system install, which has a completely different semantic
49557 # ./install, which can be erroneously created by make from ./install.sh.
49558 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49559 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49560 if test -z "$INSTALL"; then
49561 if test "${ac_cv_path_install+set}" = set; then
49562 echo $ECHO_N "(cached) $ECHO_C" >&6
49563 else
49564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49565 for as_dir in $PATH
49566 do
49567 IFS=$as_save_IFS
49568 test -z "$as_dir" && as_dir=.
49569 # Account for people who put trailing slashes in PATH elements.
49570 case $as_dir/ in
49571 ./ | .// | /cC/* | \
49572 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49573 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49574 /usr/ucb/* ) ;;
49575 *)
49576 # OSF1 and SCO ODT 3.0 have their own names for install.
49577 # Don't use installbsd from OSF since it installs stuff as root
49578 # by default.
49579 for ac_prog in ginstall scoinst install; do
49580 for ac_exec_ext in '' $ac_executable_extensions; do
49581 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49582 if test $ac_prog = install &&
49583 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49584 # AIX install. It has an incompatible calling convention.
49585 :
49586 elif test $ac_prog = install &&
49587 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49588 # program-specific install script used by HP pwplus--don't use.
49589 :
49590 else
49591 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49592 break 3
49593 fi
49594 fi
49595 done
49596 done
49597 ;;
49598 esac
49599 done
49600 IFS=$as_save_IFS
49601
49602
49603 fi
49604 if test "${ac_cv_path_install+set}" = set; then
49605 INSTALL=$ac_cv_path_install
49606 else
49607 # As a last resort, use the slow shell script. Don't cache a
49608 # value for INSTALL within a source directory, because that will
49609 # break other packages using the cache if that directory is
49610 # removed, or if the value is a relative name.
49611 INSTALL=$ac_install_sh
49612 fi
49613 fi
49614 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49615 echo "${ECHO_T}$INSTALL" >&6; }
49616
49617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49618 # It thinks the first close brace ends the variable substitution.
49619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49620
49621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49622
49623 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49624
49625 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49626 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49627 LN_S=$as_ln_s
49628 if test "$LN_S" = "ln -s"; then
49629 { echo "$as_me:$LINENO: result: yes" >&5
49630 echo "${ECHO_T}yes" >&6; }
49631 else
49632 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49633 echo "${ECHO_T}no, using $LN_S" >&6; }
49634 fi
49635
49636
49637 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49638 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49639 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49640 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49641 echo $ECHO_N "(cached) $ECHO_C" >&6
49642 else
49643 cat >conftest.make <<\_ACEOF
49644 SHELL = /bin/sh
49645 all:
49646 @echo '@@@%%%=$(MAKE)=@@@%%%'
49647 _ACEOF
49648 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49649 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49650 *@@@%%%=?*=@@@%%%*)
49651 eval ac_cv_prog_make_${ac_make}_set=yes;;
49652 *)
49653 eval ac_cv_prog_make_${ac_make}_set=no;;
49654 esac
49655 rm -f conftest.make
49656 fi
49657 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49658 { echo "$as_me:$LINENO: result: yes" >&5
49659 echo "${ECHO_T}yes" >&6; }
49660 SET_MAKE=
49661 else
49662 { echo "$as_me:$LINENO: result: no" >&5
49663 echo "${ECHO_T}no" >&6; }
49664 SET_MAKE="MAKE=${MAKE-make}"
49665 fi
49666
49667
49668
49669 if test "x$SUNCXX" = "xyes"; then
49670 AR=$CXX
49671 AROPTIONS="-xar -o"
49672
49673 elif test "x$SGICC" = "xyes"; then
49674 AR=$CXX
49675 AROPTIONS="-ar -o"
49676
49677 else
49678 if test -n "$ac_tool_prefix"; then
49679 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49680 set dummy ${ac_tool_prefix}ar; ac_word=$2
49681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49683 if test "${ac_cv_prog_AR+set}" = set; then
49684 echo $ECHO_N "(cached) $ECHO_C" >&6
49685 else
49686 if test -n "$AR"; then
49687 ac_cv_prog_AR="$AR" # Let the user override the test.
49688 else
49689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49690 for as_dir in $PATH
49691 do
49692 IFS=$as_save_IFS
49693 test -z "$as_dir" && as_dir=.
49694 for ac_exec_ext in '' $ac_executable_extensions; do
49695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49696 ac_cv_prog_AR="${ac_tool_prefix}ar"
49697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49698 break 2
49699 fi
49700 done
49701 done
49702 IFS=$as_save_IFS
49703
49704 fi
49705 fi
49706 AR=$ac_cv_prog_AR
49707 if test -n "$AR"; then
49708 { echo "$as_me:$LINENO: result: $AR" >&5
49709 echo "${ECHO_T}$AR" >&6; }
49710 else
49711 { echo "$as_me:$LINENO: result: no" >&5
49712 echo "${ECHO_T}no" >&6; }
49713 fi
49714
49715
49716 fi
49717 if test -z "$ac_cv_prog_AR"; then
49718 ac_ct_AR=$AR
49719 # Extract the first word of "ar", so it can be a program name with args.
49720 set dummy ar; ac_word=$2
49721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49723 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49724 echo $ECHO_N "(cached) $ECHO_C" >&6
49725 else
49726 if test -n "$ac_ct_AR"; then
49727 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49728 else
49729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49730 for as_dir in $PATH
49731 do
49732 IFS=$as_save_IFS
49733 test -z "$as_dir" && as_dir=.
49734 for ac_exec_ext in '' $ac_executable_extensions; do
49735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49736 ac_cv_prog_ac_ct_AR="ar"
49737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49738 break 2
49739 fi
49740 done
49741 done
49742 IFS=$as_save_IFS
49743
49744 fi
49745 fi
49746 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49747 if test -n "$ac_ct_AR"; then
49748 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49749 echo "${ECHO_T}$ac_ct_AR" >&6; }
49750 else
49751 { echo "$as_me:$LINENO: result: no" >&5
49752 echo "${ECHO_T}no" >&6; }
49753 fi
49754
49755 if test "x$ac_ct_AR" = x; then
49756 AR="ar"
49757 else
49758 case $cross_compiling:$ac_tool_warned in
49759 yes:)
49760 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49761 whose name does not start with the host triplet. If you think this
49762 configuration is useful to you, please write to autoconf@gnu.org." >&5
49763 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49764 whose name does not start with the host triplet. If you think this
49765 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49766 ac_tool_warned=yes ;;
49767 esac
49768 AR=$ac_ct_AR
49769 fi
49770 else
49771 AR="$ac_cv_prog_AR"
49772 fi
49773
49774 AROPTIONS=rcu
49775 fi
49776
49777
49778 if test -n "$ac_tool_prefix"; then
49779 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49780 set dummy ${ac_tool_prefix}strip; ac_word=$2
49781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49783 if test "${ac_cv_prog_STRIP+set}" = set; then
49784 echo $ECHO_N "(cached) $ECHO_C" >&6
49785 else
49786 if test -n "$STRIP"; then
49787 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49788 else
49789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49790 for as_dir in $PATH
49791 do
49792 IFS=$as_save_IFS
49793 test -z "$as_dir" && as_dir=.
49794 for ac_exec_ext in '' $ac_executable_extensions; do
49795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49796 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49798 break 2
49799 fi
49800 done
49801 done
49802 IFS=$as_save_IFS
49803
49804 fi
49805 fi
49806 STRIP=$ac_cv_prog_STRIP
49807 if test -n "$STRIP"; then
49808 { echo "$as_me:$LINENO: result: $STRIP" >&5
49809 echo "${ECHO_T}$STRIP" >&6; }
49810 else
49811 { echo "$as_me:$LINENO: result: no" >&5
49812 echo "${ECHO_T}no" >&6; }
49813 fi
49814
49815
49816 fi
49817 if test -z "$ac_cv_prog_STRIP"; then
49818 ac_ct_STRIP=$STRIP
49819 # Extract the first word of "strip", so it can be a program name with args.
49820 set dummy strip; ac_word=$2
49821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49823 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49824 echo $ECHO_N "(cached) $ECHO_C" >&6
49825 else
49826 if test -n "$ac_ct_STRIP"; then
49827 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49828 else
49829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49830 for as_dir in $PATH
49831 do
49832 IFS=$as_save_IFS
49833 test -z "$as_dir" && as_dir=.
49834 for ac_exec_ext in '' $ac_executable_extensions; do
49835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49836 ac_cv_prog_ac_ct_STRIP="strip"
49837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49838 break 2
49839 fi
49840 done
49841 done
49842 IFS=$as_save_IFS
49843
49844 fi
49845 fi
49846 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49847 if test -n "$ac_ct_STRIP"; then
49848 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49849 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49850 else
49851 { echo "$as_me:$LINENO: result: no" >&5
49852 echo "${ECHO_T}no" >&6; }
49853 fi
49854
49855 if test "x$ac_ct_STRIP" = x; then
49856 STRIP=":"
49857 else
49858 case $cross_compiling:$ac_tool_warned in
49859 yes:)
49860 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49861 whose name does not start with the host triplet. If you think this
49862 configuration is useful to you, please write to autoconf@gnu.org." >&5
49863 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49864 whose name does not start with the host triplet. If you think this
49865 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49866 ac_tool_warned=yes ;;
49867 esac
49868 STRIP=$ac_ct_STRIP
49869 fi
49870 else
49871 STRIP="$ac_cv_prog_STRIP"
49872 fi
49873
49874 if test -n "$ac_tool_prefix"; then
49875 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49876 set dummy ${ac_tool_prefix}nm; ac_word=$2
49877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49879 if test "${ac_cv_prog_NM+set}" = set; then
49880 echo $ECHO_N "(cached) $ECHO_C" >&6
49881 else
49882 if test -n "$NM"; then
49883 ac_cv_prog_NM="$NM" # Let the user override the test.
49884 else
49885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49886 for as_dir in $PATH
49887 do
49888 IFS=$as_save_IFS
49889 test -z "$as_dir" && as_dir=.
49890 for ac_exec_ext in '' $ac_executable_extensions; do
49891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49892 ac_cv_prog_NM="${ac_tool_prefix}nm"
49893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49894 break 2
49895 fi
49896 done
49897 done
49898 IFS=$as_save_IFS
49899
49900 fi
49901 fi
49902 NM=$ac_cv_prog_NM
49903 if test -n "$NM"; then
49904 { echo "$as_me:$LINENO: result: $NM" >&5
49905 echo "${ECHO_T}$NM" >&6; }
49906 else
49907 { echo "$as_me:$LINENO: result: no" >&5
49908 echo "${ECHO_T}no" >&6; }
49909 fi
49910
49911
49912 fi
49913 if test -z "$ac_cv_prog_NM"; then
49914 ac_ct_NM=$NM
49915 # Extract the first word of "nm", so it can be a program name with args.
49916 set dummy nm; ac_word=$2
49917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49919 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49920 echo $ECHO_N "(cached) $ECHO_C" >&6
49921 else
49922 if test -n "$ac_ct_NM"; then
49923 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49924 else
49925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49926 for as_dir in $PATH
49927 do
49928 IFS=$as_save_IFS
49929 test -z "$as_dir" && as_dir=.
49930 for ac_exec_ext in '' $ac_executable_extensions; do
49931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49932 ac_cv_prog_ac_ct_NM="nm"
49933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49934 break 2
49935 fi
49936 done
49937 done
49938 IFS=$as_save_IFS
49939
49940 fi
49941 fi
49942 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49943 if test -n "$ac_ct_NM"; then
49944 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49945 echo "${ECHO_T}$ac_ct_NM" >&6; }
49946 else
49947 { echo "$as_me:$LINENO: result: no" >&5
49948 echo "${ECHO_T}no" >&6; }
49949 fi
49950
49951 if test "x$ac_ct_NM" = x; then
49952 NM=":"
49953 else
49954 case $cross_compiling:$ac_tool_warned in
49955 yes:)
49956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49957 whose name does not start with the host triplet. If you think this
49958 configuration is useful to you, please write to autoconf@gnu.org." >&5
49959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49960 whose name does not start with the host triplet. If you think this
49961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49962 ac_tool_warned=yes ;;
49963 esac
49964 NM=$ac_ct_NM
49965 fi
49966 else
49967 NM="$ac_cv_prog_NM"
49968 fi
49969
49970
49971 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49972 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49973 INSTALL_TEST_DIR=acbftest$$
49974 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49975 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49976 rmdir $INSTALL_TEST_DIR
49977 INSTALL_DIR='$(INSTALL) -d'
49978 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49979 echo "${ECHO_T}$INSTALL -d" >&6; }
49980 else
49981 INSTALL_DIR="mkdir -p"
49982 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49983 echo "${ECHO_T}mkdir -p" >&6; }
49984 fi
49985
49986
49987 LDFLAGS_GUI=
49988 case ${BAKEFILE_HOST} in
49989 *-*-cygwin* | *-*-mingw32* )
49990 LDFLAGS_GUI="-mwindows"
49991 esac
49992
49993
49994 fi
49995
49996 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49997 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49998 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49999 echo $ECHO_N "(cached) $ECHO_C" >&6
50000 else
50001
50002 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50003 egrep -s GNU > /dev/null); then
50004 bakefile_cv_prog_makeisgnu="yes"
50005 else
50006 bakefile_cv_prog_makeisgnu="no"
50007 fi
50008
50009 fi
50010 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50011 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50012
50013 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50014 IF_GNU_MAKE=""
50015 else
50016 IF_GNU_MAKE="#"
50017 fi
50018
50019
50020
50021 PLATFORM_UNIX=0
50022 PLATFORM_WIN32=0
50023 PLATFORM_MSDOS=0
50024 PLATFORM_MAC=0
50025 PLATFORM_MACOS=0
50026 PLATFORM_MACOSX=0
50027 PLATFORM_OS2=0
50028 PLATFORM_BEOS=0
50029
50030 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50031 case "${BAKEFILE_HOST}" in
50032 *-*-mingw32* )
50033 PLATFORM_WIN32=1
50034 ;;
50035 *-pc-msdosdjgpp )
50036 PLATFORM_MSDOS=1
50037 ;;
50038 *-pc-os2_emx | *-pc-os2-emx )
50039 PLATFORM_OS2=1
50040 ;;
50041 *-*-darwin* )
50042 PLATFORM_MAC=1
50043 PLATFORM_MACOSX=1
50044 ;;
50045 *-*-beos* )
50046 PLATFORM_BEOS=1
50047 ;;
50048 powerpc-apple-macos* )
50049 PLATFORM_MAC=1
50050 PLATFORM_MACOS=1
50051 ;;
50052 * )
50053 PLATFORM_UNIX=1
50054 ;;
50055 esac
50056 else
50057 case "$BAKEFILE_FORCE_PLATFORM" in
50058 win32 )
50059 PLATFORM_WIN32=1
50060 ;;
50061 msdos )
50062 PLATFORM_MSDOS=1
50063 ;;
50064 os2 )
50065 PLATFORM_OS2=1
50066 ;;
50067 darwin )
50068 PLATFORM_MAC=1
50069 PLATFORM_MACOSX=1
50070 ;;
50071 unix )
50072 PLATFORM_UNIX=1
50073 ;;
50074 beos )
50075 PLATFORM_BEOS=1
50076 ;;
50077 * )
50078 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50079 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50080 { (exit 1); exit 1; }; }
50081 ;;
50082 esac
50083 fi
50084
50085
50086
50087
50088
50089
50090
50091
50092
50093
50094
50095 # Check whether --enable-omf was given.
50096 if test "${enable_omf+set}" = set; then
50097 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50098 fi
50099
50100
50101 case "${BAKEFILE_HOST}" in
50102 *-*-darwin* )
50103 if test "x$GCC" = "xyes"; then
50104 CFLAGS="$CFLAGS -fno-common"
50105 CXXFLAGS="$CXXFLAGS -fno-common"
50106 fi
50107 if test "x$XLCC" = "xyes"; then
50108 CFLAGS="$CFLAGS -qnocommon"
50109 CXXFLAGS="$CXXFLAGS -qnocommon"
50110 fi
50111 ;;
50112
50113 *-pc-os2_emx | *-pc-os2-emx )
50114 if test "x$bk_os2_use_omf" = "xyes" ; then
50115 AR=emxomfar
50116 RANLIB=:
50117 LDFLAGS="-Zomf $LDFLAGS"
50118 CFLAGS="-Zomf $CFLAGS"
50119 CXXFLAGS="-Zomf $CXXFLAGS"
50120 OS2_LIBEXT="lib"
50121 else
50122 OS2_LIBEXT="a"
50123 fi
50124 ;;
50125
50126 i*86-*-beos* )
50127 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50128 ;;
50129 esac
50130
50131
50132 SO_SUFFIX="so"
50133 SO_SUFFIX_MODULE="so"
50134 EXEEXT=""
50135 LIBPREFIX="lib"
50136 LIBEXT=".a"
50137 DLLPREFIX="lib"
50138 DLLPREFIX_MODULE=""
50139 DLLIMP_SUFFIX=""
50140 dlldir="$libdir"
50141
50142 case "${BAKEFILE_HOST}" in
50143 ia64-hp-hpux* )
50144 ;;
50145 *-hp-hpux* )
50146 SO_SUFFIX="sl"
50147 SO_SUFFIX_MODULE="sl"
50148 ;;
50149 *-*-aix* )
50150 SO_SUFFIX="a"
50151 SO_SUFFIX_MODULE="a"
50152 ;;
50153 *-*-cygwin* )
50154 SO_SUFFIX="dll"
50155 SO_SUFFIX_MODULE="dll"
50156 DLLIMP_SUFFIX="dll.a"
50157 EXEEXT=".exe"
50158 DLLPREFIX="cyg"
50159 dlldir="$bindir"
50160 ;;
50161 *-*-mingw32* )
50162 SO_SUFFIX="dll"
50163 SO_SUFFIX_MODULE="dll"
50164 DLLIMP_SUFFIX="dll.a"
50165 EXEEXT=".exe"
50166 DLLPREFIX=""
50167 dlldir="$bindir"
50168 ;;
50169 *-pc-msdosdjgpp )
50170 EXEEXT=".exe"
50171 DLLPREFIX=""
50172 dlldir="$bindir"
50173 ;;
50174 *-pc-os2_emx | *-pc-os2-emx )
50175 SO_SUFFIX="dll"
50176 SO_SUFFIX_MODULE="dll"
50177 DLLIMP_SUFFIX=$OS2_LIBEXT
50178 EXEEXT=".exe"
50179 DLLPREFIX=""
50180 LIBPREFIX=""
50181 LIBEXT=".$OS2_LIBEXT"
50182 dlldir="$bindir"
50183 ;;
50184 *-*-darwin* )
50185 SO_SUFFIX="dylib"
50186 SO_SUFFIX_MODULE="bundle"
50187 ;;
50188 esac
50189
50190 if test "x$DLLIMP_SUFFIX" = "x" ; then
50191 DLLIMP_SUFFIX="$SO_SUFFIX"
50192 fi
50193
50194
50195
50196
50197
50198
50199
50200
50201
50202
50203
50204
50205 PIC_FLAG=""
50206 if test "x$GCC" = "xyes"; then
50207 PIC_FLAG="-fPIC"
50208 fi
50209
50210 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50211 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50212 WINDOWS_IMPLIB=0
50213
50214 case "${BAKEFILE_HOST}" in
50215 *-hp-hpux* )
50216 if test "x$GCC" != "xyes"; then
50217 LDFLAGS="$LDFLAGS -L/usr/lib"
50218
50219 SHARED_LD_CC="${CC} -b -o"
50220 SHARED_LD_CXX="${CXX} -b -o"
50221 PIC_FLAG="+Z"
50222 fi
50223 ;;
50224
50225 *-*-linux* )
50226 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50227 PIC_FLAG="-KPIC"
50228 elif test "x$SUNCXX" = "xyes"; then
50229 SHARED_LD_CC="${CC} -G -o"
50230 SHARED_LD_CXX="${CXX} -G -o"
50231 PIC_FLAG="-KPIC"
50232 fi
50233 ;;
50234
50235 *-*-solaris2* )
50236 if test "x$SUNCXX" = xyes ; then
50237 SHARED_LD_CC="${CC} -G -o"
50238 SHARED_LD_CXX="${CXX} -G -o"
50239 PIC_FLAG="-KPIC"
50240 fi
50241 ;;
50242
50243 *-*-darwin* )
50244
50245 D='$'
50246 cat <<EOF >shared-ld-sh
50247 #!/bin/sh
50248 #-----------------------------------------------------------------------------
50249 #-- Name: distrib/mac/shared-ld-sh
50250 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50251 #-- Author: Gilles Depeyrot
50252 #-- Copyright: (c) 2002 Gilles Depeyrot
50253 #-- Licence: any use permitted
50254 #-----------------------------------------------------------------------------
50255
50256 verbose=0
50257 args=""
50258 objects=""
50259 linking_flag="-dynamiclib"
50260 ldargs="-r -keep_private_externs -nostdlib"
50261
50262 if test "x${D}CXX" = "x"; then
50263 CXX="c++"
50264 fi
50265
50266 while test ${D}# -gt 0; do
50267 case ${D}1 in
50268
50269 -v)
50270 verbose=1
50271 ;;
50272
50273 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50274 # collect these options and values
50275 args="${D}{args} ${D}1 ${D}2"
50276 shift
50277 ;;
50278
50279 -arch|-isysroot)
50280 # collect these options and values
50281 ldargs="${D}{ldargs} ${D}1 ${D}2"
50282 shift
50283 ;;
50284
50285 -s|-Wl,*)
50286 # collect these load args
50287 ldargs="${D}{ldargs} ${D}1"
50288 ;;
50289
50290 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50291 # collect these options
50292 args="${D}{args} ${D}1"
50293 ;;
50294
50295 -dynamiclib|-bundle)
50296 linking_flag="${D}1"
50297 ;;
50298
50299 -*)
50300 echo "shared-ld: unhandled option '${D}1'"
50301 exit 1
50302 ;;
50303
50304 *.o | *.a | *.dylib)
50305 # collect object files
50306 objects="${D}{objects} ${D}1"
50307 ;;
50308
50309 *)
50310 echo "shared-ld: unhandled argument '${D}1'"
50311 exit 1
50312 ;;
50313
50314 esac
50315 shift
50316 done
50317
50318 status=0
50319
50320 #
50321 # Link one module containing all the others
50322 #
50323 if test ${D}{verbose} = 1; then
50324 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50325 fi
50326 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50327 status=${D}?
50328
50329 #
50330 # Link the shared library from the single module created, but only if the
50331 # previous command didn't fail:
50332 #
50333 if test ${D}{status} = 0; then
50334 if test ${D}{verbose} = 1; then
50335 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50336 fi
50337 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50338 status=${D}?
50339 fi
50340
50341 #
50342 # Remove intermediate module
50343 #
50344 rm -f master.${D}${D}.o
50345
50346 exit ${D}status
50347 EOF
50348
50349 chmod +x shared-ld-sh
50350
50351 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50352 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50353
50354
50355 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50356 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50357 if test "${bakefile_cv_gcc31+set}" = set; then
50358 echo $ECHO_N "(cached) $ECHO_C" >&6
50359 else
50360
50361 cat >conftest.$ac_ext <<_ACEOF
50362 /* confdefs.h. */
50363 _ACEOF
50364 cat confdefs.h >>conftest.$ac_ext
50365 cat >>conftest.$ac_ext <<_ACEOF
50366 /* end confdefs.h. */
50367
50368 int
50369 main ()
50370 {
50371
50372 #if (__GNUC__ < 3) || \
50373 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50374 This is old gcc
50375 #endif
50376
50377 ;
50378 return 0;
50379 }
50380 _ACEOF
50381 rm -f conftest.$ac_objext
50382 if { (ac_try="$ac_compile"
50383 case "(($ac_try" in
50384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50385 *) ac_try_echo=$ac_try;;
50386 esac
50387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50388 (eval "$ac_compile") 2>conftest.er1
50389 ac_status=$?
50390 grep -v '^ *+' conftest.er1 >conftest.err
50391 rm -f conftest.er1
50392 cat conftest.err >&5
50393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50394 (exit $ac_status); } && {
50395 test -z "$ac_c_werror_flag" ||
50396 test ! -s conftest.err
50397 } && test -s conftest.$ac_objext; then
50398
50399 bakefile_cv_gcc31=yes
50400
50401 else
50402 echo "$as_me: failed program was:" >&5
50403 sed 's/^/| /' conftest.$ac_ext >&5
50404
50405
50406 bakefile_cv_gcc31=no
50407
50408
50409 fi
50410
50411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50412
50413 fi
50414 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50415 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50416 if test "$bakefile_cv_gcc31" = "no"; then
50417 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50418 SHARED_LD_CXX="$SHARED_LD_CC"
50419 else
50420 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50421 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50422 fi
50423
50424 if test "x$GCC" == "xyes"; then
50425 PIC_FLAG="-dynamic -fPIC"
50426 fi
50427 if test "x$XLCC" = "xyes"; then
50428 PIC_FLAG="-dynamic -DPIC"
50429 fi
50430 ;;
50431
50432 *-*-aix* )
50433 if test "x$GCC" = "xyes"; then
50434 PIC_FLAG=""
50435
50436 case "${BAKEFILE_HOST}" in
50437 *-*-aix5* )
50438 LD_EXPFULL="-Wl,-bexpfull"
50439 ;;
50440 esac
50441
50442 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50443 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50444 else
50445 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50446 set dummy makeC++SharedLib; ac_word=$2
50447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50449 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50450 echo $ECHO_N "(cached) $ECHO_C" >&6
50451 else
50452 if test -n "$AIX_CXX_LD"; then
50453 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50454 else
50455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50456 for as_dir in $PATH
50457 do
50458 IFS=$as_save_IFS
50459 test -z "$as_dir" && as_dir=.
50460 for ac_exec_ext in '' $ac_executable_extensions; do
50461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50462 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50464 break 2
50465 fi
50466 done
50467 done
50468 IFS=$as_save_IFS
50469
50470 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50471 fi
50472 fi
50473 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50474 if test -n "$AIX_CXX_LD"; then
50475 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50476 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50477 else
50478 { echo "$as_me:$LINENO: result: no" >&5
50479 echo "${ECHO_T}no" >&6; }
50480 fi
50481
50482
50483 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50484 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50485 fi
50486 ;;
50487
50488 *-*-beos* )
50489 SHARED_LD_CC="${LD} -nostart -o"
50490 SHARED_LD_CXX="${LD} -nostart -o"
50491 ;;
50492
50493 *-*-irix* )
50494 if test "x$GCC" != "xyes"; then
50495 PIC_FLAG="-KPIC"
50496 fi
50497 ;;
50498
50499 *-*-cygwin* | *-*-mingw32* )
50500 PIC_FLAG=""
50501 SHARED_LD_CC="\$(CC) -shared -o"
50502 SHARED_LD_CXX="\$(CXX) -shared -o"
50503 WINDOWS_IMPLIB=1
50504 ;;
50505
50506 *-pc-os2_emx | *-pc-os2-emx )
50507 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50508 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50509 PIC_FLAG=""
50510
50511 D='$'
50512 cat <<EOF >dllar.sh
50513 #!/bin/sh
50514 #
50515 # dllar - a tool to build both a .dll and an .a file
50516 # from a set of object (.o) files for EMX/OS2.
50517 #
50518 # Written by Andrew Zabolotny, bit@freya.etu.ru
50519 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50520 #
50521 # This script will accept a set of files on the command line.
50522 # All the public symbols from the .o files will be exported into
50523 # a .DEF file, then linker will be run (through gcc) against them to
50524 # build a shared library consisting of all given .o files. All libraries
50525 # (.a) will be first decompressed into component .o files then act as
50526 # described above. You can optionally give a description (-d "description")
50527 # which will be put into .DLL. To see the list of accepted options (as well
50528 # as command-line format) simply run this program without options. The .DLL
50529 # is built to be imported by name (there is no guarantee that new versions
50530 # of the library you build will have same ordinals for same symbols).
50531 #
50532 # dllar is free software; you can redistribute it and/or modify
50533 # it under the terms of the GNU General Public License as published by
50534 # the Free Software Foundation; either version 2, or (at your option)
50535 # any later version.
50536 #
50537 # dllar is distributed in the hope that it will be useful,
50538 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50539 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50540 # GNU General Public License for more details.
50541 #
50542 # You should have received a copy of the GNU General Public License
50543 # along with dllar; see the file COPYING. If not, write to the Free
50544 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50545 # 02111-1307, USA.
50546
50547 # To successfuly run this program you will need:
50548 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50549 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50550 # - gcc
50551 # (used to build the .dll)
50552 # - emxexp
50553 # (used to create .def file from .o files)
50554 # - emximp
50555 # (used to create .a file from .def file)
50556 # - GNU text utilites (cat, sort, uniq)
50557 # used to process emxexp output
50558 # - GNU file utilities (mv, rm)
50559 # - GNU sed
50560 # - lxlite (optional, see flag below)
50561 # (used for general .dll cleanup)
50562 #
50563
50564 flag_USE_LXLITE=1;
50565
50566 #
50567 # helper functions
50568 # basnam, variant of basename, which does _not_ remove the path, _iff_
50569 # second argument (suffix to remove) is given
50570 basnam(){
50571 case ${D}# in
50572 1)
50573 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50574 ;;
50575 2)
50576 echo ${D}1 | sed 's/'${D}2'${D}//'
50577 ;;
50578 *)
50579 echo "error in basnam ${D}*"
50580 exit 8
50581 ;;
50582 esac
50583 }
50584
50585 # Cleanup temporary files and output
50586 CleanUp() {
50587 cd ${D}curDir
50588 for i in ${D}inputFiles ; do
50589 case ${D}i in
50590 *!)
50591 rm -rf \`basnam ${D}i !\`
50592 ;;
50593 *)
50594 ;;
50595 esac
50596 done
50597
50598 # Kill result in case of failure as there is just to many stupid make/nmake
50599 # things out there which doesn't do this.
50600 if [ ${D}# -eq 0 ]; then
50601 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50602 fi
50603 }
50604
50605 # Print usage and exit script with rc=1.
50606 PrintHelp() {
50607 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50608 echo ' [-name-mangler-script script.sh]'
50609 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50610 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50611 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50612 echo ' [*.o] [*.a]'
50613 echo '*> "output_file" should have no extension.'
50614 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50615 echo ' The import library name is derived from this and is set to "name".a,'
50616 echo ' unless overridden by -import'
50617 echo '*> "importlib_name" should have no extension.'
50618 echo ' If it has the .o, or .a extension, it is automatically removed.'
50619 echo ' This name is used as the import library name and may be longer and'
50620 echo ' more descriptive than the DLL name which has to follow the old '
50621 echo ' 8.3 convention of FAT.'
50622 echo '*> "script.sh may be given to override the output_file name by a'
50623 echo ' different name. It is mainly useful if the regular make process'
50624 echo ' of some package does not take into account OS/2 restriction of'
50625 echo ' DLL name lengths. It takes the importlib name as input and is'
50626 echo ' supposed to procude a shorter name as output. The script should'
50627 echo ' expect to get importlib_name without extension and should produce'
50628 echo ' a (max.) 8 letter name without extension.'
50629 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50630 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50631 echo ' These flags will be put at the start of GCC command line.'
50632 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50633 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50634 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50635 echo ' If the last character of a symbol is "*", all symbols beginning'
50636 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50637 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50638 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50639 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50640 echo ' C runtime DLLs.'
50641 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50642 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50643 echo ' unchanged to GCC at the end of command line.'
50644 echo '*> If you create a DLL from a library and you do not specify -o,'
50645 echo ' the basename for DLL and import library will be set to library name,'
50646 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50647 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50648 echo ' library will be renamed into gcc_s.a.'
50649 echo '--------'
50650 echo 'Example:'
50651 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50652 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50653 CleanUp
50654 exit 1
50655 }
50656
50657 # Execute a command.
50658 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50659 # @Uses Whatever CleanUp() uses.
50660 doCommand() {
50661 echo "${D}*"
50662 eval ${D}*
50663 rcCmd=${D}?
50664
50665 if [ ${D}rcCmd -ne 0 ]; then
50666 echo "command failed, exit code="${D}rcCmd
50667 CleanUp
50668 exit ${D}rcCmd
50669 fi
50670 }
50671
50672 # main routine
50673 # setup globals
50674 cmdLine=${D}*
50675 outFile=""
50676 outimpFile=""
50677 inputFiles=""
50678 renameScript=""
50679 description=""
50680 CC=gcc.exe
50681 CFLAGS="-s -Zcrtdll"
50682 EXTRA_CFLAGS=""
50683 EXPORT_BY_ORDINALS=0
50684 exclude_symbols=""
50685 library_flags=""
50686 curDir=\`pwd\`
50687 curDirS=curDir
50688 case ${D}curDirS in
50689 */)
50690 ;;
50691 *)
50692 curDirS=${D}{curDirS}"/"
50693 ;;
50694 esac
50695 # Parse commandline
50696 libsToLink=0
50697 omfLinking=0
50698 while [ ${D}1 ]; do
50699 case ${D}1 in
50700 -ord*)
50701 EXPORT_BY_ORDINALS=1;
50702 ;;
50703 -o*)
50704 shift
50705 outFile=${D}1
50706 ;;
50707 -i*)
50708 shift
50709 outimpFile=${D}1
50710 ;;
50711 -name-mangler-script)
50712 shift
50713 renameScript=${D}1
50714 ;;
50715 -d*)
50716 shift
50717 description=${D}1
50718 ;;
50719 -f*)
50720 shift
50721 CFLAGS=${D}1
50722 ;;
50723 -c*)
50724 shift
50725 CC=${D}1
50726 ;;
50727 -h*)
50728 PrintHelp
50729 ;;
50730 -ex*)
50731 shift
50732 exclude_symbols=${D}{exclude_symbols}${D}1" "
50733 ;;
50734 -libf*)
50735 shift
50736 library_flags=${D}{library_flags}${D}1" "
50737 ;;
50738 -nocrt*)
50739 CFLAGS="-s"
50740 ;;
50741 -nolxl*)
50742 flag_USE_LXLITE=0
50743 ;;
50744 -* | /*)
50745 case ${D}1 in
50746 -L* | -l*)
50747 libsToLink=1
50748 ;;
50749 -Zomf)
50750 omfLinking=1
50751 ;;
50752 *)
50753 ;;
50754 esac
50755 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50756 ;;
50757 *.dll)
50758 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50759 if [ ${D}omfLinking -eq 1 ]; then
50760 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50761 else
50762 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50763 fi
50764 ;;
50765 *)
50766 found=0;
50767 if [ ${D}libsToLink -ne 0 ]; then
50768 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50769 else
50770 for file in ${D}1 ; do
50771 if [ -f ${D}file ]; then
50772 inputFiles="${D}{inputFiles} ${D}file"
50773 found=1
50774 fi
50775 done
50776 if [ ${D}found -eq 0 ]; then
50777 echo "ERROR: No file(s) found: "${D}1
50778 exit 8
50779 fi
50780 fi
50781 ;;
50782 esac
50783 shift
50784 done # iterate cmdline words
50785
50786 #
50787 if [ -z "${D}inputFiles" ]; then
50788 echo "dllar: no input files"
50789 PrintHelp
50790 fi
50791
50792 # Now extract all .o files from .a files
50793 newInputFiles=""
50794 for file in ${D}inputFiles ; do
50795 case ${D}file in
50796 *.a | *.lib)
50797 case ${D}file in
50798 *.a)
50799 suffix=".a"
50800 AR="ar"
50801 ;;
50802 *.lib)
50803 suffix=".lib"
50804 AR="emxomfar"
50805 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50806 ;;
50807 *)
50808 ;;
50809 esac
50810 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50811 mkdir ${D}dirname
50812 if [ ${D}? -ne 0 ]; then
50813 echo "Failed to create subdirectory ./${D}dirname"
50814 CleanUp
50815 exit 8;
50816 fi
50817 # Append '!' to indicate archive
50818 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50819 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50820 cd ${D}curDir
50821 found=0;
50822 for subfile in ${D}dirname/*.o* ; do
50823 if [ -f ${D}subfile ]; then
50824 found=1
50825 if [ -s ${D}subfile ]; then
50826 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50827 newInputFiles="${D}newInputFiles ${D}subfile"
50828 fi
50829 fi
50830 done
50831 if [ ${D}found -eq 0 ]; then
50832 echo "WARNING: there are no files in archive \\'${D}file\\'"
50833 fi
50834 ;;
50835 *)
50836 newInputFiles="${D}{newInputFiles} ${D}file"
50837 ;;
50838 esac
50839 done
50840 inputFiles="${D}newInputFiles"
50841
50842 # Output filename(s).
50843 do_backup=0;
50844 if [ -z ${D}outFile ]; then
50845 do_backup=1;
50846 set outFile ${D}inputFiles; outFile=${D}2
50847 fi
50848
50849 # If it is an archive, remove the '!' and the '_%' suffixes
50850 case ${D}outFile in
50851 *_%!)
50852 outFile=\`basnam ${D}outFile _%!\`
50853 ;;
50854 *)
50855 ;;
50856 esac
50857 case ${D}outFile in
50858 *.dll)
50859 outFile=\`basnam ${D}outFile .dll\`
50860 ;;
50861 *.DLL)
50862 outFile=\`basnam ${D}outFile .DLL\`
50863 ;;
50864 *.o)
50865 outFile=\`basnam ${D}outFile .o\`
50866 ;;
50867 *.obj)
50868 outFile=\`basnam ${D}outFile .obj\`
50869 ;;
50870 *.a)
50871 outFile=\`basnam ${D}outFile .a\`
50872 ;;
50873 *.lib)
50874 outFile=\`basnam ${D}outFile .lib\`
50875 ;;
50876 *)
50877 ;;
50878 esac
50879 case ${D}outimpFile in
50880 *.a)
50881 outimpFile=\`basnam ${D}outimpFile .a\`
50882 ;;
50883 *.lib)
50884 outimpFile=\`basnam ${D}outimpFile .lib\`
50885 ;;
50886 *)
50887 ;;
50888 esac
50889 if [ -z ${D}outimpFile ]; then
50890 outimpFile=${D}outFile
50891 fi
50892 defFile="${D}{outFile}.def"
50893 arcFile="${D}{outimpFile}.a"
50894 arcFile2="${D}{outimpFile}.lib"
50895
50896 #create ${D}dllFile as something matching 8.3 restrictions,
50897 if [ -z ${D}renameScript ] ; then
50898 dllFile="${D}outFile"
50899 else
50900 dllFile=\`${D}renameScript ${D}outimpFile\`
50901 fi
50902
50903 if [ ${D}do_backup -ne 0 ] ; then
50904 if [ -f ${D}arcFile ] ; then
50905 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50906 fi
50907 if [ -f ${D}arcFile2 ] ; then
50908 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50909 fi
50910 fi
50911
50912 # Extract public symbols from all the object files.
50913 tmpdefFile=${D}{defFile}_%
50914 rm -f ${D}tmpdefFile
50915 for file in ${D}inputFiles ; do
50916 case ${D}file in
50917 *!)
50918 ;;
50919 *)
50920 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50921 ;;
50922 esac
50923 done
50924
50925 # Create the def file.
50926 rm -f ${D}defFile
50927 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50928 dllFile="${D}{dllFile}.dll"
50929 if [ ! -z ${D}description ]; then
50930 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50931 fi
50932 echo "EXPORTS" >> ${D}defFile
50933
50934 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50935 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50936
50937 # Checks if the export is ok or not.
50938 for word in ${D}exclude_symbols; do
50939 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50940 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50941 done
50942
50943
50944 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50945 sed "=" < ${D}tmpdefFile | \\
50946 sed '
50947 N
50948 : loop
50949 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50950 t loop
50951 ' > ${D}{tmpdefFile}%
50952 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50953 else
50954 rm -f ${D}{tmpdefFile}%
50955 fi
50956 cat ${D}tmpdefFile >> ${D}defFile
50957 rm -f ${D}tmpdefFile
50958
50959 # Do linking, create implib, and apply lxlite.
50960 gccCmdl="";
50961 for file in ${D}inputFiles ; do
50962 case ${D}file in
50963 *!)
50964 ;;
50965 *)
50966 gccCmdl="${D}gccCmdl ${D}file"
50967 ;;
50968 esac
50969 done
50970 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50971 touch "${D}{outFile}.dll"
50972
50973 doCommand "emximp -o ${D}arcFile ${D}defFile"
50974 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50975 add_flags="";
50976 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50977 add_flags="-ynd"
50978 fi
50979 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50980 fi
50981 doCommand "emxomf -s -l ${D}arcFile"
50982
50983 # Successful exit.
50984 CleanUp 1
50985 exit 0
50986 EOF
50987
50988 chmod +x dllar.sh
50989 ;;
50990
50991 powerpc-apple-macos* | \
50992 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50993 *-*-mirbsd* | \
50994 *-*-sunos4* | \
50995 *-*-osf* | \
50996 *-*-dgux5* | \
50997 *-*-sysv5* | \
50998 *-pc-msdosdjgpp )
50999 ;;
51000
51001 *)
51002 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51003 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51004 { (exit 1); exit 1; }; }
51005 esac
51006
51007 if test "x$PIC_FLAG" != "x" ; then
51008 PIC_FLAG="$PIC_FLAG -DPIC"
51009 fi
51010
51011 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51012 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51013 fi
51014 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51015 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51016 fi
51017
51018
51019
51020
51021
51022
51023
51024
51025
51026 USE_SOVERSION=0
51027 USE_SOVERLINUX=0
51028 USE_SOVERSOLARIS=0
51029 USE_SOVERCYGWIN=0
51030 USE_SOTWOSYMLINKS=0
51031 USE_MACVERSION=0
51032 SONAME_FLAG=
51033
51034 case "${BAKEFILE_HOST}" in
51035 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51036 *-*-k*bsd*-gnu | *-*-mirbsd* )
51037 if test "x$SUNCXX" = "xyes"; then
51038 SONAME_FLAG="-h "
51039 else
51040 SONAME_FLAG="-Wl,-soname,"
51041 fi
51042 USE_SOVERSION=1
51043 USE_SOVERLINUX=1
51044 USE_SOTWOSYMLINKS=1
51045 ;;
51046
51047 *-*-solaris2* )
51048 SONAME_FLAG="-h "
51049 USE_SOVERSION=1
51050 USE_SOVERSOLARIS=1
51051 ;;
51052
51053 *-*-darwin* )
51054 USE_MACVERSION=1
51055 USE_SOVERSION=1
51056 USE_SOTWOSYMLINKS=1
51057 ;;
51058
51059 *-*-cygwin* )
51060 USE_SOVERSION=1
51061 USE_SOVERCYGWIN=1
51062 ;;
51063 esac
51064
51065
51066
51067
51068
51069
51070
51071
51072
51073
51074 # Check whether --enable-dependency-tracking was given.
51075 if test "${enable_dependency_tracking+set}" = set; then
51076 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51077 fi
51078
51079
51080 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51081 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51082
51083 BK_DEPS=""
51084 if test "x$bk_use_trackdeps" = "xno" ; then
51085 DEPS_TRACKING=0
51086 { echo "$as_me:$LINENO: result: disabled" >&5
51087 echo "${ECHO_T}disabled" >&6; }
51088 else
51089 DEPS_TRACKING=1
51090
51091 if test "x$GCC" = "xyes"; then
51092 DEPSMODE=gcc
51093 case "${BAKEFILE_HOST}" in
51094 *-*-darwin* )
51095 DEPSFLAG="-no-cpp-precomp -MMD"
51096 ;;
51097 * )
51098 DEPSFLAG="-MMD"
51099 ;;
51100 esac
51101 { echo "$as_me:$LINENO: result: gcc" >&5
51102 echo "${ECHO_T}gcc" >&6; }
51103 elif test "x$MWCC" = "xyes"; then
51104 DEPSMODE=mwcc
51105 DEPSFLAG="-MM"
51106 { echo "$as_me:$LINENO: result: mwcc" >&5
51107 echo "${ECHO_T}mwcc" >&6; }
51108 elif test "x$SUNCC" = "xyes"; then
51109 DEPSMODE=unixcc
51110 DEPSFLAG="-xM1"
51111 { echo "$as_me:$LINENO: result: Sun cc" >&5
51112 echo "${ECHO_T}Sun cc" >&6; }
51113 elif test "x$SGICC" = "xyes"; then
51114 DEPSMODE=unixcc
51115 DEPSFLAG="-M"
51116 { echo "$as_me:$LINENO: result: SGI cc" >&5
51117 echo "${ECHO_T}SGI cc" >&6; }
51118 elif test "x$HPCC" = "xyes"; then
51119 DEPSMODE=unixcc
51120 DEPSFLAG="+make"
51121 { echo "$as_me:$LINENO: result: HP cc" >&5
51122 echo "${ECHO_T}HP cc" >&6; }
51123 elif test "x$COMPAQCC" = "xyes"; then
51124 DEPSMODE=gcc
51125 DEPSFLAG="-MD"
51126 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51127 echo "${ECHO_T}Compaq cc" >&6; }
51128 else
51129 DEPS_TRACKING=0
51130 { echo "$as_me:$LINENO: result: none" >&5
51131 echo "${ECHO_T}none" >&6; }
51132 fi
51133
51134 if test $DEPS_TRACKING = 1 ; then
51135
51136 D='$'
51137 cat <<EOF >bk-deps
51138 #!/bin/sh
51139
51140 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51141 # script. It is used to track C/C++ files dependencies in portable way.
51142 #
51143 # Permission is given to use this file in any way.
51144
51145 DEPSMODE=${DEPSMODE}
51146 DEPSFLAG="${DEPSFLAG}"
51147 DEPSDIRBASE=.deps
51148
51149 if test ${D}DEPSMODE = gcc ; then
51150 ${D}* ${D}{DEPSFLAG}
51151 status=${D}?
51152
51153 # determine location of created files:
51154 while test ${D}# -gt 0; do
51155 case "${D}1" in
51156 -o )
51157 shift
51158 objfile=${D}1
51159 ;;
51160 -* )
51161 ;;
51162 * )
51163 srcfile=${D}1
51164 ;;
51165 esac
51166 shift
51167 done
51168 objfilebase=\`basename ${D}objfile\`
51169 builddir=\`dirname ${D}objfile\`
51170 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51171 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51172 depsdir=${D}builddir/${D}DEPSDIRBASE
51173 mkdir -p ${D}depsdir
51174
51175 # if the compiler failed, we're done:
51176 if test ${D}{status} != 0 ; then
51177 rm -f ${D}depfile
51178 exit ${D}{status}
51179 fi
51180
51181 # move created file to the location we want it in:
51182 if test -f ${D}depfile ; then
51183 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51184 rm -f ${D}depfile
51185 else
51186 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51187 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51188 if test ! -f ${D}depfile ; then
51189 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51190 depfile="${D}objfile.d"
51191 fi
51192 if test -f ${D}depfile ; then
51193 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51194 rm -f ${D}depfile
51195 fi
51196 fi
51197 exit 0
51198
51199 elif test ${D}DEPSMODE = mwcc ; then
51200 ${D}* || exit ${D}?
51201 # Run mwcc again with -MM and redirect into the dep file we want
51202 # NOTE: We can't use shift here because we need ${D}* to be valid
51203 prevarg=
51204 for arg in ${D}* ; do
51205 if test "${D}prevarg" = "-o"; then
51206 objfile=${D}arg
51207 else
51208 case "${D}arg" in
51209 -* )
51210 ;;
51211 * )
51212 srcfile=${D}arg
51213 ;;
51214 esac
51215 fi
51216 prevarg="${D}arg"
51217 done
51218
51219 objfilebase=\`basename ${D}objfile\`
51220 builddir=\`dirname ${D}objfile\`
51221 depsdir=${D}builddir/${D}DEPSDIRBASE
51222 mkdir -p ${D}depsdir
51223
51224 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51225 exit 0
51226
51227 elif test ${D}DEPSMODE = unixcc; then
51228 ${D}* || exit ${D}?
51229 # Run compiler again with deps flag and redirect into the dep file.
51230 # It doesn't work if the '-o FILE' option is used, but without it the
51231 # dependency file will contain the wrong name for the object. So it is
51232 # removed from the command line, and the dep file is fixed with sed.
51233 cmd=""
51234 while test ${D}# -gt 0; do
51235 case "${D}1" in
51236 -o )
51237 shift
51238 objfile=${D}1
51239 ;;
51240 * )
51241 eval arg${D}#=\\${D}1
51242 cmd="${D}cmd \\${D}arg${D}#"
51243 ;;
51244 esac
51245 shift
51246 done
51247
51248 objfilebase=\`basename ${D}objfile\`
51249 builddir=\`dirname ${D}objfile\`
51250 depsdir=${D}builddir/${D}DEPSDIRBASE
51251 mkdir -p ${D}depsdir
51252
51253 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51254 exit 0
51255
51256 else
51257 ${D}*
51258 exit ${D}?
51259 fi
51260 EOF
51261
51262 chmod +x bk-deps
51263 BK_DEPS="`pwd`/bk-deps"
51264 fi
51265 fi
51266
51267
51268
51269
51270
51271 case ${BAKEFILE_HOST} in
51272 *-*-cygwin* | *-*-mingw32* )
51273 if test -n "$ac_tool_prefix"; then
51274 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51275 set dummy ${ac_tool_prefix}windres; ac_word=$2
51276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51278 if test "${ac_cv_prog_WINDRES+set}" = set; then
51279 echo $ECHO_N "(cached) $ECHO_C" >&6
51280 else
51281 if test -n "$WINDRES"; then
51282 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51283 else
51284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51285 for as_dir in $PATH
51286 do
51287 IFS=$as_save_IFS
51288 test -z "$as_dir" && as_dir=.
51289 for ac_exec_ext in '' $ac_executable_extensions; do
51290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51291 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51293 break 2
51294 fi
51295 done
51296 done
51297 IFS=$as_save_IFS
51298
51299 fi
51300 fi
51301 WINDRES=$ac_cv_prog_WINDRES
51302 if test -n "$WINDRES"; then
51303 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51304 echo "${ECHO_T}$WINDRES" >&6; }
51305 else
51306 { echo "$as_me:$LINENO: result: no" >&5
51307 echo "${ECHO_T}no" >&6; }
51308 fi
51309
51310
51311 fi
51312 if test -z "$ac_cv_prog_WINDRES"; then
51313 ac_ct_WINDRES=$WINDRES
51314 # Extract the first word of "windres", so it can be a program name with args.
51315 set dummy windres; ac_word=$2
51316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51318 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51319 echo $ECHO_N "(cached) $ECHO_C" >&6
51320 else
51321 if test -n "$ac_ct_WINDRES"; then
51322 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51323 else
51324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51325 for as_dir in $PATH
51326 do
51327 IFS=$as_save_IFS
51328 test -z "$as_dir" && as_dir=.
51329 for ac_exec_ext in '' $ac_executable_extensions; do
51330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51331 ac_cv_prog_ac_ct_WINDRES="windres"
51332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51333 break 2
51334 fi
51335 done
51336 done
51337 IFS=$as_save_IFS
51338
51339 fi
51340 fi
51341 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51342 if test -n "$ac_ct_WINDRES"; then
51343 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51344 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51345 else
51346 { echo "$as_me:$LINENO: result: no" >&5
51347 echo "${ECHO_T}no" >&6; }
51348 fi
51349
51350 if test "x$ac_ct_WINDRES" = x; then
51351 WINDRES=""
51352 else
51353 case $cross_compiling:$ac_tool_warned in
51354 yes:)
51355 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51356 whose name does not start with the host triplet. If you think this
51357 configuration is useful to you, please write to autoconf@gnu.org." >&5
51358 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51359 whose name does not start with the host triplet. If you think this
51360 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51361 ac_tool_warned=yes ;;
51362 esac
51363 WINDRES=$ac_ct_WINDRES
51364 fi
51365 else
51366 WINDRES="$ac_cv_prog_WINDRES"
51367 fi
51368
51369 ;;
51370
51371 *-*-darwin* | powerpc-apple-macos* )
51372 # Extract the first word of "Rez", so it can be a program name with args.
51373 set dummy Rez; ac_word=$2
51374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51376 if test "${ac_cv_prog_REZ+set}" = set; then
51377 echo $ECHO_N "(cached) $ECHO_C" >&6
51378 else
51379 if test -n "$REZ"; then
51380 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51381 else
51382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51383 for as_dir in $PATH
51384 do
51385 IFS=$as_save_IFS
51386 test -z "$as_dir" && as_dir=.
51387 for ac_exec_ext in '' $ac_executable_extensions; do
51388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51389 ac_cv_prog_REZ="Rez"
51390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51391 break 2
51392 fi
51393 done
51394 done
51395 IFS=$as_save_IFS
51396
51397 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51398 fi
51399 fi
51400 REZ=$ac_cv_prog_REZ
51401 if test -n "$REZ"; then
51402 { echo "$as_me:$LINENO: result: $REZ" >&5
51403 echo "${ECHO_T}$REZ" >&6; }
51404 else
51405 { echo "$as_me:$LINENO: result: no" >&5
51406 echo "${ECHO_T}no" >&6; }
51407 fi
51408
51409
51410 # Extract the first word of "SetFile", so it can be a program name with args.
51411 set dummy SetFile; ac_word=$2
51412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51414 if test "${ac_cv_prog_SETFILE+set}" = set; then
51415 echo $ECHO_N "(cached) $ECHO_C" >&6
51416 else
51417 if test -n "$SETFILE"; then
51418 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51419 else
51420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51421 for as_dir in $PATH
51422 do
51423 IFS=$as_save_IFS
51424 test -z "$as_dir" && as_dir=.
51425 for ac_exec_ext in '' $ac_executable_extensions; do
51426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51427 ac_cv_prog_SETFILE="SetFile"
51428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51429 break 2
51430 fi
51431 done
51432 done
51433 IFS=$as_save_IFS
51434
51435 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51436 fi
51437 fi
51438 SETFILE=$ac_cv_prog_SETFILE
51439 if test -n "$SETFILE"; then
51440 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51441 echo "${ECHO_T}$SETFILE" >&6; }
51442 else
51443 { echo "$as_me:$LINENO: result: no" >&5
51444 echo "${ECHO_T}no" >&6; }
51445 fi
51446
51447
51448 ;;
51449 esac
51450
51451
51452
51453
51454
51455
51456
51457
51458
51459 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51460
51461
51462 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51463
51464
51465
51466 # Check whether --enable-precomp-headers was given.
51467 if test "${enable_precomp_headers+set}" = set; then
51468 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51469 fi
51470
51471
51472 GCC_PCH=0
51473 ICC_PCH=0
51474 USE_PCH=0
51475 BK_MAKE_PCH=""
51476
51477 case ${BAKEFILE_HOST} in
51478 *-*-cygwin* )
51479 bk_use_pch="no"
51480 ;;
51481 esac
51482
51483 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51484 if test "x$GCC" = "xyes"; then
51485 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51486 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51487 cat >conftest.$ac_ext <<_ACEOF
51488 /* confdefs.h. */
51489 _ACEOF
51490 cat confdefs.h >>conftest.$ac_ext
51491 cat >>conftest.$ac_ext <<_ACEOF
51492 /* end confdefs.h. */
51493
51494 int
51495 main ()
51496 {
51497
51498 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51499 There is no PCH support
51500 #endif
51501 #if (__GNUC__ < 3)
51502 There is no PCH support
51503 #endif
51504 #if (__GNUC__ == 3) && \
51505 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51506 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51507 ( defined(__INTEL_COMPILER) )
51508 There is no PCH support
51509 #endif
51510
51511 ;
51512 return 0;
51513 }
51514 _ACEOF
51515 rm -f conftest.$ac_objext
51516 if { (ac_try="$ac_compile"
51517 case "(($ac_try" in
51518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51519 *) ac_try_echo=$ac_try;;
51520 esac
51521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51522 (eval "$ac_compile") 2>conftest.er1
51523 ac_status=$?
51524 grep -v '^ *+' conftest.er1 >conftest.err
51525 rm -f conftest.er1
51526 cat conftest.err >&5
51527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51528 (exit $ac_status); } && {
51529 test -z "$ac_c_werror_flag" ||
51530 test ! -s conftest.err
51531 } && test -s conftest.$ac_objext; then
51532
51533 { echo "$as_me:$LINENO: result: yes" >&5
51534 echo "${ECHO_T}yes" >&6; }
51535 GCC_PCH=1
51536
51537 else
51538 echo "$as_me: failed program was:" >&5
51539 sed 's/^/| /' conftest.$ac_ext >&5
51540
51541
51542 if test "$INTELCXX8" = "yes"; then
51543 { echo "$as_me:$LINENO: result: yes" >&5
51544 echo "${ECHO_T}yes" >&6; }
51545 ICC_PCH=1
51546 if test "$INTELCXX10" = "yes"; then
51547 ICC_PCH_CREATE_SWITCH="-pch-create"
51548 ICC_PCH_USE_SWITCH="-pch-use"
51549 else
51550 ICC_PCH_CREATE_SWITCH="-create-pch"
51551 ICC_PCH_USE_SWITCH="-use-pch"
51552 fi
51553 else
51554 { echo "$as_me:$LINENO: result: no" >&5
51555 echo "${ECHO_T}no" >&6; }
51556 fi
51557
51558 fi
51559
51560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51561 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51562 USE_PCH=1
51563
51564 D='$'
51565 cat <<EOF >bk-make-pch
51566 #!/bin/sh
51567
51568 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51569 # script. It is used to generated precompiled headers.
51570 #
51571 # Permission is given to use this file in any way.
51572
51573 outfile="${D}{1}"
51574 header="${D}{2}"
51575 shift
51576 shift
51577
51578 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51579
51580 compiler=""
51581 headerfile=""
51582
51583 while test ${D}{#} -gt 0; do
51584 add_to_cmdline=1
51585 case "${D}{1}" in
51586 -I* )
51587 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51588 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51589 headerfile="${D}{incdir}/${D}{header}"
51590 fi
51591 ;;
51592 -use-pch|-use_pch|-pch-use )
51593 shift
51594 add_to_cmdline=0
51595 ;;
51596 esac
51597 if test ${D}add_to_cmdline = 1 ; then
51598 compiler="${D}{compiler} ${D}{1}"
51599 fi
51600 shift
51601 done
51602
51603 if test "x${D}{headerfile}" = "x" ; then
51604 echo "error: can't find header ${D}{header} in include paths" >&2
51605 else
51606 if test -f ${D}{outfile} ; then
51607 rm -f ${D}{outfile}
51608 else
51609 mkdir -p \`dirname ${D}{outfile}\`
51610 fi
51611 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51612 mkdir -p ${D}{builddir}/.deps
51613 if test "x${GCC_PCH}" = "x1" ; then
51614 # can do this because gcc is >= 3.4:
51615 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51616 elif test "x${ICC_PCH}" = "x1" ; then
51617 filename=pch_gen-${D}${D}
51618 file=${D}{filename}.c
51619 dfile=${D}{filename}.d
51620 cat > ${D}file <<EOT
51621 #include "${D}header"
51622 EOT
51623 # using -MF icc complains about differing command lines in creation/use
51624 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51625 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51626 rm -f ${D}file ${D}dfile ${D}{filename}.o
51627 fi
51628 exit ${D}{?}
51629 fi
51630 EOF
51631
51632 chmod +x bk-make-pch
51633 BK_MAKE_PCH="`pwd`/bk-make-pch"
51634 fi
51635 fi
51636 fi
51637
51638
51639
51640
51641
51642
51643
51644 COND_BUILD_DEBUG="#"
51645 if test "x$BUILD" = "xdebug" ; then
51646 COND_BUILD_DEBUG=""
51647 fi
51648
51649 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51650 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51651 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51652 fi
51653
51654 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51655 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51656 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51657 fi
51658
51659 COND_BUILD_DEBUG_UNICODE_0="#"
51660 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51661 COND_BUILD_DEBUG_UNICODE_0=""
51662 fi
51663
51664 COND_BUILD_DEBUG_UNICODE_1="#"
51665 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51666 COND_BUILD_DEBUG_UNICODE_1=""
51667 fi
51668
51669 COND_BUILD_RELEASE="#"
51670 if test "x$BUILD" = "xrelease" ; then
51671 COND_BUILD_RELEASE=""
51672 fi
51673
51674 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51675 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51676 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51677 fi
51678
51679 COND_BUILD_RELEASE_UNICODE_0="#"
51680 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51681 COND_BUILD_RELEASE_UNICODE_0=""
51682 fi
51683
51684 COND_BUILD_RELEASE_UNICODE_1="#"
51685 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51686 COND_BUILD_RELEASE_UNICODE_1=""
51687 fi
51688
51689 COND_BUILD_debug="#"
51690 if test "x$BUILD" = "xdebug" ; then
51691 COND_BUILD_debug=""
51692 fi
51693
51694 COND_BUILD_debug_DEBUG_FLAG_default="#"
51695 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51696 COND_BUILD_debug_DEBUG_FLAG_default=""
51697 fi
51698
51699 COND_BUILD_debug_DEBUG_INFO_default="#"
51700 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51701 COND_BUILD_debug_DEBUG_INFO_default=""
51702 fi
51703
51704 COND_BUILD_debug_UNICODE_0="#"
51705 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51706 COND_BUILD_debug_UNICODE_0=""
51707 fi
51708
51709 COND_BUILD_debug_UNICODE_1="#"
51710 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51711 COND_BUILD_debug_UNICODE_1=""
51712 fi
51713
51714 COND_BUILD_release="#"
51715 if test "x$BUILD" = "xrelease" ; then
51716 COND_BUILD_release=""
51717 fi
51718
51719 COND_BUILD_release_DEBUG_INFO_default="#"
51720 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51721 COND_BUILD_release_DEBUG_INFO_default=""
51722 fi
51723
51724 COND_BUILD_release_UNICODE_0="#"
51725 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51726 COND_BUILD_release_UNICODE_0=""
51727 fi
51728
51729 COND_BUILD_release_UNICODE_1="#"
51730 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51731 COND_BUILD_release_UNICODE_1=""
51732 fi
51733
51734 COND_DEBUG_FLAG_0="#"
51735 if test "x$DEBUG_FLAG" = "x0" ; then
51736 COND_DEBUG_FLAG_0=""
51737 fi
51738
51739 COND_DEBUG_FLAG_1="#"
51740 if test "x$DEBUG_FLAG" = "x1" ; then
51741 COND_DEBUG_FLAG_1=""
51742 fi
51743
51744 COND_DEBUG_INFO_0="#"
51745 if test "x$DEBUG_INFO" = "x0" ; then
51746 COND_DEBUG_INFO_0=""
51747 fi
51748
51749 COND_DEBUG_INFO_1="#"
51750 if test "x$DEBUG_INFO" = "x1" ; then
51751 COND_DEBUG_INFO_1=""
51752 fi
51753
51754 COND_DEPS_TRACKING_0="#"
51755 if test "x$DEPS_TRACKING" = "x0" ; then
51756 COND_DEPS_TRACKING_0=""
51757 fi
51758
51759 COND_DEPS_TRACKING_1="#"
51760 if test "x$DEPS_TRACKING" = "x1" ; then
51761 COND_DEPS_TRACKING_1=""
51762 fi
51763
51764 COND_GCC_PCH_1="#"
51765 if test "x$GCC_PCH" = "x1" ; then
51766 COND_GCC_PCH_1=""
51767 fi
51768
51769 COND_ICC_PCH_1="#"
51770 if test "x$ICC_PCH" = "x1" ; then
51771 COND_ICC_PCH_1=""
51772 fi
51773
51774 COND_MONOLITHIC_0="#"
51775 if test "x$MONOLITHIC" = "x0" ; then
51776 COND_MONOLITHIC_0=""
51777 fi
51778
51779 COND_MONOLITHIC_0_SHARED_0="#"
51780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51781 COND_MONOLITHIC_0_SHARED_0=""
51782 fi
51783
51784 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51786 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51787 fi
51788
51789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51791 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51792 fi
51793
51794 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51796 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51797 fi
51798
51799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51801 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51802 fi
51803
51804 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51807 fi
51808
51809 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51811 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51812 fi
51813
51814 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51816 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51817 fi
51818
51819 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51821 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51822 fi
51823
51824 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51826 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51827 fi
51828
51829 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51831 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51832 fi
51833
51834 COND_MONOLITHIC_0_SHARED_1="#"
51835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51836 COND_MONOLITHIC_0_SHARED_1=""
51837 fi
51838
51839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51841 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51842 fi
51843
51844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51847 fi
51848
51849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51852 fi
51853
51854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51857 fi
51858
51859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51862 fi
51863
51864 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51866 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51867 fi
51868
51869 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51871 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51872 fi
51873
51874 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51876 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51877 fi
51878
51879 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51881 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51882 fi
51883
51884 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51886 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51887 fi
51888
51889 COND_MONOLITHIC_0_USE_AUI_1="#"
51890 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51891 COND_MONOLITHIC_0_USE_AUI_1=""
51892 fi
51893
51894 COND_MONOLITHIC_0_USE_GUI_1="#"
51895 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51896 COND_MONOLITHIC_0_USE_GUI_1=""
51897 fi
51898
51899 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51900 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51901 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51902 fi
51903
51904 COND_MONOLITHIC_0_USE_HTML_1="#"
51905 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51906 COND_MONOLITHIC_0_USE_HTML_1=""
51907 fi
51908
51909 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51910 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51911 COND_MONOLITHIC_0_USE_MEDIA_1=""
51912 fi
51913
51914 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51915 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51916 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51917 fi
51918
51919 COND_MONOLITHIC_0_USE_QA_1="#"
51920 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51921 COND_MONOLITHIC_0_USE_QA_1=""
51922 fi
51923
51924 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51925 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51926 COND_MONOLITHIC_0_USE_RIBBON_1=""
51927 fi
51928
51929 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51930 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51931 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51932 fi
51933
51934 COND_MONOLITHIC_0_USE_STC_1="#"
51935 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51936 COND_MONOLITHIC_0_USE_STC_1=""
51937 fi
51938
51939 COND_MONOLITHIC_0_USE_XRC_1="#"
51940 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51941 COND_MONOLITHIC_0_USE_XRC_1=""
51942 fi
51943
51944 COND_MONOLITHIC_1="#"
51945 if test "x$MONOLITHIC" = "x1" ; then
51946 COND_MONOLITHIC_1=""
51947 fi
51948
51949 COND_MONOLITHIC_1_SHARED_0="#"
51950 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51951 COND_MONOLITHIC_1_SHARED_0=""
51952 fi
51953
51954 COND_MONOLITHIC_1_SHARED_1="#"
51955 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51956 COND_MONOLITHIC_1_SHARED_1=""
51957 fi
51958
51959 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51960 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51961 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51962 fi
51963
51964 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51965 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51966 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51967 fi
51968
51969 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51970 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51971 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51972 fi
51973
51974 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51975 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51976 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51977 fi
51978
51979 COND_PLATFORM_MACOSX_1="#"
51980 if test "x$PLATFORM_MACOSX" = "x1" ; then
51981 COND_PLATFORM_MACOSX_1=""
51982 fi
51983
51984 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51986 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51987 fi
51988
51989 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51990 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51991 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51992 fi
51993
51994 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51996 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51997 fi
51998
51999 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52001 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52002 fi
52003
52004 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52006 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52007 fi
52008
52009 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52011 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52012 fi
52013
52014 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52016 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52017 fi
52018
52019 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52021 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52022 fi
52023
52024 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52026 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52027 fi
52028
52029 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52031 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52032 fi
52033
52034 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52036 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52037 fi
52038
52039 COND_PLATFORM_MACOS_1="#"
52040 if test "x$PLATFORM_MACOS" = "x1" ; then
52041 COND_PLATFORM_MACOS_1=""
52042 fi
52043
52044 COND_PLATFORM_MAC_0="#"
52045 if test "x$PLATFORM_MAC" = "x0" ; then
52046 COND_PLATFORM_MAC_0=""
52047 fi
52048
52049 COND_PLATFORM_MAC_1="#"
52050 if test "x$PLATFORM_MAC" = "x1" ; then
52051 COND_PLATFORM_MAC_1=""
52052 fi
52053
52054 COND_PLATFORM_MSDOS_0="#"
52055 if test "x$PLATFORM_MSDOS" = "x0" ; then
52056 COND_PLATFORM_MSDOS_0=""
52057 fi
52058
52059 COND_PLATFORM_MSDOS_1="#"
52060 if test "x$PLATFORM_MSDOS" = "x1" ; then
52061 COND_PLATFORM_MSDOS_1=""
52062 fi
52063
52064 COND_PLATFORM_OS2_1="#"
52065 if test "x$PLATFORM_OS2" = "x1" ; then
52066 COND_PLATFORM_OS2_1=""
52067 fi
52068
52069 COND_PLATFORM_UNIX_0="#"
52070 if test "x$PLATFORM_UNIX" = "x0" ; then
52071 COND_PLATFORM_UNIX_0=""
52072 fi
52073
52074 COND_PLATFORM_UNIX_1="#"
52075 if test "x$PLATFORM_UNIX" = "x1" ; then
52076 COND_PLATFORM_UNIX_1=""
52077 fi
52078
52079 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52080 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52081 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52082 fi
52083
52084 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52085 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52086 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52087 fi
52088
52089 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52090 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52091 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52092 fi
52093
52094 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52095 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52096 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52097 fi
52098
52099 COND_PLATFORM_WIN32_0="#"
52100 if test "x$PLATFORM_WIN32" = "x0" ; then
52101 COND_PLATFORM_WIN32_0=""
52102 fi
52103
52104 COND_PLATFORM_WIN32_1="#"
52105 if test "x$PLATFORM_WIN32" = "x1" ; then
52106 COND_PLATFORM_WIN32_1=""
52107 fi
52108
52109 COND_PLATFORM_WIN32_1_SHARED_0="#"
52110 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52111 COND_PLATFORM_WIN32_1_SHARED_0=""
52112 fi
52113
52114 COND_SHARED_0="#"
52115 if test "x$SHARED" = "x0" ; then
52116 COND_SHARED_0=""
52117 fi
52118
52119 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52120 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52121 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52122 fi
52123
52124 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52125 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52126 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52127 fi
52128
52129 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52130 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52131 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52132 fi
52133
52134 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52135 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52136 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52137 fi
52138
52139 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52140 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52141 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52142 fi
52143
52144 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52145 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52146 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52147 fi
52148
52149 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52150 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52151 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52152 fi
52153
52154 COND_SHARED_0_USE_STC_1="#"
52155 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52156 COND_SHARED_0_USE_STC_1=""
52157 fi
52158
52159 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52160 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52161 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52162 fi
52163
52164 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52165 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52166 COND_SHARED_0_wxUSE_REGEX_builtin=""
52167 fi
52168
52169 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52170 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52171 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52172 fi
52173
52174 COND_SHARED_1="#"
52175 if test "x$SHARED" = "x1" ; then
52176 COND_SHARED_1=""
52177 fi
52178
52179 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52180 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52181 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52182 fi
52183
52184 COND_TOOLKIT_="#"
52185 if test "x$TOOLKIT" = "x" ; then
52186 COND_TOOLKIT_=""
52187 fi
52188
52189 COND_TOOLKIT_COCOA="#"
52190 if test "x$TOOLKIT" = "xCOCOA" ; then
52191 COND_TOOLKIT_COCOA=""
52192 fi
52193
52194 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52195 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52196 COND_TOOLKIT_COCOA_USE_GUI_1=""
52197 fi
52198
52199 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52200 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52201 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52202 fi
52203
52204 COND_TOOLKIT_DFB="#"
52205 if test "x$TOOLKIT" = "xDFB" ; then
52206 COND_TOOLKIT_DFB=""
52207 fi
52208
52209 COND_TOOLKIT_DFB_USE_GUI_1="#"
52210 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52211 COND_TOOLKIT_DFB_USE_GUI_1=""
52212 fi
52213
52214 COND_TOOLKIT_GTK="#"
52215 if test "x$TOOLKIT" = "xGTK" ; then
52216 COND_TOOLKIT_GTK=""
52217 fi
52218
52219 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52220 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52222 fi
52223
52224 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52225 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52226 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52227 fi
52228
52229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52230 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52231 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52232 fi
52233
52234 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52235 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52236 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52237 fi
52238
52239 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52240 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52241 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52242 fi
52243
52244 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52245 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52246 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52247 fi
52248
52249 COND_TOOLKIT_GTK_USE_GUI_1="#"
52250 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52251 COND_TOOLKIT_GTK_USE_GUI_1=""
52252 fi
52253
52254 COND_TOOLKIT_MAC="#"
52255 if test "x$TOOLKIT" = "xMAC" ; then
52256 COND_TOOLKIT_MAC=""
52257 fi
52258
52259 COND_TOOLKIT_MGL="#"
52260 if test "x$TOOLKIT" = "xMGL" ; then
52261 COND_TOOLKIT_MGL=""
52262 fi
52263
52264 COND_TOOLKIT_MGL_USE_GUI_1="#"
52265 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52266 COND_TOOLKIT_MGL_USE_GUI_1=""
52267 fi
52268
52269 COND_TOOLKIT_MOTIF="#"
52270 if test "x$TOOLKIT" = "xMOTIF" ; then
52271 COND_TOOLKIT_MOTIF=""
52272 fi
52273
52274 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52275 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52276 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52277 fi
52278
52279 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52280 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52281 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52282 fi
52283
52284 COND_TOOLKIT_MSW="#"
52285 if test "x$TOOLKIT" = "xMSW" ; then
52286 COND_TOOLKIT_MSW=""
52287 fi
52288
52289 COND_TOOLKIT_MSW_USE_GUI_1="#"
52290 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52291 COND_TOOLKIT_MSW_USE_GUI_1=""
52292 fi
52293
52294 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52295 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52296 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52297 fi
52298
52299 COND_TOOLKIT_MSW_WXUNIV_0="#"
52300 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52301 COND_TOOLKIT_MSW_WXUNIV_0=""
52302 fi
52303
52304 COND_TOOLKIT_OSX_CARBON="#"
52305 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52306 COND_TOOLKIT_OSX_CARBON=""
52307 fi
52308
52309 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52310 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52311 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52312 fi
52313
52314 COND_TOOLKIT_OSX_COCOA="#"
52315 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52316 COND_TOOLKIT_OSX_COCOA=""
52317 fi
52318
52319 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52320 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52321 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52322 fi
52323
52324 COND_TOOLKIT_OSX_IPHONE="#"
52325 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52326 COND_TOOLKIT_OSX_IPHONE=""
52327 fi
52328
52329 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52330 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52331 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52332 fi
52333
52334 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52335 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52336 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52337 fi
52338
52339 COND_TOOLKIT_PM="#"
52340 if test "x$TOOLKIT" = "xPM" ; then
52341 COND_TOOLKIT_PM=""
52342 fi
52343
52344 COND_TOOLKIT_PM_USE_GUI_1="#"
52345 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52346 COND_TOOLKIT_PM_USE_GUI_1=""
52347 fi
52348
52349 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52350 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52351 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52352 fi
52353
52354 COND_TOOLKIT_WINCE="#"
52355 if test "x$TOOLKIT" = "xWINCE" ; then
52356 COND_TOOLKIT_WINCE=""
52357 fi
52358
52359 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52360 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52361 COND_TOOLKIT_WINCE_USE_GUI_1=""
52362 fi
52363
52364 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52365 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52366 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52367 fi
52368
52369 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52370 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52371 COND_TOOLKIT_WINCE_WXUNIV_0=""
52372 fi
52373
52374 COND_TOOLKIT_X11="#"
52375 if test "x$TOOLKIT" = "xX11" ; then
52376 COND_TOOLKIT_X11=""
52377 fi
52378
52379 COND_TOOLKIT_X11_USE_GUI_1="#"
52380 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52381 COND_TOOLKIT_X11_USE_GUI_1=""
52382 fi
52383
52384 COND_UNICODE_1="#"
52385 if test "x$UNICODE" = "x1" ; then
52386 COND_UNICODE_1=""
52387 fi
52388
52389 COND_USE_CAIRO_1="#"
52390 if test "x$USE_CAIRO" = "x1" ; then
52391 COND_USE_CAIRO_1=""
52392 fi
52393
52394 COND_USE_EXCEPTIONS_0="#"
52395 if test "x$USE_EXCEPTIONS" = "x0" ; then
52396 COND_USE_EXCEPTIONS_0=""
52397 fi
52398
52399 COND_USE_EXCEPTIONS_1="#"
52400 if test "x$USE_EXCEPTIONS" = "x1" ; then
52401 COND_USE_EXCEPTIONS_1=""
52402 fi
52403
52404 COND_USE_GUI_0="#"
52405 if test "x$USE_GUI" = "x0" ; then
52406 COND_USE_GUI_0=""
52407 fi
52408
52409 COND_USE_GUI_1="#"
52410 if test "x$USE_GUI" = "x1" ; then
52411 COND_USE_GUI_1=""
52412 fi
52413
52414 COND_USE_GUI_1_USE_OPENGL_1="#"
52415 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52416 COND_USE_GUI_1_USE_OPENGL_1=""
52417 fi
52418
52419 COND_USE_GUI_1_WXUNIV_0="#"
52420 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52421 COND_USE_GUI_1_WXUNIV_0=""
52422 fi
52423
52424 COND_USE_GUI_1_WXUNIV_1="#"
52425 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52426 COND_USE_GUI_1_WXUNIV_1=""
52427 fi
52428
52429 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52430 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52431 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52432 fi
52433
52434 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52435 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52436 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52437 fi
52438
52439 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52440 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52441 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52442 fi
52443
52444 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52445 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52446 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52447 fi
52448
52449 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52450 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52451 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52452 fi
52453
52454 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52455 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52456 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52457 fi
52458
52459 COND_USE_OPENGL_1="#"
52460 if test "x$USE_OPENGL" = "x1" ; then
52461 COND_USE_OPENGL_1=""
52462 fi
52463
52464 COND_USE_PCH_1="#"
52465 if test "x$USE_PCH" = "x1" ; then
52466 COND_USE_PCH_1=""
52467 fi
52468
52469 COND_USE_PLUGINS_0="#"
52470 if test "x$USE_PLUGINS" = "x0" ; then
52471 COND_USE_PLUGINS_0=""
52472 fi
52473
52474 COND_USE_RTTI_0="#"
52475 if test "x$USE_RTTI" = "x0" ; then
52476 COND_USE_RTTI_0=""
52477 fi
52478
52479 COND_USE_RTTI_1="#"
52480 if test "x$USE_RTTI" = "x1" ; then
52481 COND_USE_RTTI_1=""
52482 fi
52483
52484 COND_USE_SOTWOSYMLINKS_1="#"
52485 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52486 COND_USE_SOTWOSYMLINKS_1=""
52487 fi
52488
52489 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52490 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52491 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52492 fi
52493
52494 COND_USE_SOVERLINUX_1="#"
52495 if test "x$USE_SOVERLINUX" = "x1" ; then
52496 COND_USE_SOVERLINUX_1=""
52497 fi
52498
52499 COND_USE_SOVERSION_0="#"
52500 if test "x$USE_SOVERSION" = "x0" ; then
52501 COND_USE_SOVERSION_0=""
52502 fi
52503
52504 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52505 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52506 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52507 fi
52508
52509 COND_USE_SOVERSOLARIS_1="#"
52510 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52511 COND_USE_SOVERSOLARIS_1=""
52512 fi
52513
52514 COND_USE_STC_1="#"
52515 if test "x$USE_STC" = "x1" ; then
52516 COND_USE_STC_1=""
52517 fi
52518
52519 COND_USE_THREADS_0="#"
52520 if test "x$USE_THREADS" = "x0" ; then
52521 COND_USE_THREADS_0=""
52522 fi
52523
52524 COND_USE_THREADS_1="#"
52525 if test "x$USE_THREADS" = "x1" ; then
52526 COND_USE_THREADS_1=""
52527 fi
52528
52529 COND_USE_XRC_1="#"
52530 if test "x$USE_XRC" = "x1" ; then
52531 COND_USE_XRC_1=""
52532 fi
52533
52534 COND_WINDOWS_IMPLIB_1="#"
52535 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52536 COND_WINDOWS_IMPLIB_1=""
52537 fi
52538
52539 COND_WITH_PLUGIN_SDL_1="#"
52540 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52541 COND_WITH_PLUGIN_SDL_1=""
52542 fi
52543
52544 COND_WXUNIV_0="#"
52545 if test "x$WXUNIV" = "x0" ; then
52546 COND_WXUNIV_0=""
52547 fi
52548
52549 COND_WXUNIV_1="#"
52550 if test "x$WXUNIV" = "x1" ; then
52551 COND_WXUNIV_1=""
52552 fi
52553
52554 COND_WXUSE_EXPAT_BUILTIN="#"
52555 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52556 COND_WXUSE_EXPAT_BUILTIN=""
52557 fi
52558
52559 COND_WXUSE_LIBJPEG_BUILTIN="#"
52560 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52561 COND_WXUSE_LIBJPEG_BUILTIN=""
52562 fi
52563
52564 COND_WXUSE_LIBPNG_BUILTIN="#"
52565 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52566 COND_WXUSE_LIBPNG_BUILTIN=""
52567 fi
52568
52569 COND_WXUSE_LIBTIFF_BUILTIN="#"
52570 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52571 COND_WXUSE_LIBTIFF_BUILTIN=""
52572 fi
52573
52574 COND_WXUSE_REGEX_BUILTIN="#"
52575 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52576 COND_WXUSE_REGEX_BUILTIN=""
52577 fi
52578
52579 COND_WXUSE_ZLIB_BUILTIN="#"
52580 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52581 COND_WXUSE_ZLIB_BUILTIN=""
52582 fi
52583
52584 COND_wxUSE_EXPAT_builtin="#"
52585 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52586 COND_wxUSE_EXPAT_builtin=""
52587 fi
52588
52589 COND_wxUSE_LIBJPEG_builtin="#"
52590 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52591 COND_wxUSE_LIBJPEG_builtin=""
52592 fi
52593
52594 COND_wxUSE_LIBPNG_builtin="#"
52595 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52596 COND_wxUSE_LIBPNG_builtin=""
52597 fi
52598
52599 COND_wxUSE_LIBTIFF_builtin="#"
52600 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52601 COND_wxUSE_LIBTIFF_builtin=""
52602 fi
52603
52604 COND_wxUSE_REGEX_builtin="#"
52605 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52606 COND_wxUSE_REGEX_builtin=""
52607 fi
52608
52609 COND_wxUSE_ZLIB_builtin="#"
52610 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52611 COND_wxUSE_ZLIB_builtin=""
52612 fi
52613
52614
52615
52616 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52617 { { 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
52618 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;}
52619 { (exit 1); exit 1; }; }
52620 fi
52621
52622 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52623 { { 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
52624 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;}
52625 { (exit 1); exit 1; }; }
52626 fi
52627
52628
52629 case ${INSTALL} in
52630 /* ) # Absolute
52631 ;;
52632 ?:* ) # Drive letter, considered as absolute.
52633 ;;
52634 *)
52635 INSTALL=`pwd`/${INSTALL} ;;
52636 esac
52637
52638 if test "$wxUSE_GUI" = "yes"; then
52639
52640 if test "$wxUSE_MSW" = 1 ; then
52641 if test "x$WINDRES" = "x"; then
52642 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52643 echo "$as_me: error: Required windres program not found" >&2;}
52644 { (exit 1); exit 1; }; }
52645 fi
52646
52647 RESCOMP="$WINDRES"
52648 fi
52649
52650 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52651 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52652 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52653
52654 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52655
52656 # Extract the first word of "DeRez", so it can be a program name with args.
52657 set dummy DeRez; ac_word=$2
52658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52660 if test "${ac_cv_prog_DEREZ+set}" = set; then
52661 echo $ECHO_N "(cached) $ECHO_C" >&6
52662 else
52663 if test -n "$DEREZ"; then
52664 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52665 else
52666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52667 for as_dir in $PATH
52668 do
52669 IFS=$as_save_IFS
52670 test -z "$as_dir" && as_dir=.
52671 for ac_exec_ext in '' $ac_executable_extensions; do
52672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52673 ac_cv_prog_DEREZ="DeRez"
52674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52675 break 2
52676 fi
52677 done
52678 done
52679 IFS=$as_save_IFS
52680
52681 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52682 fi
52683 fi
52684 DEREZ=$ac_cv_prog_DEREZ
52685 if test -n "$DEREZ"; then
52686 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52687 echo "${ECHO_T}$DEREZ" >&6; }
52688 else
52689 { echo "$as_me:$LINENO: result: no" >&5
52690 echo "${ECHO_T}no" >&6; }
52691 fi
52692
52693
52694
52695 MACSETFILE="\$(SETFILE)"
52696
52697 if test "$wxUSE_OSX_CARBON" = 1; then
52698 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52699 RESCOMP="$REZ"
52700 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52701 else
52702 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52703 RESCOMP="cat /dev/null \| $REZ"
52704 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52705 fi
52706
52707 else
52708 MACSETFILE="@true"
52709
52710 if test "$wxUSE_PM" = 1; then
52711 RESCOMP="emxbind"
52712 WXCONFIG_RESFLAGS="-ep"
52713
52714 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52715 else
52716 POSTLINK_COMMAND="@true"
52717 fi
52718 fi
52719
52720 fi
52721
52722
52723 if test $GCC_PCH = 1
52724 then
52725 if test "$wx_cv_gcc_pch_bug" = yes; then
52726 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52727 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52728 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52729 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52730 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52731 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52732 fi
52733
52734 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52735 # the headers that benefit from precompilation are mostly C++ headers.
52736 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52737 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52738 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52739 fi
52740
52741
52742 if test "$wxUSE_MAC" = 1 ; then
52743 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52744 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52745 mv temp bk-deps
52746 chmod +x bk-deps
52747 fi
52748 fi
52749
52750 if test "$wxUSE_SHARED" = "yes"; then
52751 case "${host}" in
52752 *-pc-os2_emx | *-pc-os2-emx )
52753 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52754 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52755 cp -p ${srcdir}/src/os2/dllnames.sh .
52756 cp -p ${srcdir}/src/os2/dllar.sh .
52757 ;;
52758 esac
52759 fi
52760 if test "$wxUSE_OMF" = "yes"; then
52761 case "${host}" in
52762 *-pc-os2_emx | *-pc-os2-emx )
52763 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52764 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52765 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52766 ;;
52767 esac
52768 fi
52769
52770 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52771
52772
52773 case "${host}" in
52774 *-*-solaris2* )
52775 if test "$GCC" = yes; then
52776 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52777 LIBS=`echo $LIBS | sed 's/-mt//'`
52778 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52779 fi
52780 ;;
52781
52782 *-*-linux* )
52783 if test "x$SUNCXX" = xyes; then
52784 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52785 LIBS=`echo $LIBS | sed 's/-pthread//'`
52786 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52787 fi
52788 ;;
52789 esac
52790
52791 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52792 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52793 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52794 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52795
52796 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52797
52798
52799
52800
52801
52802
52803
52804
52805
52806
52807
52808
52809
52810
52811
52812
52813
52814
52815
52816
52817
52818
52819
52820
52821
52822
52823
52824
52825
52826
52827
52828
52829
52830
52831
52832
52833
52834
52835
52836
52837
52838
52839
52840
52841
52842
52843
52844
52845
52846
52847
52848
52849
52850
52851
52852
52853
52854
52855
52856
52857 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52858 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52859 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52860 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52861 echo $ECHO_N "(cached) $ECHO_C" >&6
52862 else
52863 cat >conftest.make <<\_ACEOF
52864 SHELL = /bin/sh
52865 all:
52866 @echo '@@@%%%=$(MAKE)=@@@%%%'
52867 _ACEOF
52868 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52870 *@@@%%%=?*=@@@%%%*)
52871 eval ac_cv_prog_make_${ac_make}_set=yes;;
52872 *)
52873 eval ac_cv_prog_make_${ac_make}_set=no;;
52874 esac
52875 rm -f conftest.make
52876 fi
52877 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52878 { echo "$as_me:$LINENO: result: yes" >&5
52879 echo "${ECHO_T}yes" >&6; }
52880 SET_MAKE=
52881 else
52882 { echo "$as_me:$LINENO: result: no" >&5
52883 echo "${ECHO_T}no" >&6; }
52884 SET_MAKE="MAKE=${MAKE-make}"
52885 fi
52886
52887
52888
52889 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52890
52891
52892 if test "$USE_WIN32" = 1; then
52893 ac_config_commands="$ac_config_commands rcdefs.h"
52894
52895 fi
52896
52897 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52898
52899
52900 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52901
52902
52903 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52904
52905
52906 if test "$wx_cv_version_script" = "yes"; then
52907 ac_config_files="$ac_config_files version-script"
52908
52909 fi
52910 ac_config_files="$ac_config_files Makefile"
52911
52912
52913 ac_config_commands="$ac_config_commands wx-config"
52914
52915
52916
52917 if test "$wxWITH_SUBDIRS" != "no"; then
52918 if test "$wxUSE_GUI" = "yes"; then
52919 SUBDIRS="samples demos utils"
52920 else
52921 SUBDIRS="samples utils"
52922 fi
52923
52924
52925
52926 # Check whether --with-cppunit-prefix was given.
52927 if test "${with_cppunit_prefix+set}" = set; then
52928 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52929 else
52930 cppunit_config_prefix=""
52931 fi
52932
52933
52934 # Check whether --with-cppunit-exec-prefix was given.
52935 if test "${with_cppunit_exec_prefix+set}" = set; then
52936 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52937 else
52938 cppunit_config_exec_prefix=""
52939 fi
52940
52941
52942 if test x$cppunit_config_exec_prefix != x ; then
52943 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52944 if test x${CPPUNIT_CONFIG+set} != xset ; then
52945 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52946 fi
52947 fi
52948 if test x$cppunit_config_prefix != x ; then
52949 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52950 if test x${CPPUNIT_CONFIG+set} != xset ; then
52951 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52952 fi
52953 fi
52954
52955 # Extract the first word of "cppunit-config", so it can be a program name with args.
52956 set dummy cppunit-config; ac_word=$2
52957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52959 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52960 echo $ECHO_N "(cached) $ECHO_C" >&6
52961 else
52962 case $CPPUNIT_CONFIG in
52963 [\\/]* | ?:[\\/]*)
52964 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52965 ;;
52966 *)
52967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52968 for as_dir in $PATH
52969 do
52970 IFS=$as_save_IFS
52971 test -z "$as_dir" && as_dir=.
52972 for ac_exec_ext in '' $ac_executable_extensions; do
52973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52974 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52976 break 2
52977 fi
52978 done
52979 done
52980 IFS=$as_save_IFS
52981
52982 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52983 ;;
52984 esac
52985 fi
52986 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52987 if test -n "$CPPUNIT_CONFIG"; then
52988 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52989 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52990 else
52991 { echo "$as_me:$LINENO: result: no" >&5
52992 echo "${ECHO_T}no" >&6; }
52993 fi
52994
52995
52996 cppunit_version_min=1.8.0
52997
52998 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52999 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53000 no_cppunit=""
53001 if test "$CPPUNIT_CONFIG" = "no" ; then
53002 { echo "$as_me:$LINENO: result: no" >&5
53003 echo "${ECHO_T}no" >&6; }
53004 no_cppunit=yes
53005 else
53006 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53007 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53008 cppunit_version=`$CPPUNIT_CONFIG --version`
53009
53010 cppunit_major_version=`echo $cppunit_version | \
53011 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53012 cppunit_minor_version=`echo $cppunit_version | \
53013 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53014 cppunit_micro_version=`echo $cppunit_version | \
53015 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53016
53017 cppunit_major_min=`echo $cppunit_version_min | \
53018 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53019 cppunit_minor_min=`echo $cppunit_version_min | \
53020 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53021 cppunit_micro_min=`echo $cppunit_version_min | \
53022 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53023
53024 cppunit_version_proper=`expr \
53025 $cppunit_major_version \> $cppunit_major_min \| \
53026 $cppunit_major_version \= $cppunit_major_min \& \
53027 $cppunit_minor_version \> $cppunit_minor_min \| \
53028 $cppunit_major_version \= $cppunit_major_min \& \
53029 $cppunit_minor_version \= $cppunit_minor_min \& \
53030 $cppunit_micro_version \>= $cppunit_micro_min `
53031
53032 if test "$cppunit_version_proper" = "1" ; then
53033 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53034 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53035 else
53036 { echo "$as_me:$LINENO: result: no" >&5
53037 echo "${ECHO_T}no" >&6; }
53038 no_cppunit=yes
53039 fi
53040 fi
53041
53042 if test "x$no_cppunit" = x ; then
53043 SUBDIRS="$SUBDIRS tests"
53044 else
53045 CPPUNIT_CFLAGS=""
53046 CPPUNIT_LIBS=""
53047 :
53048 fi
53049
53050
53051
53052
53053
53054 for subdir in $SUBDIRS; do
53055 if test -d ${srcdir}/${subdir} ; then
53056 if test "$wxUSE_GUI" = "yes"; then
53057 if test ${subdir} = "samples"; then
53058 makefiles="samples/Makefile.in $makefiles"
53059 for sample in $SAMPLES_SUBDIRS; do
53060 if test -d $srcdir/samples/$sample; then
53061 makefiles="samples/$sample/Makefile.in $makefiles"
53062 fi
53063 done
53064 else
53065 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53066 eval "disabled=\$$disabled_var"
53067 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53068 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53069 fi
53070 else
53071 if test ${subdir} = "samples"; then
53072 makefiles="samples/Makefile.in $makefiles"
53073 for sample in `echo $SAMPLES_SUBDIRS`; do
53074 if test -d $srcdir/samples/$sample; then
53075 makefiles="samples/$sample/Makefile.in $makefiles"
53076 fi
53077 done
53078 elif test ${subdir} = "utils"; then
53079 makefiles=""
53080 for util in ifacecheck ; do
53081 if test -d $srcdir/utils/$util ; then
53082 makefiles="utils/$util/src/Makefile.in \
53083 $makefiles"
53084 fi
53085 done
53086 else
53087 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53088 fi
53089 fi
53090
53091 for mkin in $makefiles ; do
53092 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53093 ac_config_files="$ac_config_files $mk"
53094
53095 done
53096 fi
53097 done
53098 fi
53099 cat >confcache <<\_ACEOF
53100 # This file is a shell script that caches the results of configure
53101 # tests run on this system so they can be shared between configure
53102 # scripts and configure runs, see configure's option --config-cache.
53103 # It is not useful on other systems. If it contains results you don't
53104 # want to keep, you may remove or edit it.
53105 #
53106 # config.status only pays attention to the cache file if you give it
53107 # the --recheck option to rerun configure.
53108 #
53109 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53110 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53111 # following values.
53112
53113 _ACEOF
53114
53115 # The following way of writing the cache mishandles newlines in values,
53116 # but we know of no workaround that is simple, portable, and efficient.
53117 # So, we kill variables containing newlines.
53118 # Ultrix sh set writes to stderr and can't be redirected directly,
53119 # and sets the high bit in the cache file unless we assign to the vars.
53120 (
53121 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53122 eval ac_val=\$$ac_var
53123 case $ac_val in #(
53124 *${as_nl}*)
53125 case $ac_var in #(
53126 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53127 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53128 esac
53129 case $ac_var in #(
53130 _ | IFS | as_nl) ;; #(
53131 *) $as_unset $ac_var ;;
53132 esac ;;
53133 esac
53134 done
53135
53136 (set) 2>&1 |
53137 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53138 *${as_nl}ac_space=\ *)
53139 # `set' does not quote correctly, so add quotes (double-quote
53140 # substitution turns \\\\ into \\, and sed turns \\ into \).
53141 sed -n \
53142 "s/'/'\\\\''/g;
53143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53144 ;; #(
53145 *)
53146 # `set' quotes correctly as required by POSIX, so do not add quotes.
53147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53148 ;;
53149 esac |
53150 sort
53151 ) |
53152 sed '
53153 /^ac_cv_env_/b end
53154 t clear
53155 :clear
53156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53157 t end
53158 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53159 :end' >>confcache
53160 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53161 if test -w "$cache_file"; then
53162 test "x$cache_file" != "x/dev/null" &&
53163 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53164 echo "$as_me: updating cache $cache_file" >&6;}
53165 cat confcache >$cache_file
53166 else
53167 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53168 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53169 fi
53170 fi
53171 rm -f confcache
53172
53173 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53174 # Let make expand exec_prefix.
53175 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53176
53177 DEFS=-DHAVE_CONFIG_H
53178
53179 ac_libobjs=
53180 ac_ltlibobjs=
53181 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53182 # 1. Remove the extension, and $U if already installed.
53183 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53184 ac_i=`echo "$ac_i" | sed "$ac_script"`
53185 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53186 # will be set to the directory where LIBOBJS objects are built.
53187 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53188 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53189 done
53190 LIBOBJS=$ac_libobjs
53191
53192 LTLIBOBJS=$ac_ltlibobjs
53193
53194
53195
53196 : ${CONFIG_STATUS=./config.status}
53197 ac_clean_files_save=$ac_clean_files
53198 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53199 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53200 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53201 cat >$CONFIG_STATUS <<_ACEOF
53202 #! $SHELL
53203 # Generated by $as_me.
53204 # Run this file to recreate the current configuration.
53205 # Compiler output produced by configure, useful for debugging
53206 # configure, is in config.log if it exists.
53207
53208 debug=false
53209 ac_cs_recheck=false
53210 ac_cs_silent=false
53211 SHELL=\${CONFIG_SHELL-$SHELL}
53212 _ACEOF
53213
53214 cat >>$CONFIG_STATUS <<\_ACEOF
53215 ## --------------------- ##
53216 ## M4sh Initialization. ##
53217 ## --------------------- ##
53218
53219 # Be more Bourne compatible
53220 DUALCASE=1; export DUALCASE # for MKS sh
53221 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53222 emulate sh
53223 NULLCMD=:
53224 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53225 # is contrary to our usage. Disable this feature.
53226 alias -g '${1+"$@"}'='"$@"'
53227 setopt NO_GLOB_SUBST
53228 else
53229 case `(set -o) 2>/dev/null` in
53230 *posix*) set -o posix ;;
53231 esac
53232
53233 fi
53234
53235
53236
53237
53238 # PATH needs CR
53239 # Avoid depending upon Character Ranges.
53240 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53241 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53242 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53243 as_cr_digits='0123456789'
53244 as_cr_alnum=$as_cr_Letters$as_cr_digits
53245
53246 # The user is always right.
53247 if test "${PATH_SEPARATOR+set}" != set; then
53248 echo "#! /bin/sh" >conf$$.sh
53249 echo "exit 0" >>conf$$.sh
53250 chmod +x conf$$.sh
53251 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53252 PATH_SEPARATOR=';'
53253 else
53254 PATH_SEPARATOR=:
53255 fi
53256 rm -f conf$$.sh
53257 fi
53258
53259 # Support unset when possible.
53260 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53261 as_unset=unset
53262 else
53263 as_unset=false
53264 fi
53265
53266
53267 # IFS
53268 # We need space, tab and new line, in precisely that order. Quoting is
53269 # there to prevent editors from complaining about space-tab.
53270 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53271 # splitting by setting IFS to empty value.)
53272 as_nl='
53273 '
53274 IFS=" "" $as_nl"
53275
53276 # Find who we are. Look in the path if we contain no directory separator.
53277 case $0 in
53278 *[\\/]* ) as_myself=$0 ;;
53279 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53280 for as_dir in $PATH
53281 do
53282 IFS=$as_save_IFS
53283 test -z "$as_dir" && as_dir=.
53284 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53285 done
53286 IFS=$as_save_IFS
53287
53288 ;;
53289 esac
53290 # We did not find ourselves, most probably we were run as `sh COMMAND'
53291 # in which case we are not to be found in the path.
53292 if test "x$as_myself" = x; then
53293 as_myself=$0
53294 fi
53295 if test ! -f "$as_myself"; then
53296 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53297 { (exit 1); exit 1; }
53298 fi
53299
53300 # Work around bugs in pre-3.0 UWIN ksh.
53301 for as_var in ENV MAIL MAILPATH
53302 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53303 done
53304 PS1='$ '
53305 PS2='> '
53306 PS4='+ '
53307
53308 # NLS nuisances.
53309 for as_var in \
53310 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53311 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53312 LC_TELEPHONE LC_TIME
53313 do
53314 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53315 eval $as_var=C; export $as_var
53316 else
53317 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53318 fi
53319 done
53320
53321 # Required to use basename.
53322 if expr a : '\(a\)' >/dev/null 2>&1 &&
53323 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53324 as_expr=expr
53325 else
53326 as_expr=false
53327 fi
53328
53329 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53330 as_basename=basename
53331 else
53332 as_basename=false
53333 fi
53334
53335
53336 # Name of the executable.
53337 as_me=`$as_basename -- "$0" ||
53338 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53339 X"$0" : 'X\(//\)$' \| \
53340 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53341 echo X/"$0" |
53342 sed '/^.*\/\([^/][^/]*\)\/*$/{
53343 s//\1/
53344 q
53345 }
53346 /^X\/\(\/\/\)$/{
53347 s//\1/
53348 q
53349 }
53350 /^X\/\(\/\).*/{
53351 s//\1/
53352 q
53353 }
53354 s/.*/./; q'`
53355
53356 # CDPATH.
53357 $as_unset CDPATH
53358
53359
53360
53361 as_lineno_1=$LINENO
53362 as_lineno_2=$LINENO
53363 test "x$as_lineno_1" != "x$as_lineno_2" &&
53364 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53365
53366 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53367 # uniformly replaced by the line number. The first 'sed' inserts a
53368 # line-number line after each line using $LINENO; the second 'sed'
53369 # does the real work. The second script uses 'N' to pair each
53370 # line-number line with the line containing $LINENO, and appends
53371 # trailing '-' during substitution so that $LINENO is not a special
53372 # case at line end.
53373 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53374 # scripts with optimization help from Paolo Bonzini. Blame Lee
53375 # E. McMahon (1931-1989) for sed's syntax. :-)
53376 sed -n '
53377 p
53378 /[$]LINENO/=
53379 ' <$as_myself |
53380 sed '
53381 s/[$]LINENO.*/&-/
53382 t lineno
53383 b
53384 :lineno
53385 N
53386 :loop
53387 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53388 t loop
53389 s/-\n.*//
53390 ' >$as_me.lineno &&
53391 chmod +x "$as_me.lineno" ||
53392 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53393 { (exit 1); exit 1; }; }
53394
53395 # Don't try to exec as it changes $[0], causing all sort of problems
53396 # (the dirname of $[0] is not the place where we might find the
53397 # original and so on. Autoconf is especially sensitive to this).
53398 . "./$as_me.lineno"
53399 # Exit status is that of the last command.
53400 exit
53401 }
53402
53403
53404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53405 as_dirname=dirname
53406 else
53407 as_dirname=false
53408 fi
53409
53410 ECHO_C= ECHO_N= ECHO_T=
53411 case `echo -n x` in
53412 -n*)
53413 case `echo 'x\c'` in
53414 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53415 *) ECHO_C='\c';;
53416 esac;;
53417 *)
53418 ECHO_N='-n';;
53419 esac
53420
53421 if expr a : '\(a\)' >/dev/null 2>&1 &&
53422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53423 as_expr=expr
53424 else
53425 as_expr=false
53426 fi
53427
53428 rm -f conf$$ conf$$.exe conf$$.file
53429 if test -d conf$$.dir; then
53430 rm -f conf$$.dir/conf$$.file
53431 else
53432 rm -f conf$$.dir
53433 mkdir conf$$.dir
53434 fi
53435 echo >conf$$.file
53436 if ln -s conf$$.file conf$$ 2>/dev/null; then
53437 as_ln_s='ln -s'
53438 # ... but there are two gotchas:
53439 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53440 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53441 # In both cases, we have to default to `cp -p'.
53442 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53443 as_ln_s='cp -p'
53444 elif ln conf$$.file conf$$ 2>/dev/null; then
53445 as_ln_s=ln
53446 else
53447 as_ln_s='cp -p'
53448 fi
53449 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53450 rmdir conf$$.dir 2>/dev/null
53451
53452 if mkdir -p . 2>/dev/null; then
53453 as_mkdir_p=:
53454 else
53455 test -d ./-p && rmdir ./-p
53456 as_mkdir_p=false
53457 fi
53458
53459 if test -x / >/dev/null 2>&1; then
53460 as_test_x='test -x'
53461 else
53462 if ls -dL / >/dev/null 2>&1; then
53463 as_ls_L_option=L
53464 else
53465 as_ls_L_option=
53466 fi
53467 as_test_x='
53468 eval sh -c '\''
53469 if test -d "$1"; then
53470 test -d "$1/.";
53471 else
53472 case $1 in
53473 -*)set "./$1";;
53474 esac;
53475 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53476 ???[sx]*):;;*)false;;esac;fi
53477 '\'' sh
53478 '
53479 fi
53480 as_executable_p=$as_test_x
53481
53482 # Sed expression to map a string onto a valid CPP name.
53483 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53484
53485 # Sed expression to map a string onto a valid variable name.
53486 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53487
53488
53489 exec 6>&1
53490
53491 # Save the log message, to keep $[0] and so on meaningful, and to
53492 # report actual input values of CONFIG_FILES etc. instead of their
53493 # values after options handling.
53494 ac_log="
53495 This file was extended by wxWidgets $as_me 2.9.3, which was
53496 generated by GNU Autoconf 2.61. Invocation command line was
53497
53498 CONFIG_FILES = $CONFIG_FILES
53499 CONFIG_HEADERS = $CONFIG_HEADERS
53500 CONFIG_LINKS = $CONFIG_LINKS
53501 CONFIG_COMMANDS = $CONFIG_COMMANDS
53502 $ $0 $@
53503
53504 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53505 "
53506
53507 _ACEOF
53508
53509 cat >>$CONFIG_STATUS <<_ACEOF
53510 # Files that config.status was made for.
53511 config_files="$ac_config_files"
53512 config_headers="$ac_config_headers"
53513 config_commands="$ac_config_commands"
53514
53515 _ACEOF
53516
53517 cat >>$CONFIG_STATUS <<\_ACEOF
53518 ac_cs_usage="\
53519 \`$as_me' instantiates files from templates according to the
53520 current configuration.
53521
53522 Usage: $0 [OPTIONS] [FILE]...
53523
53524 -h, --help print this help, then exit
53525 -V, --version print version number and configuration settings, then exit
53526 -q, --quiet do not print progress messages
53527 -d, --debug don't remove temporary files
53528 --recheck update $as_me by reconfiguring in the same conditions
53529 --file=FILE[:TEMPLATE]
53530 instantiate the configuration file FILE
53531 --header=FILE[:TEMPLATE]
53532 instantiate the configuration header FILE
53533
53534 Configuration files:
53535 $config_files
53536
53537 Configuration headers:
53538 $config_headers
53539
53540 Configuration commands:
53541 $config_commands
53542
53543 Report bugs to <bug-autoconf@gnu.org>."
53544
53545 _ACEOF
53546 cat >>$CONFIG_STATUS <<_ACEOF
53547 ac_cs_version="\\
53548 wxWidgets config.status 2.9.3
53549 configured by $0, generated by GNU Autoconf 2.61,
53550 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53551
53552 Copyright (C) 2006 Free Software Foundation, Inc.
53553 This config.status script is free software; the Free Software Foundation
53554 gives unlimited permission to copy, distribute and modify it."
53555
53556 ac_pwd='$ac_pwd'
53557 srcdir='$srcdir'
53558 INSTALL='$INSTALL'
53559 _ACEOF
53560
53561 cat >>$CONFIG_STATUS <<\_ACEOF
53562 # If no file are specified by the user, then we need to provide default
53563 # value. By we need to know if files were specified by the user.
53564 ac_need_defaults=:
53565 while test $# != 0
53566 do
53567 case $1 in
53568 --*=*)
53569 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53570 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53571 ac_shift=:
53572 ;;
53573 *)
53574 ac_option=$1
53575 ac_optarg=$2
53576 ac_shift=shift
53577 ;;
53578 esac
53579
53580 case $ac_option in
53581 # Handling of the options.
53582 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53583 ac_cs_recheck=: ;;
53584 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53585 echo "$ac_cs_version"; exit ;;
53586 --debug | --debu | --deb | --de | --d | -d )
53587 debug=: ;;
53588 --file | --fil | --fi | --f )
53589 $ac_shift
53590 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53591 ac_need_defaults=false;;
53592 --header | --heade | --head | --hea )
53593 $ac_shift
53594 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53595 ac_need_defaults=false;;
53596 --he | --h)
53597 # Conflict between --help and --header
53598 { echo "$as_me: error: ambiguous option: $1
53599 Try \`$0 --help' for more information." >&2
53600 { (exit 1); exit 1; }; };;
53601 --help | --hel | -h )
53602 echo "$ac_cs_usage"; exit ;;
53603 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53604 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53605 ac_cs_silent=: ;;
53606
53607 # This is an error.
53608 -*) { echo "$as_me: error: unrecognized option: $1
53609 Try \`$0 --help' for more information." >&2
53610 { (exit 1); exit 1; }; } ;;
53611
53612 *) ac_config_targets="$ac_config_targets $1"
53613 ac_need_defaults=false ;;
53614
53615 esac
53616 shift
53617 done
53618
53619 ac_configure_extra_args=
53620
53621 if $ac_cs_silent; then
53622 exec 6>/dev/null
53623 ac_configure_extra_args="$ac_configure_extra_args --silent"
53624 fi
53625
53626 _ACEOF
53627 cat >>$CONFIG_STATUS <<_ACEOF
53628 if \$ac_cs_recheck; then
53629 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53630 CONFIG_SHELL=$SHELL
53631 export CONFIG_SHELL
53632 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53633 fi
53634
53635 _ACEOF
53636 cat >>$CONFIG_STATUS <<\_ACEOF
53637 exec 5>>config.log
53638 {
53639 echo
53640 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53641 ## Running $as_me. ##
53642 _ASBOX
53643 echo "$ac_log"
53644 } >&5
53645
53646 _ACEOF
53647 cat >>$CONFIG_STATUS <<_ACEOF
53648 #
53649 # INIT-COMMANDS
53650 #
53651
53652 CPP="$CPP"
53653 infile="$srcdir/include/wx/msw/genrcdefs.h"
53654 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53655
53656
53657 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53658 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53659 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53660 LN_S="${LN_S}"
53661
53662
53663 _ACEOF
53664
53665 cat >>$CONFIG_STATUS <<\_ACEOF
53666
53667 # Handling of arguments.
53668 for ac_config_target in $ac_config_targets
53669 do
53670 case $ac_config_target in
53671 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53672 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53673 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53674 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53675 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53676 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53677 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53678 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53679 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53680
53681 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53682 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53683 { (exit 1); exit 1; }; };;
53684 esac
53685 done
53686
53687
53688 # If the user did not use the arguments to specify the items to instantiate,
53689 # then the envvar interface is used. Set only those that are not.
53690 # We use the long form for the default assignment because of an extremely
53691 # bizarre bug on SunOS 4.1.3.
53692 if $ac_need_defaults; then
53693 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53694 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53695 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53696 fi
53697
53698 # Have a temporary directory for convenience. Make it in the build tree
53699 # simply because there is no reason against having it here, and in addition,
53700 # creating and moving files from /tmp can sometimes cause problems.
53701 # Hook for its removal unless debugging.
53702 # Note that there is a small window in which the directory will not be cleaned:
53703 # after its creation but before its name has been assigned to `$tmp'.
53704 $debug ||
53705 {
53706 tmp=
53707 trap 'exit_status=$?
53708 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53709 ' 0
53710 trap '{ (exit 1); exit 1; }' 1 2 13 15
53711 }
53712 # Create a (secure) tmp directory for tmp files.
53713
53714 {
53715 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53716 test -n "$tmp" && test -d "$tmp"
53717 } ||
53718 {
53719 tmp=./conf$$-$RANDOM
53720 (umask 077 && mkdir "$tmp")
53721 } ||
53722 {
53723 echo "$me: cannot create a temporary directory in ." >&2
53724 { (exit 1); exit 1; }
53725 }
53726
53727 #
53728 # Set up the sed scripts for CONFIG_FILES section.
53729 #
53730
53731 # No need to generate the scripts if there are no CONFIG_FILES.
53732 # This happens for instance when ./config.status config.h
53733 if test -n "$CONFIG_FILES"; then
53734
53735 _ACEOF
53736
53737
53738
53739 ac_delim='%!_!# '
53740 for ac_last_try in false false false false false :; do
53741 cat >conf$$subs.sed <<_ACEOF
53742 SHELL!$SHELL$ac_delim
53743 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53744 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53745 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53746 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53747 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53748 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53749 exec_prefix!$exec_prefix$ac_delim
53750 prefix!$prefix$ac_delim
53751 program_transform_name!$program_transform_name$ac_delim
53752 bindir!$bindir$ac_delim
53753 sbindir!$sbindir$ac_delim
53754 libexecdir!$libexecdir$ac_delim
53755 datarootdir!$datarootdir$ac_delim
53756 datadir!$datadir$ac_delim
53757 sysconfdir!$sysconfdir$ac_delim
53758 sharedstatedir!$sharedstatedir$ac_delim
53759 localstatedir!$localstatedir$ac_delim
53760 includedir!$includedir$ac_delim
53761 oldincludedir!$oldincludedir$ac_delim
53762 docdir!$docdir$ac_delim
53763 infodir!$infodir$ac_delim
53764 htmldir!$htmldir$ac_delim
53765 dvidir!$dvidir$ac_delim
53766 pdfdir!$pdfdir$ac_delim
53767 psdir!$psdir$ac_delim
53768 libdir!$libdir$ac_delim
53769 localedir!$localedir$ac_delim
53770 mandir!$mandir$ac_delim
53771 DEFS!$DEFS$ac_delim
53772 ECHO_C!$ECHO_C$ac_delim
53773 ECHO_N!$ECHO_N$ac_delim
53774 ECHO_T!$ECHO_T$ac_delim
53775 LIBS!$LIBS$ac_delim
53776 build_alias!$build_alias$ac_delim
53777 host_alias!$host_alias$ac_delim
53778 target_alias!$target_alias$ac_delim
53779 build!$build$ac_delim
53780 build_cpu!$build_cpu$ac_delim
53781 build_vendor!$build_vendor$ac_delim
53782 build_os!$build_os$ac_delim
53783 host!$host$ac_delim
53784 host_cpu!$host_cpu$ac_delim
53785 host_vendor!$host_vendor$ac_delim
53786 host_os!$host_os$ac_delim
53787 wx_top_builddir!$wx_top_builddir$ac_delim
53788 CC!$CC$ac_delim
53789 CFLAGS!$CFLAGS$ac_delim
53790 LDFLAGS!$LDFLAGS$ac_delim
53791 CPPFLAGS!$CPPFLAGS$ac_delim
53792 ac_ct_CC!$ac_ct_CC$ac_delim
53793 EXEEXT!$EXEEXT$ac_delim
53794 OBJEXT!$OBJEXT$ac_delim
53795 CPP!$CPP$ac_delim
53796 GREP!$GREP$ac_delim
53797 EGREP!$EGREP$ac_delim
53798 CXX!$CXX$ac_delim
53799 CXXFLAGS!$CXXFLAGS$ac_delim
53800 ac_ct_CXX!$ac_ct_CXX$ac_delim
53801 AR!$AR$ac_delim
53802 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53803 CXXCPP!$CXXCPP$ac_delim
53804 subdirs!$subdirs$ac_delim
53805 PKG_CONFIG!$PKG_CONFIG$ac_delim
53806 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53807 GTK_LIBS!$GTK_LIBS$ac_delim
53808 GTK_CONFIG!$GTK_CONFIG$ac_delim
53809 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53810 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53811 XMKMF!$XMKMF$ac_delim
53812 X_CFLAGS!$X_CFLAGS$ac_delim
53813 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53814 X_LIBS!$X_LIBS$ac_delim
53815 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53816 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53817 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53818 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53819 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53820 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53821 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53822 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53823 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53824 LIBICONV!$LIBICONV$ac_delim
53825 GXX_VERSION!$GXX_VERSION$ac_delim
53826 SDL_CONFIG!$SDL_CONFIG$ac_delim
53827 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53828 SDL_LIBS!$SDL_LIBS$ac_delim
53829 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53830 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53831 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53832 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53833 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53834 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53835 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53836 HILDON_LIBS!$HILDON_LIBS$ac_delim
53837 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53838 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53839 _ACEOF
53840
53841 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53842 break
53843 elif $ac_last_try; then
53844 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53845 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53846 { (exit 1); exit 1; }; }
53847 else
53848 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53849 fi
53850 done
53851
53852 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53853 if test -n "$ac_eof"; then
53854 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53855 ac_eof=`expr $ac_eof + 1`
53856 fi
53857
53858 cat >>$CONFIG_STATUS <<_ACEOF
53859 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53861 _ACEOF
53862 sed '
53863 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53864 s/^/s,@/; s/!/@,|#_!!_#|/
53865 :n
53866 t n
53867 s/'"$ac_delim"'$/,g/; t
53868 s/$/\\/; p
53869 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53870 ' >>$CONFIG_STATUS <conf$$subs.sed
53871 rm -f conf$$subs.sed
53872 cat >>$CONFIG_STATUS <<_ACEOF
53873 CEOF$ac_eof
53874 _ACEOF
53875
53876
53877 ac_delim='%!_!# '
53878 for ac_last_try in false false false false false :; do
53879 cat >conf$$subs.sed <<_ACEOF
53880 PYTHON!$PYTHON$ac_delim
53881 COND_PYTHON!$COND_PYTHON$ac_delim
53882 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53883 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53884 GST_CFLAGS!$GST_CFLAGS$ac_delim
53885 GST_LIBS!$GST_LIBS$ac_delim
53886 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53887 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53888 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53889 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53890 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53891 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53892 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53893 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53894 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53895 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53896 VENDOR!$VENDOR$ac_delim
53897 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53898 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53899 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53900 WXUNIV!$WXUNIV$ac_delim
53901 MONOLITHIC!$MONOLITHIC$ac_delim
53902 USE_PLUGINS!$USE_PLUGINS$ac_delim
53903 CXXWARNINGS!$CXXWARNINGS$ac_delim
53904 EXTRALIBS!$EXTRALIBS$ac_delim
53905 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53906 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53907 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53908 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53909 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53910 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53911 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53912 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53913 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53914 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53915 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53916 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53917 UNICODE!$UNICODE$ac_delim
53918 DEBUG_INFO!$DEBUG_INFO$ac_delim
53919 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53920 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53921 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53922 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53923 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53924 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53925 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53926 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53927 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53928 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53929 RANLIB!$RANLIB$ac_delim
53930 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53931 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53932 INSTALL_DATA!$INSTALL_DATA$ac_delim
53933 LN_S!$LN_S$ac_delim
53934 SET_MAKE!$SET_MAKE$ac_delim
53935 MAKE_SET!$MAKE_SET$ac_delim
53936 AROPTIONS!$AROPTIONS$ac_delim
53937 STRIP!$STRIP$ac_delim
53938 NM!$NM$ac_delim
53939 INSTALL_DIR!$INSTALL_DIR$ac_delim
53940 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53941 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53942 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53943 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53944 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53945 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53946 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53947 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53948 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53949 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53950 SO_SUFFIX!$SO_SUFFIX$ac_delim
53951 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53952 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53953 LIBPREFIX!$LIBPREFIX$ac_delim
53954 LIBEXT!$LIBEXT$ac_delim
53955 DLLPREFIX!$DLLPREFIX$ac_delim
53956 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53957 dlldir!$dlldir$ac_delim
53958 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53959 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53960 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53961 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53962 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53963 PIC_FLAG!$PIC_FLAG$ac_delim
53964 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53965 USE_SOVERSION!$USE_SOVERSION$ac_delim
53966 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53967 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53968 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53969 USE_MACVERSION!$USE_MACVERSION$ac_delim
53970 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53971 SONAME_FLAG!$SONAME_FLAG$ac_delim
53972 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53973 BK_DEPS!$BK_DEPS$ac_delim
53974 WINDRES!$WINDRES$ac_delim
53975 REZ!$REZ$ac_delim
53976 SETFILE!$SETFILE$ac_delim
53977 _ACEOF
53978
53979 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53980 break
53981 elif $ac_last_try; then
53982 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53983 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53984 { (exit 1); exit 1; }; }
53985 else
53986 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53987 fi
53988 done
53989
53990 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53991 if test -n "$ac_eof"; then
53992 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53993 ac_eof=`expr $ac_eof + 1`
53994 fi
53995
53996 cat >>$CONFIG_STATUS <<_ACEOF
53997 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53998 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53999 _ACEOF
54000 sed '
54001 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54002 s/^/s,@/; s/!/@,|#_!!_#|/
54003 :n
54004 t n
54005 s/'"$ac_delim"'$/,g/; t
54006 s/$/\\/; p
54007 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54008 ' >>$CONFIG_STATUS <conf$$subs.sed
54009 rm -f conf$$subs.sed
54010 cat >>$CONFIG_STATUS <<_ACEOF
54011 CEOF$ac_eof
54012 _ACEOF
54013
54014
54015 ac_delim='%!_!# '
54016 for ac_last_try in false false false false false :; do
54017 cat >conf$$subs.sed <<_ACEOF
54018 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54019 GCC_PCH!$GCC_PCH$ac_delim
54020 ICC_PCH!$ICC_PCH$ac_delim
54021 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54022 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54023 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54024 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54025 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54026 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54027 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54028 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54029 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54030 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54031 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54032 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54033 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54034 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54035 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54036 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54037 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54038 COND_BUILD_release!$COND_BUILD_release$ac_delim
54039 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54040 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54041 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54042 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54043 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54044 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54045 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54046 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54047 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54048 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54049 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54050 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54051 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54052 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54054 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54055 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54057 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54058 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54059 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54060 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54061 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54062 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54063 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54064 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54066 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54068 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54069 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54070 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54071 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54072 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54073 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54074 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54075 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54076 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54077 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54078 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54079 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54080 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54081 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54082 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54083 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54084 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54085 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54086 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54087 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54088 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54089 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54090 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54091 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54092 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54093 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54094 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54095 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
54096 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54097 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
54098 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54099 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54100 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54101 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54102 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54103 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54104 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54105 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54106 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54107 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54108 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54109 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54110 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54111 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54112 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54113 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54114 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54115 _ACEOF
54116
54117 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54118 break
54119 elif $ac_last_try; then
54120 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54121 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54122 { (exit 1); exit 1; }; }
54123 else
54124 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54125 fi
54126 done
54127
54128 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54129 if test -n "$ac_eof"; then
54130 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54131 ac_eof=`expr $ac_eof + 1`
54132 fi
54133
54134 cat >>$CONFIG_STATUS <<_ACEOF
54135 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54136 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54137 _ACEOF
54138 sed '
54139 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54140 s/^/s,@/; s/!/@,|#_!!_#|/
54141 :n
54142 t n
54143 s/'"$ac_delim"'$/,g/; t
54144 s/$/\\/; p
54145 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54146 ' >>$CONFIG_STATUS <conf$$subs.sed
54147 rm -f conf$$subs.sed
54148 cat >>$CONFIG_STATUS <<_ACEOF
54149 CEOF$ac_eof
54150 _ACEOF
54151
54152
54153 ac_delim='%!_!# '
54154 for ac_last_try in false false false false false :; do
54155 cat >conf$$subs.sed <<_ACEOF
54156 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54157 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54158 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54159 COND_SHARED_0!$COND_SHARED_0$ac_delim
54160 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54161 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54162 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54163 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54164 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54165 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54166 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54167 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54168 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54169 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54170 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54171 COND_SHARED_1!$COND_SHARED_1$ac_delim
54172 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54173 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54174 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54175 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54176 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54177 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54178 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54179 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54180 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54181 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54182 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54183 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54184 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54185 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54186 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54187 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54188 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54189 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54190 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54191 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54192 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54193 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54194 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54195 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54196 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54197 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54198 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54199 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54200 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54201 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54202 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54203 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54204 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54205 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54206 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54207 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54208 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54209 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54210 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54211 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54212 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54213 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54214 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54215 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54216 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54217 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54218 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54219 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54220 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54221 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54222 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54223 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54224 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54225 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54226 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54227 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54228 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54229 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54230 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54231 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54232 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54233 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54234 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54235 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54236 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54237 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54238 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54239 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54240 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54241 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54242 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54243 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54244 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54245 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54246 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54247 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54248 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54249 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54250 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54251 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54252 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54253 _ACEOF
54254
54255 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54256 break
54257 elif $ac_last_try; then
54258 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54259 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54260 { (exit 1); exit 1; }; }
54261 else
54262 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54263 fi
54264 done
54265
54266 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54267 if test -n "$ac_eof"; then
54268 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54269 ac_eof=`expr $ac_eof + 1`
54270 fi
54271
54272 cat >>$CONFIG_STATUS <<_ACEOF
54273 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54274 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54275 _ACEOF
54276 sed '
54277 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54278 s/^/s,@/; s/!/@,|#_!!_#|/
54279 :n
54280 t n
54281 s/'"$ac_delim"'$/,g/; t
54282 s/$/\\/; p
54283 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54284 ' >>$CONFIG_STATUS <conf$$subs.sed
54285 rm -f conf$$subs.sed
54286 cat >>$CONFIG_STATUS <<_ACEOF
54287 CEOF$ac_eof
54288 _ACEOF
54289
54290
54291 ac_delim='%!_!# '
54292 for ac_last_try in false false false false false :; do
54293 cat >conf$$subs.sed <<_ACEOF
54294 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54295 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54296 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54297 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54298 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54299 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54300 DEREZ!$DEREZ$ac_delim
54301 SHARED!$SHARED$ac_delim
54302 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54303 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54304 USE_GUI!$USE_GUI$ac_delim
54305 AFMINSTALL!$AFMINSTALL$ac_delim
54306 WIN32INSTALL!$WIN32INSTALL$ac_delim
54307 TOOLKIT!$TOOLKIT$ac_delim
54308 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54309 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54310 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54311 cross_compiling!$cross_compiling$ac_delim
54312 WIDGET_SET!$WIDGET_SET$ac_delim
54313 WX_RELEASE!$WX_RELEASE$ac_delim
54314 WX_VERSION!$WX_VERSION$ac_delim
54315 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54316 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54317 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54318 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54319 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54320 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54321 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54322 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54323 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54324 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54325 GUIDIST!$GUIDIST$ac_delim
54326 DISTDIR!$DISTDIR$ac_delim
54327 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54328 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54329 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54330 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54331 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54332 RESCOMP!$RESCOMP$ac_delim
54333 RESFLAGS!$RESFLAGS$ac_delim
54334 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54335 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54336 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54337 LIBWXMACRES!$LIBWXMACRES$ac_delim
54338 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54339 MACSETFILE!$MACSETFILE$ac_delim
54340 GCC!$GCC$ac_delim
54341 DLLTOOL!$DLLTOOL$ac_delim
54342 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54343 LIBOBJS!$LIBOBJS$ac_delim
54344 LTLIBOBJS!$LTLIBOBJS$ac_delim
54345 _ACEOF
54346
54347 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54348 break
54349 elif $ac_last_try; then
54350 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54351 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54352 { (exit 1); exit 1; }; }
54353 else
54354 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54355 fi
54356 done
54357
54358 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54359 if test -n "$ac_eof"; then
54360 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54361 ac_eof=`expr $ac_eof + 1`
54362 fi
54363
54364 cat >>$CONFIG_STATUS <<_ACEOF
54365 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54366 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54367 _ACEOF
54368 sed '
54369 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54370 s/^/s,@/; s/!/@,|#_!!_#|/
54371 :n
54372 t n
54373 s/'"$ac_delim"'$/,g/; t
54374 s/$/\\/; p
54375 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54376 ' >>$CONFIG_STATUS <conf$$subs.sed
54377 rm -f conf$$subs.sed
54378 cat >>$CONFIG_STATUS <<_ACEOF
54379 :end
54380 s/|#_!!_#|//g
54381 CEOF$ac_eof
54382 _ACEOF
54383
54384
54385 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54386 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54387 # trailing colons and then remove the whole line if VPATH becomes empty
54388 # (actually we leave an empty line to preserve line numbers).
54389 if test "x$srcdir" = x.; then
54390 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54391 s/:*\$(srcdir):*/:/
54392 s/:*\${srcdir}:*/:/
54393 s/:*@srcdir@:*/:/
54394 s/^\([^=]*=[ ]*\):*/\1/
54395 s/:*$//
54396 s/^[^=]*=[ ]*$//
54397 }'
54398 fi
54399
54400 cat >>$CONFIG_STATUS <<\_ACEOF
54401 fi # test -n "$CONFIG_FILES"
54402
54403
54404 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54405 do
54406 case $ac_tag in
54407 :[FHLC]) ac_mode=$ac_tag; continue;;
54408 esac
54409 case $ac_mode$ac_tag in
54410 :[FHL]*:*);;
54411 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54412 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54413 { (exit 1); exit 1; }; };;
54414 :[FH]-) ac_tag=-:-;;
54415 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54416 esac
54417 ac_save_IFS=$IFS
54418 IFS=:
54419 set x $ac_tag
54420 IFS=$ac_save_IFS
54421 shift
54422 ac_file=$1
54423 shift
54424
54425 case $ac_mode in
54426 :L) ac_source=$1;;
54427 :[FH])
54428 ac_file_inputs=
54429 for ac_f
54430 do
54431 case $ac_f in
54432 -) ac_f="$tmp/stdin";;
54433 *) # Look for the file first in the build tree, then in the source tree
54434 # (if the path is not absolute). The absolute path cannot be DOS-style,
54435 # because $ac_f cannot contain `:'.
54436 test -f "$ac_f" ||
54437 case $ac_f in
54438 [\\/$]*) false;;
54439 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54440 esac ||
54441 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54442 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54443 { (exit 1); exit 1; }; };;
54444 esac
54445 ac_file_inputs="$ac_file_inputs $ac_f"
54446 done
54447
54448 # Let's still pretend it is `configure' which instantiates (i.e., don't
54449 # use $as_me), people would be surprised to read:
54450 # /* config.h. Generated by config.status. */
54451 configure_input="Generated from "`IFS=:
54452 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54453 if test x"$ac_file" != x-; then
54454 configure_input="$ac_file. $configure_input"
54455 { echo "$as_me:$LINENO: creating $ac_file" >&5
54456 echo "$as_me: creating $ac_file" >&6;}
54457 fi
54458
54459 case $ac_tag in
54460 *:-:* | *:-) cat >"$tmp/stdin";;
54461 esac
54462 ;;
54463 esac
54464
54465 ac_dir=`$as_dirname -- "$ac_file" ||
54466 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54467 X"$ac_file" : 'X\(//\)[^/]' \| \
54468 X"$ac_file" : 'X\(//\)$' \| \
54469 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54470 echo X"$ac_file" |
54471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54472 s//\1/
54473 q
54474 }
54475 /^X\(\/\/\)[^/].*/{
54476 s//\1/
54477 q
54478 }
54479 /^X\(\/\/\)$/{
54480 s//\1/
54481 q
54482 }
54483 /^X\(\/\).*/{
54484 s//\1/
54485 q
54486 }
54487 s/.*/./; q'`
54488 { as_dir="$ac_dir"
54489 case $as_dir in #(
54490 -*) as_dir=./$as_dir;;
54491 esac
54492 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54493 as_dirs=
54494 while :; do
54495 case $as_dir in #(
54496 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54497 *) as_qdir=$as_dir;;
54498 esac
54499 as_dirs="'$as_qdir' $as_dirs"
54500 as_dir=`$as_dirname -- "$as_dir" ||
54501 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54502 X"$as_dir" : 'X\(//\)[^/]' \| \
54503 X"$as_dir" : 'X\(//\)$' \| \
54504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54505 echo X"$as_dir" |
54506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54507 s//\1/
54508 q
54509 }
54510 /^X\(\/\/\)[^/].*/{
54511 s//\1/
54512 q
54513 }
54514 /^X\(\/\/\)$/{
54515 s//\1/
54516 q
54517 }
54518 /^X\(\/\).*/{
54519 s//\1/
54520 q
54521 }
54522 s/.*/./; q'`
54523 test -d "$as_dir" && break
54524 done
54525 test -z "$as_dirs" || eval "mkdir $as_dirs"
54526 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54527 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54528 { (exit 1); exit 1; }; }; }
54529 ac_builddir=.
54530
54531 case "$ac_dir" in
54532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54533 *)
54534 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54535 # A ".." for each directory in $ac_dir_suffix.
54536 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54537 case $ac_top_builddir_sub in
54538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54540 esac ;;
54541 esac
54542 ac_abs_top_builddir=$ac_pwd
54543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54544 # for backward compatibility:
54545 ac_top_builddir=$ac_top_build_prefix
54546
54547 case $srcdir in
54548 .) # We are building in place.
54549 ac_srcdir=.
54550 ac_top_srcdir=$ac_top_builddir_sub
54551 ac_abs_top_srcdir=$ac_pwd ;;
54552 [\\/]* | ?:[\\/]* ) # Absolute name.
54553 ac_srcdir=$srcdir$ac_dir_suffix;
54554 ac_top_srcdir=$srcdir
54555 ac_abs_top_srcdir=$srcdir ;;
54556 *) # Relative name.
54557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54558 ac_top_srcdir=$ac_top_build_prefix$srcdir
54559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54560 esac
54561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54562
54563
54564 case $ac_mode in
54565 :F)
54566 #
54567 # CONFIG_FILE
54568 #
54569
54570 case $INSTALL in
54571 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54572 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54573 esac
54574 _ACEOF
54575
54576 cat >>$CONFIG_STATUS <<\_ACEOF
54577 # If the template does not know about datarootdir, expand it.
54578 # FIXME: This hack should be removed a few years after 2.60.
54579 ac_datarootdir_hack=; ac_datarootdir_seen=
54580
54581 case `sed -n '/datarootdir/ {
54582 p
54583 q
54584 }
54585 /@datadir@/p
54586 /@docdir@/p
54587 /@infodir@/p
54588 /@localedir@/p
54589 /@mandir@/p
54590 ' $ac_file_inputs` in
54591 *datarootdir*) ac_datarootdir_seen=yes;;
54592 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54593 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54594 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54595 _ACEOF
54596 cat >>$CONFIG_STATUS <<_ACEOF
54597 ac_datarootdir_hack='
54598 s&@datadir@&$datadir&g
54599 s&@docdir@&$docdir&g
54600 s&@infodir@&$infodir&g
54601 s&@localedir@&$localedir&g
54602 s&@mandir@&$mandir&g
54603 s&\\\${datarootdir}&$datarootdir&g' ;;
54604 esac
54605 _ACEOF
54606
54607 # Neutralize VPATH when `$srcdir' = `.'.
54608 # Shell code in configure.ac might set extrasub.
54609 # FIXME: do we really want to maintain this feature?
54610 cat >>$CONFIG_STATUS <<_ACEOF
54611 sed "$ac_vpsub
54612 $extrasub
54613 _ACEOF
54614 cat >>$CONFIG_STATUS <<\_ACEOF
54615 :t
54616 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54617 s&@configure_input@&$configure_input&;t t
54618 s&@top_builddir@&$ac_top_builddir_sub&;t t
54619 s&@srcdir@&$ac_srcdir&;t t
54620 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54621 s&@top_srcdir@&$ac_top_srcdir&;t t
54622 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54623 s&@builddir@&$ac_builddir&;t t
54624 s&@abs_builddir@&$ac_abs_builddir&;t t
54625 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54626 s&@INSTALL@&$ac_INSTALL&;t t
54627 $ac_datarootdir_hack
54628 " $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
54629
54630 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54631 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54632 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54633 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54634 which seems to be undefined. Please make sure it is defined." >&5
54635 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54636 which seems to be undefined. Please make sure it is defined." >&2;}
54637
54638 rm -f "$tmp/stdin"
54639 case $ac_file in
54640 -) cat "$tmp/out"; rm -f "$tmp/out";;
54641 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54642 esac
54643 ;;
54644 :H)
54645 #
54646 # CONFIG_HEADER
54647 #
54648 _ACEOF
54649
54650 # Transform confdefs.h into a sed script `conftest.defines', that
54651 # substitutes the proper values into config.h.in to produce config.h.
54652 rm -f conftest.defines conftest.tail
54653 # First, append a space to every undef/define line, to ease matching.
54654 echo 's/$/ /' >conftest.defines
54655 # Then, protect against being on the right side of a sed subst, or in
54656 # an unquoted here document, in config.status. If some macros were
54657 # called several times there might be several #defines for the same
54658 # symbol, which is useless. But do not sort them, since the last
54659 # AC_DEFINE must be honored.
54660 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54661 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54662 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54663 # PARAMS is the parameter list in the macro definition--in most cases, it's
54664 # just an empty string.
54665 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54666 ac_dB='\\)[ (].*,\\1define\\2'
54667 ac_dC=' '
54668 ac_dD=' ,'
54669
54670 uniq confdefs.h |
54671 sed -n '
54672 t rset
54673 :rset
54674 s/^[ ]*#[ ]*define[ ][ ]*//
54675 t ok
54676 d
54677 :ok
54678 s/[\\&,]/\\&/g
54679 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54680 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54681 ' >>conftest.defines
54682
54683 # Remove the space that was appended to ease matching.
54684 # Then replace #undef with comments. This is necessary, for
54685 # example, in the case of _POSIX_SOURCE, which is predefined and required
54686 # on some systems where configure will not decide to define it.
54687 # (The regexp can be short, since the line contains either #define or #undef.)
54688 echo 's/ $//
54689 s,^[ #]*u.*,/* & */,' >>conftest.defines
54690
54691 # Break up conftest.defines:
54692 ac_max_sed_lines=50
54693
54694 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54695 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54696 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54697 # et cetera.
54698 ac_in='$ac_file_inputs'
54699 ac_out='"$tmp/out1"'
54700 ac_nxt='"$tmp/out2"'
54701
54702 while :
54703 do
54704 # Write a here document:
54705 cat >>$CONFIG_STATUS <<_ACEOF
54706 # First, check the format of the line:
54707 cat >"\$tmp/defines.sed" <<\\CEOF
54708 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54709 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54710 b
54711 :def
54712 _ACEOF
54713 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54714 echo 'CEOF
54715 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54716 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54717 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54718 grep . conftest.tail >/dev/null || break
54719 rm -f conftest.defines
54720 mv conftest.tail conftest.defines
54721 done
54722 rm -f conftest.defines conftest.tail
54723
54724 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54725 cat >>$CONFIG_STATUS <<\_ACEOF
54726 if test x"$ac_file" != x-; then
54727 echo "/* $configure_input */" >"$tmp/config.h"
54728 cat "$ac_result" >>"$tmp/config.h"
54729 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54730 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54731 echo "$as_me: $ac_file is unchanged" >&6;}
54732 else
54733 rm -f $ac_file
54734 mv "$tmp/config.h" $ac_file
54735 fi
54736 else
54737 echo "/* $configure_input */"
54738 cat "$ac_result"
54739 fi
54740 rm -f "$tmp/out12"
54741 ;;
54742
54743 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54744 echo "$as_me: executing $ac_file commands" >&6;}
54745 ;;
54746 esac
54747
54748
54749 case $ac_file$ac_mode in
54750 "rcdefs.h":C)
54751 mkdir -p $outdir &&
54752 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54753 ;;
54754 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54755 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54756 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54757 "wx-config":C) rm -f wx-config
54758 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54759 ;;
54760
54761 esac
54762 done # for ac_tag
54763
54764
54765 { (exit 0); exit 0; }
54766 _ACEOF
54767 chmod +x $CONFIG_STATUS
54768 ac_clean_files=$ac_clean_files_save
54769
54770
54771 # configure is writing to config.log, and then calls config.status.
54772 # config.status does its own redirection, appending to config.log.
54773 # Unfortunately, on DOS this fails, as config.log is still kept open
54774 # by configure, so config.status won't be able to write to it; its
54775 # output is simply discarded. So we exec the FD to /dev/null,
54776 # effectively closing config.log, so it can be properly (re)opened and
54777 # appended to by config.status. When coming back to configure, we
54778 # need to make the FD available again.
54779 if test "$no_create" != yes; then
54780 ac_cs_success=:
54781 ac_config_status_args=
54782 test "$silent" = yes &&
54783 ac_config_status_args="$ac_config_status_args --quiet"
54784 exec 5>/dev/null
54785 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54786 exec 5>>config.log
54787 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54788 # would make configure fail if this is the last instruction.
54789 $ac_cs_success || { (exit 1); exit 1; }
54790 fi
54791
54792 #
54793 # CONFIG_SUBDIRS section.
54794 #
54795 if test "$no_recursion" != yes; then
54796
54797 # Remove --cache-file and --srcdir arguments so they do not pile up.
54798 ac_sub_configure_args=
54799 ac_prev=
54800 eval "set x $ac_configure_args"
54801 shift
54802 for ac_arg
54803 do
54804 if test -n "$ac_prev"; then
54805 ac_prev=
54806 continue
54807 fi
54808 case $ac_arg in
54809 -cache-file | --cache-file | --cache-fil | --cache-fi \
54810 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54811 ac_prev=cache_file ;;
54812 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54813 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54814 | --c=*)
54815 ;;
54816 --config-cache | -C)
54817 ;;
54818 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54819 ac_prev=srcdir ;;
54820 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54821 ;;
54822 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54823 ac_prev=prefix ;;
54824 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54825 ;;
54826 *)
54827 case $ac_arg in
54828 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54829 esac
54830 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54831 esac
54832 done
54833
54834 # Always prepend --prefix to ensure using the same prefix
54835 # in subdir configurations.
54836 ac_arg="--prefix=$prefix"
54837 case $ac_arg in
54838 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54839 esac
54840 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54841
54842 # Pass --silent
54843 if test "$silent" = yes; then
54844 ac_sub_configure_args="--silent $ac_sub_configure_args"
54845 fi
54846
54847 ac_popdir=`pwd`
54848 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54849
54850 # Do not complain, so a configure script can configure whichever
54851 # parts of a large source tree are present.
54852 test -d "$srcdir/$ac_dir" || continue
54853
54854 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54855 echo "$as_me:$LINENO: $ac_msg" >&5
54856 echo "$ac_msg" >&6
54857 { as_dir="$ac_dir"
54858 case $as_dir in #(
54859 -*) as_dir=./$as_dir;;
54860 esac
54861 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54862 as_dirs=
54863 while :; do
54864 case $as_dir in #(
54865 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54866 *) as_qdir=$as_dir;;
54867 esac
54868 as_dirs="'$as_qdir' $as_dirs"
54869 as_dir=`$as_dirname -- "$as_dir" ||
54870 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54871 X"$as_dir" : 'X\(//\)[^/]' \| \
54872 X"$as_dir" : 'X\(//\)$' \| \
54873 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54874 echo X"$as_dir" |
54875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54876 s//\1/
54877 q
54878 }
54879 /^X\(\/\/\)[^/].*/{
54880 s//\1/
54881 q
54882 }
54883 /^X\(\/\/\)$/{
54884 s//\1/
54885 q
54886 }
54887 /^X\(\/\).*/{
54888 s//\1/
54889 q
54890 }
54891 s/.*/./; q'`
54892 test -d "$as_dir" && break
54893 done
54894 test -z "$as_dirs" || eval "mkdir $as_dirs"
54895 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54896 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54897 { (exit 1); exit 1; }; }; }
54898 ac_builddir=.
54899
54900 case "$ac_dir" in
54901 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54902 *)
54903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54904 # A ".." for each directory in $ac_dir_suffix.
54905 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54906 case $ac_top_builddir_sub in
54907 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54908 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54909 esac ;;
54910 esac
54911 ac_abs_top_builddir=$ac_pwd
54912 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54913 # for backward compatibility:
54914 ac_top_builddir=$ac_top_build_prefix
54915
54916 case $srcdir in
54917 .) # We are building in place.
54918 ac_srcdir=.
54919 ac_top_srcdir=$ac_top_builddir_sub
54920 ac_abs_top_srcdir=$ac_pwd ;;
54921 [\\/]* | ?:[\\/]* ) # Absolute name.
54922 ac_srcdir=$srcdir$ac_dir_suffix;
54923 ac_top_srcdir=$srcdir
54924 ac_abs_top_srcdir=$srcdir ;;
54925 *) # Relative name.
54926 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54927 ac_top_srcdir=$ac_top_build_prefix$srcdir
54928 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54929 esac
54930 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54931
54932
54933 cd "$ac_dir"
54934
54935 # Check for guested configure; otherwise get Cygnus style configure.
54936 if test -f "$ac_srcdir/configure.gnu"; then
54937 ac_sub_configure=$ac_srcdir/configure.gnu
54938 elif test -f "$ac_srcdir/configure"; then
54939 ac_sub_configure=$ac_srcdir/configure
54940 elif test -f "$ac_srcdir/configure.in"; then
54941 # This should be Cygnus configure.
54942 ac_sub_configure=$ac_aux_dir/configure
54943 else
54944 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54945 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54946 ac_sub_configure=
54947 fi
54948
54949 # The recursion is here.
54950 if test -n "$ac_sub_configure"; then
54951 # Make the cache file name correct relative to the subdirectory.
54952 case $cache_file in
54953 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54954 *) # Relative name.
54955 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54956 esac
54957
54958 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54959 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54960 # The eval makes quoting arguments work.
54961 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54962 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54963 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54964 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54965 { (exit 1); exit 1; }; }
54966 fi
54967
54968 cd "$ac_popdir"
54969 done
54970 fi
54971
54972
54973 echo
54974 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54975 echo ""
54976 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54977 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54978 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54979 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54980 if test "$wxUSE_UNICODE" = "yes"; then
54981 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54982 echo " (using UTF-8)"
54983 else
54984 echo " (using wchar_t)"
54985 fi
54986 else
54987 echo
54988 fi
54989
54990 echo " What level of wxWidgets compatibility should be enabled?"
54991 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54992 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54993
54994 echo " Which libraries should wxWidgets use?"
54995 echo " STL ${wxUSE_STL}"
54996 echo " jpeg ${wxUSE_LIBJPEG-none}"
54997 echo " png ${wxUSE_LIBPNG-none}"
54998 echo " regex ${wxUSE_REGEX}"
54999 echo " tiff ${wxUSE_LIBTIFF-none}"
55000 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55001 echo " xpm ${wxUSE_LIBXPM-none}"
55002 fi
55003 echo " zlib ${wxUSE_ZLIB}"
55004 echo " expat ${wxUSE_EXPAT}"
55005 echo " libmspack ${wxUSE_LIBMSPACK}"
55006 echo " sdl ${wxUSE_LIBSDL}"
55007
55008 echo ""
55009